gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-05-12 Tom Tromey <tromey@redhat.com>
2
3 * gdb.dwarf2/typeddwarf.S: New file.
4 * gdb.dwarf2/typeddwarf.c: New file.
5 * gdb.dwarf2/typeddwarf.exp: New file.
6
7 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8
9 * gdb.mi/mi-basics.exp: Fix races. Honour the
10 `test_exec_and_symbol_mi_operatons' return value.
11 (test_mi_interpreter_selection): Use mi_gdb_test instead of
12 gdb_test_multiple.
13 (test_exec_and_symbol_mi_operatons): Likewise.
14 (test_path_specification): Likewise.
15
16 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17
18 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
19 (gdb_touch_execfile): Remove catch wrappers. New variable time.
20 Replace `file copy' and `file rename' by `file mtime'. Twice.
21
22 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 * gdb.base/readline-ask.c: New file.
25 * gdb.base/readline-ask.exp: New file.
26 * gdb.base/readline-ask.inputrc: New file.
27
28 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
29
30 * gdb.cell/bt.exp: Delete breakpoints before running to signal
31 to avoid race condition.
32 * gdb.cell/coremaker.c: Use small stack size.
33 * gdb.cell/ea-standalone.exp: Use file name without path as
34 argument to c_to.
35 * gdb.cell/fork.exp: Allow other output when continuing to end.
36
37 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * gdb.threads/corethreads.c: New file.
40 * gdb.threads/corethreads.exp: New file.
41
42 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
45 Try to compile the test using -Wl,-z,norelro first.
46 (load_core): New variable libthread_db_seen, initialize it.
47 (zeroed-threads cannot be listed): Protect it by XFAIL on
48 !$libthread_db_seen.
49
50 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
51
52 PR 12573
53 * gdb.dwarf2/dw2-skip-prologue.S: New file.
54 * gdb.dwarf2/dw2-skip-prologue.c: New file.
55 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
56
57 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
58
59 * gdb.cp/psymtab-parameter.cc: New file.
60 * gdb.cp/psymtab-parameter.exp: New file.
61
62 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
63
64 Fix a race.
65 * gdb.cp/static-print-quit.exp (print c): Split to ...
66 (print c - <return>, print c - q <return>, print c - to quit):
67 ... these. Make the testfile untested on gdb-7.1.
68
69 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
70
71 * lib/gdb.exp (exec_target_file, exec_symbol_file,
72 gdb_rename_execfile, gdb_touch_execfile): New.
73 * gdb.base/reread.exp: Use new procs to handle multiple
74 exec files.
75
76 2011-05-05 Yao Qi <yao@codesourcery.com>
77
78 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
79 (test_adr_32bit, test_pop_pc): New.
80 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
81 (test_adr_32bit, test_pop_pc): New.
82
83 2011-05-04 Joseph Myers <joseph@codesourcery.com>
84
85 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
86 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
87 targets.
88 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
89 handle targets.
90
91 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * gdb.base/completion.exp (complete help info wat): Rename to ...
94 (complete 'help info wat'): ... here.
95 Remove all `-re ".*' and `-re "^.*' redundant regexes.
96 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
97
98 2011-05-04 Pedro Alves <pedro@codesourcery.com>
99
100 * gdb.base/completion.exp: Use gdb_test_multiple instead of
101 gdb_test and explicit $gdb_prompt/timeout matches.
102
103 2011-05-04 Yao Qi <yao@codesourcery.com>
104
105 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
106 and __thumb2__.
107
108 2011-05-03 Marek Polacek <mpolacek@redhat.com>
109
110 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
111 in place of `gdb_test "delete breakpoints"'. This eliminates two
112 testcases.
113
114 2011-05-02 Pedro Alves <pedro@codesourcery.com>
115
116 PR testsuite/12649
117 Fix races.
118
119 * gdb.base/completion.exp: Remove all sleep calls. Remove
120 unnecessary regexs. Don't explicitly expect anything after the
121 prompt. Eat the prompt if necessary.
122
123 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
124
125 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
126 accept to show the caller line again as well as the line after.
127
128 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
129
130 PR mi/12531
131
132 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
133 compile target.
134 * gdb.python/py-prettyprint.exp: Add C++ object for
135 CPLUS_FAKE_CHILD test.
136
137 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
138
139 * gdb.base/signest.exp: New file.
140 * gdb.base/signest.c: Likewise.
141
142 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
143
144 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
145 thread and breakpoint notifications.
146
147 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 * gdb.base/fortran-sym-case.c: New file.
150 * gdb.base/fortran-sym-case.exp: New file.
151 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
152 * gdb.dwarf2/dw2-case-insensitive.c: New file.
153 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
154
155 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
158 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
159 false #1', `if true else false #2' and `if true else false #3'.
160
161 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
162
163 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
164 while delivering signal.
165
166 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
167
168 MI breakpoint notifications.
169
170 * testsuite/gdb.mi/mi-cli.exp: Adust.
171 * testsuite/gdb.mi/mi2-cli.exp: Adust.
172 * testsuite/gdb.mi/mi-watch.exp: Adust.
173 * testsuite/gdb.mi/mi2-watch.exp: Adust.
174 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
175 notifications.
176
177 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * gdb.base/gdbindex-stabs-dwarf.c: New file.
180 * gdb.base/gdbindex-stabs.c: New file.
181 * gdb.base/gdbindex-stabs.exp: New file.
182
183 2011-04-25 Yao Qi <yao@codesourcery.com>
184
185 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
186 with /*...*/.
187 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
188
189 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
190
191 * gdb.python/py-value.exp (test_objfiles): Name the first test
192 `py-value in file.filename'.
193
194 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
195
196 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
197 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
198 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
199 !gdbserver_reconnect_p..
200 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
201
202 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
203
204 * gdb.cp/cpcompletion.exp (complete class methods)
205 (complete class methods beginning with F): Move them above runto. New
206 comment about the runto delimiter.
207
208 2011-04-20 Pedro Alves <pedro@codesourcery.com>
209
210 * gdb.base/maint.exp: Test that "maint print registers" works
211 without a running program.
212
213 2011-04-20 Marek Polacek <mpolacek@redhat.com>
214
215 * gdb.base/setshow.exp: Fix racy tests.
216 ($old_gdb_prompt): New variable.
217
218 2011-04-19 Tom Tromey <tromey@redhat.com>
219
220 * gdb.mi/mi-nsmoribund.exp:
221 * gdb.hp/gdb.objdbg/objdbg01.exp:
222 * gdb.base/structs.exp (test_struct_returns):
223 * gdb.base/call-sc.exp (test_scalar_returns):
224 * gdb.base/bigcore.exp: Remove duplicate words.
225
226 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
227
228 * gdb.base/break-interp-lib.c (v, vptr): New variables.
229 * gdb.base/break-interp.exp (test_attach): New comment.
230
231 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 * gdb.threads/gcore-thread.exp ($core0file): New variable.
234 (clear __stack_user.next, clear stack_used.next)
235 (save a zeroed-threads corefile): New test.
236 Call core_load for $core0file.
237 (zeroed-threads cannot be listed): New test.
238
239 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
242 filename.
243 ($srcfile): Preserve the original value.
244 ($testfile): Match it the .exp filename.
245 ($corefile): New variable. Substitute it around.
246 Use clean_restart.
247 ($prev_timeout): Remove.
248 (load_core): Move core loading into this proc.
249 Fix restore of $timeout if load_core fails.
250
251 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
252
253 * gdb.base/eu-strip-infcall.c: New file.
254 * gdb.base/eu-strip-infcall.exp: New file.
255
256 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
257
258 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
259 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
260
261 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
262
263 Fix Python access to inlined frames.
264 * gdb.python/py-frame-inline.c: New file.
265 * gdb.python/py-frame-inline.exp: New file.
266
267 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
268
269 * gdb.base/gdb1090.exp: Change breakpoint location to read the
270 content of 's24' correctly (avoiding "optimized out").
271 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
272
273 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
274
275 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
276
277 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
278
279 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
280 expect a colon in watch -location output.
281
282 2011-04-13 Marek Polacek <mpolacek@redhat.com>
283
284 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
285 New testcase `expect response to define backtrace'. Also remove
286 redundant `default' block.
287
288 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
289
290 * gdb.python/py-prettyprint.c (struct hint_error): New.
291 (main): New variable hint_error.
292 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
293 "print hint_error".
294 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
295 (register_pretty_printers): Register it.
296
297 2011-04-04 Tom Tromey <tromey@redhat.com>
298
299 * gdb.cp/maint.exp (test_help): Update.
300 (test_namespace): Likewise.
301
302 2011-04-01 Joel Brobecker <brobecker@adacore.com>
303
304 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
305 * gdb.ada/arrayptr.exp: Add new tests.
306
307 2011-04-01 Joel Brobecker <brobecker@adacore.com>
308
309 * gdb.ada/mi_catch_ex: New testcase.
310
311 2011-04-01 Pedro Alves <pedro@codesourcery.com>
312
313 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
314 base::overload(void) method without specifying "const".
315
316 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
317
318 * gdb.arch/thumb-singlestep.S: New file.
319 * gdb.arch/thumb-singlestep.exp: Likewise.
320
321 2011-03-31 Tom Tromey <tromey@redhat.com>
322
323 * gdb.python/py-prettyprint.py (exception_flag): New global.
324 (NoStringContainerPrinter._iterator.next): Check it.
325 * gdb.python/py-prettyprint.c (main): New variable nstype2.
326 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
327
328 2011-03-29 Tom Tromey <tromey@redhat.com>
329
330 * gdb.cp/anon-struct.cc: New file.
331 * gdb.cp/anon-struct.exp: New file.
332
333 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
334
335 Test STT_GNU_IFUNC support.
336 * gdb.base/gnu-ifunc-lib.c: New file.
337 * gdb.base/gnu-ifunc.c: New file.
338 * gdb.base/gnu-ifunc.exp: New file.
339
340 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
341
342 Support a ring of related breakpoints.
343 * gdb.base/watchpoint-delete.c: New file.
344 * gdb.base/watchpoint-delete.exp: New file.
345
346 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.ada/arrayparam.exp (print first after function call): Use
349 explicit package name. Add a comment
350 (print lasta after function call): Rename ...
351 (print last after function call): ... it and use explicit package
352 name.
353 (print length after function call): Use explicit package name.
354 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
355 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
356 (multiple matches for symbol i): Rename ...
357 (multiple matches for symbol integervar): ... it.
358 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
359 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
360
361 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
362
363 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
364 environment variable to make grep output more predictable. Move
365 all the environment setup into gdb_init so it's done once per test
366 case rather than each time we start gdb.
367
368 2011-03-24 Tom Tromey <tromey@redhat.com>
369
370 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
371 test.
372
373 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
374
375 * gdb.dwarf2/dw2-entry-value-main.c: New file.
376 * gdb.dwarf2/dw2-entry-value.S: New file.
377 * gdb.dwarf2/dw2-entry-value.exp: New file.
378
379 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
380
381 PR python/12183
382
383 * gdb.python/py-function.exp: Add GdbError tests.
384
385 2011-03-18 Pedro Alves <pedro@codesourcery.com>
386
387 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
388 (reglocal_test_func, statlocal_test_func): New functions.
389 (globals_test_func): Call new functions.
390 * gdb.trace/unavailable.exp (gdb_collect_args_test)
391 (gdb_collect_locals_test): New procedure.
392 (gdb_trace_collection_test): Call new procedures.
393
394 2011-03-18 Pedro Alves <pedro@codesourcery.com>
395
396 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
397 (test_register, test_register_unavailable): New procedures.
398 (gdb_unavailable_registers_test): New procedure.
399 (gdb_trace_collection_test): Call it.
400
401 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
402
403 PR python/12149
404
405 * gdb.python/python.exp: Add gdb.write tests.
406
407 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
408
409 * gdb.python/Makefile.in: Add py-objfile.
410 * gdb.python/py-objfile.exp: New file.
411 * gdb.python/py-objfile.c: New file.
412 * gdb.python/py-block.exp: Add is_valid tests.
413 * gdb.python/py-inferior.exp: Ditto.
414 * gdb.python/py-infthread.exp: Ditto.
415 * gdb.python/py-symbol.exp: Ditto.
416 * gdb.python/py-symtab.exp: Ditto.
417
418 2011-03-16 Keith Seitz <keiths@redhat.com>
419
420 PR c++/12273
421 * gdb.cp/cmpd-minsyms.exp: New test.
422 * gdb.cp/cmpd-minsyms.cc: New file.
423
424 PR c++/11734
425 * gdb.cp/ovsrch.exp: New test.
426 * gdb.cp/ovsrch.h: New file.
427 * gdb.cp/ovsrch1.cc: New file.
428 * gdb.cp/ovsrch2.cc: New file.
429 * gdb.cp/ovsrch3.cc: New file.
430 * gdb.cp/ovsrch4.cc: New file.
431
432 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
433
434 PR gdb/12528
435 * gdb.base/Makefile.in: Adjust EXECUTABLES.
436 * gdb.base/break-on-linker-gcd-function.exp: New test.
437 * gdb.base/break-on-linker-gcd-function.cc: New file.
438
439 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
440
441 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
442
443 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
444
445 * lib/gdb.exp (gdb_unload): Add another termination case.
446
447 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
450 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
451 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
452 Provide a stub byte there.
453 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
454 DW_AT_entry_pc.
455 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
456
457 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
458
459 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
460 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
461 "generic ABI, auto".
462 (altivec_abi_tests): Accept vectors returned by reference.
463
464 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
465
466 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
467
468 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
469
470 * gdb.python/py-section-script.exp: Skip test if no Python support.
471
472 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
473
474 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
475
476 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
477
478 * gdb.python/py-parameter.exp: Update tests to the new Python
479 parameter API. Add "no documentation" test. Add deprecated API
480 backward compatibility test.
481
482 2011-03-09 Tom Tromey <tromey@redhat.com>
483
484 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
485 gdb_continue_to_end.
486
487 2011-03-09 Mark Kettenis <kettenis@gnu.org>
488
489 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
490 tabs.
491
492 2011-03-09 Tom Tromey <tromey@redhat.com>
493
494 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
495 parentheses.
496 (gdb_continue_to_end): Add "allow_extra" parameter. Use
497 $command.
498 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
499 argument to gdb_continue_to_end.
500 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
501 argument to gdb_continue_to_end.
502 * gdb.cp/annota3.exp: Fix regex.
503 * gdb.cp/annota2.exp: Fix regex.
504 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
505 gdb_continue_to_end.
506 * gdb.base/call-signal-resume.exp: Revert earlier patch.
507 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
508 gdb_continue_to_end.
509
510 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
511
512 * gdb.server/ext-run.exp
513 (load new file without any gdbserver inferior): New test.
514
515 2011-03-07 Tom Tromey <tromey@redhat.com>
516
517 * Makefile.in (TAGS): Rewrite.
518
519 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * gdb.trace/report.exp (12.1: trace report #1): New match for the
522 initial commands echo. New match for `Found trace'. Anchor all the
523 other matches. Anchor and match for `No trace frame found' the final
524 match.
525
526 2011-03-07 Tom Tromey <tromey@redhat.com>
527
528 * Makefile.in (TAGS): New target.
529
530 2011-03-07 Tom Tromey <tromey@redhat.com>
531
532 * lib/opencl.exp (skip_opencl_tests): Update for exit message
533 change.
534 * lib/mi-support.exp (mi_gdb_test): Update for exit message
535 change.
536 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
537 exit message change.
538 (skip_altivec_tests): Update for exit message change.
539 (skip_vsx_tests): Likewise.
540 (gdb_continue_to_end): Likewise. Add 'command' argument.
541 * lib/cell.exp (skip_cell_tests): Update for exit message change.
542 * gdb.threads/tls.exp: Update for exit message change.
543 * gdb.threads/thread-unwindonsignal.exp: Use
544 gdb_continue_to_end.
545 * gdb.threads/step.exp (step_it): Update for exit message change.
546 (continue_all): Likewise.
547 * gdb.threads/print-threads.exp (test_all_threads): Update for
548 exit message change.
549 * gdb.threads/interrupted-hand-call.exp: Use
550 gdb_continue_to_end.
551 * gdb.threads/execl.exp: Use gdb_continue_to_end.
552 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
553 gdb_continue_to_end.
554 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
555 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
556 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
557 * gdb.cp/method.exp: Update for exit message change.
558 * gdb.cp/mb-templates.exp: Update for exit message change.
559 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
560 * gdb.cp/annota3.exp: Update for exit message change.
561 * gdb.cp/annota2.exp: Update for exit message change.
562 * gdb.cell/fork.exp: Use gdb_continue_to_end.
563 * gdb.base/term.exp: Update for exit message change.
564 * gdb.base/step-test.exp (test_i): Update for exit message change.
565 * gdb.base/sigstep.exp (advance): Update for exit message change.
566 (advancei): Likewise.
567 * gdb.base/siginfo.exp: Update for exit message change.
568 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
569 * gdb.base/reread.exp: Use gdb_continue_to_end.
570 * gdb.base/langs.exp: Use gdb_continue_to_end.
571 * gdb.base/interrupt.exp: Update for exit message change.
572 * gdb.base/gdb1555.exp: Update for exit message change.
573 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
574 * gdb.base/ending-run.exp: Update for exit message change.
575 * gdb.base/chng-syms.exp: Update for exit message change.
576 * gdb.base/checkpoint.exp: Update for exit message change.
577 * gdb.base/catch-syscall.exp (check_for_program_end): Use
578 gdb_continue_to_end.
579 (test_catch_syscall_with_wrong_args): Likewise.
580 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
581 * gdb.base/break-interp.exp (test_ld): Update for exit message
582 change.
583 * gdb.base/bang.exp: Update for exit message change.
584 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
585 (do_call_attach_tests): Likewise.
586 * gdb.base/a2-run.exp: Update for exit message change.
587 * gdb.arch/ppc-dfp.exp: Update for exit message change.
588 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
589 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
590
591 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
594
595 2011-03-03 Tom Tromey <tromey@redhat.com>
596
597 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
598 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
599 * gdb.hp/gdb.aCC/configure.ac: Remove.
600 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
601 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
602 * gdb.hp/gdb.base-hp/configure.ac: Remove.
603 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
604 * gdb.hp/gdb.compat/configure (Makefile): Remove.
605 * gdb.hp/gdb.compat/configure.ac: Remove.
606 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
607 * gdb.hp/gdb.defects/configure (Makefile): Remove.
608 * gdb.hp/gdb.defects/configure.ac: Remove.
609 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
610 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
611 * gdb.hp/gdb.objdbg/configure.ac: Remove.
612 * gdb.hp/configure.ac: Remove.
613 * gdb.hp/configure: Remove.
614 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
615 substitution.
616 (Makefile): Remove rule.
617 * gdb.cell/configure.ac: Remove.
618 * gdb.cell/configure: Remove.
619 * gdb.stabs/Makefile.in (Makefile): Remove.
620 (distclean): Don't remove config.status or config.log.
621 * gdb.stabs/configure (Makefile): Remove.
622 * gdb.stabs/configure.ac: Remove.
623 * configure: Rebuild.
624 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
625 Remove stabs- and cell-specific logic. Test for existence of
626 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
627 subdirectories, gdb.cell, and and gdb.stabs.
628 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
629
630 2011-03-03 Joel Brobecker <brobecker@adacore.com>
631
632 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
633 end of buffer.
634
635 2011-03-02 Joel Brobecker <brobecker@adacore.com>
636
637 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
638 gdb_test when running a test where we expected no output back.
639
640 2011-02-28 Michael Snyder <msnyder@vmware.com>
641
642 * gdb.cp/overload.cc: Change initializer value to integer.
643
644 2011-02-27 Michael Snyder <msnyder@vmware.com>
645
646 * gdb.multi/base.exp: Add test for remove-inferiors.
647
648 2011-02-26 Joel Brobecker <brobecker@adacore.com>
649
650 * gdb.python/py-frame.exp: Simplify the initialization phase
651 using prepare_for_testing.
652
653 2011-02-25 Michael Snyder <msnyder@vmware.com>
654
655 * gdb.multi/base.exp: Add tests for info inferiors with args.
656
657 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
658
659 * gdb.dwarf2/dw2-ranges.S: Rename to ...
660 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
661 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
662 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
663 asmfile3. Comment the STABS (#3) file compilation. Compile
664 everything through assembler. Provide KFAIL for symtab/12497.
665 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
666 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
667 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
668 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
669
670 2011-02-24 Michael Snyder <msnyder@vmware.com>
671
672 * gdb.base/break.exp: Add tests for delete breakpoints using
673 convenience variables and value history references.
674
675 2011-02-24 Michael Snyder <msnyder@vmware.com>
676
677 * gdb.base/break.exp: Remove debugging 'printf' accidentally
678 left behind in previous check-in.
679
680 2011-02-23 Michael Snyder <msnyder@vmware.com>
681
682 * gdb.base/break.exp: Add tests for "info break" with arguments.
683 * gdb.trace/infotrace.exp: Update patterns for error and help.
684 * gdb.base/completion.exp: Update pattern.
685 * gdb.base/ena-dis-br.exp: Update pattern.
686 * gdb.base/help.exp: Update patterns.
687
688 2011-02-23 Michael Snyder <msnyder@vmware.com>
689
690 * gdb.base/memattr.exp: New test.
691 * gdb.base/memattr.c: Test load for memattr.exp.
692
693 2011-02-22 Doug Evans <dje@google.com>
694
695 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
696
697 2011-02-22 Michael Snyder <msnyder@vmware.com>
698
699 * Makefile.in: Make more clean.
700 * gdb.ada/Makefile.in: Ditto.
701 * gdb.arch/Makefile.in: Ditto.
702 * gdb.asm/Makefile.in: Ditto.
703 * gdb.base/Makefile.in: Ditto.
704 * gdb.cp/Makefile.in: Ditto.
705 * gdb.dwarf2/Makefile.in: Ditto.
706 * gdb.java/Makefile.in: Ditto.
707 * gdb.mi/Makefile.in: Ditto.
708 * gdb.modula2/Makefile.in: Ditto.
709 * gdb.python/Makefile.in: Ditto.
710 * gdb.server/Makefile.in: Ditto.
711 * gdb.stabs/Makefile.in: Ditto.
712 * gdb.threads/Makefile.in: Ditto.
713 * gdb.trace/Makefile.in: Ditto.
714
715 2011-02-22 Michael Snyder <msnyder@vmware.com>
716
717 * gdb.threads/thread-find.exp: Add tests for bad input to
718 info threads.
719
720 2011-02-22 Joel Brobecker <brobecker@adacore.com>
721
722 * gdb.python/py-breakpoint.exp: Fix the expected output of
723 one of the "maint info breakpoints" tests to accept the output
724 generated on platforms that do not have hardware watchpoints.
725
726 2011-02-22 Joel Brobecker <brobecker@adacore.com>
727
728 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
729 clean_restart. Be a little stricter in the expected output
730 for one of the tests. Fix a typo in one of the comments.
731
732 2011-02-22 Joel Brobecker <brobecker@adacore.com>
733
734 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
735 Delete variable binfile, no longer use. Add or modify test
736 comments to make them unique.
737
738 2011-02-21 Michael Snyder <msnyder@vmware.com>
739
740 * Makefile.in: Update for make clean.
741 * gdb.ada/Makefile.in: Ditto.
742 * gdb.arch/Makefile.in: Ditto.
743 * gdb.asm/Makefile.in: Ditto.
744 * gdb.base/Makefile.in: Ditto.
745 * gdb.cp/Makefile.in: Ditto.
746 * gdb.dwarf2/Makefile.in: Ditto.
747 * gdb.java/Makefile.in: Ditto.
748 * gdb.mi/Makefile.in: Ditto.
749 * gdb.modula2/Makefile.in: Ditto.
750 * gdb.python/Makefile.in: Ditto.
751 * gdb.server/Makefile.in: Ditto.
752 * gdb.stabs/Makefile.in: Ditto.
753 * gdb.threads/Makefile.in: Ditto.
754 * gdb.trace/Makefile.in: Ditto.
755
756 2011-02-21 Michael Snyder <msnyder@vmware.com>
757
758 * gdb.threads/thread-find.exp: Update patterns for changes in
759 output of "info threads" command.
760
761 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
762 Ulrich Weigand <uweigand@de.ibm.com>
763
764 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
765 (skip_hw_watchpoint_tests): Likewise.
766 (skip_hw_watchpoint_multi_tests): Likewise.
767
768 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
769
770 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
771 (skip_hw_watchpoint_tests): Likewise.
772 (skip_hw_watchpoint_multi_tests): Likewise.
773 (skip_hw_watchpoint_access_tests): Likewise.
774
775 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
776 * gdb.base/pr11022.exp: Likewise.
777 * gdb.base/watch-read.exp: Likewise.
778 * gdb.base/watch_thread_num.exp: Likewise.
779 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
780 * gdb.base/watchpoint-hw.exp: Likewise.
781 * gdb.base/watchpoint.exp: Likewise.
782 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
783 * gdb.threads/watchthreads-reorder.exp: Likewise.
784 * gdb.threads/watchthreads.exp: Likewise.
785 * gdb.threads/watchthreads2.exp: Likewise.
786
787 2011-02-21 Joel Brobecker <brobecker@adacore.com>
788
789 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
790 the debugger is unable to find the array bounds.
791
792 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 * gdb.cp/typedef-operator.exp: New file.
795 * gdb.cp/typedef-operator.cc: New file.
796
797 2011-02-17 Michael Snyder <msnyder@vmware.com>
798
799 * gdb.threads/thread-find.exp: Fix regular expressions.
800
801 2011-02-17 Joel Brobecker <brobecker@adacore.com>
802
803 * gdb.ada/packed_array: Expand testcase to test printing of
804 unconstrained packed array.
805
806 2011-02-17 Joel Brobecker <brobecker@adacore.com>
807
808 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
809
810 2011-02-16 Pedro Alves <pedro@codesourcery.com>
811
812 * gdb.trace/collection.c (globalarr3): New global.
813 (main): Initialize it before collecting, and and clear it
814 afterwards.
815 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
816 collecting with '{type} addr', where the addr expression is not an
817 rvalue.
818
819 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
820
821 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
822 a bool variable. Expect correct OpenCL names for vector types. Use the
823 uc3 variable name instead of referring to the uchar3 built-in type.
824 Escape the asterisk at the half pointer test.
825
826 2011-02-16 Pedro Alves <pedro@codesourcery.com>
827
828 * gdb.trace/collection.c (globalarr2): New global.
829 (main): Initialize it before collecting, and and clear it
830 afterwards.
831 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
832 collecting overlapping memory ranges.
833
834 2011-02-15 Michael Snyder <msnyder@vmware.com>
835
836 * gdb.base/default.exp: Add tests for thread commands.
837 * gdb.base/help.exp: Add tests for thread commands.
838 * gdb.threads/thread-find.exp: New test for thread find command.
839
840 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
841
842 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
843
844 2011-02-15 Yao Qi <yao@codesourcery.com>
845
846 PR tdep/12352
847 * gdb.arch/arm-disp-step.S : New test for str instruction.
848 * gdb.arch/arm-disp-step.exp : Likewise.
849
850 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
851
852 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
853 "vector_register2_vr" test strings. Test the extended floating
854 point registers (F32~F63).
855 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
856 IBM XL C compiler. Make the test program use a register provided
857 by the compiler for the lxvd2x instruction.
858
859 2011-02-14 Pedro Alves <pedro@codesourcery.com>
860
861 * gdb.trace/unavailable.cc (class Base, class Middle, class
862 Derived): New types.
863 (derived_unavail, derived_partial, derived_whole): New globals.
864 (virtual_partial): New global.
865 (virtualp): Point at virtual_partial.
866 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
867 related to unavailable vptr.
868
869 2011-02-14 Pedro Alves <pedro@codesourcery.com>
870
871 * gdb.trace/unavailable.cc (a, b, c): New globals.
872 (main): Set and clear them.
873 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
874 `a' and `c', and check that `b' isn't collected, although `a' and
875 `c' are.
876
877 2011-02-14 Pedro Alves <pedro@codesourcery.com>
878
879 * gdb.trace/unavailable.cc (struct Virtual): New.
880 (virtualp): New global pointer.
881 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
882 printing a pointer to an object whose type has a vtable, with
883 print object on.
884
885 2011-02-14 Pedro Alves <pedro@codesourcery.com>
886
887 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
888 value repeat handles unavailableness.
889
890 2011-02-14 Pedro Alves <pedro@codesourcery.com>
891
892 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
893 tests for building arrays from unavailable values, subscripting
894 non-memory rvalue unvailable arrays, and accessing fields or
895 baseclasses of non-lazy unavailable values,
896 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
897 struct types.
898 (g_smallstruct, g_smallstruct_b): New globals.
899
900 2011-02-14 Pedro Alves <pedro@codesourcery.com>
901
902 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
903
904 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
905
906 Fix const/volatile qualifiers of C++ types, PR c++/12328.
907 * gdb.cp/overload-const.exp: New file.
908 * gdb.cp/overload-const.cc: New file.
909
910 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
911
912 * gdb.opencl/callfuncs.cl: New file.
913 * gdb.opencl/callfuncs.exp: New test.
914 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
915
916 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
917
918 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
919 when computing result.
920 * gdb.arch/altivec-abi.exp: Update expected results.
921
922 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
923
924 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
925 * gdb.base/jit.exp: Likewise.
926 * gdb.base/pie-execl.exp: Likewise.
927 * gdb.base/solib-nodir.exp: Likewise.
928 * gdb.base/solib-overlap.exp: Likewise.
929
930 2011-02-07 Pedro Alves <pedro@codesourcery.com>
931
932 * gdb.trace/collection.c (global_pieces): New.
933 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
934 New procedure.
935 (gdb_trace_collection_test): Call it.
936
937 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
938
939 * gdb.python/py-evthreads.c: New file.
940 * gdb.python/py-evthreads.exp: New file.
941 * gdb.python/py-events.py: New file.
942 * gdb.python/py-events.exp: New file.
943 * gdb.python/py-events.c: New file.
944
945 2011-02-04 David Daney <ddaney@caviumnetworks.com>
946
947 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
948
949 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
950
951 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
952 gdb.base/disasm-end-cu.exp: New test for disassembling over the
953 boundary between two compilation units.
954
955 2011-02-02 Pedro Alves <pedro@codesourcery.com>
956
957 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
958 (Virtual): New structs.
959 (virtual_o, virtual_middle_b): New globals.
960 * gdb.cp/virtbase.exp: New tests.
961
962 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
963
964 * gdb.base/jit.exp: New file.
965 * gdb.base/jit-main.c: New file.
966 * gdb.base/jit-solib.c: New file.
967
968 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
969
970 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
971 proceed to initial kernel entry point.
972 * gdb.opencl/datatypes.exp: Likewise.
973 * gdb.opencl/operators.exp: Likewise.
974 * gdb.opencl/vec_comps.exp: Likewise.
975
976 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
977
978 * gdb.cp/nsnested.cc: New.
979 * gdb.cp/nsnested.exp: New.
980 * gdb.cp/nsnoimports.exp: New.
981 * gdb.cp/nsnoimports.cc: New.
982
983 2011-01-31 Joel Brobecker <brobecker@adacore.com>
984
985 * gdb.base/interact.exp: Add extra tests that verify that
986 the value of the interactive-mode setting does not change
987 after the script is sourced.
988
989 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
990
991 * gdb.cp/noparam.exp: New file.
992 * gdb.cp/noparam.cc: New file.
993
994 2011-01-28 Pedro Alves <pedro@codesourcery.com>
995
996 * gdb.trace/tfile.exp: Test that with no traceframe selected,
997 there's no stack or registers.
998
999 2011-01-26 Tom Tromey <tromey@redhat.com>
1000
1001 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1002 space before string output. Add test for "set print pretty off"
1003 case.
1004
1005 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1006
1007 * gdb.base/frame-args.exp: Adjust.
1008 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1009 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1010 * gdb.dwarf2/pieces.exp: Adjust.
1011 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1012 * gdb.opt/inline-locals.exp: Adjust.
1013 * gdb.threads/fork-child-threads.exp: Adjust.
1014
1015 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1016
1017 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1018 OpenCL kernel function. Add a comment as marker. Add address space
1019 qualifiers for the remaining program scope variables.
1020 * gdb.opencl/datatypes.cl: Likewise.
1021 * gdb.opencl/operators.cl: Likewise.
1022 * gdb.opencl/vec_comps.cl: Likewise.
1023 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1024 Add breakpoint at the marker comment.
1025 * gdb.opencl/datatypes.exp: Likewise.
1026 * gdb.opencl/operators.exp: Likewise.
1027 * gdb.opencl/vec_comps.exp: Likewise.
1028
1029 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1030
1031 * gdb.base/printcmds.c (some_struct): New struct and instance.
1032 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1033 procedure.
1034 <global scope>: Call it.
1035
1036 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1037
1038 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1039 argument to the gdb_compile_opencl_hostapp call.
1040
1041 2011-01-19 Yao Qi <yao@codesourcery.com>
1042
1043 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1044 positve list.
1045
1046 2011-01-19 Yao Qi <yao@codesourcery.com>
1047
1048 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1049 canonical form.
1050 Remove "xscale-*-*"
1051 * gdb.xml/tdesc-regs.exp: Likewise.
1052 * gdb.python/py-section-script.exp: Replace ARM target triplet
1053 with canonical form.
1054 Match arm*-*-symbianelf*.
1055 * gdb.base/dup-sect.exp: Likewise.
1056 * lib/dwarf.exp: New.
1057 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1058 dwarf2_support.
1059 * gdb.dwarf2/dup-psym.exp: Likewise.
1060 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1061 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1062 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1063 * gdb.dwarf2/dw2-basic.exp: Likewise.
1064 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1065 * gdb.dwarf2/dw2-const.exp: Likewise.
1066 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1067 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1068 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1069 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1070 * gdb.dwarf2/dw2-filename.exp: Likewise.
1071 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1072 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1073 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1074 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1075 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1076 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1077 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1078 * gdb.dwarf2/dw2-producer.exp: Likewise.
1079 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1080 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1081 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1082 * gdb.dwarf2/dw2-strp.exp: Likewise.
1083 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1084 * gdb.dwarf2/implptr.exp: Likewise.
1085 * gdb.dwarf2/mac-fileno.exp: Likewise.
1086 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1087 * gdb.dwarf2/pieces.exp: Likewise.
1088 * gdb.dwarf2/pr11465.exp: Likewise.
1089 * gdb.dwarf2/valop.exp: Likewise.
1090 * gdb.dwarf2/watch-notconst.exp: Likewise.
1091 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1092
1093 2011-01-19 Tom Tromey <tromey@redhat.com>
1094
1095 * gdb.python/py-infthread.exp: Add thread tests.
1096
1097 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1098
1099 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1100
1101 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1102
1103 * gdb.ada/widewide: New testcase.
1104
1105 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1106
1107 * gdb.base/interact.exp: New testcase.
1108
1109 2011-01-12 Tom Tromey <tromey@redhat.com>
1110
1111 * gdb.mi/gdb2549.exp: Update for error message changes.
1112 * gdb.mi/mi-cli.exp: Likewise.
1113 * gdb.mi/mi-disassemble.exp: Likewise.
1114 * gdb.mi/mi-pthreads.exp: Likewise.
1115 * gdb.mi/mi-regs.exp: Likewise.
1116 * gdb.mi/mi-stack.exp: Likewise.
1117 * gdb.mi/mi-var-block.exp: Likewise.
1118 * gdb.mi/mi-var-cmd.exp: Likewise.
1119 * gdb.mi/mi2-cli.exp: Likewise.
1120 * gdb.mi/mi2-disassemble.exp: Likewise.
1121 * gdb.mi/mi2-pthreads.exp: Likewise.
1122 * gdb.mi/mi2-regs.exp: Likewise.
1123 * gdb.mi/mi2-stack.exp: Likewise.
1124 * gdb.mi/mi2-var-block.exp: Likewise.
1125 * gdb.mi/mi2-var-cmd.exp: Likewise.
1126
1127 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1128 Jan Kratochvil <jan.kratochvil@redhat.com>
1129
1130 PR fortran/11104 and DWARF unbound arrays detection.
1131 * gdb.fortran/multi-dim.exp: New file.
1132 * gdb.fortran/multi-dim.f90: New file.
1133
1134 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1135
1136 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1137 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1138 add new tests for opcode dumping.
1139
1140 2011-01-11 Tom Tromey <tromey@redhat.com>
1141
1142 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1143
1144 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1145
1146 Convert hardware watchpoints to use breakpoint_ops.
1147 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1148 type is not supported.
1149 * gdb.base/foll-fork.exp: Likewise.
1150 * gdb.base/foll-vfork.exp: Likewise.
1151
1152 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1153
1154 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1155 Use load_lib gdb-python.exp.
1156 * gdb.python/python.exp: Ditto.
1157 * gdb.python/py-function.exp: Ditto.
1158
1159 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1160
1161 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1162
1163 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1164
1165 * configure: Regenerate.
1166
1167 2011-01-06 Tom Tromey <tromey@redhat.com>
1168
1169 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1170
1171 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1172
1173 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1174 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1175 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1176 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1177 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1178 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1179 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1180 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1181 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1182 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1183 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1184 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1185 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1186 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1187 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1188 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1189 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1190 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1191 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1192 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1193 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1194 gdb.ada/uninitialized_vars.exp,
1195 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1196 Simplify by using clean_restart.
1197
1198 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1199
1200 Add marker to be used as anchor for inserting breakpoints.
1201 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1202 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1203 Likewise.
1204
1205 Remove uses of gdb_start_cmd.
1206 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1207 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1208
1209 Do not run testcase if testing with GDBserver.
1210 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1211 if testing with GDBserver.
1212
1213 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1214
1215 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1216 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1217 copyright header.
1218
1219 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1220
1221 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1222 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1223 testsuite/gdb.fortran/complex.f,
1224 testsuite/gdb.fortran/derived-type.f90,
1225 testsuite/gdb.fortran/library-module-lib.f90,
1226 testsuite/gdb.fortran/library-module-main.f90,
1227 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1228 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1229 Copyright year update.
1230
1231 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1232
1233 * gdb.base/langs1.f: Add copyright header.
1234
1235 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1236
1237 * gdb.base/morestack.exp: New file.
1238 * gdb.base/morestack.c: New file.
1239
1240 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1241
1242 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1243
1244 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1245
1246 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1247 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1248
1249 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1250
1251 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1252
1253 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1254
1255 * gdb.threads/tls.exp: Fix typo.
1256
1257 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1258 * gdb.threads/execl.exp: Update.
1259
1260 2010-12-23 Yao Qi <yao@codesourcery.com>
1261
1262 * gdb.arch/arm-disp-step.exp: New.
1263 * gdb.arch/arm-disp-step.S: New.
1264
1265 2010-12-21 Tom Tromey <tromey@redhat.com>
1266
1267 * gdb.threads/execl.exp: Update.
1268 * gdb.threads/linux-dp.exp: Update.
1269 * gdb.threads/manythreads.exp: Update.
1270 * gdb.threads/tls.exp: Update.
1271
1272 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1273
1274 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1275 (NextOverThrowDerivates) <resumebpt>: New.
1276 (resumebpt_test): New.
1277 (main): Call resumebpt_test.
1278 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1279
1280 2010-12-12 Stan Shebs <stan@codesourcery.com>
1281
1282 * gdb.trace/tsv.exp: Test print command on trace state variables.
1283
1284 2010-12-09 Tom Tromey <tromey@redhat.com>
1285
1286 * gdb.base/interp.exp: Add regression test.
1287
1288 2010-12-09 Tom Tromey <tromey@redhat.com>
1289
1290 * gdb.java/jnpe.java: New file.
1291 * gdb.java/jnpe.exp: New file.
1292 * gdb.cp/nextoverthrow.exp: New file.
1293 * gdb.cp/nextoverthrow.cc: New file.
1294
1295 2010-12-07 Doug Evans <dje@google.com>
1296
1297 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1298 of data-directory.
1299 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1300 updated.
1301 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1302
1303 2010-11-29 Michael Snyder <msnyder@vmware.com>
1304
1305 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1306 * gdb.base/call-sc.exp: Ditto.
1307 * gdb.base/finish.exp: Ditto.
1308 * gdb.base/return.exp: Ditto.
1309 * gdb.base/return2.exp: Ditto.
1310
1311 2010-11-30 Doug Evans <dje@google.com>
1312
1313 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1314 (gdb_expect_list): Fix spelling errors in comments.
1315 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1316 send_gdb/gdb_expect_list where applicable.
1317 * gdb.base/call-ar-st.exp: Ditto.
1318 * gdb.base/funcargs.exp: Ditto.
1319 * gdb.base/gcore.exp: Ditto.
1320 * gdb.base/page.exp: Ditto.
1321 * gdb.base/sigaltstack.exp: Ditto.
1322 * gdb.base/siginfo.exp: Ditto.
1323 * gdb.base/sigstep.exp: Ditto.
1324 * gdb.base/trace-commands.exp: Ditto.
1325
1326 2010-11-29 Doug Evans <dje@google.com>
1327
1328 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1329 printer-name;subprinter-name.
1330
1331 2010-11-29 Tom Tromey <tromey@redhat.com>
1332
1333 * gdb.dwarf2/implptr.exp: New file.
1334 * gdb.dwarf2/implptr.c: New file.
1335 * gdb.dwarf2/implptr.S: New file.
1336
1337 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1338
1339 PR python/12199
1340
1341 * gdb.python/py-breakpoint.exp: Test the delete method.
1342
1343 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1344
1345 Fix step_resume_breakpoint unsaved during an infcall.
1346 * gdb.base/step-resume-infcall.exp: New file.
1347 * gdb.base/step-resume-infcall.c: New file.
1348
1349 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1350
1351 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1352
1353 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1354
1355 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1356 on ppc64's symbols; "finish" and "return" commands must accept to
1357 show the caller line again as well as the line after.
1358 * gdb.asm/powerpc64.inc: New file.
1359
1360 2010-11-23 Doug Evans <dje@google.com>
1361
1362 * lib/gdb.exp (gdb_test_sequence): New function.
1363 (gdb_expect_list): Add verbose -log call for each pattern.
1364 * gdb.base/signals.exp (test_handle_all_print): Call it.
1365 Reduce timeout increment from 6 minutes to 1 minute.
1366 * gdb.server/ext-run.exp: Call it.
1367
1368 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1369
1370 PR python/12212
1371
1372 * gdb.python/python.exp: Check that selected_thread raises an
1373 error when no inferior is loaded.
1374
1375 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1378 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1379
1380 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1383 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1384
1385 2010-11-18 Doug Evans <dje@google.com>
1386
1387 * gdb.server/ext-run.exp: Fix intermittent failures.
1388
1389 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1390
1391 * gdb.stabs/gdb11479.exp: Use runto_main.
1392
1393 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1394
1395 * gdb.base/break-entry.exp: Skip if using a stub.
1396
1397 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1398
1399 * gdb.python/py-inferior.exp: Pack values in target endianness.
1400
1401 2010-11-12 Tom Tromey <tromey@redhat.com>
1402
1403 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1404 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1405 MemoryError.
1406 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1407 type.
1408 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1409 MemoryError.
1410 (test_subscript_regression): Update exception type.
1411
1412 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1413
1414 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1415 breakpoint tests.
1416
1417 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1418
1419 * gdb.base/watchpoint.exp: Test "watch -location" with an
1420 innacessible location.
1421
1422 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1423 Luis Machado <luisgpm@br.ibm.com>
1424
1425 * gdb.base/maint.exp: Expect "." prefix.
1426 * gdb.base/nodebug.exp: Expect "." Likewise.
1427 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1428 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1429 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1430 POWER server processors.
1431
1432 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1433 Luis Machado <luisgpm@br.ibm.com>
1434
1435 * gdb.base/break-entry.exp: convert entry point for
1436 ppc64 and expect leading `.' on ppc64's symbols
1437
1438 2010-11-05 Doug Evans <dje@google.com>
1439
1440 * gdb.base/help.exp: Update expected output.
1441 * gdb.python/py-param.exp: Delete, contents moved to ...
1442 * gdb.python/py-parameter.exp: ... here. New file.
1443 Add test for gdb.parameter ("directories").
1444
1445 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1446
1447 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1448 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1449 * configure: Regenerate.
1450 * gdb.opencl/Makefile.in: New File.
1451 * gdb.opencl/datatypes.exp: Likewise.
1452 * gdb.opencl/datatypes.cl: Likewise.
1453 * gdb.opencl/operators.exp: Likewise.
1454 * gdb.opencl/operators.cl: Likewise.
1455 * gdb.opencl/vec_comps.exp: Likewise.
1456 * gdb.opencl/vec_comps.cl: Likewise.
1457 * gdb.opencl/convs_casts.exp: Likewise.
1458 * gdb.opencl/convs_casts.cl: Likewise.
1459 * lib/opencl.exp: Likewise.
1460 * lib/opencl_hostapp.c: Likewise.
1461 * lib/opencl_kernel.cl: Likewise.
1462 * lib/cl_util.c: Likewise.
1463 * lib/cl_util.c: Likewise.
1464 * gdb.base/default.exp (set language): Add "opencl" to the list of
1465 languages.
1466
1467 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1468
1469 * gdb.cp/overload.exp: Added test for inheritance overload.
1470 * gdb.cp/overload.cc: Ditto.
1471 * gdb.cp/oranking.exp: Removed releveant kfails.
1472
1473 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1474 Joel Brobecker <brobecker@adacore.com>
1475
1476 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1477 check test_compiler_info.
1478
1479 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1480
1481 * gdb.base/gnu_vector.exp: Adjust expect messages.
1482
1483 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1484
1485 * gdb.base/gnu_vector.exp: Add unary operator tests.
1486
1487 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1488
1489 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1490
1491 2010-11-02 Doug Evans <dje@google.com>
1492
1493 * gdb.python/py-pp-maint.c: New file.
1494 * gdb.python/py-pp-maint.exp: New file.
1495 * gdb.python/py-pp-maint.py: New file.
1496
1497 2010-11-02 Tom Tromey <tromey@redhat.com>
1498
1499 * gdb.base/default.exp: Remove "scheme" from language list.
1500
1501 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1502
1503 Revert:
1504 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1505 * gdb.threads/sigstep-threads.exp: New file.
1506 * gdb.threads/sigstep-threads.c: New file.
1507
1508 2010-10-20 Michael Snyder <msnyder@vmware.com>
1509
1510 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1511
1512 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1513
1514 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1515 Skip test completely if gdb,no_hardware_watchpoints.
1516
1517 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1518
1519 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1520 strict, but do not check for any particular function name within libc.
1521
1522 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1523
1524 * gdb.cp/smartp.exp: New test.
1525 * gdb.cp/smartp.cc : New test.
1526
1527 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1528
1529 * gdb.cp/converts.exp: Test pointer to bool conversion.
1530 Test pointer to long conversion.
1531 * gdb.cp/oranking.exp: Removed relevant kfail.
1532
1533 2010-10-18 Tom Tromey <tromey@redhat.com>
1534
1535 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1536 argument to lazy_string.
1537 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1538 (pp_ls.to_string): Use it.
1539 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1540 Add "estring2" local.
1541
1542 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1543
1544 Fix s390x compatibility.
1545 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1546 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1547
1548 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1549
1550 * gdb.threads/sigstep-threads.exp: New file.
1551 * gdb.threads/sigstep-threads.c: New file.
1552
1553 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1554
1555 * gdb.base/pie-execl.exp: New file.
1556 * gdb.base/pie-execl.c: New file.
1557
1558 2010-10-13 Doug Evans <dje@google.com>
1559 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 PR exp/12117
1562 * gdb.cp/ptype-cv-cp.cc: New file.
1563 * gdb.cp/ptype-cv-cp.exp: New file.
1564
1565 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1566
1567 * gdb.cp/converts.cc: New test program.
1568 * gdb.cp/converts.exp: New test.
1569 * gdb.cp/overload.exp: Added test for void* vs int*.
1570 * gdb.cp/overload.exp: Ditto.
1571 * gdb.cp/oranking.exp: Removed related kfail.
1572
1573 2010-10-13 Doug Evans <dje@google.com>
1574
1575 * lib/gdb-python.exp (gdb_check_python_config): New function.
1576 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1577 * gdb.python/lib-types.cc: New file.
1578 * gdb.python/lib-types.exp: New file.
1579
1580 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1581
1582 * gdb.python/py-error.exp: New file.
1583 * gdb.python/py-error.py: New file.
1584
1585 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1588 gdb_test_multiple.
1589
1590 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1591
1592 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1593 * gdb.base/prelink.exp: Likewise.
1594 * gdb.base/solib-nodir.exp: Likewise.
1595 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1596 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1597 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1598
1599 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1600
1601 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1602 for the "info files" test to avoid timeouts on slow machines.
1603
1604 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1605
1606 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1607 (main): Make openlib dummy call.
1608
1609 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1610
1611 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1612 * break-interp.exp (reach): Move the core body ...
1613 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1614 (test_ld): Provide always real argument, even to the linker. Replace
1615 dl_main by _dl_debug_state.
1616
1617 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1618
1619 Fix results of prelinked PIEs on ppc*.
1620 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1621 Accept also DISPLACEMENT "PRESENT".
1622 (main): Replace "ZERO" displacements by "PRESENT".
1623
1624 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1625
1626 * gdb.cp/oranking.exp: New test.
1627 * gdb.cp/oranking.cc: New test program.
1628
1629 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1630
1631 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1632 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1633
1634 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1635
1636 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1637 lush, lynx) New constant.
1638 * gdb.base/constvars.exp: Test const array types.
1639 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1640
1641 2010-10-06 Doug Evans <dje@google.com>
1642
1643 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1644 of syscall staging area.
1645
1646 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1647
1648 * gdb.base/gnu_vector.c: Add variable c4.
1649 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1650 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1651
1652 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1653
1654 * gdb.arch/altivec-abi.exp: Fix a typo.
1655
1656 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1657
1658 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1659 to match a thread ID.
1660
1661 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 Fix s390x testcase compatibility.
1664 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1665
1666 2010-10-01 Doug Evans <dje@google.com>
1667
1668 * lib/gdb-python.exp: New file.
1669 * gdb.python/py-block.exp: Use it.
1670 * gdb.python/py-breakpoint.exp: Ditto.
1671 * gdb.python/py-frame.exp: Ditto.
1672 * gdb.python/py-inferior.exp: Ditto.
1673 * gdb.python/py-param.exp: Ditto.
1674 * gdb.python/py-prettyprint.exp: Ditto.
1675 * gdb.python/py-shared.exp: Ditto.
1676 * gdb.python/py-symbol.exp: Ditto.
1677 * gdb.python/py-symtab.exp: Ditto.
1678 * gdb.python/py-type.exp: Ditto.
1679 * gdb.python/py-value.exp: Ditto.
1680 * gdb.python/python.exp: Ditto.
1681
1682 2010-09-30 Tom Tromey <tromey@redhat.com>
1683
1684 * gdb.base/anon.exp: New file.
1685 * gdb.base/anon.c: New file.
1686
1687 2010-09-30 Tom Tromey <tromey@redhat.com>
1688
1689 * gdb.base/completion.exp: Test completion through anonymous
1690 union.
1691 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1692
1693 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1694
1695 Fix printing parameters of inlined functions.
1696 * gdb.dwarf2/dw2-inline-param.exp: New file.
1697 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1698 * gdb.dwarf2/dw2-inline-param.S: New file.
1699
1700 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1701
1702 PR corefiles/12071.
1703 * gdb.base/corefile.exp (quit with a process, no question: load core)
1704 (quit with a core file): New tests.
1705
1706 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 Fix GDB crash on inferior calls with self-referencing classes.
1709 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1710 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1711 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1712
1713 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1714
1715 Fix lost siginfo_t for inferior calls.
1716 * gdb.base/siginfo-infcall.exp: New file.
1717 * gdb.base/siginfo-infcall.c: New file.
1718
1719 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1720
1721 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1722
1723 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1724
1725 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1726 New test.
1727 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1728
1729 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1730
1731 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1732 type of our const type.
1733
1734 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1735
1736 * gdb.cp/pr12028.cc: New.
1737 * gdb.cp/pr12028.exp: New.
1738
1739 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1742
1743 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1744 Jan Kratochvil <jan.kratochvil@redhat.com>
1745
1746 PR mi/11407
1747 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1748 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1749 * gdb.mi/dw2-ref-missing-frame.S New File.
1750 * gdb.mi/dw2-ref-missing-frame.exp New File.
1751
1752 2010-09-14 Tom Tromey <tromey@redhat.com>
1753
1754 PR symtab/8399:
1755 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1756
1757 2010-09-14 Tom Tromey <tromey@redhat.com>
1758
1759 PR exp/11803:
1760 * gdb.threads/tls.exp: Use C++.
1761 (check_thread_local): Use K::another_thread_local.
1762 * gdb.threads/tls.c (class K): New.
1763 (another_thread_local): Now a member of K.
1764 (spin): Update. No longer K&R C.
1765
1766 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1767
1768 * gdb.cp/koenig.cc: created class for testing member lookup.
1769 * gdb.cp/koenig.exp: Added test for member lookup.
1770
1771 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1772
1773 Fix false FAILs on sourcetree topdir directory containing "kill".
1774 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1775 source line matching regexp.
1776
1777 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1778
1779 * gdb.python/python.exp (set height 0, collect help from uiout)
1780 (verify help to uiout): New tests.
1781
1782 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1783
1784 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1785 is_lp64_target to check 64bit target.
1786
1787 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1788
1789 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1790 (test_ld) <powerpc64-*>: New.
1791
1792 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1793
1794 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1795
1796 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1797
1798 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1799 (FunctionArg::method): New function.
1800 (empty, arg): New variables.
1801 (main): Call arg.method.
1802 * gdb.cp/templates.exp (test_template_args): New function.
1803 (do_tests): Call it.
1804
1805 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1806
1807 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1808 of "next" to proceed over pthread_exit call.
1809
1810 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1811
1812 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1813 "maint print statistics" output to prevent expect timeouts.
1814
1815 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1818 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1819 (test_float_rejected): ... here.
1820 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1821 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1822 (test_float_rejected): ... here.
1823 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1824 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1825 (test_float_rejected): ... here.
1826 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1827 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1828 (test_float_rejected): ... here.
1829
1830 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1831
1832 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1833 before disabling hardware watchpoints.
1834 (test_inaccessible_watchpoint): Check that hardware watchpoints
1835 are used. Test for watchpoints on a constant address.
1836
1837 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1838
1839 * gdb.base/ui-redirect.exp: New file.
1840
1841 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1842 Joel Brobecker <brobecker@adacore.com>
1843
1844 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1845
1846 2010-08-31 Doug Evans <dje@google.com>
1847
1848 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1849
1850 2010-08-30 Tom Tromey <tromey@redhat.com>
1851
1852 PR python/11792:
1853 * gdb.python/py-value.exp (test_subscript_regression): Add
1854 dynamic_type test.
1855
1856 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1857
1858 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1859 instead of running to main. Do not test the main function.
1860 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1861 Add new main.
1862
1863 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1864
1865 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1866 one test.
1867
1868 2010-08-24 Doug Evans <dje@google.com>
1869
1870 PR symtab/11942
1871 * gdb.dwarf2/dw4-sig-types.cc: New file.
1872 * gdb.dwarf2/dw4-sig-types.h: New file.
1873 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1874 * gdb.dwarf2/dw4-sig-types.exp: New file.
1875
1876 2010-08-23 Tom Tromey <tromey@redhat.com>
1877
1878 PR python/11145:
1879 * gdb.python/py-value.c (Base, Derived): New types.
1880 (base): New global.
1881 * gdb.python/py-value.exp (test_subscript_regression): Add
1882 dynamic_cast test.
1883
1884 2010-08-23 Tom Tromey <tromey@redhat.com>
1885
1886 PR python/10676:
1887 * gdb.python/py-type.exp (test_fields): Add tests for type
1888 equality.
1889
1890 2010-08-23 Tom Tromey <tromey@redhat.com>
1891
1892 PR python/11915:
1893 * gdb.python/py-type.exp (test_fields): Add tests for array.
1894
1895 2010-08-23 Keith Seitz <keiths@redhat.com>
1896
1897 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1898 have any children. Create a new abbrev for it.
1899 Add missing terminal sequence to .debug_abbrev.
1900
1901 2010-08-20 Keith Seitz <keiths@redhat.com>
1902
1903 PR symtab/11465:
1904 * gdb.dwarf2/pr11465.exp: New test.
1905 * gdb.dwarf2/pr11465.S: New file.
1906 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1907 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1908
1909 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1910
1911 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1912 registers. Update data sets with the new v2_double element in the
1913 VSX register union. Add vector_register3_vr data set for the AltiVec
1914 registers. Use gdb_test_no_output instead of send_gdb.
1915
1916 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1917
1918 * gdb.python/py-shared.exp: New file, factored out from
1919 python.exp.
1920 * gdb.python/py-shared.c: New file.
1921 * gdb.python/py-shared-sl.c: New file.
1922 * gdb.python/python-1.c: New file.
1923 * gdb.python/python-sl.c: Delete.
1924 * gdb.python/python.c: Mention python-1.c.
1925 * gdb.python/python.exp: Move shared library tests to
1926 py-shared.exp.
1927 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1928 (MISCELLANEOUS): New.
1929 (clean mostlyclean): Also remove $MISCELLANEOUS.
1930
1931 2010-08-19 Doug Evans <dje@google.com>
1932
1933 PR exp/11926
1934 * gdb.base/printcmds.exp (test_float_accepted): New function.
1935 Move existing float tests there. Add tests for floats with suffixes.
1936 (test_float_rejected): New function.
1937 * gdb.java/jv-print.exp (test_float_accepted): New function.
1938 (test_float_rejected): New function.
1939 * gdb.objc/print.exp: New file.
1940 * gdb.pascal/print.exp: New file.
1941 * lib/objc.exp: New file.
1942
1943 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1944
1945 * gdb.base/default.exp (info set): Avoid full buffer error and force
1946 reading up to final gdb prompt.
1947 (show): Likewise.
1948
1949 2010-08-18 Tom Tromey <tromey@redhat.com>
1950
1951 PR symtab/11919:
1952 * gdb.base/completion.exp: Add test.
1953
1954 2010-08-18 Doug Evans <dje@google.com>
1955
1956 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1957 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1958 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1959 Simplify, early exit if runto_main fails.
1960 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1961 (set_lang_fortran): Moved to lib/fortran.exp.
1962 * gdb.fortran/types.exp: load_lib fortran.exp.
1963 (set_lang_fortran): Moved to lib/fortran.exp.
1964 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1965 * gdb.java/jprint.exp (set_lang_java): Ditto.
1966 * gdb.java/jv-exp.exp: load_lib java.exp.
1967 If set_lang_java fails, issue a warning instead of failure to be
1968 consistent with other set_lang_foo uses.
1969 (set_lang_java): Moved to lib/java.exp.
1970 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1971 If set_lang_java fails, issue a warning instead of failure to be
1972 consistent with other set_lang_foo uses.
1973 * gdb.pascal/types.exp: load_lib pascal.exp.
1974 (set_lang_pascal): Moved to lib/pascal.exp.
1975 * lib/fortran.exp: New file.
1976 * lib/java.exp (set_lang_java): New function.
1977 * lib/pascal.exp (set_lang_pascal): New function.
1978
1979 2010-08-18 Yao Qi <yao@codesourcery.com
1980
1981 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1982 func_nofb_start and func_loopfb_start, so that address of functions
1983 is equal to these labels on Thumb.
1984
1985 2010-08-18 Yao Qi <yao@codesourcery.com>
1986
1987 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1988 to reflect latest c source file.
1989
1990 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1991
1992 * gdb.cp/infcall-dlopen.exp: New file.
1993 * gdb.cp/infcall-dlopen.cc: New file.
1994 * gdb.cp/infcall-dlopen-lib.cc: New file.
1995
1996 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1997 Pedro Alves <pedro@codesourcery.com>
1998
1999 PR breakpoints/11371
2000
2001 * gdb.base/watch-cond-infcall.exp: New file.
2002 * gdb.base/watch-cond-infcall.c: New file.
2003
2004 2010-08-16 Tom Tromey <tromey@redhat.com>
2005
2006 * gdb.base/help.exp: Update.
2007 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2008 watchpoint.
2009 (test_watch_location): New proc.
2010 (test_watchpoint_in_big_blob): Delete watchpoint.
2011 * gdb.base/watchpoint.c (func5): New function.
2012 (main): Call it.
2013
2014 2010-08-16 Doug Evans <dje@google.com>
2015
2016 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2017
2018 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2019
2020 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2021 tests.
2022
2023 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2024
2025 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2026 * gdb.base/gnu_vector.c: New File.
2027 * gdb.base/gnu_vector.exp: Likewise.
2028
2029 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2030
2031 * gdb.python/python.c: New File.
2032 * gdb.python/python-sl.c: New File.
2033 * gdb.python/python.exp: Test solib_address and decode_line
2034 * functions.
2035
2036 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2037
2038 * gdb.python/python.exp (show height, set height 10)
2039 (verify pagination beforehand, verify pagination beforehand: q)
2040 (gdb.execute does not page, verify pagination afterwards)
2041 (verify pagination afterwards: q): New.
2042
2043 2010-08-02 Doug Evans <dje@google.com>
2044
2045 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2046 because of an older gcc, change test2
2047 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2048 to unsupported.
2049
2050 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2051
2052 * gdb.base/break-always.exp: Do not expect full paths to file
2053 names.
2054 * gdb.base/commands.exp: Likewise.
2055
2056 2010-07-30 Doug Evans <dje@google.com>
2057
2058 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2059 xfail them when run with older gccs.
2060
2061 * lib/gdb.exp (build_executable): Forward "c++" option to
2062 get_compiler_info.
2063
2064 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2065 "python print ttype.template_argument(1)" and
2066 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2067 if using gcc 4.4 or earlier.
2068
2069 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2070 attach-to-debugger handling.
2071
2072 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2073
2074 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2075 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2076 (main): Use copyreloc.
2077 * gdb.base/prelink.exp (split debug of executable)
2078 (.dynbss vs. .bss address shift): New tests.
2079
2080 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2081
2082 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2083 in gdb_test_multiple.
2084
2085 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2086
2087 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2088 environment.
2089
2090 2010-07-28 Tom Tromey <tromey@redhat.com>
2091
2092 PR python/11060:
2093 * gdb.python/py-type.c (Temargs): New template.
2094 (temvar): New variable.
2095 * gdb.python/py-type.exp (test_template): New proc.
2096
2097 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2098
2099 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2100 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2101
2102 2010-07-28 Tom Tromey <tromey@redhat.com>
2103
2104 PR c++/9946:
2105 * gdb.cp/temargs.exp: New file.
2106 * gdb.cp/temargs.cc: New file.
2107
2108 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2109
2110 * gdb.base/help.exp (help disassemble): Update the content.
2111
2112 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2113
2114 * gdb.threads/ia64-sigill.exp: New file.
2115 * gdb.threads/ia64-sigill.c: New file.
2116
2117 2010-07-27 Tom Tromey <tromey@redhat.com>
2118
2119 * gdb.opt/inline-cmds.c (ATTR): New define.
2120 (func1): Use it.
2121 (func2): Likewise.
2122 (func3): Likewise.
2123 (outer_inline1): Likewise.
2124 (outer_inline2): Likewise.
2125 * gdb.opt/inline-bt.c (ATTR): New define.
2126 (func1): Use it.
2127 (func2): Likewise.
2128 * gdb.opt/inline-locals.c (ATTR): New define.
2129 (func1): Use it.
2130 (func2): Likewise.
2131
2132 2010-07-27 Tom Tromey <tromey@redhat.com>
2133
2134 * gdb.stabs/gdb11479.c (hack): New function.
2135 (test): Use it.
2136 (test2): Use it.
2137 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2138 (int32_search_buf, int64_search_buf): No longer static.
2139 (x): Remove.
2140 * gdb.base/relocate.c (hack): New function.
2141
2142 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2143
2144 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2145 * gdb.python/py-value.c (func1): New function.
2146 (func2): Likewise.
2147
2148 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2149
2150 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2151 as not to clash with .data section.
2152
2153 2010-07-26 Jerome Guitton <guitton@adacore.com>
2154
2155 * gdb.base/code_elim.exp: New file.
2156 * gdb.base/code_elim1.c: New file.
2157 * gdb.base/code_elim2.c: New file.
2158
2159 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2160
2161 PR symtab/11827
2162
2163 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2164 (some_volatile_enum): New variable.
2165 * gdb.base/printcmds.exp (test_print_enums): New.
2166 <top level>: Call it.
2167
2168 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2169
2170 * gdb.cp/fpointer.cc: New test.
2171 * gdb.cp/fpointer.exp: New test.
2172
2173 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2174
2175 * gdb.base/solib-nodir.exp: New file.
2176 * lib/gdb.exp (runto): New case for a GDB internal error.
2177
2178 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2179 Ulrich Weigand <uweigand@de.ibm.com>
2180 Tom Tromey <tromey@redhat.com>
2181
2182 * gdb.base/charset-malloc.c: New file.
2183 * gdb.base/charset.c (malloc_stub): New prototype.
2184 (main): Call it instead of malloc itself.
2185 * gdb.base/charset.exp: Use only prepare_for_testing.
2186 (binfile): Remove the variable.
2187
2188 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2189
2190 Make core files the process_stratum.
2191 * gdb.base/corefile.exp (run: load core again)
2192 (run: sanity check we see the core file, run: with core)
2193 (run: core file is cleared, attach: load core again)
2194 (attach: sanity check we see the core file, attach: with core)
2195 (attach: core file is cleared): New tests.
2196 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2197
2198 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2199
2200 * gdb.arch/altivec-abi.exp: New tests.
2201
2202 2010-07-13 Tom Tromey <tromey@redhat.com>
2203
2204 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2205 (main): Use it.
2206 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2207
2208 2010-07-13 Tom Tromey <tromey@redhat.com>
2209
2210 * gdb.base/label.exp: New file.
2211 * gdb.base/label.c: New file.
2212
2213 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2214 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * lib/gdb.exp (is_ilp32_target): New.
2217 (is_lp64_target): Likewise.
2218
2219 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2220 target.
2221 * gdb.arch/amd64-disp-step.exp: Likewise.
2222 * gdb.arch/amd64-dword.exp: Likewise.
2223 * gdb.arch/amd64-i386-address.exp: Likewise.
2224 * gdb.arch/amd64-word.exp: Likewise.
2225
2226 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2227 target.
2228 * gdb.arch/i386-bp_permanent.exp: Likewise.
2229 * gdb.arch/i386-byte.exp: Likewise.
2230 * gdb.arch/i386-disp-step.exp: Likewise.
2231 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2232 * gdb.arch/i386-prologue.exp: Likewise.
2233 * gdb.arch/i386-size-overlap.exp: Likewise.
2234 * gdb.arch/i386-size.exp: Likewise.
2235 * gdb.arch/i386-sse.exp: Likewise.
2236 * gdb.arch/i386-unwind.exp: Likewise.
2237 * gdb.arch/i386-word.exp: Likewise.
2238
2239 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2240 test only when building 64-bit executables. Do not hard-code
2241 -m64 option.
2242
2243 2010-07-07 Doug Evans <dje@google.com>
2244
2245 * lib/gdb.exp (gdb_test_list_exact): New function.
2246 * gdb.base/default.exp (show convenience): Call it, add tests for
2247 $_sdata = void, $_thread = 0.
2248
2249 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2250 Joel Brobecker <brobecker@adacore.com>
2251
2252 Fix re-run of PIE executable, PR shlibs/11776.
2253 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2254 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2255 and re-"run" of the inferior.
2256
2257 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2258 Joel Brobecker <brobecker@adacore.com>
2259
2260 Cope with missing /usr/sbin/prelink.
2261 * lib/prelink-support.exp (prelink_no):
2262 <result == 1 && $output is "no such file or directory">: New.
2263 (prelink_yes): Likewise. Return on failed prelink_no.
2264
2265 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2266 Joel Brobecker <brobecker@adacore.com>
2267
2268 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2269 build_executable by build_executable_own_libs. Replace "prelink -R"
2270 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2271 change.
2272 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2273 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2274 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2275 Replace build_executable by build_executable_own_libs's function
2276 build_executable_own_libs.
2277 (prelinkNO): Create new stub to call prelink_no.
2278 (prelinkYES): Create new stub to call prelink_yes.
2279 (test_attach): Rename calls of copy to file_copy.
2280 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2281 (copy): Move to ...
2282 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2283 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2284 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2285 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2286 special flags by gdb_compile_shlib. Replace second gdb_compile by
2287 build_executable_own_libs. Replace "prelink -R" execution by a call of
2288 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2289 a second call of prelink_yes. Replace restart commands by
2290 clean_restart.
2291 (prelink): Rename to ...
2292 (seen displacement message): ... this test. Extend its expectation
2293 strictness.
2294
2295 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2298 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2299 displacement message exactly once.
2300
2301 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2302 Joel Brobecker <brobecker@adacore.com>
2303
2304 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2305 its restore after the <$relink_args != ""> loop. new comment.
2306
2307 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2308 Joel Brobecker <brobecker@adacore.com>
2309
2310 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2311 code for it. New variable relink_args.
2312 (prelinkYES): Call prelinkNO.
2313 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2314 in such case. Move the core code to ...
2315 (test_attach_gdb): ... a new function. Send GDB command "file".
2316 Extend expected "Attaching to " string.
2317
2318 2010-07-02 Tom Tromey <tromey@redhat.com>
2319
2320 * gdb.base/bitops.exp: Remove extraneous "pass".
2321
2322 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2323
2324 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2325
2326 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2327
2328 * gdb.base/help.exp: Adjust expected output.
2329
2330 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2331
2332 * gdb.base/help.exp: Adjust expected output.
2333
2334 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2335
2336 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2337 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2338 c++/11702.
2339
2340 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2341 Doug Evans <dje@google.com>
2342
2343 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2344 add .dynamic entry'.
2345
2346 2010-06-29 Doug Evans <dje@google.com>
2347
2348 Test PR c++/11702.
2349 * gdb.cp/m-static.exp: Add testcase.
2350 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2351
2352 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2353 Tom Tromey <tromey@redhat.com>
2354 Thiago Jung Bauermann <bauerman@br.ibm.com>
2355
2356 * gdb.python/py-inferior.c: New File.
2357 * gdb.python/py-infthread.c: New File.
2358 * gdb.python/py-inferior.exp: New File.
2359 * gdb.python/py-infthread.exp: New File.
2360
2361 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2362
2363 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2364 (ptype ::C::OtherFileClass typedefs): New.
2365 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2366 (C::OtherFileClass::cOtherFileClassVar2): New.
2367 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2368 cOtherFileClassVar2.
2369 (C::cOtherFileType2, C::cOtherFileVar2): New.
2370 (C::cOtherFileVar_use): use also cOtherFileVar2.
2371 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2372
2373 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2374
2375 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2376 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2377 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2378 (print ::C::cOtherFileVar)
2379 (whatis C::OtherFileClass::cOtherFileClassType)
2380 (whatis ::C::OtherFileClass::cOtherFileClassType)
2381 (print C::OtherFileClass::cOtherFileClassVar)
2382 (print ::cOtherFileClassVar)
2383 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2384 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2385 trailing content.
2386 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2387 (C::OtherFileClass::cOtherFileClassVar)
2388 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2389 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2390
2391 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2392
2393 Test PR c++/11703 and PR gdb/1448.
2394 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2395 gdb/1448.
2396
2397 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2398
2399 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2400 (main) <rtti_data>: New.
2401 * gdb.cp/virtbase.exp (print rtti_data): New.
2402
2403 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Joel Brobecker <brobecker@adacore.com>
2405
2406 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2407
2408 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2409
2410 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2411
2412 2010-06-28 Doug Evans <dje@google.com>
2413
2414 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2415
2416 2010-06-27 Doug Evans <dje@google.com>
2417
2418 * gdb.cp/m-static.exp: Update expected test output.
2419
2420 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2421
2422 * gdb.gdb/selftest.exp: Adjust expected message for
2423 capturing start-up runtime.
2424
2425 2010-06-25 Tom Tromey <tromey@redhat.com>
2426
2427 PR python/10808:
2428 * gdb.python/python.exp: Add new tests.
2429
2430 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2431
2432 * gdb.cp/operator.cc: Created an import loop.
2433 * gdb.cp/operator.exp: Added testcase for import loop.
2434
2435 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 Test PR python/11407.
2438 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2439 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2440 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2441 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2442 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2443 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2444 binfile. Call gdb_compile with clean_restart twice.
2445 (func_nofb print, func_nofb backtrace, func_loopfb print)
2446 (func_loopfb backtrace): New.
2447
2448 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2449
2450 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2451 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2452 by a hand made one.
2453 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2454 i?86 requirement. Remove variables srcfile and binfile. New variable
2455 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2456
2457 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2458
2459 * gdb.cell/dwarfaddr.exp: New file.
2460 * gdb.cell/dwarfaddr.S: New file.
2461
2462 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2463
2464 Test PR 9436.
2465 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2466
2467 2010-06-24 Hui Zhu <teawater@gmail.com>
2468
2469 * gdb.base/eval.exp: New file.
2470
2471 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2472
2473 * gdb.cell/fork.exp: New file.
2474 * gdb.cell/fork.c: Likewise.
2475 * gdb.cell/fork-spu.c: Likewise.
2476
2477 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2478
2479 * lib/gdb.exp (banned_variables_traced): New global variable.
2480 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2481 (gdb_init): Use `trace add variable' instead of obsolete
2482 `trace variable'.
2483
2484 2010-06-21 Doug Evans <dje@google.com>
2485
2486 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2487
2488 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2489
2490 * gdb.arch/spu-ls.exp: New file.
2491 * gdb.arch/spu-ls.c: Likewise.
2492
2493 2010-06-18 Stan Shebs <stan@codesourcery.com>
2494
2495 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2496
2497 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2498
2499 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2500 * gdb.base/watch-cond.exp: Likewise.
2501 * gdb.python/py-breakpoint.exp: Likewise.
2502
2503 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2504
2505 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2506 clean_restart, make sure every test has a distinct message, and
2507 that messages don't include the executable' full path.
2508
2509 2010-06-17 Doug Evans <dje@google.com>
2510
2511 * gdb.arch/i386-size.exp: Updated expected output for
2512 DISASSEMBLY_OMIT_FNAME.
2513
2514 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2515 Sergio Durigan Junior <sergiodj@redhat.com>
2516
2517 * gdb.base/watch-notconst.c: New file.
2518 * gdb.base/watch-notconst.S: New file.
2519 * gdb.base/watch-notconst2.c: New file.
2520 * gdb.base/watch-notconst2.S: New file.
2521 * gdb.base/watch-notconst.exp: New file.
2522 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2523 (func4): Add operations on `global_ptr_ptr'.
2524 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2525 routine to test watchpoints created with a constant expression.
2526 (test_inaccessible_watchpoint): Include tests for watchpoints
2527 created with a constant expression.
2528
2529 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2530
2531 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2532 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2533 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2534 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2535 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2536 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2537 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2538 of `_start'.
2539
2540 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2541
2542 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2543 not supported on the target.
2544 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2545 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2546 * gdb.mi/mi-nsintrall.exp: Likewise.
2547 * gdb.mi/mi-nsmoribund.exp: Likewise.
2548 * gdb.mi/mi-nsthrexec.exp: Likewise.
2549
2550 2010-06-11 Stan Shebs <stan@codesourcery.com>
2551
2552 * gdb.base/permissions.exp: New file.
2553
2554 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2555
2556 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2557 does not support ELF executable class.
2558
2559 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2560
2561 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2562
2563 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2564
2565 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2566 (runto): Catch "The target does not support running in non-stop mode.".
2567
2568 2010-06-11 Michael Snyder <msnyder@vmware.com>
2569
2570 * gdb.base/setshow.exp (set language asm): Don't use
2571 gdb_test_no_output, fails on some targets.
2572
2573 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2574
2575 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2576 * gdb.cp/pr9167.exp: Likewise.
2577
2578 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2579
2580 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2581
2582 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2583
2584 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2585
2586 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2587
2588 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2589
2590 2010-06-11 Tom Tromey <tromey@redhat.com>
2591
2592 PR gdb/9977, PR exp/11636::
2593 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2594 (pieces_test_f6): Update expected output.
2595
2596 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.base/moribund-step.exp: New.
2599
2600 2010-06-08 Michael Snyder <msnyder@vmware.com>
2601
2602 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2603 * gdb.ada/boolean_expr.exp:
2604 * gdb.ada/frame_args.exp: Ditto.
2605 * gdb.ada/lang_switch.exp: Ditto.
2606 * gdb.ada/ptype_arith_binop.exp: Ditto.
2607 * gdb.ada/ref_param.exp: Ditto.
2608 * gdb.ada/type_coercion.exp:Ditto.
2609
2610 * gdb.asm/asm-source.exp: Ditto.
2611
2612 * gdb.base/attach.exp: Ditto.
2613 * gdb.base/bitfields2.exp: Ditto.
2614 * gdb.base/call-signal-resume.exp: Ditto.
2615 * gdb.base/callfuncs.exp: Ditto.
2616 * gdb.base/commands.exp: Ditto.
2617 * gdb.base/dbx.exp: Ditto.
2618 * gdb.base/default.exp: Ditto.
2619 * gdb.base/dump.exp: Ditto.
2620 * gdb.base/exprs.exp: Ditto.
2621 * gdb.base/freebpcmd.exp: Ditto.
2622 * gdb.base/interrupt.exp: Ditto.
2623 * gdb.base/list.exp: Ditto.
2624 * gdb.base/long_long.exp: Ditto.
2625 * gdb.base/maint.exp: Ditto.
2626 * gdb.base/ptype.exp: Ditto.
2627 * gdb.base/return.exp: Ditto.
2628 * gdb.base/setshow.exp: Ditto.
2629 * gdb.base/sigbpt.exp: Ditto.
2630 * gdb.base/sigrepeat.exp: Ditto.
2631
2632 * gdb.cp/classes.exp: Ditto.
2633
2634 * gdb.dwarf2/dw2-restore.exp: Ditto.
2635
2636 * gdb.gdb/selftest.exp: Ditto.
2637
2638 * gdb.multi/base.exp: Ditto.
2639 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2640
2641 * gdb.python/py-block.exp: Ditto.
2642 * gdb.python/py-prettyprint.exp: Ditto.
2643 * gdb.python/py-template.exp: Ditto.
2644
2645 * gdb.server/ext-attach.exp: Ditto.
2646 * gdb.server/ext-run.exp: Ditto.
2647 * gdb.server/server-mon.exp: Ditto.
2648
2649 * gdb.threads/fork-thread-pending.exp: Ditto.
2650 * gdb.threads/hand-call-in-threads.exp: Ditto.
2651 * gdb.threads/interrupted-hand-call.exp: Ditto.
2652 * gdb.threads/linux-dp.exp: Ditto.
2653 * gdb.threads/manythreads.exp: Ditto.
2654 * gdb.threads/print-threads.exp: Ditto.
2655 * gdb.threads/pthreads.exp: Ditto.
2656 * gdb.threads/schedlock.exp: Ditto.
2657 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2658 * gdb.threads/threadapply.exp: Ditto.
2659
2660 2010-06-08 Michael Snyder <msnyder@vmware.com>
2661
2662 * gdb.ada/exec_changed.exp:
2663 Use ".*" instead of "" as wildcard regexp.
2664
2665 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2666 * gdb.base/call-ar-st.exp: Ditto.
2667 * gdb.base/checkpoint.exp: Ditto.
2668 * gdb.base/default.exp: Ditto.
2669 * gdb.base/dump.exp: Ditto.
2670 * gdb.base/ending-run.exp: Ditto.
2671 * gdb.base/fileio.exp: Ditto.
2672 * gdb.base/miscexprs.exp: Ditto.
2673 * gdb.base/pointers.exp: Ditto.
2674 * gdb.base/readline.exp: Ditto.
2675 * gdb.base/reread.exp: Ditto.
2676 * gdb.base/restore.exp: Ditto.
2677 * gdb.base/shlib-call.exp: Ditto.
2678 * gdb.base/valgrind-db-attach.exp: Ditto.
2679 * gdb.base/volatile.exp: Ditto.
2680 * gdb.base/watchpoints.exp: Ditto.
2681
2682 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2683
2684 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2685 * gdb.python/py-value.exp: Ditto.
2686
2687 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2688 * gdb.trace/circ.exp: Ditto.
2689 * gdb.trace/collection.exp: Ditto.
2690 * gdb.trace/packetlen.exp: Ditto.
2691 * gdb.trace/passc-dyn.exp: Ditto.
2692 * gdb.trace/report.exp: Ditto.
2693 * gdb.trace/tfile.exp: Ditto.
2694 * gdb.trace/tfind.exp: Ditto.
2695 * gdb.trace/while-dyn.exp: Ditto.
2696
2697 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2698
2699 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2700
2701 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 Test PR 10640.
2704 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2705
2706 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2707
2708 * gdb.cp/koenig.exp: Test for ADL operators.
2709 * gdb.cp/koenig.cc: Added ADL operators.
2710 * gdb.cp/operator.exp: New test.
2711 * gdb.cp/operator.cc: New test.
2712
2713 2010-06-04 Michael Snyder <msnyder@vmware.com>
2714
2715 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2716 * gdb.base/pending.exp: Ditto.
2717
2718 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2719
2720 2010-06-04 Doug Evans <dje@google.com>
2721
2722 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2723 disabled printers.
2724 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2725 (enable_lookup_function): New function.
2726
2727 2010-06-04 Tom Tromey <tromey@redhat.com>
2728
2729 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2730 of hash and id.
2731
2732 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2733
2734 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2735 newline.
2736 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2737 (empty verbose non-noisy clear, empty verbose noisy clear)
2738 (empty non-verbose noisy clear): Likewise.
2739
2740 2010-06-03 Michael Snyder <msnyder@vmware.com>
2741
2742 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2743 * gdb.base/display.exp: Ditto.
2744 * gdb.base/find.exp: Ditto.
2745 * gdb.base/ifelse.exp: Ditto.
2746 * gdb.base/multi-forks.exp: Ditto.
2747 * gdb.base/recurse.exp: Ditto.
2748 * gdb.base/setshow.exp: Ditto.
2749 * gdb.base/value-double-free.exp: Ditto.
2750 * gdb.base/watch-vfork.exp: Ditto.
2751 * gdb.base/watch_thread_num.exp: Ditto.
2752 * gdb.base/watchpoint-solib.exp: Ditto.
2753 * gdb.base/watchpoint.exp: Ditto.
2754 * gdb.base/watchpoints.exp: Ditto.
2755
2756 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2757 * gdb.cp/overload.exp: Ditto.
2758 * gdb.cp/virtfunc.exp: Ditto.
2759
2760 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2761
2762 * gdb.reverse/watch-precsave.exp:
2763 Replace gdb_test with gdb_test_no_output.
2764
2765 * gdb.threads/attach-into-signal.exp:
2766 Replace gdb_test with gdb_test_no_output.
2767 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2768 * gdb.threads/watchthreads.exp: Ditto.
2769 * gdb.threads/watchthreads2.exp: Ditto.
2770
2771 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2772 * gdb.trace/tfind.exp: Ditto.
2773
2774 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2775
2776 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2777 successful test if message is the empty string.
2778
2779 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2780
2781 * gdb.fortran/module.exp (stopped language detection): New test.
2782
2783 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2784
2785 Support DW_TAG_module as separate namespaces.
2786 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2787 gdb.fortran/library-module-lib.f90: New.
2788 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2789 (print i): Remove.
2790 (continue to breakpoint: i-is-1, print var_i value 1)
2791 (continue to breakpoint: i-is-2, print var_i value 2)
2792 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2793 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2794 (complete `modmany, complete `modmany`, complete `modmany`var)
2795 (show language, setting breakpoint at module): New tests.
2796 * gdb.fortran/module.f90 (module mod): Remove.
2797 (module mod1, module mod2, module modmany, subroutine sub1)
2798 (subroutine sub2, program module): New.
2799
2800 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2801
2802 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2803 (print value of rUC, print value of rI, print value of UI): ... here.
2804 * gdb.cp/anon-union.exp (pass): Rename to ...
2805 (print z 2): ... here.
2806
2807 2010-06-02 Michael Snyder <msnyder@vmware.com>
2808
2809 * gdb.trace/actions.exp: Use gdb_test_no_output.
2810 * gdb.trace/circ.exp: Ditto.
2811 * gdb.trace/packetlen.exp: Ditto.
2812 * gdb.trace/save-trace.exp: Ditto.
2813 * gdb.trace/tracecmd.exp: Ditto.
2814 * gdb.trace/tsv.exp: Ditto.
2815
2816 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2817 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2818 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2819 * gdb.threads/manythreads.exp: Ditto.
2820 * gdb.threads/print-threads.exp: Ditto.
2821 * gdb.threads/pthreads.exp: Ditto.
2822 * gdb.threads/schedlock.exp: Ditto.
2823 * gdb.threads/staticthreads.exp: Ditto.
2824 * gdb.threads/thread-specific.exp: Ditto.
2825 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2826 * gdb.threads/threadapply.exp: Ditto.
2827 * gdb.threads/watchthreads.exp: Ditto.
2828 * gdb.threads/watchthreads2.exp: Ditto.
2829
2830 * gdb.python/py-block.exp: Use gdb_test_no_output.
2831 * gdb.python/py-prettyprint.exp: Ditto.
2832 * gdb.python/py-template.exp: Ditto.
2833 * gdb.python/py-value.exp: Ditto.
2834
2835 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2836 * gdb.reverse/watch-reverse.exp: Ditto.
2837
2838 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2839 * gdb.server/ext-run.exp: Ditto.
2840
2841 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2842 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2843 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2844 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2845 * gdb.dwarf2/dw2-producer.exp: Ditto.
2846 * gdb.dwarf2/mac-fileno.exp: Ditto.
2847
2848 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2849 * gdb.gdb/selftest.exp: Ditto.
2850
2851 * gdb.multi/base.exp: Use gdb_test_no_output.
2852
2853 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2854
2855 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2856
2857 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2858
2859 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2860
2861 * gdb.cp/class2.exp: Use gdb_test_no_output.
2862 * gdb.cp/classes.exp: Ditto.
2863 * gdb.cp/extern-c.exp: Ditto.
2864 * gdb.cp/inherit.exp: Ditto.
2865 * gdb.cp/maint.exp: Ditto.
2866 * gdb.cp/mb-inline.exp: Ditto.
2867 * gdb.cp/mb-templates.exp: Ditto.
2868 * gdb.cp/method2.exp: Ditto.
2869 * gdb.cp/misc.exp: Ditto.
2870 * gdb.cp/ovldbreak.exp: Ditto.
2871 * gdb.cp/punctuator.exp: Ditto.
2872 * gdb.cp/templates.exp: Ditto.
2873 * gdb.cp/virtbase.exp: Ditto.
2874
2875 * gdb.threads/attach-stopped.exp:
2876 Replace uses of send_gdb / gdb_expect.
2877 * gdb.threads/attachstop-mt.exp:
2878 Replace uses of send_gdb / gdb_expect.
2879 * gdb.threads/gcore-thread.exp:
2880 Replace uses of send_gdb / gdb_expect.
2881 * gdb.threads/hand-call-in-threads.exp:
2882 Replace uses of send_gdb / gdb_expect.
2883 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2884 * gdb.threads/print-threads.exp:
2885 Replace uses of send_gdb / gdb_expect.
2886 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2887 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2888 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2889
2890 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2891 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2892 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2893 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2894 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2895 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2896 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2897 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2898 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2899 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2900 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2901
2902 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2903
2904 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2905
2906 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2907
2908 * gdb.cp/koenig.exp: Added new test case.
2909 * gdb.cp/koenig.cc: Ditto.
2910
2911 2010-06-01 Michael Snyder <msnyder@vmware.com>
2912
2913 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2914 * gdb.base/arrayidx.exp: Ditto.
2915 * gdb.base/attach.exp: Ditto.
2916 * gdb.base/auxv.exp: Ditto.
2917 * gdb.base/bigcre.exp: Ditto.
2918 * gdb.base/break-always.exp: Ditto.
2919 * gdb.base/break-interp.exp: Ditto.
2920 * gdb.base/break.exp: Ditto.
2921 * gdb.base/breakpoint-shadow.exp: Ditto.
2922 * gdb.base/call-ar-st.exp: Ditto.
2923 * gdb.base/call-sc.exp: Ditto.
2924 * gdb.base/call-signal-resume.exp: Ditto.
2925 * gdb.base/callfuncs.exp: Ditto.
2926 * gdb.base/catch-syscall.exp: Ditto.
2927 * gdb.base/charset.exp: Ditto.
2928 * gdb.base/code-expr.exp: Ditto.
2929 * gdb.base/commands.exp: Ditto.
2930 * gdb.base/cond-expr.exp: Ditto.
2931 * gdb.base/condbreak.exp: Ditto.
2932 * gdb.base/cursal.exp: Ditto.
2933 * gdb.base/cvexpr.exp: Ditto.
2934 * gdb.base/default.exp: Ditto.
2935 * gdb.base/del.exp: Ditto.
2936 * gdb.base/detach.exp: Ditto.
2937 * gdb.base/display.exp: Ditto.
2938 * gdb.base/ena-dis-br.exp: Ditto.
2939 * gdb.base/eval-skip.exp: Ditto.
2940 * gdb.base/foll-fork.exp: Ditto.
2941 * gdb.base/foll-vfork.exp: Ditto.
2942 * gdb.base/frame-args.exp: Ditto.
2943 * gdb.base/funcargs.exp: Ditto.
2944 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2945 * gdb.base/gdbvars.exp: Ditto.
2946 * gdb.base/help.exp: Ditto.
2947 * gdb.base/ifelse.exp: Ditto.
2948 * gdb.base/included.exp: Ditto.
2949 * gdb.base/list.exp: Ditto.
2950 * gdb.base/macscp.exp: Ditto.
2951 * gdb.base/maint.exp: Ditto.
2952 * gdb.base/multi-fork.exp: Ditto.
2953 * gdb.base/overlays.exp: Ditto.
2954 * gdb.base/page.exp: Ditto.
2955 * gdb.base/pending.exp: Ditto.
2956 * gdb.base/pointers.exp: Ditto.
2957 * gdb.base/pr11022.exp: Ditto.
2958 * gdb.base/prelink.exp: Ditto.
2959 * gdb.base/printcmds.exp: Ditto.
2960 * gdb.base/psymtab.exp: Ditto.
2961 * gdb.base/randomize.exp: Ditto.
2962 * gdb.base/relational.exp: Ditto.
2963 * gdb.base/relocate.exp: Ditto.
2964 * gdb.base/remote.exp: Ditto.
2965 * gdb.base/sepdebug.exp: Ditto.
2966 * gdb.base/set-lang-auto.exp: Ditto.
2967 * gdb.base/setshow.exp: Ditto.
2968 * gdb.base/setvar.exp: Ditto.
2969 * gdb.base/signals.exp: Ditto.
2970 * gdb.base/signull.exp: Ditto.
2971 * gdb.base/sigstep.exp: Ditto.
2972 * gdb.base/sizeof.exp: Ditto.
2973 * gdb.base/solib-disc.exp: Ditto.
2974 * gdb.base/store.exp: Ditto.
2975 * gdb.base/structs.exp: Ditto.
2976 * gdb.base/structs2.exp: Ditto.
2977 * gdb.base/subst.exp: Ditto.
2978 * gdb.base/term.exp: Ditto.
2979 * gdb.base/trace-commands.exp: Ditto.
2980 * gdb.base/unwindonsignal.exp: Ditto.
2981 * gdb.base/valgrind-db-attach.exp: Ditto.
2982 * gdb.base/varargs.exp: Ditto.
2983 * gdb.base/watch-cond.exp: Ditto.
2984 * gdb.base/watch_thread_num.exp: Ditto.
2985 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2986 * gdb.base/watchpoint.exp: Ditto.
2987 * gdb.base/whatis-exp.exp: Ditto.
2988
2989 2010-06-01 Michael Snyder <msnyder@vmware.com>
2990
2991 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2992 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2993 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2994 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2995 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2996 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2997 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2998 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2999 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3000 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3001 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3002 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3003 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3004 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3005 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3006
3007 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3008
3009 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3010 trailing newline.
3011 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3012 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3013 (p *args): ... here and remove excessive trailing newline.
3014
3015 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3016
3017 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3018
3019 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3020
3021 Accept the new Linux kernel "t (tracing stop)" string.
3022 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3023 Update comment.
3024 (state_wait) <T (tracing stop)>: New.
3025 (main): Update the state_wait expect string.
3026
3027 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3028
3029 * limits.c, limits.exp: Delete files.
3030 * Makefile.in (clean mostlyclean): Adjust.
3031 * tracecmd.exp: Adjust.
3032
3033 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3034
3035 * gdb.base/tui-layout.exp: New.
3036
3037 2010-05-28 Michael Snyder <msnyder@vmware.com>
3038
3039 * gdb.reverse/break-precsave.exp:
3040 Replace uses of send_gdb / gdb_expect.
3041 * gdb.reverse/break-reverse.exp:
3042 Replace uses of send_gdb / gdb_expect.
3043 * gdb.reverse/consecutive-precsave.exp:
3044 Replace uses of send_gdb / gdb_expect.
3045 * gdb.reverse/consecutive-reverse.exp:
3046 Replace uses of send_gdb / gdb_expect.
3047 * gdb.reverse/finish-precsave.exp:
3048 Replace uses of send_gdb / gdb_expect.
3049 * gdb.reverse/finish-reverse.exp:
3050 Replace uses of send_gdb / gdb_expect.
3051 * gdb.reverse/i386-precsave.exp:
3052 Replace uses of send_gdb / gdb_expect.
3053 * gdb.reverse/i386-reverse.exp:
3054 Replace uses of send_gdb / gdb_expect.
3055 * gdb.reverse/i386-sse-reverse.exp:
3056 Replace uses of send_gdb / gdb_expect.
3057 * gdb.reverse/i387-env-reverse.exp:
3058 Replace uses of send_gdb / gdb_expect.
3059 * gdb.reverse/i387-stack-reverse.exp:
3060 Replace uses of send_gdb / gdb_expect.
3061 * gdb.reverse/machinestate-precsave.exp:
3062 Replace uses of send_gdb / gdb_expect.
3063 * gdb.reverse/machinestate.exp:
3064 Replace uses of send_gdb / gdb_expect.
3065 * gdb.reverse/sigall-precsave.exp:
3066 Replace uses of send_gdb / gdb_expect.
3067 * gdb.reverse/sigall-reverse.exp:
3068 Replace uses of send_gdb / gdb_expect.
3069 * gdb.reverse/solib-precsave.exp:
3070 Replace uses of send_gdb / gdb_expect.
3071 * gdb.reverse/solib-reverse.exp:
3072 Replace uses of send_gdb / gdb_expect.
3073 * gdb.reverse/step-precsave.exp:
3074 Replace uses of send_gdb / gdb_expect.
3075 * gdb.reverse/step-reverse.exp:
3076 Replace uses of send_gdb / gdb_expect.
3077 * gdb.reverse/until-precsave.exp:
3078 Replace uses of send_gdb / gdb_expect.
3079 * gdb.reverse/until-reverse.exp:
3080 Replace uses of send_gdb / gdb_expect.
3081 * gdb.reverse/watch-precsave.exp:
3082 Replace uses of send_gdb / gdb_expect.
3083 * gdb.reverse/watch-reverse.exp:
3084 Replace uses of send_gdb / gdb_expect.
3085
3086 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3087
3088 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3089 excessive newline.
3090
3091 2010-05-27 Michael Snyder <msnyder@vmware.com>
3092
3093 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3094 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3095 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3096 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3097 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3098 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3099 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3100 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3101 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3102 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3103 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3104 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3105 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3106 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3107 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3108 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3109 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3110 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3111 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3112
3113 2010-05-26 Michael Snyder <msnyder@vmware.com>
3114
3115 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3116 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3117
3118 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3119 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3120 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3121
3122 * gdb.reverse/consecutive-reverse.exp:
3123 Replace uses of send_gdb / gdb_expect.
3124 * gdb.reverse/consecutive-precsave.exp:
3125 Replace uses of send_gdb / gdb_expect.
3126
3127 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3128 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3129 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3130 * gdb.mi/mi-ns-stale-regcache.exp:
3131 Replace uses of send_gdb / gdb_expect.
3132 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3133 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3134 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3135 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3136 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3137 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3138 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3139 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3140 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3141
3142 2010-05-26 Michael Snyder <msnyder@vmware.com>
3143
3144 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3145
3146 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3147
3148 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3149 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3150 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3151 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3152 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3153 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3154 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3155 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3156 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3157
3158 2010-05-25 Tom Tromey <tromey@redhat.com>
3159
3160 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3161
3162 2010-05-25 Tom Tromey <tromey@redhat.com>
3163
3164 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3165 argument order.
3166 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3167 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3168 order.
3169 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3170 order.
3171 * gdb.base/call-sc.exp (setup_kfails): Remove.
3172 (setup_compiler_kfails): Remove.
3173 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3174 argument order.
3175 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3176 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3177 (advancei): Fix setup_kfail argument order.
3178 * gdb.base/radix.exp: Fix setup_kfail argument order.
3179 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3180 order.
3181 * gdb.base/structs.exp (setup_kfails): Remove.
3182 (setup_compiler_kfails): Fix setup_kfail argument order.
3183 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3184 order.
3185 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3186 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3187 setup_kfail argument order.
3188 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3189
3190 2010-05-25 Tom Tromey <tromey@redhat.com>
3191
3192 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3193
3194 2010-05-25 Michael Snyder <msnyder@vmware.com>
3195
3196 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3197 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3198 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3199 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3200 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3201 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3202 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3203 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3204 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3205 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3206 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3207 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3208 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3209 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3210 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3211 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3212 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3213 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3214 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3215 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3216 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3217 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3218 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3219 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3220 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3221 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3222 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3223 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3224 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3225 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3226 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3227 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3228 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3229 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3230 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3231 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3232 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3233 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3234 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3235 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3236 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3237 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3238 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3239 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3240 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3241 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3242 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3243 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3244
3245 2010-05-25 Doug Evans <dje@google.com>
3246
3247 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3248 gdb.string_to_argv.
3249
3250 2010-05-21 Tom Tromey <tromey@redhat.com>
3251
3252 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3253 Call it.
3254 * gdb.dwarf2/pieces.S: Update.
3255 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3256
3257 2010-05-21 Tom Tromey <tromey@redhat.com>
3258
3259 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3260 Call it.
3261 * gdb.dwarf2/pieces.c (struct C): New.
3262 (f6): New function.
3263 * gdb.dwarf2/pieces.S: Replace.
3264
3265 2010-05-21 Tom Tromey <tromey@redhat.com>
3266
3267 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3268 Call it.
3269
3270 2010-05-21 Tom Tromey <tromey@redhat.com>
3271
3272 * gdb.dwarf2.pieces.exp: New file.
3273 * gdb.dwarf2.pieces.S: New file.
3274 * gdb.dwarf2.pieces.c: New file.
3275
3276 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3277 Joel Brobecker <brobecker@adacore.com>
3278
3279 * lib/gdb.exp (gdb_test_no_output): New function.
3280 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3281 when testing commands that should produce no output.
3282
3283 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3284
3285 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3286 parameter that we want to watch being a constant.
3287
3288 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3289
3290 * gdb.ada/cond_lang: New testcase.
3291
3292 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3293
3294 * lib/gdb.exp (banned_variables): New variable/constant.
3295 (gdb_init): Add write trace on variables listed in banned_variables.
3296 (gdb_finish): Remove write traces on variables listed in
3297 banned_variables.
3298
3299 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3300
3301 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3302 * gdb.cp/koenig.exp: Likewise.
3303
3304 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3305
3306 PR python/11482
3307
3308 * gdb.python/py-value.exp (test_value_hash): New function.
3309
3310 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3311
3312 PR exp/11530.
3313 * gdb.base/gdb11530.c: New file.
3314 * gdb.base/gdb11530.exp: New file.
3315
3316 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3317
3318 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3319 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3320
3321 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3322
3323 * gdb.cp/koenig.exp: New test.
3324 * gdb.cp/koenig.cc: New test program.
3325
3326 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3327
3328 Remove the use of prms_id and bug_id throughout the testsuite.
3329
3330 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3331
3332 PR exp/11349.
3333 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3334 use a reference local variable.
3335
3336 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3337
3338 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3339 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3340 variable different_dir. Move debugfile into a full directory pathname
3341 under DIFFERENT_DIR.
3342 * lib/gdb.exp (separate_debug_filename): Remove.
3343 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3344 variable debug_dir and mkdir of it. Update function comments.
3345
3346 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3347
3348 PR gdb/11557
3349
3350 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3351 files.
3352
3353 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3354
3355 * gdb.python/py-param.exp: New File.
3356
3357 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3358
3359 * gdb.base/default.exp: Fix "set language" test.
3360
3361 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3362
3363 PR breakpoints/11531.
3364 * gdb.base/gdb11531.c: New file.
3365 * gdb.base/gdb11531.exp: New file.
3366
3367 2010-04-26 Tom Tromey <tromey@redhat.com>
3368
3369 * gdb.base/completion.exp: Add tests for completion and deprecated
3370 commands.
3371
3372 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3373
3374 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3375 (print /x char_array): Escape curly brackets.
3376
3377 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 Fix deadlock on looped list of loaded shared objects.
3380 * gdb.base/solib-corrupted.exp: New.
3381
3382 2010-04-23 Doug Evans <dje@google.com>
3383
3384 * gdb.python/py-section-script.c: New file.
3385 * gdb.python/py-section-script.exp: New file.
3386 * gdb.python/py-section-script.py: New file.
3387
3388 2010-04-20 Chris Moller <cmoller@redhat.com>
3389
3390 PR 10179
3391
3392 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3393 * gdb.base/pr10179-a.c:
3394 * gdb.base/pr10179-b.c:
3395 * gdb.base/pr10179.exp: New files.
3396
3397 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 Fix crashes on dangling display expressions.
3400 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3401 is SEP.
3402 (lib_flags): Remove the "debug" keyword.
3403 (libsepdebug): New variable for iterating new loop.
3404 (save_pf_prefix): New variable wrapping the loop.
3405 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3406 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3407
3408 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3409
3410 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3411
3412 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3413
3414 PR stabs/11479.
3415 * gdb.stabs/gdb11479.exp: New file.
3416 * gdb.stabs/gdb11479.c: New file.
3417
3418 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3419
3420 * gdb.base/charset.c (Strin16, String32): New variables.
3421 * gdb.base/charset.exp (gdb_test): Test correct display
3422 of 16 or 32 bit strings.
3423
3424 2010-04-21 Chris Moller <cmoller@redhat.com>
3425
3426 PR 9167
3427 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3428 * gdb.cp/pr9167.cc: New file.
3429 * gdb.cp/pr9167.exp: New file.
3430
3431
3432 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3433
3434 PR pascal/11492.
3435 * gdb.pascal/gdb11492.pas: New file.
3436 * gdb.pascal/gdb11492.exp: New file.
3437
3438 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3439
3440 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3441
3442 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3443
3444 * gdb.ada/dyn_loc: New testcase.
3445
3446 2010-04-20 Chris Moller <cmoller@redhat.com>
3447
3448 PR 10867
3449
3450 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3451 * gdb.cp/pr10687.cc: New file.
3452 * gdb.cp/pr10687.exp: New file.
3453
3454
3455 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3456 Sergio Durigan Junior <sergiodj@redhat.com>
3457
3458 * gdb.fortran/logical.exp: New testcase.
3459 * gdb.fortran/logical.f90: New file.
3460
3461 2010-04-19 Doug Evans <dje@google.com>
3462
3463 * gdb.base/help.exp (help source): Update expected output.
3464
3465 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3466
3467 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3468 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3469 gdb_exit and return.
3470 (executable): New variable.
3471 (binfile): Use it.
3472
3473 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3474
3475 PR breakpoints/8554.
3476
3477 * gdb.trace/save-trace.exp: Adjust.
3478
3479 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 PR corefiles/11511
3482 * gdb.arch/system-gcore.exp: New.
3483 * gdb.arch/gcore.c: Likewise.
3484
3485 2010-04-15 Doug Evans <dje@google.com>
3486
3487 * gdb.python/py-progspace.c: New file.
3488 * gdb.python/py-progspace.exp: New file.
3489
3490 * gdb.base/source.exp: Add tests for "source -s".
3491
3492 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3493
3494 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3495 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3496 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3497 * gdb.python/py-mi.exp: New test for to_string returning None.
3498
3499 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3500
3501 * gdb.python/py-breakpoint.c: Make result global.
3502
3503 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3504
3505 Fix non-GNU make compatibility.
3506 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3507
3508 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3509
3510 * gdb.python/py-breakpoint.exp: New File.
3511 * gdb.python/py-breakpoint.C: Ditto.
3512
3513 2010-04-08 Stan Shebs <stan@codesourcery.com>
3514
3515 * gdb.trace/actions.exp: Clear default-collect.
3516 * gdb.trace/save-trace.exp: Clear default-collect.
3517
3518 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3519
3520 * gdb.python/py-value: Add null string variable.
3521 (test_lazy_string): Test zero length, NULL address lazy
3522 strings.
3523
3524 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 * gdb.arch/i386-avx.c: New.
3527 * gdb.arch/i386-avx.exp: Likewise.
3528
3529 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3530
3531 2010-04-06 Doug Evans <dje@google.com>
3532
3533 * gdb.base/source-test.gdb: New file.
3534 * gdb.base/source.exp: Test source -v.
3535
3536 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3537
3538 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3539
3540 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3541
3542 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3543 within one line, unless it is followed by a double quote.
3544 * gdb.stabs/hppa.sed: Idem.
3545 * gdb.stabs/weird.def: Add char and String constants
3546 * gdb.stabs/weird.exp: Check for correct parsing of
3547 char and string constants.
3548 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3549 in .stabs to .stabx substitution.
3550
3551 2010-04-05 Stan Shebs <stan@codesourcery.com>
3552
3553 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3554 constant global.
3555 * gdb.trace/tfile.exp: Try to print them.
3556
3557 2010-04-04 Stan Shebs <stan@codesourcery.com>
3558
3559 * gdb.base/completion.exp: Update for new "info watchpoints".
3560 * gdb.base/default.exp: Ditto.
3561 * gdb.base/help.exp: Ditto.
3562 * gdb.base/watchpoint.exp: Ditto.
3563 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3564
3565 2010-04-04 Stan Shebs <stan@codesourcery.com>
3566
3567 * gdb.trace/tfile.exp: Sharpen tfind test.
3568
3569 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3570
3571 * gdb.base/break-entry.exp: New.
3572
3573 2010-04-02 Hui Zhu <teawater@gmail.com>
3574 Michael Snyder <msnyder@vmware.com>
3575
3576 * gdb.reverse/i386-sse-reverse.exp: New file.
3577 * gdb.reverse/i386-sse-reverse.c: New file.
3578
3579 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3580
3581 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3582
3583 2010-04-01 Stan Shebs <stan@codesourcery.com>
3584
3585 * gdb.trace/actions.exp: Tweak expected output.
3586 * gdb.trace/while-stepping.exp: Tweak expected output.
3587
3588 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3591
3592 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3593
3594 * gdb.base/commands.exp: Adjust.
3595 * gdb.cp/extern-c.exp: Adjust.
3596
3597 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3598
3599 * gdb.trace/collection.c (local_test_func): Define a local struct,
3600 and instanciate it.
3601
3602 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3603
3604 * gdb.trace/collection.exp (gdb_collect_args_test)
3605 (gdb_collect_argarray_test): XFAIL the tests that assume the
3606 argarray argument's elements are collected.
3607
3608 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3609
3610 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3611 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3612
3613 2010-03-31 Stan Shebs <stan@codesourcery.com>
3614
3615 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3616 and tracepoint conditionals.
3617 (gdb_verify_tracepoints): Delete unused return.
3618
3619 2010-03-26 Keith Seitz <keiths@redhat.com>
3620
3621 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3622 appear in the output before main.
3623 Remove KFAIL for gdb/2215 aka bz 9320.
3624
3625 2010-03-30 Doug Evans <dje@google.com>
3626
3627 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3628 by dejagnu.
3629 * gdb.arch/amd64-dword.exp: Ditto.
3630
3631 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3632 match.
3633 (break printf): Ditto.
3634
3635 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3636
3637 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3638 gcc < 4.4.
3639 * gdb.cp/shadow.exp: Ditto.
3640
3641 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3642
3643 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3644 "tstart" is silent.
3645
3646 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3647
3648 * gdb.trace/collection.exp (executable): New.
3649 (binfile): Use it.
3650 (fpreg, spreg, pcreg): New.
3651 (test_register): Use gdb_test_multiple. Pass /x to print.
3652 (prepare_for_trace_test): New.
3653 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3654 (gdb_collect_args_test, gdb_collect_argstruct_test)
3655 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3656 prepare_for_trace_test.
3657 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3658 fpreg, spreg and pcreg.
3659 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3660 prepare_for_trace_test.
3661 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3662 try to detect tracing support here. Don't set breakpoints at
3663 `begin' or `end' here.
3664 <global scope>: Use clean_restart. Run to main before checking
3665 for tracing support. Check for for tracing support here.
3666
3667 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3668
3669 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3670 " as $displacement" to "seen displacement message".
3671
3672 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3673
3674 * gdb.trace/while-dyn.exp (executable): New variable.
3675 (binfile): Use it.
3676 (test_while_stepping): New function. Move most tests here. Call
3677 it once for each of the while-stepping, stepping and ws aliases.
3678
3679 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3680
3681 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3682 that do not provide the tagless_struct type name at all.
3683 (test_print_anon_union): Do not check value of uninitialized
3684 union member. Do not use cp_test_ptype_class, so we can accept
3685 "long" as well as "long int".
3686
3687 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3688
3689 * gdb.trace/tfile.c (tohex, bin2hex): New.
3690 (write_error_trace_file): Hexify error description.
3691
3692 2010-03-25 Stan Shebs <stan@codesourcery.com>
3693
3694 * gdb.trace/tfile.c: Generate an additional trace file, improve
3695 portability.
3696 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3697 files in a better way.
3698
3699 2010-03-25 Keith Seitz <keiths@redhat.com>
3700
3701 * gdb.java/jprint.exp: XFAIL printing of static class members
3702 because of GCC debuginfo problem.
3703
3704 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3705
3706 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3707
3708 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3709
3710 * gdb.base/completion.exp: Allow long instead of long int.
3711 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3712 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3713 variable p.
3714 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3715 * gdb.base/pointers.exp: Allow long instead of long int.
3716 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3717 * gdb.base/step-line.exp: Allow a directory before the source file name.
3718
3719 2010-03-24 Tom Tromey <tromey@redhat.com>
3720
3721 PR breakpoints/9352:
3722 * gdb.base/default.exp: Update.
3723 * gdb.base/commands.exp: Update.
3724 * gdb.cp/extern-c.exp: Test setting commands on multiple
3725 breakpoints at once.
3726
3727 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3728
3729 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3730 if gdb,nosignals.
3731 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3732 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3733 exited".
3734
3735 2010-03-24 Stan Shebs <stan@codesourcery.com>
3736
3737 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3738
3739 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3740
3741 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3742 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3743 argument. Handle "short" and "long".
3744 (Top level): Pass overprototyped output for old_fptr and xptr.
3745
3746 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3747
3748 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3749 format strings and add casts to avoid compiler warnings.
3750
3751 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3752
3753 * lib/trace-support.exp (gdb_trace_setactions):
3754 Don't expect whitespace after ">" prompt.
3755 * gdb.trace/actions.exp: Adjust for output changes.
3756 * gdb.trace/while-stepping.exp: Likewise.
3757
3758 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3759
3760 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3761 and r157645).
3762
3763 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3764
3765 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3766 New.
3767
3768 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3769
3770 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3771 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3772
3773 2010-03-19 Stan Shebs <stan@codesourcery.com>
3774
3775 * gdb.trace/ax.exp: New file.
3776
3777 2010-03-19 Doug Evans <dje@google.com>
3778
3779 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3780 output from gcc.
3781
3782 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3783 named /usr/sbin/prelink<foo>.
3784
3785 2010-03-18 Stan Shebs <stan@codesourcery.com>
3786
3787 * gdb.trace/circ.exp: Test circular-trace-buffer.
3788 * gdb.trace/tfile.exp: Update tstatus test.
3789
3790 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3791
3792 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3793 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3794
3795 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3796
3797 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3798
3799 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3800
3801 * gdb.base/default.exp: Adjust the expected output of the finish
3802 and until commands when the inferior is not being run.
3803
3804 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3805
3806 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3807 * gdb.cp/nsusing.exp: Ditto.
3808
3809 2010-03-15 Tom Tromey <tromey@redhat.com>
3810
3811 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3812 * gdb.cp/userdef.cc (operator==): New function.
3813 (main): New locals mem1, mem2.
3814
3815 2010-03-15 Jie Zhang <jie@codesourcery.com>
3816
3817 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3818 Declare and use new loadtimeout variable.
3819
3820 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3821
3822 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3823 Use gdb_load later.
3824
3825 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3826
3827 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3828 literal. Add missing endlines to prints to stderr.
3829
3830 2010-03-12 Tom Tromey <tromey@redhat.com>
3831
3832 PR c++/9708:
3833 * gdb.cp/m-static.exp: Add regression test.
3834 * gdb.cp/m-static.cc (method): New method.
3835 (main): Call it.
3836
3837 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3838
3839 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3840 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3841
3842 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3843
3844 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3845
3846 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3847
3848 * lib/gdb.exp (skip_stl_tests): New.
3849 (gdb_compile): Symbian needs -ldl.
3850 (shlib_target_file): New.
3851 (shlib_symbol_file): New.
3852 (gdb_load_shlibs): Use shlib_target_file.
3853 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3854 * gdb.cp/exception.exp: Use skip_stl_tests.
3855 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3856 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3857 * gdb.cp/mb-templates.exp: Ditto.
3858 * gdb.base/commands.exp: Relax regexes.
3859 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3860 shlib_target_file and shlib_symbol_file.
3861 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3862 sections.
3863 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3864 * gdb.base/solib-disc.exp: Use
3865 shlib_target_file and shlib_symbol_file.
3866 * gdb.base/unload.exp: Don't skip on symbian. Use
3867 shlib_target_file and shlib_symbol_file.
3868 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3869
3870 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3871
3872 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3873 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3874 Issue a tfind end before looking for a tracepoint frame.
3875 * gdb.trace/tfind.exp: Adjust tstatus output.
3876 Adjust disassembly output.
3877 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3878
3879 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 * gdb.base/break-interp.exp: Create new displacement parameter value
3882 for the test_ld calls.
3883 (reach): New parameter displacement, verify its content. New push of
3884 pf_prefix "reach-$func:". Import global expect_out.
3885 (test_core): New parameter displacement, verify its content. New push
3886 of pf_prefix "core:". New command "set verbose on". Import global
3887 expect_out.
3888 (test_attach): New parameter displacement, verify its content. New
3889 push of pf_prefix "attach:". New command "set verbose on". Import
3890 global expect_out.
3891 (test_ld): New parameter displacement, pass it to the reach, test_core
3892 and test_attach calls and verify its content in the "ld.so exit" test.
3893 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3894 (prelink): Update expected text, use gdb_test.
3895
3896 2010-03-10 Doug Evans <dje@google.com>
3897
3898 * gdb.base/checkpoint.exp: Fix comment.
3899 Lengthen timeout while doing >600 checkpoints test.
3900 Rename duplicate "kill all one" test to keep test names unique.
3901
3902 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3903
3904 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3905
3906 2010-03-08 Keith Seitz <keiths@redhat.com>
3907
3908 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3909 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3910 (dm_type_long): New function.
3911 (dm_type_unsigned_short): New function.
3912 (dm_type_unsigned_long): New function.
3913 (myint): New typedef.
3914 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3915 long, unsigned shor and long, operator char*, and typedef.
3916 (test_lookup_operator_functions): Add operator char* test.
3917 (test_paddr_operator_functions): Likewise.
3918 (test_paddr_overloaded_functions): Use probe values for
3919 short, long, and unsigned short and long.
3920 (test_paddr_hairy_functions): If the demangler probe detected
3921 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3922 demangler.
3923 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3924 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3925 and "print null_pmf".
3926 Add test "ptype a.*pmf".
3927 * gdb.cp/overload.exp: Allow optional "int" to appear with
3928 "short" and "long".
3929 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3930 long expect value for men_overload1arg.
3931 Allow "int" to appear with "short" and "long".
3932 When testing "info break", add argument for main (void).
3933 Also allow "int" to appear with "short" and "long".
3934 Ditto with "unsigned" and "long long".
3935 * gdb.java/jmain.exp: Do not enclose methods names in single
3936 quotes.
3937 * gdb.java/jmisc.exp: Likewise.
3938 * gdb.java/jprint.exp: Likewise.
3939 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3940
3941 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3942 * gdb.cp/exception.exp (backtrace after first throw)
3943 (backtrace after second throw): Allow a namespace before __cxa_throw.
3944 (backtrace after first catch, backtrace after second catch): Allow
3945 a namespace before __cxa_begin_catch.
3946
3947 * gdb.cp/cpexprs.exp: New file.
3948 * gdb.cp/cpexprs.cc: New file.
3949
3950 From Daniel Jacobowitz <dan@codesourcery.com>
3951 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3952 to use string_to_regexp.
3953 (ctor, dtor): New functions. Use them to match constructor
3954 and destructor function types.
3955 (Top level): Use runto_main.
3956
3957 2010-03-05 Tom Tromey <tromey@redhat.com>
3958
3959 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3960 gdb.target_charset.
3961 (pp_ns.to_string): Likewise.
3962
3963 2010-03-04 Keith Seitz <keiths@redhat.com>
3964
3965 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3966 can be quoted. Test that both the filename and function/line
3967 portions can be quoted at the same time.
3968
3969 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3970
3971 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3972
3973 2010-03-03 Doug Evans <dje@google.com>
3974
3975 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3976 libc contains libpthread.
3977
3978 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3979 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3980 of gdb_compile. Add another pattern to match android backtrace.
3981
3982 2010-03-03 Tom Tromey <tromey@redhat.com>
3983
3984 PR gdb/11345:
3985 * gdb.base/printcmds.exp (test_printf): Add test.
3986
3987 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * gdb.arch/amd64-byte.exp: New.
3990 * gdb.arch/amd64-dword.exp: Likewise.
3991 * gdb.arch/amd64-pseudo.c: Likewise.
3992 * gdb.arch/amd64-word.exp: Likewise.
3993 * gdb.arch/i386-byte.exp: Likewise.
3994 * gdb.arch/i386-pseudo.c: Likewise.
3995 * gdb.arch/i386-word.exp: Likewise.
3996
3997 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3998
3999 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4000 types. Add structreg, bitfields, and flags registers.
4001 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4002 registers.
4003
4004 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4007 (load_description): Set architecture if defined.
4008
4009 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4010
4011 * gdb.python/py-frame.exp: Add read_var block tests.
4012 * gdb.python/py-frame.c (block): New function.
4013
4014 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4015 Daniel Jacobowitz <dan@codesourcery.com>
4016
4017 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4018
4019 2010-02-25 David S. Miller <davem@davemloft.net>
4020
4021 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4022 fix logic for setting all_syscalls_numbers.
4023
4024 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4025
4026 * Makefile.in: Add py-block and py-symbol.
4027 * gdb.python/py-symbol.exp: New File.
4028 * gdb.python/py-symtab.exp: New File.
4029 * gdb.python/py-block.exp: New File.
4030 * gdb.python/py-symbol.c: New File.
4031 * gdb.python/py-block.c: New File.
4032
4033 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4034
4035 PR python/11314
4036 * lib/gdb.exp (skip_python_tests): New function.
4037 * gdb.python/py-cmd.exp: Use skip_python_tests.
4038 * gdb.python/py-frame.exp: Likewise.
4039 * gdb.python/py-function.exp: Likewise.
4040 * gdb.python/py-prettyprint.exp: Likewise.
4041 * gdb.python/py-template.exp: Likewise.
4042 * gdb.python/py-type.exp: Likewise.
4043 * gdb.python/py-value.exp: Likewise.
4044
4045 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4046
4047 PR9605
4048
4049 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4050
4051 2010-02-19 Tom Tromey <tromey@redhat.com>
4052
4053 PR c++/8693, PR c++/9496:
4054 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4055 regression tests.
4056
4057 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4058
4059 Fix compatibility with m68k as.
4060 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4061 Use only /* comments */.
4062
4063 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4064
4065 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4066 * configure: Regenerate.
4067
4068 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4069
4070 * gdb.python/py-type.exp: Check for Python support.
4071
4072 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4073
4074 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4075 `regsub' syntax available.
4076
4077 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4078
4079 * gdb.base/shmain.c (main): Remove printf call.
4080 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4081 * gdb.base/unload.c (main): Make format of fprintf a string
4082 literal. Add missing endlines to prints to stderr.
4083 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4084
4085 2010-02-17 Tom Tromey <tromey@redhat.com>
4086
4087 * gdb.java/jprint.java (jprint.props): New field.
4088 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4089
4090 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4091
4092 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4093 available.
4094
4095 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4096
4097 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4098 creation to support remote host testing.
4099
4100 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4101
4102 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4103 Recognize "command not found".
4104
4105 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4106
4107 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4108 single-stepping.
4109
4110 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4111
4112 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4113 if arguments are not supported.
4114
4115 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4116
4117 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4118 be const or non-const.
4119
4120 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4121
4122 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4123 mi_send_resuming_command to send -exec-continue.
4124
4125 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4126
4127 * gdb.base/list.exp (test_list_filename_and_function): Add test
4128 with single quotes.
4129 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4130 matching.
4131 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4132 Add KFAIL'd tests for PR gdb/11289.
4133
4134 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4135
4136 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4137
4138 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4139
4140 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4141 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4142 a temporary directory.
4143
4144 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4145
4146 * gdb.base/charset.exp: Use a single regular expression to match
4147 show host-charset and show target-charset output.
4148
4149 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4150
4151 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4152 "Illegal process-id" expect string more exact.
4153 (attach to digits-starting nonsense is prohibited): New.
4154
4155 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4156
4157 * gdb.base/prelink.exp (set verbose on): New.
4158
4159 2010-02-12 Tomas Holmberg <th@virtutech.com>
4160
4161 * mi-reverse.exp: New file. Test for reverse option to the
4162 following MI commands: exec-continue, exec-finish, exec-next,
4163 exec-step, exec-next-instruction, exec-step-instruction.
4164
4165 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4166
4167 * gdb.ada/ptype_tagged_param: New testcase.
4168
4169 2010-02-08 Tom Tromey <tromey@redhat.com>
4170
4171 PR c++/8017:
4172 * gdb.cp/overload.exp: Add tests.
4173 * gdb.cp/overload.cc (struct K): New.
4174 (namespace N): New.
4175 (main): Call new functions.
4176 (K::staticoverload): Define.
4177
4178 2010-02-08 Chris Moller <moller@mollerware.com>
4179
4180 PR gdb/10728
4181 * gdb.cp/pr10728-x.h: New file.
4182 * gdb.cp/pr10728-x.cc: New file.
4183 * gdb.cp/pr10728-y.cc: New file.
4184 * gdb.cp/pr10728.exp: New file.
4185 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4186
4187 2010-02-08 Chris Moller <moller@mollerware.com>
4188
4189 PR gdb/9067
4190 * gdb.cp/pr9067.exp: New
4191 * gdb.cp/pr9067.cc: New
4192 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4193
4194 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4195
4196 * lib/gdb.exp (gdb_test_timeout): New global variable.
4197 Set it to timeout if not already set.
4198 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4199
4200 2010-02-05 Doug Evans <dje@google.com>
4201
4202 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4203 user.
4204
4205 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4206
4207 PR c++/7935:
4208 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4209
4210 2010-02-04 Tom Tromey <tromey@redhat.com>
4211
4212 * gdb.cp/virtbase.exp: Make test case names unique.
4213
4214 2010-02-02 Tom Tromey <tromey@redhat.com>
4215
4216 * gdb.cp/virtbase.exp: Add regression tests.
4217 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4218 (main): Instantiate RHC.
4219
4220 2010-02-02 Tom Tromey <tromey@redhat.com>
4221
4222 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4223 type-printing change.
4224
4225 2010-02-02 Tom Tromey <tromey@redhat.com>
4226
4227 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4228 * gdb.cp/virtbase.cc: New file.
4229 * gdb.cp/virtbase.exp: New file.
4230 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4231
4232 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4233
4234 PR libc/11214:
4235 * gdb.threads/current-lwp-dead.c: Include features.h.
4236 (HAS_NOMMU): New.
4237 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4238
4239 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4240
4241 * gdb.base/symbol-without-target_section.exp,
4242 gdb.base/symbol-without-target_section.c: New.
4243
4244 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4245
4246 * gdb.base/bigcore.exp: Reset increased timeout.
4247 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4248
4249 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4250
4251 * gdb.base/gcore.exp (capture_command_output): Use
4252 gdb_test_multiple.
4253
4254 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4255
4256 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4257 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4258 (Top level): Call it.
4259
4260 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4261
4262 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4263
4264 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4265
4266 * gdb.base/call-strs.exp, gdb.base/default.exp,
4267 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4268 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4269 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4270 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4271 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4272 * gdb.base/ending-run.exp: Correct restore of timeout.
4273 * gdb.base/page.exp: Remove unnecessary timeout setting.
4274
4275 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4276
4277 * gdb.ada/rec_return: New testcase.
4278
4279 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4280
4281 * gdb.ada/call_pn: New testcase.
4282
4283 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4284
4285 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4286 (Top level): Use it to resume.
4287 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4288 the Thumb mode displaced stepping error as unsupported.
4289
4290 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4291
4292 * gdb.cp/nsusing.exp: Added more tests.
4293 * gdb.cp/nsrecurs.exp: Ditto.
4294 * gdb.cp/nsusing.cc: Added test functions.
4295 * gdb.cp/nsrecurs.cc: Ditto.
4296
4297 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4298
4299 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4300 absolute directory pathnames in gdb.sum file.
4301
4302 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4303
4304 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4305 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4306
4307 2010-01-26 Tom Tromey <tromey@redhat.com>
4308
4309 PR exp/7643:
4310 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4311 setup_kfail.
4312
4313 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4314
4315 * gdb.cp/nsrecurs.exp: New test.
4316 * gdb.cp/nsrecurs.cc: New test program.
4317 * gdb.cp/nsstress.exp: New test.
4318 * gdb.cp/nsstress.cc: New test program.
4319 * gdb.cp/nsdecl.exp: New test.
4320 * gdb.cp/nsdecl.cc: New test program.
4321
4322 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4323
4324 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4325 imported into file scope.
4326 Marked test as xfail.
4327 * gdb.cp/namespace-using.cc (marker5): New function.
4328 * gdb.cp/shadow.exp: New test.
4329 * gdb.cp/shadow.cc: New test program.
4330 * gdb.cp/nsimport.exp: New test.
4331 * gdb.cp/nsimport.cc: New test program.
4332
4333 2010-01-25 Tom Tromey <tromey@redhat.com>
4334
4335 PR gdb/11049:
4336 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4337 with "set print null-stop on".
4338
4339 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4340
4341 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4342 Adjust it for DISASSEMBLY_OMIT_FNAME.
4343
4344 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4345
4346 PR symtab/11199:
4347 * gdb.dwarf2/member-ptr-forwardref.exp,
4348 gdb.dwarf2/member-ptr-forwardref.S: New.
4349
4350 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4351
4352 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4353 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4354 thread1_tid_mutex. Remove gdbstop_mutex handling.
4355 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4356 thread2_tid_mutex. Remove gdbstop_mutex handling.
4357 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4358 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4359 pthread_cond_wait conditionalizations by while loops.
4360
4361 2010-01-20 Tom Tromey <tromey@redhat.com>
4362
4363 PR backtrace/10770:
4364 * gdb.dwarf2/pr10770.exp: New file.
4365 * gdb.dwarf2/pr10770.c: New file.
4366 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4367
4368 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4369
4370 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4371 that target was removed, and the test always runs native anyway.
4372
4373 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4376 gdb.base/watchpoint-cond-gone-stripped.c: New.
4377
4378 2010-01-19 Tom Tromey <tromey@redhat.com>
4379
4380 PR c++/8000:
4381 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4382 existing tests.
4383 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4384 (main): Use AAA::SomeEnum.
4385
4386 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4387
4388 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4389 (test_ignore_count): Declare line_callme_body global.
4390 (run to breakpoint with ignore count): Use line_callme_body.
4391 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4392 (set line_main_hello, set line_main_return): Reindent.
4393 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4394 New.
4395 (continue to callee4): Use line_callee4_body.
4396 (check *stopped from CLI command): Use line_callee4_next.
4397 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4398 (set line_main_hello, set line_main_return): Reindent.
4399 (set line_callee4_head, set line_callee4_body): New.
4400 (continue to callee4): Use line_callee4_body.
4401
4402 2010-01-18 Tom Tromey <tromey@redhat.com>
4403
4404 PR c++/9680:
4405 * gdb.cp/casts.cc: Add new classes and variables.
4406 * gdb.cp/casts.exp: Test new operators.
4407
4408 2010-01-18 Tom Tromey <tromey@redhat.com>
4409 Thiago Jung Bauermann <bauerman@br.ibm.com>
4410
4411 * gdb.python/source2.py: New file.
4412 * gdb.python/source1: New file.
4413 * gdb.python/python.exp: Test "source" command.
4414
4415 2010-01-15 Stan Shebs <stan@codesourcery.com>
4416
4417 * gdb.trace/tfile.c: New file.
4418 * gdb.trace/tfile.exp: New file.
4419
4420 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4421
4422 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4423
4424 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4427
4428 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4429
4430 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4431 (libfunc): New parameter action. Implement also selectable "sleep".
4432 * gdb.base/break-interp-main.c: Include assert.h.
4433 (libfunc): New parameter action.
4434 (main): New parameters argc and argv. Assert argc. Pass argv.
4435 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4436 (test_attach): New proc.
4437 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4438 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4439
4440 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4441
4442 * gdb.base/break-interp.exp (test_core): New proc.
4443 (test_ld): Call it.
4444
4445 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4446
4447 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4448 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4449 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4450 and gdb_compile_shlib. Use new -Wl compiler options.
4451 (dl bt, main bt): New tests.
4452
4453 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4454
4455 Support PIEs with no symfile_objfile.
4456 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4457 (test_ld): New parameter trynosym.
4458 (test_ld <$trynosym>): New block.
4459
4460 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4461
4462 * gdb.base/break-interp.exp: New file.
4463
4464 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4465
4466 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4467 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4468 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4469 test.
4470 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4471 * gdb.python/py-mi.exp: Add lazy string test.
4472
4473 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4474
4475 * lib/mi-support.exp (mi_check_thread_states): Handle
4476 core number in thread listing.
4477
4478 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4479
4480 * gdb.base/maint.exp: Adjust the expected output for the
4481 "maint print type" test. Use gdb_test_multiple instead of
4482 gdb_sent/gdb_expect.
4483
4484 2010-01-11 Doug Evans <dje@google.com>
4485
4486 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4487 from gdbserver_download. All callers updated.
4488
4489 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4490
4491 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4492
4493 Implement binary numbers parsing.
4494 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4495 (test_integer_literals_rejected): New binary tests.
4496
4497 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4498
4499 * gdb.cell/configure: Regenerate.
4500
4501 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 * gdb.base/corefile.exp: Move the core finding block out and call it as
4504 core_find, new variable $corefile, replace corefile by $corefile and
4505 [file tail $corefile] for usage vs. test names resp.
4506 * lib/gdb.exp (core_find): Move it as a new function here. New
4507 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4508 $destcore. Return "" on error.
4509
4510 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4511
4512 Workaround PR binutils/10802.
4513 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4514 (twice).
4515
4516 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4517
4518 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4519
4520 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4521
4522 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4523 call, to avoid interruption.
4524
4525 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4526
4527 * gdb.stabs/weird.def (args93): New.
4528
4529 2010-01-07 Doug Evans <dje@google.com>
4530
4531 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4532
4533 2010-01-07 Tom Tromey <tromey@redhat.com>
4534
4535 * gdb.base/source.exp: Use correct line number.
4536
4537 2010-01-05 Stan Shebs <stan@codesourcery.com>
4538
4539 * gdb.trace/tracecmd.exp: Test ftrace.
4540
4541 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4542
4543 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4544
4545 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4546
4547 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4548 "uint_for_mi_testing".
4549
4550 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4551
4552 Test indented comment in file being sourced.
4553 * gdb.base/commands.exp: Test indented comment in file being sourced.
4554
4555 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4556
4557 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4558 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4559 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4560 notice.
4561
4562 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4563
4564 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4565 notice.
4566
4567 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4570 missing $after_stopped and comma (,) expectation.
4571
4572 2009-12-31 Stan Shebs <stan@codesourcery.com>
4573
4574 * gdb.trace/actions.exp: Test teval action.
4575
4576 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4577
4578 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4579 (top level): Call test_watchpoint_in_big_blob.
4580 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4581 watchpoints.
4582 (func3): Write to buf.
4583
4584 2009-12-29 Stan Shebs <stan@codesourcery.com>
4585
4586 * gdb.trace/actions.exp: Test default-collect.
4587
4588 2009-12-28 Stan Shebs <stan@codesourcery.com>
4589
4590 * gdb.trace/tsv.exp: New file.
4591 * gdb.base/completion.exp: Update ambiguous info output.
4592
4593 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4594
4595 * gdb.base/find.c (main): Reference search buffers.
4596 * gdb.base/included.c (main): Reference integer.
4597 * gdb.base/ptype.c (charfoo): Declare.
4598 (intfoo): Call charfoo.
4599 * gdb.base/scope0.c (useitp): New function.
4600 (usestatics): Use useitp.
4601 (useit): Add a type for val.
4602 * gdb.base/scope1.c (useit1): Take a pointer argument.
4603 (usestatics1): Update calls to useit1.
4604 * gdb.cp/call-c.cc: Declare foo.
4605 (main): Call foo.
4606 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4607 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4608 (main): Call C::ensureRefs and ensureOtherRefs.
4609 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4610 variables.
4611 (ensureOtherRefs): New function.
4612 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4613 * gdb.cp/templates.cc (main): Call t5i.value.
4614
4615 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4616
4617 Fix compatibility with G++-4.5.
4618 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4619 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4620 (uncaught return): Remove.
4621
4622 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4623 Phil Muldoon <pmuldoon@redhat.com>
4624
4625 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4626 (bp_location13, bp_location14, bp_location17, bp_location18)
4627 (marker3_proto, marker4_proto): New variables.
4628 (breakpoint info): Update output.
4629 (run until breakpoint at marker3, run until breakpoint at marker4): New
4630 tests.
4631
4632 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4633
4634 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4635 Replace the printf call of Y by provided "y-set-1" label. New block
4636 for the second shared library.
4637 * gdb.base/unload.exp: Compile also the second library, call
4638 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4639 (single pending breakpoint info): Rename to ...
4640 (pending breakpoint info before run): ... this extended test.
4641 (libfile2, libname2, libsrcfile2, libsrc2)
4642 (lib_sl2): New variables.
4643 (exec_opts): Set also SHLIB_NAME2.
4644 (pending breakpoint info on first run at shrfunc1)
4645 (pending breakpoint info on second run at shrfunc1)
4646 (pending breakpoint info on second run at shrfunc2)
4647 (print y from libfile, print y from libfile2): New tests.
4648 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4649 * gdb.base/unloadshr2.c: New.
4650
4651 2009-12-22 Hui Zhu <teawater@gmail.com>
4652
4653 * gdb.reverse/sigall-reverse.exp: Adjust.
4654
4655 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4656
4657 PR gdb/10884
4658
4659 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4660 (main): Call do_bitfield_tests.
4661 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4662
4663 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4664
4665 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4666 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4667 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4668 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4669 gdb.modula2/unbounded1.c: Update copyright header.
4670
4671 2009-12-10 Chris Moller <moller@mollerware.com>
4672
4673 PR gdb/9399
4674 * gdb.cp/virtfunc2.exp: New tests
4675 * gdb.cp/virtfunc2.cc: New tests
4676 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4677
4678 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4679
4680 * gdb.reverse/i387-env-reverse.c: New file.
4681 * gdb.reverse/i387-env-reverse.exp: New file.
4682 * gdb.reverse/i387-stack-reverse.c: New file.
4683 * gdb.reverse/i387-stack-reverse.exp: New file.
4684
4685 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4686
4687 * gdb.python/py-type.exp (test_range): New test.
4688
4689 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4690
4691 PR python/10805
4692
4693 * gdb.python/py-type.exp: New file.
4694 * gdb.python/py-type.c: New file.
4695 * Makefile.in: Add py-type.
4696
4697 2009-12-03 Tom Tromey <tromey@redhat.com>
4698
4699 * gdb.python/py-value.exp (test_parse_and_eval): New
4700 function.
4701
4702 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4703
4704 PR gdb/11022
4705
4706 * gdb.base/pr11022.exp: New test.
4707 * gdb.base/pr11022.c: New test.
4708
4709 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4710
4711 Fix spurious false FAILs.
4712 * gdb.base/structs.c (chartest): New.
4713 (main): Fill-in chartest.
4714 * gdb.base/structs.exp (anychar_re, first): New.
4715 (start_structs_test): Import global anychar_re and first.
4716 New gdb_test call "set print elements 300; ${testfile}"
4717 (start_structs_test <$first>): New block.
4718 (any): Import global anychar_re. New variable ac. Use ${ac}.
4719
4720 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4723
4724 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4727 Force $srcfile file.
4728 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4729
4730 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4731
4732 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4733 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4734 * gdb.threads/watchthreads-reorder.exp: Likewise.
4735
4736 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4737
4738 PR gdb/8704
4739
4740 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4741 "if", and "thread". Correct matching in the previous test.
4742
4743 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4744
4745 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4746
4747 2009-11-23 Michael Snyder <msnyder@vmware.com>
4748
4749 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4750 * gdb.reverse-watch-precsave.exp: Ditto.
4751
4752 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4753
4754 * gdb.asm/asm-source.exp: Adjust.
4755 * gdb.base/help.exp: Adjust.
4756
4757 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4758
4759 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4760 (do_syscall_tests_without_xml): Set data-directory to
4761 /the/path/to/nowhere.
4762
4763 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4764
4765 * gdb.threads/local-watch-wrong-thread.c,
4766 gdb.threads/local-watch-wrong-thread.exp: New files.
4767
4768 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4769
4770 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4771 assume new `regsub' syntax available.
4772
4773 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4774
4775 * gdb.base/watchpoint-hw-hit-once.exp,
4776 gdb.base/watchpoint-hw-hit-once.c: New.
4777
4778 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4779
4780 * gdb.threads/watchthreads-reorder.exp,
4781 gdb.threads/watchthreads-reorder.c: New.
4782
4783 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4784
4785 * gdb.xml/tdesc-regs.exp: Use for m68k.
4786
4787 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4788
4789 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4790
4791 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4792
4793 * lib/gdb.exp (current_target_name): New procedure.
4794 (gdb_wrapper_target): New variable.
4795 (gdb_wrapper_init): Set gdb_wrapper_target.
4796 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4797 wrapper.
4798
4799 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4800
4801 * gdb.base/remote.exp: Delete the slowest load test.
4802 Do not load with fixed packet sizes.
4803
4804 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4805
4806 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4807
4808 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4809
4810 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4811 srcfile when setting a breakpoint.
4812
4813 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4814
4815 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4816 macros.
4817
4818 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4819
4820 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4821 to be in memory.
4822 * gdb.base/display.c (force_mem): New.
4823 (do_loops): Use it. Add breakpoint comments.
4824 (do_vars): Add a breakpoint comment.
4825 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4826 line numbers.
4827
4828 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4829
4830 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4831 instead of a bare "run".
4832
4833 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4834
4835 * gdb.python/py-prettyprint.exp: Adjust.
4836
4837 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4838
4839 * lib/cell.exp (skip_cell_tests): Clean up test files before
4840 returning.
4841
4842 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4843
4844 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4845 and the breakpoint menu. Do not call perror if a prompt is seen.
4846 Consume the following GDB prompt.
4847 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4848 * gdb.cp/namespace.exp: Use gdb_test.
4849 * gdb.cp/templates.exp: Use gdb_test.
4850 (test_template_breakpoints): Use gdb_test_multiple.
4851
4852 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4853
4854 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4855 (marker4): Reference values.
4856
4857 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4858
4859 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4860 is missing.
4861
4862 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4863
4864 * gdb.base/break.c (need_malloc): New.
4865 * gdb.base/constvars.c (main): Reference crass and crisp.
4866 * gdb.base/gdb1821.c (main): Reference bar.
4867 * gdb.cp/gdb1355.cc (main): Reference s1.
4868 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4869 (main): Call them.
4870 * gdb.cp/hang2.cc (dummy2): Define.
4871 * gdb.cp/hang3.cc (dummy3): Define.
4872 * gdb.cp/m-data.cc (main): Reference shadow.
4873
4874 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4875 Nathan Froyd <froydnj@codesourcery.com>
4876
4877 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4878 remote host.
4879
4880 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4881
4882 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4883 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4884 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4885 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4886 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4887 * gdb.dwarf2/dw2-producer.exp: Likewise.
4888 * gdb.dwarf2/mac-fileno.exp: Likewise.
4889 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4890 py-prettyprint.py to the remote host.
4891 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4892
4893 2009-11-11 Keith Seitz <keiths@redhat.com>
4894
4895 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4896 use it instead of "Foo".
4897 * gdb.cp/classes.exp (do_tests): Add a test to access
4898 a method through a typedef'd class name.
4899
4900 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4901
4902 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4903 exponents.
4904 * gdb.base/pointers.exp: Likewise.
4905 * gdb.cp/ref-types.exp: Likewise.
4906
4907 2009-11-11 Keith Seitz <keiths@redhat.com>
4908
4909 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4910 new[] and delete[].
4911 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4912 "void".
4913 (probe_demangler): Remove all single-quoting of
4914 method and variable names.
4915 (info_func_regexp): Remove the word "void" from any
4916 occurrence of "(void)".
4917 (print_addr_2): Remove all single-quoting of
4918 method names.
4919 (print_addr_2_kfail): Likewise.
4920 (print_addr): Single-quote C function names before
4921 passing to print_addr_2.
4922 (test_paddr_operator_functions): Remove single-quoting
4923 for method names.
4924 Add tests for operator new[] and operator delete[].
4925
4926 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4927
4928 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4929
4930 2009-11-09 Keith Seitz <keiths@redhat.com>
4931
4932 * gdb.cp/overload.exp: Add tests for resolving overloaded
4933 methods in expression parsing/evaluation.
4934
4935 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4936
4937 * lib/gdb.exp (default_gdb_version): Use --version instead of
4938 --command.
4939
4940 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4941
4942 * lib/gdb.exp (gdb_compile_test): New.
4943 (skip_ada_tests, skip_java_tests): New.
4944 (gdb_compile): Use gdb_compile_test for f77.
4945 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4946 * lib/java.exp (compile_java_from_source): Remove runtests check,
4947 use gdb_compile_test to record result.
4948 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4949 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4950 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4951 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4952 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4953 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4954 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4955 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4956 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4957 adjust gdb_compile invocations.
4958
4959 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4960
4961 * Makefile.in (abs_builddir): New.
4962 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4963 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4964 `$(abs_builddir)/site.exp'.
4965
4966 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4967
4968 * config/m68k-emc.exp, lib/emc-support.exp,
4969 gdb.trace/gdb_c_test.c: Delete.
4970 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4971 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4972 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4973 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4974 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4975 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4976 casing for m68k-*-elf.
4977
4978 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4979
4980 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4981 * gdb.arch/i386-prologue.exp: Likewise.
4982 * gdb.arch/i386-unwind.exp: Likewise.
4983
4984 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4985
4986 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4987
4988 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4989
4990 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4991
4992 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4993
4994 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4995
4996 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4997
4998 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4999
5000 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5001
5002 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5003 * gdb.base/sepdebug2.c: New file.
5004
5005 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5006
5007 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5008 the modified warnings for catch syscall. Verify if GDB was compiled
5009 with support for lib expat, and choose which tests to run depending
5010 on this.
5011
5012 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5013
5014 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5015 that composite commands are parsed OK. And also test
5016 that breakpoint commands do work.
5017
5018 2009-10-23 Michael Snyder <msnyder@vmware.com>
5019
5020 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5021 to allow for new disassembly style.
5022
5023 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5024
5025 * gdb.asm/asm-source.exp: Adjust.
5026
5027 2009-10-22 Michael Snyder <msnyder@vmware.com>
5028
5029 * gdb.reverse/break-precsave.exp: New test.
5030 * gdb.reverse/consecutive-precsave.exp: Ditto.
5031 * gdb.reverse/finish-precsave.exp: Ditto.
5032 * gdb.reverse/i386-precsave.exp: Ditto.
5033 * gdb.reverse/machinestate-precsave.exp: Ditto.
5034 * gdb.reverse/sigall-precsave.exp: Ditto.
5035 * gdb.reverse/solilb-precsave.exp: Ditto.
5036 * gdb.reverse/step-precsave.exp: Ditto.
5037 * gdb.reverse/until-precsave.exp: Ditto.
5038 * gdb.reverse/watch-precsave.exp: Ditto.
5039
5040 2009-10-22 Michael Snyder <msnyder@vmware.com>
5041
5042 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5043 for gdb_expect. Adjust one test's expect strings for the new
5044 format of disassemble.
5045 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5046 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5047 gdb_test_multiple.
5048 * gdb.reverse/step-reverse.exp: Delete 'return'.
5049 * gdb.reverse/until-reverse.exp: Delete blank lines.
5050 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5051
5052 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5053
5054 * gdb.base/consecutive.exp: Adjust.
5055 * gdb.base/display.exp: Likewise.
5056 * gdb.base/pc-fp.exp: Likewise.
5057 * gdb.base/sigbpt.exp: Likewise.
5058
5059 2009-10-19 Michael Snyder <msnyder@vmware.com>
5060
5061 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5062 * gdb.reverse/finish-reverse.c: Ditto.
5063 * gdb.reverse/sigall-reverse.c: Ditto.
5064 * gdb.reverse/solib-reverse.c: Ditto.
5065 * gdb.reverse/step-reverse.c: Ditto.
5066 * gdb.reverse/watch-reverse.c: Ditto.
5067
5068 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5069 Stan Shebs <stan@codesourcery.com>
5070
5071 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5072 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5073 "Executing new program".
5074 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5075 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5076 left listed after having been killed.
5077 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5078 * gdb.base/maint.exp: Adjust test.
5079
5080 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5081 * gdb.multi/Makefile.in: New.
5082 * gdb.multi/base.exp: New.
5083 * gdb.multi/goodbye.c: New.
5084 * gdb.multi/hangout.c: New.
5085 * gdb.multi/hello.c: New.
5086 * gdb.multi/bkpt-multi-exec.c: New.
5087 * gdb.multi/bkpt-multi-exec.exp: New.
5088 * gdb.multi/crashme.c: New.
5089
5090 2009-10-13 Tristan Gingold <gingold@adacore.com>
5091
5092 * gdb.base/sepdebug.exp: Check debug info are found.
5093
5094 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5095
5096 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5097 bits.
5098
5099 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5100
5101 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5102
5103 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5104
5105 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5106 of the comments.
5107
5108 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5109
5110 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5111 * gdb.base/annota3.exp: Idem.
5112 * gdb.base/maint.exp: Idem.
5113
5114 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5115
5116 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5117 to default.
5118
5119 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5120
5121 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5122 mingw and cygwin targets.
5123
5124 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5125 Pedro Alves <pedro@codesourcery.com>
5126
5127 * lib/gdb.exp (gdb_compile): Avoid adding
5128 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5129
5130 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5131
5132 * gdb.base/shr1.c: Use %p in format string.
5133 * gdb.base/unload.c: Avoid warning in fprintf.
5134 * gdb.base/watchpoint-solib.c: Idem.
5135
5136 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5137
5138 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5139 long type.
5140 (test_unlink): Correct printf string.
5141 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5142 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5143
5144 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5145
5146 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5147 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5148 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5149
5150 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5151
5152 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5153 * gdb.objc/nondebug.exp: Likewise.
5154
5155 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5156
5157 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5158 target_info setting.
5159
5160 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5161 that detect new threads during "info threads".
5162
5163 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5164
5165 * gdb.threads/manythreads.c (main): Increase thread stack size
5166 to 2*PTHREAD_STACK_MIN.
5167 * gdb.threads/multi-create.c (main): Likewise.
5168 (create_function): Likewise.
5169
5170 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5171
5172 * gdb.base/dump.exp: Pass difference of pointer types instead
5173 of integer types as offset to restore in intarr3.srec case.
5174
5175 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5176
5177 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5178
5179 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5180
5181 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5182
5183 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5184
5185 New test for two watchpoints, with disabling of
5186 the first inserted.
5187 * testsuite/gdb.base/watchpoints.c: New file.
5188 * testsuite/gdb.base/watchpoints.exp: New file.
5189
5190 2009-09-25 Tom Tromey <tromey@redhat.com>
5191
5192 * gdb.base/charset.exp: Test utf-16 strings with Python.
5193
5194 2009-09-25 Tom Tromey <tromey@redhat.com>
5195
5196 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5197 UCS-4.
5198 * gdb.base/charset.c (utf_32_string): Rename.
5199 (init_utf32): Rename.
5200 (main): Update.
5201
5202 2009-09-22 Tom Tromey <tromey@redhat.com>
5203
5204 * gdb.python/py-function.exp: Add regression tests.
5205
5206 2009-09-21 Keith Seitz <keiths@redhat.com>
5207
5208 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5209 with invalid operator.
5210
5211 2009-09-21 Keith Seitz <keiths@redhat.com>
5212
5213 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5214 and destructor using typedef name of class.
5215 * gdb.cp/classes.cc (class Base1): Add a destructor.
5216 (base1): New typedef.
5217 (use_methods): Instanitate an object of type base1.
5218 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5219 (do_tests): Call test_template_typedef.
5220 * gdb.cp/templates.cc (Baz::~Baz): New method.
5221 (intBazOne): New typedef.
5222 (main): Instantiate intBazOne.
5223
5224 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5225
5226 PR python/10633
5227
5228 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5229 Function.
5230 (run_lang_tests): Add print elements test.
5231
5232 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5233
5234 * gdb.python/py-value.exp (test_subscript_regression): New
5235 function. Test for invalid subscripts.
5236 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5237 (ptr_ref): New function.
5238
5239 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5240
5241 * gdb.base/default.exp: Fix "show convenience".
5242
5243 2009-09-15 Tom Tromey <tromey@redhat.com>
5244
5245 * lib/mi-support.exp (mi_create_varobj): Update.
5246 (mi_create_floating_varobj): Likewise.
5247 (mi_create_dynamic_varobj): New proc.
5248 (mi_varobj_update): Update.
5249 (mi_varobj_update_with_type_change): Likewise.
5250 (mi_varobj_update_kv_helper): New proc.
5251 (mi_varobj_update_dynamic_helper): Rewrite.
5252 (mi_varobj_update_dynamic): New proc.
5253 (mi_list_varobj_children): Update.
5254 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5255 * gdb.python/python-prettyprint.py (pp_outer): New class.
5256 (pp_nullstr): Likewise.
5257 (lookup_function): Register new printers.
5258 * gdb.python/python-prettyprint.c (struct substruct): New type.
5259 (struct outerstruct): Likewise.
5260 (substruct_test): New function.
5261 (struct nullstr): New type.
5262 (string_1, string_2): New globals.
5263 (main): Add new tests.
5264 * gdb.python/python-mi.exp: Added regression tests.
5265 * gdb.mi/mi2-var-display.exp: Update.
5266 * gdb.mi/mi2-var-cmd.exp: Update.
5267 * gdb.mi/mi2-var-child.exp: Update.
5268 * gdb.mi/mi2-var-block.exp: Update.
5269 * gdb.mi/mi-var-invalidate.exp: Update.
5270 * gdb.mi/mi-var-display.exp: Update.
5271 * gdb.mi/mi-var-cmd.exp: Update.
5272 * gdb.mi/mi-var-child.exp: Update.
5273 * gdb.mi/mi-var-block.exp: Update.
5274 * gdb.mi/mi-break.exp: Update.
5275 * gdb.mi/gdb701.exp: Update.
5276
5277 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5278
5279 * Makefile.in: Inclusion of catch-syscall object.
5280 * gdb.base/catch-syscall.c: New file.
5281 * gdb.base/catch-syscall.exp: New file.
5282
5283 2009-09-12 Michael Snyder <msnyder@vmware.com>
5284
5285 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5286 that can support reverse debuggnig.
5287
5288 2009-09-11 Tom Tromey <tromey@redhat.com>
5289
5290 * gdb.dwarf2/valop.S: New file.
5291 * gdb.dwarf2/valop.exp: New file.
5292
5293 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5294
5295 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5296
5297 2009-09-10 Doug Evans <dje@google.com>
5298
5299 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5300 Add $gdb_prompt to second breakpoint regexp.
5301
5302 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5303
5304 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5305 names, add missing ones.
5306 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5307 * gdb.python/py-frame.c: Rename from python-frame.c.
5308 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5309 testfile name.
5310 * gdb.python/py-function.exp: Rename from python-function.exp.
5311 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5312 testfile name.
5313 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5314 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5315 Adjust testfile name.
5316 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5317 * gdb.python/py-template.cc: Rename from python-template.cc.
5318 * gdb.python/py-template.exp: Rename from python-template.exp.
5319 Adjust testfile name.
5320 * gdb.python/py-value.c: Rename from python-value.c.
5321 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5322 testfile name.
5323
5324 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5325
5326 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5327 $bpt2address.
5328 (Second breakpoint address is valid on ia64)
5329 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5330
5331 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5332
5333 * gdb.base/ending-run.exp: Restrict regular expression matching
5334 line number to require closing brace following.
5335
5336 2009-09-03 Doug Evans <dje@google.com>
5337
5338 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5339
5340 2009-09-02 Tom Tromey <tromey@redhat.com>
5341
5342 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5343
5344 2009-09-02 Tom Tromey <tromey@redhat.com>
5345
5346 * gdb.dwarf2/callframecfa.exp: New file.
5347 * gdb.dwarf2/callframecfa.S: New file.
5348
5349 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5350
5351 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5352 gdb.base/solib-overlap-main.c: New.
5353
5354 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5355
5356 PR gdb/10565
5357
5358 * gdb.base/bitfields.c (struct container, container): New.
5359 (main): Initialize it and call break5.
5360 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5361
5362 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5363
5364 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5365 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5366
5367 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5368
5369 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5370
5371 2009-08-26 Michael Snyder <msnyder@vmware.com>
5372
5373 * gdb.base/i386-reverse.c: New file.
5374 * gdb.base/i386-reverse.exp: New file.
5375 * gdb.base/Makefile.in: Add new files to be removed.
5376
5377 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5378
5379 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5380 environment-pwd for remote host.
5381 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5382
5383 2009-08-24 Keith Seitz <keiths@redhat.com>
5384
5385 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5386 Add two new C++ completer tests which limit the output to a
5387 given class.
5388
5389 2009-08-24 Michael Snyder <msnyder@vmware.com>
5390
5391 * gdb.base/del.exp: Fix typo in comment.
5392 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5393
5394 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5395
5396 * configure: Regenerate.
5397 * gdb.hp/configure: Likewise.
5398 * gdb.hp/gdb.aCC/configure: Likewise.
5399 * gdb.hp/gdb.base-hp/configure: Likewise.
5400 * gdb.hp/gdb.compat/configure: Likewise.
5401 * gdb.hp/gdb.defects/configure: Likewise.
5402 * gdb.hp/gdb.objdbg/configure: Likewise.
5403 * gdb.stabs/configure: Likewise.
5404
5405 2009-08-19 Doug Evans <dje@google.com>
5406
5407 * gdb.base/gdbvars.c: New file.
5408 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5409
5410 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5411
5412 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5413 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5414
5415 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5416
5417 * gdb.base/default.exp: Adjust "set language test": it's now an
5418 enum command. Larger help string moved to "help set language".
5419 * gdb.base/help.exp: Adjust "help set language" expected output,
5420 now lists all known languages.
5421
5422 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5423
5424 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5425 all frame arguments.
5426 * gdb.arch/altivec-regs.exp: Likewise.
5427
5428 2009-08-07 Tom Tromey <tromey@redhat.com>
5429
5430 * gdb.base/setshow.exp: Add tests for changes to set language, set
5431 check range, and set check type.
5432
5433 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5434
5435 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5436 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5437 Call it.
5438
5439 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5440
5441 * configure.ac: Run gdb.cell tests when appropriate.
5442 * configure: Regenerate.
5443 * lib/cell.exp: New file.
5444 * gdb.cell: New directory.
5445 * gdb.cell/configure.ac: New file.
5446 * gdb.cell/configure: New file.
5447 * gdb.cell/Makefile.in: New file.
5448 * gdb.cell/arch.exp: New file.
5449 * gdb.cell/break.c: New file.
5450 * gdb.cell/break.exp: New file.
5451 * gdb.cell/break-spu.c: New file.
5452 * gdb.cell/bt.c: New file.
5453 * gdb.cell/bt2-spu.c: New file.
5454 * gdb.cell/bt-spu.c: New file.
5455 * gdb.cell/bt.exp: New file.
5456 * gdb.cell/coremaker.c: New file.
5457 * gdb.cell/coremaker-spu.c: New file.
5458 * gdb.cell/core.exp: New file.
5459 * gdb.cell/gcore.exp: New file.
5460 * gdb.cell/data.c: New file.
5461 * gdb.cell/data.exp: New file.
5462 * gdb.cell/data-spu.c: New file.
5463 * gdb.cell/ea-cache.exp: New file.
5464 * gdb.cell/ea-cache.c: New file.
5465 * gdb.cell/ea-cache-spu.c: New file.
5466 * gdb.cell/ea-standalone.c: New file.
5467 * gdb.cell/ea-standalone.exp: New file.
5468 * gdb.cell/ea-test.c: New file.
5469 * gdb.cell/ea-test.exp: New file.
5470 * gdb.cell/f-regs.exp: New file.
5471 * gdb.cell/mem-access.c: New file.
5472 * gdb.cell/mem-access.exp: New file.
5473 * gdb.cell/mem-access-spu.c: New file.
5474 * gdb.cell/ptype.exp: New file.
5475 * gdb.cell/registers.exp: New file.
5476 * gdb.cell/size.c: New file.
5477 * gdb.cell/sizeof.exp: New file.
5478 * gdb.cell/size-spu.c: New file.
5479 * gdb.cell/solib.exp: New file.
5480 * gdb.cell/solib-symbol.exp: New file.
5481
5482 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5483
5484 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5485
5486 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5487
5488 * gdb.base/float.exp: Handle VFP registers.
5489
5490 2009-07-14 Michael Snyder <msnyder@vmware.com>
5491
5492 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5493 to bring gdb to the beginning of the calling line.
5494
5495 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5496 confusing the i386 epilogue unwinder.
5497
5498 2009-07-14 Stan Shebs <stan@codesourcery.com>
5499
5500 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5501
5502 2009-07-14 Michael Snyder <msnyder@vmware.com>
5503
5504 * gdb.reverse/step-reverse.exp (stepi into function call):
5505 Call instruction may not be first instruction in the line.
5506 (reverse stepi from a function call): Used wrong line number.
5507
5508 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5509
5510 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5511
5512 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5513
5514 Fix gdb.base/macscp.exp when using custom inputrc.
5515 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5516 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5517 env(TERM) set.
5518 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5519 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5520
5521 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5524 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5525 Change the compilation target to match the testcase name.
5526 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5527 testcase name.
5528 * a2-run.exp: Use for setup prepare_for_testing. Change the
5529 compilation target to match the testcase name.
5530 * gdb.base/commands.exp: Likewise.
5531 * gdb.base/finish.exp: Likewise.
5532 * gdb.base/float.exp: Likewise.
5533 * gdb.base/info-target.exp: Likewise.
5534 * gdb.base/relational.exp: Likewise.
5535 * gdb.base/term.exp: Likewise.
5536 * gdb.base/until.exp: Likewise.
5537 * gdb.base/volatile.exp: Likewise.
5538 * gdb.base/whatis-exp.exp: Likewise.
5539
5540 2009-07-11 Hui Zhu <teawater@gmail.com>
5541
5542 * gdb.base/help.exp (disassemble): Update expected help text.
5543
5544 2009-07-09 Tom Tromey <tromey@redhat.com>
5545
5546 * lib/gdb.exp: Handle TRANSCRIPT.
5547 (remote_spawn, remote_close, send_gdb): New procs.
5548
5549 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5550
5551 * gdb.python/python-prettyprint.c: Add counted null string
5552 structure.
5553 * gdb.python/python-prettyprint.exp: Print null string. Test for
5554 embedded nulls.
5555 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5556 * gdb.python/python-value.exp (test_value_in_inferior): Add
5557 variable length string fetch tests.
5558 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5559
5560 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5561
5562 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5563
5564 2009-07-07 Tom Tromey <tromey@redhat.com>
5565
5566 * gdb.base/call-rt-st.exp: Update for change to escape output.
5567 * gdb.base/callfuncs.exp: Likewise.
5568 * gdb.base/charset.exp: Likewise.
5569 * gdb.base/constvars.exp: Likewise.
5570 * gdb.base/long_long.exp: Likewise.
5571 * gdb.base/pointers.exp: Likewise.
5572 * gdb.base/printcmds.exp: Likewise.
5573 * gdb.base/setvar.exp: Likewise.
5574 * gdb.base/store.exp: Likewise.
5575 * gdb.cp/ref-types.exp: Likewise.
5576 * gdb.mi/mi-var-child.exp: Likewise.
5577 * gdb.mi/mi-var-display.exp: Likewise.
5578 * gdb.mi/mi2-var-display.exp: Likewise.
5579 * gdb.base/charset.exp: Test octal escape sequence length.
5580 Update for change to escape output.
5581
5582 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5585
5586 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5587
5588 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5589
5590 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5591
5592 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5593 gdbserver increasing $portnum if "Can't bind address" has been seen.
5594
5595 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5596
5597 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5598 mingw32ce.
5599
5600 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5601
5602 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5603 VFP format.
5604
5605 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5606
5607 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5608 linux. Adjust to use "inferior", "info inferiors", "detach
5609 inferior" and "kill inferior" instead of "restart", "info fork",
5610 "detach fork" and "delete fork".
5611 * gdb.base/ending-run.exp: Spell out "info".
5612 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5613 the "kill" command.
5614
5615 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5616
5617 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5618 change to prefix TLS offset in hex with 0x.
5619
5620 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5621
5622 * gdb.base/default.exp: Update test case for "x" changes.
5623
5624 2009-07-01 Tristan Gingold <gingold@adacore.com>
5625
5626 * gdb.base/bigcore.exp: Make darwin untested.
5627
5628 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5629
5630 * gdb.base/completion.exp (directory completion): Create the directory.
5631 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5632 escapeuniquesub.
5633 (directory completion 2): Expect now ${escapeuniquesub}.
5634 (Glob remaining of directory test): Remove one excessive newline.
5635 Expect the real output.
5636
5637 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5638
5639 Fix `make check//%' target after `make check' has been ran.
5640 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5641 a mkdir call.
5642 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5643 (%/.dir): Remove.
5644
5645 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5646
5647 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5648 the expected result record.
5649
5650 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5651
5652 Remove racy FAILs relying just on the timeouts.
5653 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5654 (annotation_level 2): Remove racy FAILs.
5655
5656 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5657
5658 gdb/10275
5659 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5660
5661 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5662
5663 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5664
5665 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5666
5667 * gdb.mi/mi-stack.exp: Testing symbolic options
5668 to -stack-list-locals and -stack-list-arguments.
5669
5670 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5671
5672 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5673
5674 2009-06-29 Tom Tromey <tromey@redhat.com>
5675
5676 * dg-extract-results.sh: New file.
5677 * Makefile.in (FORCE_PARALLEL): New variable.
5678 (CHECK_TARGET): New conditional variable.
5679 (check): Use CHECK_TARGET.
5680 (DO_RUNTEST): New variable.
5681 (check-single): New target.
5682 (TEST_DIRS): New variable.
5683 (TEST_TARGETS): Likewise.
5684 (check-parallel): New target.
5685 (check-gdb.%): New pattern.
5686 (BASE1_FILES): New variable.
5687 (BASE2_FILES): Likewise.
5688 (check-gdb.base%): New pattern.
5689 (%/.dir): New pattern.
5690 * configure: Rebuild.
5691 * aclocal.m4 (AM_CONDITIONAL): New defun.
5692 * configure.ac: Check whether user is using GNU make.
5693 (GMAKE): New conditional.
5694
5695 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5696
5697 * gdb.cp/namespace-nested-import.cc: New test.
5698 * gdb.cp/namespace-nested-import.exp: New test.
5699
5700 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5701
5702 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5703 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5704 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5705 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5706 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5707 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5708 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5709 gdb.opt/inline-markers.c: New files.
5710 * lib/gdb.exp (skip_inline_frame_tests): New function.
5711 (skip_inline_var_tests): New function.
5712
5713 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5714
5715 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5716 backtrace.
5717
5718 2009-06-27 Michael Snyder <msnyder@vmware.com>
5719
5720 * gdb.reverse: New directory.
5721 * gdb.reverse/break-reverse.c: New test.
5722 * gdb.reverse/break-reverse.exp: New test.
5723 * gdb.reverse/consecutive-reverse.c: New test.
5724 * gdb.reverse/consecutive-reverse.exp: New test.
5725 * gdb.reverse/finish-reverse.c: New test.
5726 * gdb.reverse/finish-reverse.exp: New test.
5727 * gdb.reverse/machinestate.c: New test.
5728 * gdb.reverse/ms1.c: New test.
5729 * gdb.reverse/machinestate.exp: New test.
5730 * gdb.reverse/Makefile.in: New file.
5731 * gdb.reverse/shr2.c: New test.
5732 * gdb.reverse/solib-reverse.c: New test.
5733 * gdb.reverse/solib-reverse.exp: New test.
5734 * gdb.reverse/step-reverse.c: New test.
5735 * gdb.reverse/step-reverse.exp: New test.
5736 * gdb.reverse/until-reverse.c: New test.
5737 * gdb.reverse/ur1.c: New test.
5738 * gdb.reverse/until-reverse.exp: New test.
5739 * gdb.reverse/watch-reverse.c: New test.
5740 * gdb.reverse/watch-reverse.exp: New test.
5741 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5742 * configure: Regenerate.
5743
5744 2009-06-26 Doug Evans <dje@google.com>
5745
5746 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5747
5748 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5749
5750 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5751 windows problem for 'file delete $binfile'.
5752
5753 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5754
5755 * gdb.cp/namespace-using.exp: New test.
5756 * gdb.cp/namespace-using.cc: New test.
5757
5758 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5759
5760 * gdb.ada/variant_record_packed_array: New testcase.
5761
5762 2009-06-23 Tom Tromey <tromey@redhat.com>
5763
5764 * gdb.base/charset.exp (test_combination): Regression test.
5765 * gdb.base/charset.c (my_wchar_t): New typedef.
5766 (myvar): New global.
5767 (main): Set myvar.
5768
5769 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5770
5771 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5772 target.
5773
5774 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5775
5776 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5777
5778 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5779
5780 * gdb.mi/gdb680.exp: Update test for error message.
5781
5782 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5783
5784 * gdb.base/annota1.exp: Allow multiple occurrences of the
5785 frames-invalid annotation.
5786 * gdb.cp/annota2.exp: Likewise.
5787
5788 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5789
5790 * gdb.cp/gdb2495.cc: New file.
5791 * gdb.cp/gdb2495.exp: New file.
5792
5793 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 Report error on GDB crash during runto.
5796 * lib/gdb.exp (runto <eof>): New.
5797
5798 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5799
5800 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5801 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5802 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5803 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5804 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5805 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5806 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5807 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5808 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5809 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5810 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5811 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5812 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5813 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5814 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5815 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5816 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5817 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5818 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5819 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5820 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5821 gdb.trace/passcount.exp, gdb.trace/report.exp,
5822 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5823 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5824 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5825 executable.
5826
5827 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5828
5829 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5830 defined before referencing it.
5831
5832 2009-06-03 Doug Evans <dje@google.com>
5833
5834 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5835 * gdb.arch/i386-see.c: Ditto.
5836
5837 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5838
5839 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5840 (check_macro): Return 1 if undefined.
5841 If first test fails, check if macro debug information is available,
5842 and report unsupported test if no macro information is found.
5843
5844 2009-05-29 Doug Evans <dje@google.com>
5845
5846 * gdb.threads/hand-call-in-threads.exp: New.
5847 * gdb.threads/hand-call-in-threads.c: New.
5848
5849 2009-05-29 Michael Snyder <msnyder@vmware.com>
5850
5851 * gdb.base/break-always.exp: Change "1" to "on".
5852 Add confirmation check.
5853
5854 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5855
5856 * gdb.threads/threxit-hop-specific.c: New.
5857 * gdb.threads/threxit-hop-specific.exp: New.
5858 * gdb.threads/thread-execl.c: New.
5859 * gdb.threads/thread-execl.exp: New.
5860
5861 2009-05-27 Tom Tromey <tromey@redhat.com>
5862 Thiago Jung Bauermann <bauerman@br.ibm.com>
5863
5864 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5865 (mi_child_regexp): Likewise.
5866 (mi_list_varobj_children_range): Likewise.
5867 (mi_get_features): Likewise.
5868 (mi_list_varobj_children): Rewrite.
5869 * gdb.python/python-mi.exp: New file.
5870
5871 2009-05-27 Tom Tromey <tromey@redhat.com>
5872 Thiago Jung Bauermann <bauerman@br.ibm.com>
5873 Phil Muldoon <pmuldoon@redhat.com>
5874 Paul Pluzhnikov <ppluzhnikov@google.com>
5875
5876 * gdb.python/python-prettyprint.exp: New file.
5877 * gdb.python/python-prettyprint.c: New file.
5878 * gdb.python/python-prettyprint.py: New file.
5879 * gdb.base/display.exp: print/r is now valid.
5880
5881 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5882 Tom Tromey <tromey@redhat.com>
5883 Pedro Alves <pedro@codesourcery.com>
5884 Paul Pluzhnikov <ppluzhnikov@google.com>
5885
5886 * gdb.python/python-template.exp: New file.
5887 * gdb.python/python-template.cc: New file.
5888 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5889 tests.
5890 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5891 Call it.
5892 (test_value_after_death): New proc.
5893 * gdb.python/python-value.c (PTR): New typedef.
5894 (main): New variable 'x'.
5895
5896 2009-05-27 Tom Tromey <tromey@redhat.com>
5897
5898 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5899 tests.
5900 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5901 Call it.
5902
5903 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5904
5905 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5906
5907 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5908
5909 * gdb.threads/fork-thread-pending.c: New.
5910 * gdb.threads/fork-thread-pending.exp: New.
5911
5912 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5913
5914 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5915 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5916
5917 2009-05-18 Jon Beniston <jon@beniston.com>
5918
5919 * gdb.asm/asm-source.exp: Add lm32 target.
5920
5921 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5922
5923 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5924 `gdb_get_line_number'. Call `callee' in both parent and child.
5925 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5926 `gdb_get_line_number' instead of hardcoding line numbers.
5927 (catch_fork_unpatch_child): New procedure to test detaching
5928 breakpoints from child fork.
5929 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5930 hardcoding line numbers.
5931 (do_fork_tests): Run `catch_fork_unpatch_child'.
5932
5933 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5934
5935 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5936 of structure type enters or leaves the scope, it
5937 is reported by -var-update.
5938
5939 2009-05-11 Doug Evans <dje@sebabeach.org>
5940
5941 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5942 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5943 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5944
5945 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5948
5949 2009-04-30 Doug Evans <dje@google.com>
5950
5951 * gdb.threads/watchthreads2.exp: New testcase.
5952 * gdb.threads/watchthreads2.c: New testcase.
5953
5954 2009-04-29 Doug Evans <dje@google.com>
5955
5956 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5957 * gdb.cp/mb-ctor.cc: Ditto.
5958 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5959 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5960 * gdb.cp/mb-inline1.cc: Call it.
5961 * gdb.cp/mb-inline2.cc: Ditto.
5962 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5963 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5964
5965 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5966
5967 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5968 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5969 Replace all uses of `decimal' by `nonzero'.
5970 (info macro FROM_COMMANDLINE): New test.
5971
5972 2009-04-27 Tom Tromey <tromey@redhat.com>
5973
5974 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5975
5976 2009-04-27 Doug Evans <dje@google.com>
5977
5978 * gdb.threads/watchthreads.c (main): Initialize args before starting
5979 the threads. Plus formatting cleanup.
5980 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5981 biased scheduling of one thread.
5982
5983 2009-04-27 Jerome Guitton <guitton@adacore.com>
5984
5985 * gdb.cp/templates.cc (GetMax): New template.
5986 (main): Declare two instances of GetMax.
5987 * gdb.cp/templates.exp: Add new test.
5988
5989 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5990
5991 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5992
5993 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5994
5995 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5996
5997 2009-04-15 Tom Tromey <tromey@redhat.com>
5998
5999 * gdb.base/charset.exp: Add regression test.
6000
6001 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6002
6003 * gdb.base/exe-lock.exp: New testcase.
6004
6005 2009-04-13 Tom Tromey <tromey@redhat.com>
6006
6007 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6008 operator on Frame.
6009
6010 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6011
6012 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6013 * gdb.server/ext-attach.exp: Likewise.
6014
6015 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6016
6017 Eliminate some sleep usage.
6018
6019 * gdb.mi/basics.c (do_nothing): New.
6020 (main): Use do_nothing instead of printf, so that
6021 not to introduce race condition between output of
6022 inferiour and output of gdb. Do not use sleep as it
6023 is not generally available on embedded targets.
6024
6025 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6026
6027 * gdb.server/ext-attach.exp: Expect an optional process id after
6028 "Detached from remote process".
6029
6030 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6031
6032 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6033 gdb.dwarf2/dw2-unresolved.exp: New.
6034
6035 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6036
6037 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6038 mi_run_to_main.
6039
6040 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6041
6042 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6043 mi_run_to_main. Skip thread exit test on remote targets.
6044 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6045 mi_run_to_main.
6046 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6047 mi_run_to_main.
6048 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6049 when expecting ^connected. Detect when the target doesn't support
6050 non-stop mode.
6051 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6052 supported. Return -1 on error, 0 on success.
6053 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6054 (mi_runto): Return mi_runto_helper's result explicitly.
6055
6056 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6057
6058 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6059
6060 2009-04-01 Tom Tromey <tromey@redhat.com>
6061
6062 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6063 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6064 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6065 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6066
6067 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6068 Jan Kratochvil <jan.kratochvil@redhat.com>
6069
6070 PR gdb/931
6071 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6072 output.
6073 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6074 for gdb/931.
6075 * dw2-strp.S (DW_AT_language): Change to C++.
6076 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6077
6078 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6079
6080 * gdb.ada/tasks: New testcase.
6081
6082 2009-03-30 Stan Shebs <stan@codesourcery.com>
6083
6084 * gdb.trace/actions.exp: Update to match new info trace format.
6085 * gdb.trace/deltrace.exp: Ditto.
6086 * gdb.trace/infotrace.exp: Ditto.
6087 * gdb.trace/passcount.exp: Ditto.
6088 * gdb.trace/save-trace.exp: Ditto.
6089 * gdb.trace/while-stepping.exp: Ditto.
6090 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6091
6092 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6093
6094 * gdb.python/python-frame.c: New file.
6095 * gdb.python/python-frame.exp: New file.
6096
6097 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6098
6099 * gdb.python/python-value.exp: Add tests for the address
6100 attribute.
6101
6102 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6103
6104 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6105
6106 2009-03-26 Doug Evans <dje@google.com>
6107
6108 * gdb.mi/mi-nonstop-exit.exp: New file.
6109 * gdb.mi/non-stop-exit.c: New file.
6110
6111 2009-03-26 Tom Tromey <tromey@redhat.com>
6112
6113 Update for change to prologue skipping:
6114 * gdb.mi/mi2-simplerun.exp: Update.
6115 * gdb.mi/mi2-break.exp: Update.
6116 * gdb.mi/mi-simplerun.exp: Update.
6117 * gdb.mi/mi-break.exp: Update.
6118 * gdb.base/ending-run.exp: Update.
6119
6120 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6121
6122 * gdb.python/python-value.exp (test_value_in_inferior): Test
6123 gdb.Value.is_optimized_out attribute.
6124
6125 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6126
6127 * gdb.dwarf2/dw2-noloc-main.c: New file.
6128 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6129 (.text): Remove.
6130 (.data): New.
6131 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6132 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6133 (DW_TAG_subprogram func_cu1, noloc): Remove.
6134 (main): New.
6135 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6136 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6137 (file_symbols): New procedure.
6138
6139 2009-03-25 Tom Tromey <tromey@redhat.com>
6140
6141 * gdb.base/charset.exp (valid_target_charset): New proc.
6142 Use it to skip tests on invalid charsets.
6143
6144 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6145
6146 * gdb.base/completion.exp: Add a test for directory completion.
6147
6148 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6149
6150 Fix a racy FAIL.
6151 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6152 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6153
6154 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6155
6156 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6157 * gdb.python/python-function.exp: Add test for function returning
6158 a GDB value.
6159
6160 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6161
6162 * gdb.python/python-function.exp: New file.
6163
6164 2009-03-20 Tom Tromey <tromey@redhat.com>
6165
6166 * gdb.base/store.exp: Update for change to escape output.
6167 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6168 to escape output.
6169 * gdb.base/pointers.exp: Update for change to escape output.
6170 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6171 to escape output.
6172 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6173 escape output.
6174 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6175 to escape output.
6176 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6177 escape output.
6178 * gdb.base/setvar.exp: Update for change to escape output.
6179 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6180 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6181 to escape output.
6182 (test_print_string_constants): Likewise.
6183 * gdb.base/charset.exp (valid_host_charset): Check size of
6184 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6185 cases. Handle "auto"-related output.
6186 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6187 (uvar, Uvar): New globals.
6188
6189 2009-03-19 Jerome Guitton <guitton@adacore.com>
6190
6191 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6192 deltas.
6193 * gdb.ada/fixed_points.exp: Ditto.
6194
6195 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6196
6197 * return-nodebug.c: Don't include stdio.h.
6198 (init): Delete.
6199 (func): Delete definition and provide extern declaration.
6200 (t): New.
6201 (main): Don't call printf. Call func and store its result in t.
6202 * return-nodebug1.c: New.
6203 * return-nodebug.exp: Don't expect stdio output. Instead, print
6204 the global variable t. Drop printf formatters and cast types from
6205 foreach loop. Don't use prepare_for_testing. Compile
6206 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6207 define FORMAT or CAST.
6208
6209 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6210
6211 * gdb.base/solib-display.exp: Disable test for remote targers.
6212
6213 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6214
6215 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6216
6217 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 Fix a racy FAIL.
6220 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6221 code from `follow parent, print pids'.
6222 (`follow child, print pids', `follow parent, print pids'): Call it.
6223 Replace `gdb_test "break..."' by gdb_breakpoint.
6224
6225 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6226
6227 * gdb.mi/mi-cli.exp: Adjust for output difference in
6228 sync and async modes.
6229
6230 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6231
6232 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6233 that was checked in by mistake. Remove loading of ada.exp, since
6234 this is not necessary in this case.
6235
6236 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6237
6238 * gdb.ada/ptype_arith_binop.exp: New testcase.
6239
6240 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6241
6242 * gdb.ada/mod_from_name: New testcase.
6243
6244 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6245
6246 * gdb.ada/tick_last_segv: New testcase.
6247
6248 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6249
6250 * gdb.mi/mi-cli.exp: Remove debug print.
6251
6252 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6253
6254 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6255 include the token in ^running and frame info in *stopped.
6256
6257 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6258
6259 * solib-display.exp: New file.
6260 * solib-display-main.c: New file.
6261 * solib-display-lib.c: New file.
6262
6263 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6264
6265 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6266
6267 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6270 (list_and_check_macro): Use more specific test name.
6271 (next to definition): Make the test names unique.
6272
6273 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6274
6275 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6276
6277 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6278
6279 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6280 notifications.
6281 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6282 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6283 * lib/mi-support.exp (library_loaded_re): New.
6284 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6285
6286 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6287
6288 * gdb.gdb/observer.exp: Use test_notification observer, not
6289 normal_stop, everywhere.
6290 (test_normal_stop_notifications): Rename to...
6291 (test_notifications): ...this.
6292 (test_observer_normal_stop): Rename to...
6293 (test_observer): ...this.
6294
6295 2009-02-16 Doug Evans <dje@google.com>
6296
6297 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6298 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6299 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6300 (test_prefixed_syscall,test_int3): New tests.
6301 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6302 (test_prefixed_syscall,test_int3): New tests.
6303
6304 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6305
6306 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6307 (mi_expect_interrupt): Likewise.
6308 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6309 response.
6310
6311 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6312
6313 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6314 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6315 Replace calls to get_valueofx by get_hexadecimal_valueof.
6316
6317 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6318
6319 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6320 (get_integer_valueof): New procedure.
6321 (get_sizeof): Use new get_integer_value_of.
6322 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6323 by get_integer_valueof.
6324
6325 2009-02-13 Tom Tromey <tromey@redhat.com>
6326
6327 * gdb.base/remote.exp (get_sizeof): Remove.
6328 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6329 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6330 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6331 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6332 (get_sizeof): Likewise.
6333
6334 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6335
6336 PR fortran/9806
6337 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6338
6339 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6340
6341 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6342
6343 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6344
6345 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6346
6347 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6348
6349 * gdb.python/python-cmd.exp: New file.
6350
6351 2009-02-06 Tristan Gingold <gingold@adacore.com>
6352
6353 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6354
6355 2009-02-05 Tristan Gingold <gingold@adacore.com>
6356
6357 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6358 pointer is dereferenced and use this signal name in regexp.
6359 * gdb.base/signull.exp: Ditto.
6360 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6361 * gdb.base/signull.c (main): Ditto.
6362
6363 2009-02-04 Tom Tromey <tromey@redhat.com>
6364 Thiago Jung Bauermann <bauerman@br.ibm.com>
6365
6366 * gdb.python/python-value.exp: Use `gdb.history' instead of
6367 `gdb.value_from_history'.
6368 (test_value_numeric_ops): Add test for conversion of enum constant.
6369 * gdb.python/python-value.c (enum e): New type.
6370 (evalue): New global.
6371 (main): Use argv.
6372
6373 2009-02-04 Jerome Guitton <guitton@adacore.com>
6374
6375 * gdb.ada/uninitialized_vars: New test program.
6376 * gdb.ada/uninitialized_vars.exp: New testcase.
6377
6378 2009-02-02 Tom Tromey <tromey@redhat.com>
6379
6380 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6381 * gdb.cp/pr2489.cc: Rename...
6382 * gdb.cp/pr9594.cc: ... to this.
6383
6384 2009-02-02 Tom Tromey <tromey@redhat.com>
6385
6386 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6387 * gdb.cp/pr2489.cc: New file.
6388 * gdb.cp/cpcompletion.exp: New file.
6389
6390 2009-02-02 Tom Tromey <tromey@redhat.com>
6391
6392 PR exp/9059:
6393 * gdb.cp/call-c.exp: Add regression test.
6394 * gdb.cp/call-c.cc (FooHandle): New typedef.
6395 (main): New variable 'handle'.
6396
6397 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6398
6399 * lib/mi-support.exp (et_mi_thread_list)
6400 (check_mi_and_console_threads): Adjust for current thread in
6401 -thread-list-ids output.
6402
6403 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6404
6405 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6406 Call it.
6407
6408 2009-01-28 Doug Evans <dje@google.com>
6409
6410 * gdb.arch/amd64-disp-step.S: New file.
6411 * gdb.arch/amd64-disp-step.exp: New file.
6412 * gdb.arch/i386-disp-step.S: New file.
6413 * gdb.arch/i386-disp-step.exp: New file.
6414
6415 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6416
6417 * gdb.base/find.exp: Set newline variable
6418 using quotes instead of braces to fix cygwin failures.
6419
6420 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6421
6422 * gdb.base/radix.exp: Add tests to ensure that that set
6423 input-radix 0 and set output-radix 0 are really rejected.
6424
6425 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6426
6427 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6428 copyright years.
6429
6430 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6431
6432 PR gdb/9664:
6433 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6434
6435 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6436
6437 PR c++/9631:
6438 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6439
6440 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6441
6442 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6443 binfile definition to fix Windows OS failure.
6444
6445 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6446
6447 PR gdb/9346
6448 * gdb.base/interrupt.c (sigint_handler): New.
6449 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6450 on error.
6451 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6452 Test "signal SIGINT".
6453
6454 2009-01-19 Doug Evans <dje@google.com>
6455
6456 * gdb.base/break.exp: Update expected gdb output.
6457 * gdb.base/sepdebug.exp: Ditto.
6458 * gdb.mi/mi-syn-frame.exp: Ditto.
6459 * gdb.mi/mi2-syn-frame.exp: Ditto.
6460 * gdb.base/call-signal-resume.exp: New file.
6461 * gdb.base/call-signals.c: New file.
6462 * gdb.base/unwindonsignal.exp: New file.
6463 * gdb.base/unwindonsignal.c: New file.
6464 * gdb.threads/interrupted-hand-call.exp: New file.
6465 * gdb.threads/interrupted-hand-call.c: New file.
6466 * gdb.threads/thread-unwindonsignal.exp: New file.
6467
6468 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6469
6470 * gdb.base/define.exp: Test defining and hooking prefix commands.
6471 * gdb.python/python.exp: Update test for "show user" output.
6472
6473 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6474
6475 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6476 now the output exactly, using less wildcards. Expect also the output
6477 of gfortran-4.3. Update for the f-valprint.c modification from
6478 2008-04-22.
6479 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6480 Remove gdb_test test names where matching the command.
6481
6482 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6483
6484 PR breakpoints/9681:
6485 * gdb.base/watchpoint.exp: Add regression test.
6486
6487 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6488
6489 * gdb.threads/attach-into-signal.exp: Don't use
6490 gdb_suppress_entire_file.
6491 * gdb.threads/attach-stopped.exp: Ditto.
6492 * gdb.threads/attachstop-mt.exp: Ditto.
6493
6494 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6495
6496 PR gdb/8812:
6497 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6498
6499 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6500
6501 PR gdb/7536:
6502 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6503 and unsupported output radices are really rejected.
6504
6505 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6506
6507 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6508
6509 2008-12-22 Tom Tromey <tromey@redhat.com>
6510
6511 * gdb.cp/punctuator.exp: New file.
6512
6513 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6514
6515 * gdb.base/completion.exp (Completing non-existing component): New test.
6516
6517 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6518
6519 Fix for PR gdb/8648.
6520 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6521 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6522 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6523 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6524
6525 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6526
6527 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6528
6529 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6530
6531 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6532 compiler actually generate code at the expected line number.
6533
6534 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6535
6536 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6537
6538 2008-12-12 Tom Tromey <tromey@redhat.com>
6539
6540 * gdb.base/commands.exp (redefine_hook_test): New proc.
6541 Call it.
6542
6543 2008-12-11 Tom Tromey <tromey@redhat.com>
6544
6545 * gdb.base/macscp.exp: New regression test.
6546
6547 2008-12-11 Tom Tromey <tromey@redhat.com>
6548
6549 * gdb.base/macscp.exp: Print "address.addr".
6550 * gdb.base/macscp1.c (struct outer): New struct.
6551 (address): New global.
6552
6553 2008-12-09 Tom Tromey <tromey@redhat.com>
6554
6555 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6556 Call it.
6557
6558 2008-12-04 Doug Evans <dje@google.com>
6559
6560 * gdb.server/ext-run.exp: Relax regexp for init program.
6561
6562 2008-12-03 Tristan Gingold <gingold@adacore.com>
6563
6564 * gdb.base/macscp.exp: Generate an object file during compilation
6565 to work around Darwin dsymutil limitations.
6566
6567 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6568
6569 Test resolving external references to TLS variables.
6570 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6571 FILE2_THREAD_LOCAL.
6572 (testfile2, srcfile2): New variables.
6573 * gdb.threads/tls.c (file2_thread_local)
6574 (function_referencing_file2_thread_local): New.
6575 * gdb.threads/tls2.c: New file.
6576
6577 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6578
6579 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6580 rather than integer, as integer might not be big enough when
6581 on 64bit targets.
6582
6583 2008-11-27 Jerome Guitton <guitton@adacore.com>
6584
6585 * gdb.cp/formatted-ref.exp: Add equality test.
6586 * gdb.ada/formatted_ref.exp: Ditto.
6587
6588 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6589
6590 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6591 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6592
6593 2008-11-20 Andreas Schwab <schwab@suse.de>
6594
6595 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6596 matching syscall entry point.
6597 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6598 (tcatch_vfork_then_child_follow): Likewise. Finish through
6599 vfork even if we stopped at the syscall trampoline.
6600
6601 2008-11-20 Doug Evans <dje@google.com>
6602
6603 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6604
6605 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6606
6607 * gdb.arch/ppc-dfp.exp: New file.
6608 * gdb.arch/ppc-dfp.c: New file.
6609
6610 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6611
6612 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6613
6614 2008-11-17 Doug Evans <dje@google.com>
6615
6616 * gdb.mi/mi-syn-frame.exp: Update expected output.
6617 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6618
6619 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6620
6621 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6622 "thread N" results in =thread-selected.
6623 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6624 (mi_send_resuming_command_raw): Be prepared for
6625 =thread-selected.
6626
6627 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6628
6629 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6630 * lib/mi-support.exp: Likewise.
6631
6632 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6633
6634 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6635 commands from the expected output for "help catch".
6636
6637 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6638
6639 * gdb.ada/int_deref.exp: New testcase.
6640
6641 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6642
6643 * gdb.mi/gdb2549.exp: New file.
6644
6645 2008-11-11 Doug Evans <dje@google.com>
6646
6647 * gdb.base/callexit.exp: New file.
6648 * gdb.base/callexit.c: New file.
6649
6650 2008-11-10 Doug Evans <dje@google.com>
6651
6652 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6653 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6654 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6655 (default_gdb_start,default_gdb_exit): Ditto.
6656 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6657 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6658 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6659 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6660 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6661 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6662
6663 2008-11-03 Andreas Schwab <schwab@suse.de>
6664
6665 * gdb.base/hashline2.exp: Fix typo.
6666 * gdb.base/hashline3.exp: Likewise.
6667
6668 2008-10-30 Tom Tromey <tromey@redhat.com>
6669
6670 * gdb.base/pointers.exp: Add test.
6671 * gdb.base/pointers.c (k, S): New typedefs.
6672 (instance): New global.
6673
6674 2008-10-30 Andreas Schwab <schwab@suse.de>
6675
6676 * gdb.base/args.exp: Add tests for newlines.
6677
6678 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6679
6680 gdb.base/foll-exec.exp: Update the expected output of a couple
6681 of "info breakpoints" tests.
6682
6683 2008-10-28 Tom Tromey <tromey@redhat.com>
6684
6685 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6686
6687 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6688
6689 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6690 gdb_start_cmd.
6691 Use runto_main before any test that requires execution.
6692
6693 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6694
6695 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6696 instead of SIGINT.
6697
6698 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6699
6700 * gdb.base/completion.exp: Update expected output following
6701 the addition of the "info tasks" command.
6702
6703 2008-10-22 Tom Tromey <tromey@redhat.com>
6704
6705 * gdb.base/exprs.exp (test_expr): Add test for string
6706 concatenation.
6707
6708 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6709
6710 * configure.ac: Output gdb.python/Makefile.
6711 * configure: Regenerate.
6712 * gdb.python/Makefile.in: New.
6713
6714 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6715
6716 * gdb.base/foll-fork.exp: Adjust the expected output to match
6717 the new description for fork/vfork catchpoints in the "info
6718 breakpoints" output.
6719
6720 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6721
6722 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6723
6724 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6725
6726 * gdb.python/python-value.c: New file.
6727 * gdb.python/python-value.exp: New file.
6728
6729 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6730
6731 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6732
6733 2008-10-15 Denis Pilat <denis.pilat@st.com>
6734
6735 * gdb.cp/mb-ctor.exp: Fix a typo.
6736
6737 2008-10-09 Tom Tromey <tromey@redhat.com>
6738
6739 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6740 'fprintf' and 'stderr'.
6741
6742 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6743
6744 * gdb.ada/ref_tick_size.exp: New testcase.
6745
6746 2008-10-06 Doug Evans <dje@google.com>
6747
6748 * gdb.dwarf2/dw2-cu-size.exp: New file.
6749 * gdb.dwarf2/dw2-cu-size.S: New file.
6750
6751 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6752 .Ltype_int for clarity.
6753
6754 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6755
6756 PR gdb/2384:
6757 * gdb.cp/gdb2384.exp: Extended to test more cases.
6758 * gdb.cp/gdb2384.cc: Likewise.
6759 * gdb.cp/gdb2384-base.h: Likewise.
6760 * gdb.cp/gdb2384-base.cc: Likewise.
6761
6762 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6763
6764 * gdb.base/maint.exp (maint print type): Remove printing
6765 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6766
6767 2008-09-30 Tom Tromey <tromey@redhat.com>
6768
6769 * gdb.base/macscp.exp: Add completion tests.
6770 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6771 (TWENTY_THREE): Likewise.
6772 (FORTY_EIGHT): Likewise.
6773
6774 2008-09-30 Tom Tromey <tromey@redhat.com>
6775
6776 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6777 everywhere.
6778 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6779
6780 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6781
6782 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6783 testcase is derived from. Fix racy dependency on an expected PID
6784 number. No longer support the testcase on Linux kernel 2.4.x.
6785
6786 2008-09-27 Tom Tromey <tromey@redhat.com>
6787
6788 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6789 and varargs.
6790
6791 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6792
6793 * lib/mi-support.exp (mi_expect_interrupt): New.
6794 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6795 from gdb.mi/mi-nonstop.exp.
6796 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6797 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6798 lib/mi-support.exp.
6799 Use mi_check_thread_states throughout. Avoid ".*" and do not
6800 require an anchor after -exec-run.
6801
6802 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6803
6804 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6805 stop is pending. Avoid ".*" when two stops are pending.
6806 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6807 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6808 newlines in fullnames.
6809 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6810 (mi_expect_stop): Update comments. Only anchor in sync mode.
6811 Do not match newlines.
6812 (mi_send_resuming_command_raw): Always return status.
6813 (mi_get_stop_line): Do not match more than one line by accident.
6814 Only anchor in sync mode.
6815 (mi_run_inline_test): If -exec-next fails, give up.
6816
6817 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6818
6819 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6820 on SPU.
6821
6822 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6823
6824 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6825
6826 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6827
6828 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6829 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6830 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6831 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6832 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6833 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6834 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6835 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6836 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6837 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6838 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6839 Include the "= " sequence in the expected output of print tests.
6840
6841 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6842
6843 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6844 description for boolean types.
6845
6846 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6847
6848 * gdb.base/hook-stop-continue.c: New.
6849 * gdb.base/hook-stop-continue.exp: New.
6850
6851 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6852
6853 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6854
6855 2008-09-08 Jerome Guitton <guitton@adacore.com>
6856
6857 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6858 (stack_check_probe_2, stack_check_probe_loop_1)
6859 (stack_check_probe_loop_2): New functions.
6860 (main): Add call to these new functions.
6861 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6862 functions, check that the breakpoint is inserted at the appropriate
6863 location.
6864 (insert_breakpoint): Slightly refine this procedure so that it can
6865 be called several times in the test.
6866
6867 2008-09-08 Jerome Guitton <guitton@adacore.com>
6868
6869 * gdb.base/stack-checking.c: New file.
6870 * gdb.base/stack-checking.exp: New file.
6871
6872 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6873
6874 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6875 * gdb.arch/altivec-regs.exp: Likewise.
6876 * gdb.arch/vsx-regs.exp: Likewise.
6877
6878 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6879
6880 * gdb.arch/ppc-fp.exp: New file.
6881 * gdb.arch/ppc-fp.c: New file.
6882
6883 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6884
6885 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6886 lest gcc-4.3.1 optimizes the whole thing away.
6887
6888 2008-09-04 Michael Snyder <msnyder@vmware.com>
6889
6890 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6891 as "at" (for non-debug functions such as _start).
6892
6893 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6894
6895 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6896 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6897 software watchpoints.
6898 * gdb.base/watch_thread_num.exp: Likewise.
6899
6900 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6901
6902 * gdb.arch/i386-bp_permanent.exp: New test.
6903
6904 2008-08-24 Tom Tromey <tromey@redhat.com>
6905
6906 * gdb.base/maint.exp: Update "maint print type".
6907
6908 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6909
6910 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6911 support. Adjust the order of "*running" notifications.
6912 * gdb.mi/non-stop.c: Don't cast from int to void* and
6913 back.
6914
6915 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6916
6917 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6918 expect to find it in the "info frame" output.
6919
6920 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6921
6922 * gdb.base/interp.exp: Always consume both prompts.
6923
6924 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6925
6926 * gdb.base/pending.exp: Test pending breakpoints without symbols
6927 loaded.
6928
6929 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6930
6931 * lib/mi-support.exp (mi_expect_stop): Produce
6932 more details on failures.
6933 * gdb.mi/mi-nonstop.exp: New.
6934 * gdb.mi/non-stop.c: New.
6935
6936 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6937
6938 * gdb.mi/mi-async.exp: Use 'set target-async'.
6939 * lib/mi-support.exp: Use 'set/show target-async'.
6940
6941 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6942
6943 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6944
6945 2008-08-17 Tom Tromey <tromey@redhat.com>
6946
6947 * gdb.base/help.exp (help catch): Rewrite.
6948
6949 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6950
6951 * gdb.base/define.exp: Test indented command documentation.
6952 * gdb.python/python.exp: Test indented multi-line command.
6953
6954 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6955
6956 * testsuite/gdb.arch/vsx-regs.c: New source file.
6957 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6958 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6959
6960 2008-08-14 Tom Tromey <tromey@redhat.com>
6961
6962 * gdb.base/macscp.exp: Add regression test for "macro define" or
6963 "macro undef" with no arguments.
6964
6965 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6966
6967 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6968
6969 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6970
6971 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6972
6973 2008-08-06 Tom Tromey <tromey@redhat.com>
6974
6975 * gdb.python/python.exp: New file.
6976
6977 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6978
6979 Fix for PR gdb/1543.
6980 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6981 $LOCATION.
6982 (location): New variable.
6983 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6984 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6985 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6986 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6987 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6988 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6989 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6990 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6991 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6992 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6993 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6994 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6995 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6996 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6997 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6998 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6999 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7000 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7001 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7002 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7003 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7004 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7005 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7006 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7007 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7008 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7009 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7010 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7011 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7012 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7013 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7014 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7015 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7016 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7017 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7018 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7019 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7020 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7021 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7022 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7023 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7024 gdb.base/type-opaque.exp, gdb.base/until.exp,
7025 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7026 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7027 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7028 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7029 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7030 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7031 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7032 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7033 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7034 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7035 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7036 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7037 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7038 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7039 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7040 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7041 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7042 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7043 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7044 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7045 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7046 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7047 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7048 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7049 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7050 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7051 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7052 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7053 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7054 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7055 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7056 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7057 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7058 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7059 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7060 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7061 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7062 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7063 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7064 to bug-gdb@prep.ai.mit.edu .
7065
7066 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7067
7068 * lib/mi-support.exp (mi_load_shlibs): New.
7069 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7070
7071 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7072
7073 * lib/mi-support.exp (get_mi_thread_list)
7074 (check_mi_and_console_threads): New, moved from ...
7075 * gdb.mi/mi-pthread.exp: ...here.
7076 * gdb.mi/gdb669.exp (get_mi_thread_list)
7077 (check_mi_and_console_threads): Delete.
7078 * gdb.mi/mi2-pthread.exp: Likewise.
7079
7080 2008-07-28 Tom Tromey <tromey@redhat.com>
7081
7082 * Makefile.in (just-check): Remove. Move body to...
7083 (check): ... here.
7084
7085 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7086
7087 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7088 Add a test for duplicated SIGINTs.
7089
7090 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7091
7092 * gdb.threads/schedlock.exp (get_args): Update to work for any
7093 value of NUM.
7094 (Top level): Report the number of threads that did not resume.
7095
7096 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7097
7098 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7099
7100 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7101
7102 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7103 non-MI prompt.
7104
7105 2008-07-26 Tom Tromey <tromey@redhat.com>
7106
7107 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7108 (function_struct, function_struct_ptr): New globals.
7109 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7110 function pointer in a struct.
7111
7112 2008-07-26 Tom Tromey <tromey@redhat.com>
7113
7114 * gdb.base/macscp.exp: Add test for macro lexing bug.
7115
7116 2008-07-18 Tom Tromey <tromey@redhat.com>
7117
7118 * gdb.base/macscp.exp: Add macro tests.
7119
7120 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7121
7122 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7123
7124 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7125
7126 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7127
7128 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7129
7130 * gdb.cp/class2.exp: fix for failure on spu-elf
7131
7132 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7133
7134 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7135
7136 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7137
7138 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7139
7140 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7141
7142 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7143
7144 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7145
7146 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7147 of regexp to account for changes made to GDB in the printing of
7148 byte vectors.
7149
7150 2008-07-11 Tom Tromey <tromey@redhat.com>
7151
7152 * gdb.base/completion.exp: Add 'help' completion test.
7153
7154 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7155
7156 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7157
7158 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7159
7160 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7161
7162 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7163
7164 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7165
7166 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7167
7168 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7169
7170 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7171
7172 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7173
7174 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7175
7176 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7177 previous commit. Add a comment.
7178
7179 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7180
7181 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7182
7183 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7184
7185 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7186
7187 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7188
7189 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7190 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7191 compiling an executable, link in an object that forces unbuffered
7192 output.
7193 * lib/set_unbuffered_mode.c: New file.
7194
7195 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7196
7197 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7198
7199 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7200
7201 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7202 mi_expect_stop.
7203 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7204 Demand that *running is output.
7205 (detect_async): Perform checking every time.
7206 (mi_send_resuming_command): Extract everything into...
7207 (mi_send_resuming_command_raw): ...this.
7208 (mi_expect_stop): Don't accept any output before *stopped.
7209
7210 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7211
7212 Robustify mi-simplerun.
7213 * gdb.mi/basics.c (main): Add a call to sleep.
7214 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7215 * gdb.mi/mi2-cli.exp: Likewise.
7216 * gdb.mi/mi-break.exp: Likewise.
7217
7218 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7219
7220 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7221
7222 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7223
7224 * gdb.mi/mi-console.exp: Adjust.
7225 * gdb.mi/mi-syn-frame.exp: Adjust.
7226 * gdb.mi/mi2-console.exp: Adjust.
7227 * gdb.mi/mi2-syn-frame.exp: Adjust.
7228 * lib/mi-support.exp (mi_run_cmd): Adjust.
7229 (mi_send_resuming_command): Adjust.
7230
7231 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7232
7233 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7234 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7235 testing of stopped.
7236 * gdb.mi/mi2-syn-frame.exp: Likewise.
7237 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7238 (async, detect_async): New.
7239 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7240 depending on if we're running in sync or async mode.
7241
7242 2008-06-09 Tom Tromey <tromey@redhat.com>
7243
7244 * gdb.base/completion.exp: New tests for field name completion
7245 with spaces, and field name completion with '->'.
7246
7247 2008-06-06 Tom Tromey <tromey@redhat.com>
7248
7249 * gdb.base/break1.c (struct some_struct): New struct.
7250 (values): New global.
7251 * gdb.base/completion.exp: Add field name completion test.
7252
7253 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7254
7255 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7256 to pointer.
7257 * gdb.cp/call-c.cc: Likewise.
7258
7259 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7260
7261 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7262 annotation.
7263
7264 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7265 Pedro Alves <pedro@codesourcery.com>
7266
7267 * gdb.threads/execl.c, gdb.threads/execl1.c,
7268 gdb.threads/execl.exp: New tests.
7269
7270 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7271 Daniel Jacobowitz <dan@codesourcery.com>
7272
7273 * gdb.cp/exception.exp: Activate test, make it work with pending
7274 catchpoints.
7275
7276 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7277
7278 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7279
7280 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7281
7282 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7283 now printed.
7284 * gdb.mi/mi2-var-cmd.exp: Likewise.
7285
7286 2008-05-27 Andreas Schwab <schwab@suse.de>
7287
7288 * gdb.base/frame-args.exp: Handle arguments that are optimized
7289 out.
7290
7291 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7292
7293 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7294 quiet for ppc32 and group options into a single variable.
7295
7296 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7299 of zero-size elements.
7300 * gdb.ada/null_array.exp: Test printing this new array.
7301
7302 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7303
7304 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7305
7306 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7307
7308 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7309 of the "finish" command.
7310
7311 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7312
7313 * gdb.base/annota1.exp: Test for new annotation.
7314
7315 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7316
7317 * gdb.base/fixsection.exp: New file.
7318 * gdb.base/fixsection0.c: New file.
7319 * gdb.base/fixsection1.c: New file.
7320
7321 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7322
7323 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7324 * gdb.base/annota3.exp: Likewise.
7325
7326 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7327
7328 * gdb.base/watch_thread_num.exp: Don't run tests that require
7329 watchpoints if the target doesn't support them.
7330
7331 2008-05-12 Doug Evans <dje@google.com>
7332
7333 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7334
7335 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7336
7337 * gdb.ada/assign_1.exp: New testcase.
7338
7339 2008-05-09 Doug Evans <dje@google.com>
7340
7341 * gdb.base/find.exp: New file.
7342 * gdb.base/find.c: New file.
7343
7344 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7345
7346 * gdb.base/commands.exp (watchpoint_command_test): Handle
7347 gdb,no_hardware_watchpoints.
7348 * gdb.base/float.exp: Allow ARM targets without floating point.
7349 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7350
7351 2008-05-06 Jerome Guitton <guitton@adacore.com>
7352 Joel Brobecker <brobecker@adacore.com>
7353
7354 * gdb.ada/lang_switch: New test program.
7355 * gdb.ada/lang_switch.exp: New testcase.
7356
7357 2008-05-05 Doug Evans <dje@google.com>
7358
7359 * gdb.base/help.exp (disassemble): Update expected help text.
7360
7361 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7362
7363 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7364
7365 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7366
7367 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7368 different times.
7369
7370 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7371
7372 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7373 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7374 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7375 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7376
7377 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7378
7379 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7380 notification to appear.
7381
7382 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7383
7384 * gdb.base/fullname.c: New file.
7385 * gdb.base/fullname.exp: New file.
7386 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7387
7388 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7389
7390 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7391 expressions with macros.
7392
7393 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7394
7395 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7396
7397 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7398
7399 * gdb.base/completion.exp: Handle lack of other symbols beginning
7400 with "a".
7401
7402 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7403
7404 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7405
7406 * gdb.asm/asmsrc1.s: Add scratch space.
7407
7408 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7409 Daniel Jacobowitz <dan@codesourcery.com>
7410
7411 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7412 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7413 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7414
7415 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7416
7417 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7418
7419 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7420
7421 * gdb.base/info-target.exp: New testcase.
7422
7423 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7424
7425 * gdb.cp/hang.exp: Use .cc instead of .C.
7426 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7427 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7428
7429 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7430
7431 * gdb.base/gdb1250.exp: Remove perror.
7432 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7433
7434 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7435
7436 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7437 .2byte.
7438
7439 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7440
7441 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7442 (maybe_kfail): New.
7443
7444 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7445
7446 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7447
7448 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7449
7450 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7451 * gdb.mi/mi2-syn-frame.exp: Likewise.
7452 * lib/mi-support.exp: Likewise.
7453
7454 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7455
7456 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7457 to specify regexp for the location to stop at.
7458 * gdb.base/break-always.c: New.
7459 * gdb.base/break-always.exp: New.
7460
7461 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7462
7463 * lib/mi-support.exp (mi_runto_helper): Adjust
7464 for the original-location field.
7465 (mi_create_breakpoint, mi_list_breakpoints): New.
7466 * gdb.mi/mi-break.exp: Adjust.
7467 * gdb.mi/mi2-break.exp: Adjust.
7468 * gdb.mi/mi-pending.exp: Adjust.
7469 * gdb.mi/mi-simplerun.exp: Adjust.
7470 * gdb.mi/mi2-simplerun.exp: Adjust.
7471 * gdb.mi/mi-syn-frame.exp: Adjust.
7472 * gdb.mi/mi2-syn-frame.exp: Adjust.
7473 * gdb.mi/mi-until.exp: Adjust.
7474 * gdb.mi/mi2-until.exp: Adjust.
7475 * gdb.mi/mi-var-display.exp: Adjust.
7476 * gdb.mi/mi2-var-display.exp: Adjust.
7477 * gdb.mi/mi-watch.exp: Adjust.
7478 * gdb.mi/mi2-watch.exp: Adjust.
7479
7480 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7481
7482 * aclocal.m4: Add override.m4.
7483 * configure: Regenerate.
7484
7485 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7486
7487 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7488 '-var-update --all-values' reports new value even the type
7489 of a variable object has changed.
7490
7491 2008-04-18 Craig Silverstein <csilvers@google.com>
7492
7493 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7494 files.
7495
7496 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7497
7498 * gdb.ada/atomic_enum: New test program.
7499 * gdb.ada/atomic_enum.exp: New testcase.
7500
7501 2008-04-17 Doug Evans <dje@google.com>
7502
7503 * gdb.opt/Makefile.in: Fix whitespace.
7504
7505 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7506
7507 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7508
7509 2008-04-17 Doug Evans <dje@google.com>
7510
7511 * gdb.base/hashline1.exp: New testcase.
7512 * gdb.base/hashline2.exp: New testcase.
7513 * gdb.base/hashline2.exp: New testcase.
7514
7515 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7516
7517 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7518
7519 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7520
7521 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7522 temporary breakpoint to match "Temporary breakpoint".
7523 * gdb.base/break.exp (delete_breakpoints): Likewise.
7524 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7525 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7526 * gdb.base/display.exp: Likewise.
7527 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7528 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7529 * gdb.base/restore.exp (restore_tests): Likewise.
7530 * gdb.base/sepdebug.exp: Likewise.
7531 * gdb.base/watchpoint.exp: Likewise.
7532 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7533 * gdb.mi/mi-pending.exp: Likewise.
7534 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7535 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7536 * gdb.mi/mi-var-cmd.exp: Likewise.
7537 * gdb.mi/mi-var-display.exp: Likewise.
7538 * gdb.mi/mi2-cli.exp: Likewise.
7539 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7540 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7541 * gdb.mi/mi2-var-display.exp: Likewise.
7542 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7543 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7544 new "disp" field.
7545 (mi_expect_stop): Move after_reason argument to be really after
7546 reason. This is to support fix for PR2424.
7547
7548 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7549
7550 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7551
7552 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7553
7554 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7555 field. Add more floating varobj tests.
7556 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7557 field.
7558 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7559 (main): Call do_at_tests.
7560 * lib/mi-support.exp (mi_create_floating_varobj)
7561 (mi_varobj_update_with_type_change): New.
7562
7563 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7564
7565 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7566 option of -var-evaluate-expression.
7567 * gdb.mi/mi2-var-display.exp: Likewise.
7568
7569 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7570
7571 Introduce test setup helpers.
7572 * lib/gdb.exp (build_executable, clean_restart)
7573 (prepare_for_testing): New.
7574 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7575 * gdb.base/return.exp: Likewise.
7576 * gdb.base/ending-run.exp: Likewise.
7577
7578 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7579
7580 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7581 Interface (MI) responses.
7582
7583 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7584
7585 * gdb.cp/breakpoint.cc: New code to test conditions involving
7586 member variables.
7587 * gdb.cp/breakpoint.exp: Test condition involving member
7588 variables.
7589
7590 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7591
7592 * lib/mi-support.exp (mi_expect_stop): New.
7593 (mi_run_cmd): Change the
7594 token. Use mi_send_resuming_command, use
7595 mi_expect_stop.
7596 (mi_execute_to_helper): Rename to mi_execute_to.
7597 (mi_send_resuming_command): Add more error patterns.
7598 (mi_wait_for_stop): Renamed to...
7599 (mi_get_stop_line): ...this.
7600 (mi_run_inline_test): Adjust.
7601
7602 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7603 * gdb.mi/mi-console.exp: Likewise.
7604 * gdb.mi/mi-pending.exp: Likewise.
7605 * gdb.mi/mi-simplerun.exp: Likewise.
7606 * gdb.mi/mi-stack.exp: Likewise.
7607 * gdb.mi/mi-stepi.exp: Likewise.
7608 * gdb.mi/mi-syn-frame.exp: Add comment.
7609 * gdb.mi/mi-until.exp: Likewise.
7610 * gdb.mi/mi-var-display.exp: Likewise.
7611 * gdb.mi/mi-watch.exp: Likewise.
7612 * gdb.mi/mi2-cli.exp: Likewise.
7613 * gdb.mi/mi2-console.exp: Likewise.
7614 * gdb.mi/mi2-simplerun.exp: Likewise.
7615 * gdb.mi/mi2-stack.exp: Likewise.
7616 * gdb.mi/mi2-stepi.exp: Likewise.
7617 * gdb.mi/mi2-until.exp: Likewise.
7618 * gdb.mi/mi2-var-display.exp: Likewise.
7619 * gdb.mi/mi2-watch.exp: Likewise.
7620
7621 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7622
7623 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7624
7625 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7626
7627 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7628
7629 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7630 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7631 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7632 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7633 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7634 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7635 expect an mi error duplicated in stderr.
7636
7637 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7638
7639 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7640 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7641 Add a couple of tests that verify the behavior when the new setting
7642 is set to "cancel" and "all".
7643 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7644 "ask" before we start the testing.
7645
7646 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7647
7648 * gdb.cp/casts.cc: Add class reference variables.
7649 * gdb.cp/casts.exp: New test cases for up/down casting references.
7650
7651 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7652
7653 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7654 instead of beginning to make an extra test pass.
7655 * gdb.mi/mi2-var-display.exp: Likewise.
7656
7657 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7658
7659 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7660
7661 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7662 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7663
7664 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7665 value. Add xfail for older kernels.
7666
7667 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7668
7669 Bring mi-support in line with gdb.exp.
7670 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7671 (mi_gdb_start): New function.
7672
7673 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7674
7675 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7676
7677 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7678
7679 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7680 * gdb.mi/mi2-var-display.exp: Likewise.
7681
7682 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7683
7684 * lib/mi-support.exp (mi_create_varobj_checked): New.
7685 (mi_list_varobj_children): Allow to check for a
7686 value.
7687 (mi_list_array_varobj_children): New.
7688
7689 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7690 and mi_list_varobj_children, as opposed to hardcoding
7691 expected strings.
7692 * gdb.mi/gdb701.exp: Likewise.
7693 * gdb.mi/gdb792.exp: Likewise.
7694 * gdb.mi/mi-var-block.exp: Likewise.
7695 * gdb.mi/mi-var-cmd.exp: Likewise.
7696 * gdb.mi/mi-var-invalidate.exp: Likewise.
7697 * gdb.mi/mi2-var-block.exp: Likewise.
7698 * gdb.mi/mi2-var-child.exp: Likewise.
7699 * gdb.mi/mi2-var-cmd.exp: Likewise.
7700 * gdb.mi/mi2-var-display.exp: Likewise.
7701
7702 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7703
7704 Fix random false FAILs on i386.
7705 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7706
7707 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7708
7709 PR gdb/544
7710 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7711
7712 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7713
7714 PR gdb/544
7715 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7716
7717 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7718
7719 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7720 fixed PR gdb/544.
7721
7722 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7723
7724 * gdb.threads/fork-child-threads.exp: Test next over fork.
7725
7726 2008-03-21 Chris Demetriou <cgd@google.com>
7727
7728 * gdb.base/break.exp (rbreak junk): New test for rbreak
7729 "Junk at end of arguments" issue.
7730
7731 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7732
7733 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7734 *& to work on created array elements.
7735 (Top level): Test print $pc with a file. Test string operations
7736 without a target.
7737 * gdb.base/ptype.exp: Do not expect *& to work on created array
7738 elements.
7739
7740 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7741
7742 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7743 gdb.threads/staticthreads.exp: Update exit query.
7744
7745 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7746
7747 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7748
7749 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7750
7751 * gdb.base/watchpoint.c (global_ptr, func4): New.
7752 (main): Call func4.
7753 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7754 (test_inaccessible_watchpoint): New.
7755
7756 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7757
7758 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7759 select the largest.
7760
7761 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7762
7763 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7764 frames-invalid annotations.
7765
7766 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7767
7768 * gdb.base/assign.exp: avoid same output for different tests.
7769
7770 2008-02-27 Doug Evans <dje@google.com>
7771
7772 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7773 for bug 1738.
7774 (breakpoint_to_handler_entry): Ditto.
7775
7776 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7777
7778 * gdb.base/ending-run.exp: Use the first line of code inside
7779 function body to test breakpoints.
7780 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7781 location where the breakpoint is inserted when using the line
7782 where a function is declared. Fix typo in the description of
7783 one of the tests.
7784 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7785
7786 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7787
7788 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7789 tests.
7790
7791 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7792
7793 * gdb.base/args.exp: avoid same output for tests
7794 with single quotes.
7795
7796 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7797
7798 * gdb.base/annota1.exp: Adjust for 'info break'
7799 format changes.
7800 * gdb.base/annota3.exp: Likewise.
7801 * gdb.base/break.exp: Likewise.
7802 * gdb.base/condbreak.exp: Likewise.
7803 * gdb.base/pending.exp: Likewise.
7804 * gdb.base/sepdebug.exp: Likewise.
7805 * gdb.base/unload.exp: Likewise.
7806 * gdb.cp/ovldbreak.exp: Likewise.
7807 * gdb.mi/mi-pending.exp: Likewise.
7808
7809 2008-02-07 Doug Evans <dje@google.com>
7810
7811 * gdb.cp/mb-inline.exp: New.
7812 * gdb.cp/mb-inline.h: New.
7813 * gdb.cp/mb-inline1.cc: New.
7814 * gdb.cp/mb-inline2.cc: New.
7815
7816 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7817
7818 * gdb.pascal/floats.pas: New test program.
7819 * gdb.pascal/floats.exp: New testcase.
7820
7821 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7822
7823 * gdb.base/callfuncs.c (t_float_many_args): New function.
7824 (t_double_many_args): New function.
7825 * gdb.base/callfuncs.exp: Add tests for exceeding float
7826 and double parameters passed through the stack.
7827
7828 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7829
7830 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7831 gdb.ada/complete/foo.adb: New files.
7832 * gdb.ada/complete.exp: New testcase.
7833
7834 2008-02-03 Doug Evans <dje@google.com>
7835
7836 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7837
7838 * gdb.cp/gdb2384.exp: New file.
7839 * gdb.cp/gdb2384.cc: New file.
7840 * gdb.cp/gdb2384-base.h: New file.
7841 * gdb.cp/gdb2384-base.cc: New file.
7842
7843 2008-02-02 Doug Evans <dje@google.com>
7844
7845 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7846
7847 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7848
7849 * gdb.ada/sym_print_name: New test program.
7850 * gdb.ada/sym_print_name.exp: New testcase.
7851
7852 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7853
7854 * gdb.ada/nested/hello.adb: New file.
7855 * gdb.ada/nested.exp: New testcase.
7856 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7857
7858 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7859
7860 * gdb.mi/basic.c (return_1): New function.
7861 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7862 don't cause future evaluations of function to report
7863 creation of internal breakpoints.
7864
7865 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7866
7867 * gdb.mi/mi-break.exp (test_error): New.
7868 Call it.
7869
7870 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7871
7872 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7873 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7874
7875 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7876
7877 * gdb.pascal/integers.pas: New test program.
7878 * gdb.pascal/integers.exp: New testcase.
7879
7880 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7881
7882 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7883
7884 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7885
7886 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7887 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7888
7889 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7890
7891 * gdb.ada/formatted_ref: New test program.
7892 * gdb.ada/formatted_ref.exp: New testcase.
7893
7894 * gdb.cp/formatted-ref.cc: New file.
7895 * gdb.cp/formatted-ref.exp: New testcase.
7896
7897 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7898
7899 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7900
7901 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7902
7903 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7904 (test_file_list_exec_source_file): Update to new macro-info field.
7905
7906 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7907
7908 * gdb.ada/exprs: New test program.
7909 * gdb.ada/exprs.exp: New testcase.
7910
7911 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7912
7913 * dfp-test.c (DELTA, DELTA_B): New definitions.
7914 (double_val1, double_val2, double_val3, double_val4, double_val5,
7915 double_val6, double_val7, double_val8, double_val9, double_val10,
7916 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7917 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7918 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7919 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7920 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7921 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7922 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7923 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7924 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7925 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7926 dec128_val16): New global variables.
7927 (decimal_dec128_align): New function.
7928 (decimal_mixed): Likewise.
7929 (decimal_many_args_dec32): Likewise.
7930 (decimal_many_args_dec64): Likewise.
7931 (decimal_many_args_dec128): Likewise.
7932 (decimal_many_args_mixed): Likewise.
7933 * dfp-test.exp: Add tests calling new inferior functions.
7934
7935 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7936
7937 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7938 gdb.server/ext-run.exp: New files.
7939 * lib/gdbserver-support.exp (gdbserver_download): New.
7940 (gdbserver_start): New. Update gdbserver expected
7941 output.
7942 (gdbserver_spawn): Use them.
7943 (gdbserver_start_extended): New.
7944
7945 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7946
7947 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7948 Run on GNU/Linux.
7949 (do_exec_tests): Check for systems which do not support catchpoints.
7950 Do not match START.
7951 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7952 Run on GNU/Linux. Enable verbose output.
7953 (check_fork_catchpoints): New.
7954 (explicit_fork_child_follow, catch_fork_child_follow)
7955 (tcatch_fork_parent_follow): Update expected messages.
7956 (do_fork_tests): Use check_fork_catchpoints.
7957 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7958 Run on GNU/Linux. Enable verbose output.
7959 (check_vfork_catchpoints): New.
7960 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7961 expected messages.
7962 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7963
7964 2008-01-29 Jim Blandy <jimb@red-bean.com>
7965
7966 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7967 host' errors.
7968 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7969
7970 2008-01-29 Jim Blandy <jimb@red-bean.com>
7971
7972 * gdb.threads/sigthread.c: Use barriers to ensure that
7973 child_thread and child_thread_two are always initialized before we
7974 start to use them.
7975
7976 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7977
7978 * gdb.base/watchpoint-solib.exp: New.
7979 * gdb.base/watchpoint-solib.c: New.
7980 * gdb.base/watchpoint-solib-shr.c: New.
7981
7982 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7983
7984 * gdb.base/gdb1056.exp: Add unsigned integer test.
7985
7986 2008-01-28 Doug Evans <dje@google.com>
7987
7988 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7989
7990 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7991
7992 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7993
7994 * gdb.base/expand-psymtabs.exp: Doc fix.
7995
7996 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7997
7998 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7999
8000 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8001
8002 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8003 -var-set-format.
8004
8005 2008-01-23 Chris Demetriou <cgd@google.com>
8006
8007 * gdb.threads/thread_events.c: New testcase source file.
8008 * gdb.threads/thread_events.exp: New testcase expect file.
8009
8010 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8011
8012 * lib/gdb.exp: Add the variable octal.
8013
8014 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8015 -var-set-format.
8016
8017 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8018 Vladimir Prus <vladimir@codesourcery.com>
8019
8020 * gdb.base/float.exp: Allow missing floating point for m68k and
8021 PowerPC.
8022
8023 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8024
8025 * gdb.mi/basics.c: Setup for testing breakpoints
8026 ignore count.
8027 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8028 * gdb.mi/mi-cli.exp: Adjust.
8029 * gdb.mi/mi2-cli.exp: Adjust.
8030
8031 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8032
8033 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8034 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8035 with dummy_ptr's address.
8036 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8037 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8038 all targets.
8039 * gdb.mi/mi2-var-child.exp: Likewise.
8040
8041 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8042
8043 * gdb.ada/null_array: New test program.
8044 * gdb.ada/null_array.exp: New testcase.
8045
8046 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8047
8048 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8049 with required float modifiers.
8050
8051 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8052
8053 * gdb.ada/funcall_param: New test program.
8054 * gdb.ada/funcall_param.exp: New testcase.
8055
8056 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8057
8058 * gdb.ada/arrayparam: New test program.
8059 * gdb.ada/arrayparam.exp: New testcase.
8060
8061 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8062
8063 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8064 landed. Should also fix random failures in the test following it.
8065
8066 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8067
8068 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8069 for expressions with decimal float values.
8070 (test_dfp_conversions): New function to test casts to and from
8071 decimal float types.
8072 Call test_dfp_conversions.
8073 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8074 elements.
8075 (main): Initialize ds.float4 and ds.double8 elements.
8076 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8077 string to new error message.
8078 (d64_set_tests): Likewise.
8079 (d128_set_tests): Likewise.
8080 Add tests for expressions with decimal float variables. Add tests for
8081 conversions to and from decimal float types.
8082
8083 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8084
8085 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8086 * gdb.ada/packed_tagged.exp: New testcase.
8087
8088 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8089
8090 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8091 gdb.ada/homonym/homonym_main.adb: New files.
8092 * gdb.ada/homonym.exp: New testcase.
8093
8094 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/packed_array.exp: Add testing of references to
8097 a packed array.
8098
8099 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8100
8101 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8102 New files.
8103 * gdb.ada/type_coercion.exp: New testcase.
8104
8105 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8106
8107 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8108 gdb.ada/tagged/foo.adb: New file.
8109 * gdb.ada/tagged.exp: New testcase.
8110
8111 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8112
8113 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8114 gdb.ada/ptype_field/foo.adb: New files.
8115 * gdb.ada/ptype_field.exp: New testcase.
8116
8117 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8118
8119 * gdb.ada/print_pc.exp: New testcase.
8120
8121 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8122
8123 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8124 gdb.ada/taft_type/p.adb: New files.
8125 * gdb.ada/taft_type.exp: New testcase.
8126
8127 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8128
8129 * gdb.ada/array_bounds/bar.adb: New file.
8130 * gdb.ada/array_bounds.exp: New testcase.
8131
8132 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8133
8134 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8135 gdb.ada/arrayptr/foo.adb: New files.
8136 * gdb.ada/arrayptr.exp: New testcase.
8137
8138 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8139
8140 * gdb.base/set-lang-auto.exp: New testcase.
8141
8142 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8143
8144 * gdb.ada/fun_addr/foo.adb: New file.
8145 * gdb.ada/fun_addr.exp: New testcase.
8146
8147 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8148
8149 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8150 New files
8151
8152 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8153
8154 * array_subscript_addr/p.adb: New file.
8155 * array_subscript_addr.exp: New testcase.
8156
8157 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8158
8159 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8160 New files.
8161 * gdb.ada/str_cmp_ref.exp: New testcase.
8162
8163 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8164
8165 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8166 gdb.ada/fun_in_declare/foo.adb: New files.
8167 * gdb.ada/fun_in_declare.exp: New testcase.
8168
8169 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8170
8171 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8172 gdb.ada/ref_param/pck.ads: New files.
8173 * gdb.ada/ref_param.exp: New testcase.
8174
8175 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8176
8177 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8178 gdb.ada/interface/foo.adb: New files.
8179 * gdb.ada/interface.exp: New testcase.
8180
8181 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8182
8183 * gdb.base/multi-forks.exp: Consume all output from child
8184 processes before proceeding to next test.
8185
8186 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8187
8188 * configure: Regenerated.
8189
8190 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8191
8192 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8193 gdb.ada/fixed_cmp/fixed.adb: New files.
8194 * gdb.ada/fixed_cmp.exp: New testcase.
8195
8196 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8197
8198 * gdb.ada/boolean_expr.exp: New testcase.
8199
8200 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8201
8202 * gdb.base/multi-forks.exp: Doc fix.
8203
8204 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8205
8206 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8207 * gdb.ada/char_param.exp: Do not compile our test program with
8208 -gnata, this is unnecessary.
8209 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8210
8211 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8212
8213 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8214 gdb.ada/print_chars/foo.adb: New files.
8215 * gdb.ada/print_chars.exp: New testcase.
8216
8217 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8218
8219 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8220 gdb.ada/char_param/foo.adb: New files.
8221 * gdb.ada/char_param.exp: New testcase.
8222
8223 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8224
8225 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8226 hard-coding source line numbers into the test.
8227 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8228 gdb_get_line_number to find.
8229
8230 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8231
8232 * gdb.base/ptype.c (highest): New struct type.
8233 (the_highest): New variable of that type.
8234 (main): Add dummy assignment to a field of variable the_highest.
8235 * gdb.base/ptype.exp: Test type printing of our new variable.
8236
8237 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8238
8239 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8240 and record first explicitly generated thread number.
8241 Use that thread number for thread specific watchpoint test.
8242 Add iteration number to repetitive tests.
8243
8244 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8245 Jim Blandy <jimb@codesourcery.com>
8246
8247 * gdb.base/expand-psymtabs.c: New testcase
8248 source file.
8249 * gdb.base/expand-psymtabs.exp: New testcase
8250 expect file.
8251
8252 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8253
8254 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8255 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8256
8257 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8258
8259 * gdb.ada/frame_args/foo.adb: New file.
8260 * gdb.ada/frame_args/pck.ads: New file.
8261 * gdb.ada/frame_args/pck.adb: New file.
8262 * gdb.ada/frame_args.exp: New testcase.
8263
8264 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8265
8266 * gdb.base/frame-args.c: New file.
8267 * gdb.base/frame-args.exp: New testcase.
8268
8269 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8270 Joseph Myers <joseph@codesourcery.com>
8271
8272 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8273
8274 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8275
8276 * gdb.mi/mi-pending.exp: New.
8277 * gdb.mi/mi-pending.c: New.
8278 * gdb.mi/mi-pendshr.c: New.
8279
8280 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8281
8282 * gdb.base/default.exp: Update expected output for 'info catch'.
8283
8284 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8285
8286 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8287 must be set to binary.
8288
8289 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8290
8291 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8292
8293 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8294
8295 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8296 gdb.mi/mi-file-transfer.exp: New.
8297
8298 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8299
8300 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8301
8302 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8303
8304 * gdb.trace/backtrace.exp: Fix a typo.
8305 * gdb.trace/circ.exp: Likewise.
8306 * gdb.trace/collection.exp: Likewise.
8307 * gdb.trace/limits.exp: Likewise.
8308 * gdb.trace/report.exp: Likewise.
8309 * gdb.trace/tfind.exp: Likewise.
8310 * gdb.trace/while-dyn.exp: Likewise.
8311
8312 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8313
8314 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8315 objects of pointers that can't be dereferenced are now
8316 "noneditable".
8317
8318 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8319
8320 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8321 (target_cpu): Remove.
8322
8323 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8324
8325 * gdb.base/ending-run.exp: Expect the list of cleared
8326 breakpoint to come in natural order, not the reversed one.
8327
8328 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8329
8330 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8331 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8332
8333 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8334
8335 * gdb.base/printcmds.exp: New function
8336 test_printf_with_dfp.
8337
8338 2007-11-02 Doug Evans <dje@google.com>
8339
8340 * gdb.disasm/t01_mov.s: Remove carriage returns.
8341 * gdb.disasm/t02_mova.s: Ditto.
8342 * gdb.disasm/t03_add.s: Ditto.
8343 * gdb.disasm/t04_sub.s: Ditto.
8344 * gdb.disasm/t05_cmp.s: Ditto.
8345 * gdb.disasm/t06_ari2.s: Ditto.
8346 * gdb.disasm/t07_ari3.s: Ditto.
8347 * gdb.disasm/t08_or.s: Ditto.
8348 * gdb.disasm/t09_xor.s: Ditto.
8349 * gdb.disasm/t10_and.s: Ditto.
8350 * gdb.disasm/t11_logs.s: Ditto.
8351 * gdb.disasm/t12_bit.s: Ditto.
8352 * gdb.disasm/t13_otr.s: Ditto.
8353
8354 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8355
8356 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8357
8358 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8359
8360 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8361 provide DFP support.
8362
8363 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8364
8365 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8366 Test "set powerpc vector-abi". Skip auto-detection tests for old
8367 toolchains.
8368
8369 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8370
8371 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8372 with [string compare].
8373
8374 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8375
8376 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8377 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8378
8379 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8380
8381 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8382 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8383 * gdb.opt/Makefile.in: New makefile.
8384 * Makefile.in: Create new directory "gdb.opt".
8385 * configure.ac: Add "gdb.opt" directory.
8386 * configure: Regenerated.
8387
8388 2007-10-25 Doug Evans <dje@google.com>
8389
8390 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8391 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8392
8393 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8394 Thiago Jung Bauermann <bauerman@br.ibm.com>
8395
8396 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8397 Floating Point expressions.
8398 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8399 Floating Point variables.
8400 * gdb.base/dfp-test.c: new file containing program with Decimal
8401 Floating variables, used by gdb.base/dfp-test.exp.
8402
8403 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8404
8405 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8406
8407 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8408
8409 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8410 compiling test case with GCC.
8411 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8412
8413 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8414
8415 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8416 format changes.
8417
8418 2007-10-18 Michael Snyder <msnyder@specifix.com>
8419
8420 * gdb.base/dbx.exp: Add missing "-re " operator.
8421
8422 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8423
8424 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8425 * configure.ac: Removed trailing spaces after backslash.
8426 * gdb.modula2: New directory.
8427 * gdb.modula2/Makefile.in: New file.
8428 * gdb.modula2/unbounded-array.exp: New file.
8429 * gdb.modula2/unbounded1.c: New file.
8430
8431 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8432
8433 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8434
8435 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8436
8437 * gdb.base/sigstep.c (main): Add checks for
8438 return values for setitimer call.
8439 Call setitimer again with itimer = ITIMER_REAL
8440 if first call to setitimer fails.
8441
8442 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8443
8444 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8445 of $timeout.
8446
8447 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8448
8449 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8450
8451 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8452
8453 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8454 of gdb_expect call, to avoid interruption.
8455
8456 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8457
8458 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8459 (v_unsigned_long_long, v_long_long_array)
8460 (v_signed_long_long_array, v_unsigned_long_long_array)
8461 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8462 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8463 [!NO_LONG_LONG]: New.
8464 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8465 v_long_long_member.
8466
8467 (v_long_long_func, v_signed_long_long_func)
8468 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8469 (main) [!NO_LONG_LONG]: Initialize long long variants.
8470
8471 * gdb.base/whatis.exp: If board file requests no_long_long, build
8472 test with NO_LONG_LONG defined. Test long long, signed long long,
8473 and unsigned long long variants but only if board file doesn't
8474 disable it.
8475
8476 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8477 Daniel Jacobowitz <dan@codesourcery.com>
8478
8479 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8480 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8481 * configure: Regenerated.
8482 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8483 gdb.pascal/types.exp, lib/pascal.exp: New files.
8484
8485 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8486
8487 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8488 call.
8489 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8490 to return to the call.
8491 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8492 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8493 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8494 * gdb.mi/mi-until.exp (test_until): Likewise.
8495 * gdb.mi/mi2-until.exp (test_until): Likewise.
8496
8497 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8498
8499 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8500 two-char array.
8501 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8502
8503 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8504
8505 * gdb.threads/watchthreads.c (thread_function): Sleep between
8506 iterations.
8507 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8508 at once for S/390. Generate matching fails and passes.
8509
8510 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8511
8512 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8513 the 'struct_declarations' variable to zeros.
8514
8515 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8516
8517 * gdb.cp/mb-ctor.cc: New.
8518 * gdb.cp/mb-ctor.exp: New.
8519 * gdb.cp/mb-templates.cc: New.
8520 * gdb.cp/mb-templates.exp: New.
8521
8522 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8523
8524 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8525
8526 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8527
8528 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8529 targets.
8530 * configure: Regenerate.
8531
8532 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8533
8534 * gdb.base/annota1.exp: Adjust for 'info break'
8535 format changes.
8536 * gdb.base/annota3.exp: Likewise.
8537 * gdb.base/break.exp: Likewise.
8538 * gdb.base/condbreak.exp: Likewise.
8539 * gdb.base/pending.exp: Likewise.
8540 * gdb.base/sepdebug.exp: Likewise.
8541 * gdb.base/unload.exp: Likewise.
8542 * gdb.base/ovldbreak.exp: Likewise.
8543
8544 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8545
8546 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8547 messages.
8548 * gdb.base/chng-syms.exp: Likewise.
8549 * gdb.base/unload.exp: Likewise.
8550
8551 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8552
8553 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8554
8555 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8556
8557 * schedlock.c (NUM): Change to 1.
8558 (main): Use args[0] for the main thread.
8559 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8560 regardless of the number of threads.
8561
8562 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8563
8564 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8565 type down.
8566 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8567 test.
8568 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8569 watchpoint type down.
8570 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8571 test.
8572
8573 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8574
8575 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8576 Move all the tests here and run them twice, once using software
8577 watchpoints and once using hardware watchpoints.
8578 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8579
8580 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8581
8582 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8583 test.
8584
8585 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8586
8587 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8588 build-id.
8589
8590 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8591 know about $ORIGIN. Calculate output dir from $dest instead of
8592 using ${objdir}/{$subdir}.
8593
8594 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8595
8596 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8597 gcore, before continuing with the test.
8598
8599 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8600
8601 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8602 * gdb.mi/mi-watch.exp: Likewise.
8603
8604 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8605 Jim Blandy <jimb@codesourcery.com>
8606
8607 * gdb.arch/i386-sse.exp: Do not expect character constants.
8608 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8609 * gdb.base/display.exp: Allow print/s.
8610 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8611 and unsigned char array changes.
8612
8613 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8614
8615 * gdb.base/display.exp: Add tests for printf %p.
8616
8617 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8618
8619 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8620 the dll name to unicode.
8621
8622 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8623
8624 * gdb.base/default.exp (show version): Update the version text.
8625 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8626
8627 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8628
8629 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8630 New files.
8631
8632 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8633
8634 * lib/gdb.exp (build_id_debug_filename_get): New function.
8635 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8636 Remove the generate DEBUG file for the future testcase runs.
8637 New testcase for the NT_GNU_BUILD_ID retrieval.
8638 Move the final testing step to ...
8639 (test_different_dir): ... a new function.
8640 New parameter XFAIL to XFAIL all the tests performed.
8641 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8642 New parameter TYPE to PF_PREFIX all the tests performed.
8643
8644 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8645
8646 * gdb.mi/mi-var-cp.cc (path_expression): New
8647 function.
8648 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8649
8650 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8651
8652 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8653 to fit into SPU Local Store memory.
8654
8655 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8656
8657 * gdb.base/default.exp: Adjust the expected output of "info
8658 warranty" after the switch to GPLv3.
8659
8660 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8661
8662 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8663 to 30000 (from 20000).
8664
8665 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8666
8667 Switch the license of all .exp files to GPLv3.
8668 Switch the license of all .f and .f90 files to GPLv3.
8669 Switch the license of all .s and .S files to GPLv3.
8670
8671 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8672
8673 * configure.ac: Switch license to GPLv3.
8674
8675 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8676
8677 Switch the licensing to GPLv3 for all .ads and .adb files.
8678
8679 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8680
8681 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8682 and t_int_double.
8683 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8684
8685 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8686
8687 * gdb.base/step-line.c: Switch license to GPL version 3, and
8688 update copyright year.
8689 * gdb.base/step-line.inp: Likewise.
8690
8691 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8692
8693 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8694 changes inside gdb1555.c.
8695 * gdb.base/pending.exp: Likewise.
8696
8697 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8698
8699 * config/default.exp: New file.
8700
8701 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8702
8703 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8704 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8705
8706 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8707
8708 * gdb.base/dump.exp: Force the correct endianness for binary
8709 formats not carrying this information.
8710
8711 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8712
8713 * gdb.threads/staticthreads.exp: Match .*sem_post.
8714
8715 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8716
8717 * gdb.base/readline.exp (operate_and_get_next): Match the final
8718 prompt.
8719
8720 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8721
8722 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8723 to restarting SID.
8724
8725 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8726
8727 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8728 prior to `gdb_start'.
8729
8730 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8731
8732 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8733 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8734 Remove call to gdb_unload.
8735
8736 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8737 Daniel Jacobowitz <dan@codesourcery.com>
8738
8739 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8740 for __WIN32__.
8741 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8742 * gdb.base/unload.exp: Use shared library test routines.
8743
8744 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8745
8746 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8747 * gdb.base/solib-symbol-lib.c: Likewise.
8748 * gdb.base/solib-symbol-main.c: Likewise.
8749
8750 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8751
8752 * config/gdbserver.exp (gdb_reconnect): New.
8753 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8754 gdb.base/solib-disc.exp: New files.
8755 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8756 remote debugging".
8757 (gdb_compile): Add shlib_load flag.
8758 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8759 port.
8760 (gdbserver_reconnect): New.
8761
8762 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8763 Daniel Jacobowitz <dan@codesourcery.com>
8764
8765 * gdb.base/annota3.exp: Test for if construct.
8766
8767 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8768
8769 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8770
8771 2007-06-21 Chris Dearman <chris@mips.com>
8772 Maciej W. Rozycki <macro@mips.com>
8773
8774 * gdb.base/display.exp: Allow a newline after display/i.
8775 * gdb.base/pc-fp.exp: Likewise.
8776 * gdb.base/sigbpt.exp: Likewise.
8777
8778 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8779
8780 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8781 required features to be included.
8782
8783 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8784
8785 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8786 in info threads output.
8787
8788 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8789 Markus Deuling <deuling@de.ibm.com>
8790
8791 * gdb.arch/spu-info.exp: New testcase.
8792 * gdb.arch/spu-info.c: New file.
8793
8794 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8795
8796 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8797 tpcs_offset. Restore lr after the call.
8798 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8799
8800 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8801
8802 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8803 (gdbserver_run): Kill any running gdbserver.
8804 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8805
8806 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8807
8808 * gdb.base/sigbpt.exp: Preset segv_addr.
8809
8810 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8811
8812 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8813 (gdb_compile_shlib): Likewise.
8814 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8815 (default_gdb_init): Clear cleanfiles.
8816 (gdb_finish): Delete recorded cleanfiles.
8817 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8818
8819 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8820 Do not use isnative.
8821 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8822 gdb.base/so-impl-ld.exp: Likewise.
8823 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8824 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8825 gdb_compile.
8826
8827 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8828
8829 * config/unknown.exp: Remove.
8830
8831 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8832
8833 * gdb.base/info-proc.exp: Check is_remote.
8834
8835 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8836
8837 * gdb.base/gcore.exp: Initialize variable core_supported.
8838
8839 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8840
8841 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8842
8843 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8844
8845 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8846 * gdb.threads/print-threads.exp (test_all_threads): Allow
8847 negative and hexadecimal thread IDs.
8848
8849 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8850
8851 * gdb.java/jprint.java (public): Avoid invalid call to static
8852 method.
8853
8854 2007-05-14 Denis Pilat <denis.pilat@st.com>
8855
8856 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8857 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8858 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8859 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8860 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8861
8862 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8863
8864 * gdb.base/overlays.exp: Add support for targets with only code
8865 overlay support, not data overlay. Support spu-*-* target in
8866 this mode.
8867 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8868 * gdb.base/spu.ld: New file.
8869
8870 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8871
8872 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8873
8874 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8875
8876 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8877
8878 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8879
8880 * gdb.java/jmain.exp: Handle demangled names with and without method
8881 signatures.
8882
8883 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8884
8885 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8886 (have_a_very_merry_interrupt): Remove calls to puts.
8887 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8888 inferior output.
8889 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8890 test names.
8891
8892 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8893 Daniel Jacobowitz <dan@codesourcery.com>
8894
8895 * gdb.base/auxv.exp (core_works): Also check is_remote.
8896 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8897
8898 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8899
8900 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8901 message, not the undefined 'module' variable.
8902 * gdb.base/siginfo.exp: Likewise.
8903 * gdb.base/sigstep.exp: Likewise.
8904 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8905 serialport.
8906 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8907
8908 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8909
8910 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8911 target sim fails. Return 0 otherwise.
8912 (gdb_load): Return prematurely if gdb_target_sim fails.
8913
8914 2007-04-16 Denis Pilat <denis.pilat@st.com>
8915
8916 * gdb.base/setshow.exp: Reset height after having set it to 100.
8917
8918 2007-04-16 Denis Pilat <denis.pilat@st.com>
8919
8920 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8921
8922 2007-04-16 Denis Pilat <denis.pilat@st.com>
8923
8924 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8925
8926 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8927
8928 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8929 tests. Run the frozen varobjs test.
8930 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8931 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8932
8933 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8934
8935 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8936 gdb.base/type-opaque.exp: New files.
8937
8938 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8939
8940 * gdb.mi/mi-var-child.c
8941 (do_children_tests): User char[2] instead of
8942 char so that automatic printing of pointers to char
8943 don't give unpredicable result.
8944 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8945 local variables.
8946 * gdb.mi/mi-var-child.exp: Step to right line
8947 of do_children_tests.
8948 * gdb.mi/mi2-var-child.exp: Likewise.
8949 * gdb.mi/mi-var-cmd.exp: Step to right line of
8950 do_locals_tests.
8951 (do_children_tests): User char[2] instead of
8952 char so that automatic printing of pointers to char
8953 don't give unpredicable result.
8954 * gdb.mi/mi2-var-cmd.exp: Likewise.
8955 * lib/mi-support.exp (mi_continue_to_line):
8956 Pass test name to mi_wait_for_stop.
8957
8958 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8959
8960 * gdb.asm/asm-source.exp: Remove d10v case.
8961 * lib/gdb.exp (skip_cplus_tests): Likewise.
8962 * gdb.asm/d10v.inc: Deleted.
8963
8964 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8965
8966 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8967
8968 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8969
8970 * config/netware.exp: Delete file.
8971
8972 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.dwarf2/dw2-noloc.S: New file.
8975 * gdb.dwarf2/dw2-noloc.exp: New file.
8976
8977 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8978
8979 * gdb.cp/method2.cc: New test.
8980 * gdb.cp/method2.exp: New test.
8981 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8982
8983 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8984
8985 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8986
8987 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8988
8989 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8990
8991 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8992
8993 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8994 (gdb_load): Delete, replace with...
8995 (gdb_reload): ...this.
8996 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8997 * gdb.server/server-mon.exp: Likewise.
8998 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8999 (gdb_start_cmd): New.
9000 (gdb_file_cmd): Save the last loaded file.
9001 (gdb_reload): New.
9002 (gdb_gnu_strip_debug): Use transform.
9003 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9004 support here. Use new $last_loaded_file. Check mtime.
9005 (gdb_target_cmd): Handle ObjC failure case.
9006 (infer_host_exec): Delete.
9007 (gdbserver_load): Rename to...
9008 (gdbserver_run): ...this. Simplify.
9009 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9010 (mi_gdb_load): Move most contents to a new function...
9011 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9012 (mi_run_cmd): Use mi_gdb_target_load.
9013 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9014 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9015 Use gdb_run_cmd.
9016 * gdb.base/charsign.exp: Remove incorrect comment.
9017 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9018 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9019 gdb.base/start.exp: Use gdb_start_cmd.
9020
9021 2007-03-23 Nigel Stephens <nigel@mips.com>
9022 Maciej W. Rozycki <macro@mips.com>
9023
9024 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9025 * gdb.base/signull.exp: Similarly.
9026
9027 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9028
9029 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9030 messages available to test cases (like chng-sym.exp).
9031
9032 2007-03-14 Andreas Schwab <schwab@suse.de>
9033
9034 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9035 format changes.
9036
9037 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9038
9039 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9040 (optimized_1): New.
9041 (main): Call optimized_1.
9042 (gdb2029): Correct typos. Call gdb2029_marker.
9043 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9044 for gdb2029.
9045
9046 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9047
9048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9049 as tabs. Remove redundant test pattern.
9050
9051 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9052
9053 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9054 for /a format output.
9055
9056 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9057
9058 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9059 collect output incrementally.
9060
9061 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9062
9063 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9064 for -var-create lpcharacter test.
9065 * gdb.mi/mi2-var-cmd.exp: Likewise.
9066
9067 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9068
9069 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9070 pass on targets where address zero is readable.
9071
9072 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9073
9074 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9075 just a single architecture.
9076
9077 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9078
9079 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9080 (fetch_all_registers): New function, uses gdb_test_multiple and
9081 exp_continue to fetch inferior output line-by-line.
9082 Replace all uses of do_get_all_registers by fetch_all_registers.
9083
9084 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9085
9086 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9087 in target_info.
9088
9089 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9090
9091 * gdb.threads/manythreads.exp: Use $message string for
9092 consistancy; add a default (timeout) case.
9093
9094 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9095
9096 * gdb.base/watchpoint.exp: Fix truncated comment.
9097
9098 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9099
9100 * Makefile.in: Remove spurious single-quotes from sed command.
9101
9102 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9103
9104 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9105 func.
9106 * gdb.mi/mi2-var-cmd.exp: Likewise.
9107
9108 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9109
9110 * gdb.dwarf2/dw2-producer.S: New file.
9111 * gdb.dwarf2/dw2-producer.exp: New testcase.
9112
9113 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9114
9115 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9116 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9117 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9118 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9119 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9120 Revert tests to use mi_gdb_test and include value field in output
9121 of -var-create.
9122
9123 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9124
9125 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9126
9127 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9128
9129 * gdb.base/maint.exp: Remove full paths from test names.
9130 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9131 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9132
9133 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9134
9135 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9136
9137 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9138
9139 * gdb.server/server-mon.exp: New test.
9140
9141 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9142
9143 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9144
9145 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9146
9147 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9148 register capitalization.
9149
9150 2007-02-13 Denis Pilat <denis.pilat@st.com>
9151
9152 * gdb.mi/mi-var-invalidate.exp: New file.
9153
9154 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9155
9156 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9157
9158 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9159
9160 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9161
9162 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9163
9164 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9165 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9166
9167 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9168
9169 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9170 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9171 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9172 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9173 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9174 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9175 Update tests to include value field in output of -var-create.
9176
9177 2007-02-08 Andreas Schwab <schwab@suse.de>
9178
9179 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9180
9181 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9182
9183 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9184 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9185
9186 2007-02-02 Denis Pilat <denis.pilat@st.com>
9187
9188 * gdb.threads/threadapply.exp: check that frame is not changed by
9189 the thread apply all command.
9190
9191 2007-01-31 Andreas Schwab <schwab@suse.de>
9192
9193 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9194
9195 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9196 in the dwarf sections.
9197 * gdb.dwarf2/mac-fileno.S: Likewise.
9198
9199 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9200 bspstore register on ia64.
9201
9202 2007-01-29 Andreas Schwab <schwab@suse.de>
9203
9204 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9205 "frame-begin" annotation.
9206
9207 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9208 number of "frames-invalid" annotations.
9209
9210 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9211
9212 * gdb.base/commands.exp: Call if_commands_test.
9213 (gdb_test_no_prompt, if_commands_test): New.
9214
9215 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9216
9217 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9218
9219 2007-01-27 Andreas Schwab <schwab@suse.de>
9220
9221 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9222 .short/.int/.quad in the dwarf sections.
9223 * gdb.dwarf2/dw2-intercu.S: Likewise.
9224 * gdb.dwarf2/dw2-intermix.S: Likewise.
9225
9226 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9227
9228 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9229 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9230 array.
9231 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9232 * gdb.base/setvar.exp: Likewise.
9233
9234 2007-01-26 Andreas Schwab <schwab@suse.de>
9235
9236 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9237 test.
9238
9239 * gdb.base/multi-forks.exp ("restart $i"): Also match
9240 __kernel_syscall_via_break.
9241
9242 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9243
9244 * lib/mi-support.exp (mi_delete_varobj): New.
9245 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9246 testcase.
9247 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9248 (main): Call the above.
9249 (reference_update_test, base_in_reference_test)
9250 (reference_to_pointer): Delete the created varobjs.
9251
9252 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9253
9254 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9255 * configure: Regenerated.
9256 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9257 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9258 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9259 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9260 * lib/gdb.exp (gdb_skip_xml_test): New function.
9261
9262 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9263
9264 * gdb.base/sigrepeat.exp: Correct error message.
9265
9266 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9267 Daniel Jacobowitz <dan@codesourcery.com>
9268
9269 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9270 gdb.arch/i386-gnu-cfi-asm.S: New files.
9271
9272 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 * lib/gdb.exp: Abort on missing `site.exp'.
9275
9276 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9277 Daniel Jacobowitz <dan@codesourcery.com>
9278
9279 * gdb.base/included.c, gdb.base/included.exp,
9280 gdb.base/included.h: New files.
9281
9282 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9283
9284 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9285 (maximize_rlimit): Reduce limits on 64-bit systems.
9286
9287 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9288
9289 From Marcus Deuling <deuling@de.ibm.com>:
9290 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9291 every case.
9292
9293 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9294
9295 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9296 (test_path_specification): Use objdir instead of srcdir to always
9297 get an absolute filename.
9298
9299 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9300
9301 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9302
9303 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9304
9305 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9306 Make sure the variable we're using is in scope.
9307 (reference_to_pointer): Likewise.
9308
9309 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9310
9311 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9312 has no debug information.
9313
9314 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9315
9316 * gdb.base/annota1.exp: Remove extra send_gdb.
9317
9318 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9319
9320 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9321
9322 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9323
9324 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9325
9326 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9327 Daniel Jacobowitz <dan@codesourcery.com>
9328
9329 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9330 lcharacter or linteger change. Correct duplicated test name.
9331 * gdb.mi/mi2-var-cmd.exp: Likewise.
9332
9333 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9334
9335 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9336
9337 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9338
9339 * gdb.base/nofield.c: New file.
9340 * gdb.base/nofield.exp: New testcase.
9341
9342 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9343
9344 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9345
9346 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9347 test.
9348
9349 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9350
9351 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9352
9353 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9354
9355 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9356 when continuing.
9357
9358 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9359
9360 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9361 Expect ".exe" extension.
9362
9363 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9364
9365 * gdb.base/charset.exp: Add explicit filename to break.
9366 * gdb.base/dbx.exp: Add explicit filename to breaks.
9367
9368 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9369
9370 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9371 * gdb.mi/mi2-file.exp: Likewise.
9372
9373 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9374
9375 Implement specification of MI tests as comments
9376 in C and C++ sources.
9377 * lib/mi-support.exp (mi_autotest_data): New variable.
9378 (mi_autotest_source): New variable.
9379 (count_newlines, mi_prepare_inline_tests)
9380 (mi_get_inline_test, mi_continue_to_line)
9381 (mi_run_inline_test, mi_tbreak)
9382 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9383 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9384 Run inline tests.
9385 * gdb.mi/mi-var-cp.cc: Define tests here.
9386
9387 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9388
9389 Simplify usage of mi_continue_to.
9390 * lib/mi-support.exp (mi_runto_helper): Renamed
9391 from mi_runto, added new parameter 'run_or_continue'.
9392 (mi_runto): Use mi_runto_helper.
9393 (mi_continue_to): Accept just function name as parameter.
9394 Use mi_runto_helper.
9395 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9396 * gdb.mi/mi2-var-cmd.exp: Likewise.
9397
9398 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9399
9400 Make this testcase a bit more realistic. The current code
9401 is too simplistic, and allows the compiler to optimize out
9402 some of the entities we need for this testcase.
9403 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9404 (Do_Nothing): Add extra parameter.
9405 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9406 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9407 by using a variable of type Void_Star.
9408
9409 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9410
9411 * gdb.ada/catch_ex/foo.adb: New file.
9412 * gdb.ada/catch_ex.exp: New testcase.
9413
9414 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9415
9416 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9417 pass --image-base to linker.
9418
9419 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9420 Daniel Jacobowitz <dan@codesourcery.com>
9421
9422 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9423 secondary prompts.
9424
9425 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9426
9427 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9428 output. Test the types of members and member pointers.
9429 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9430 gdb/2092.
9431 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9432 statement. Enable for GCC. Update expected output for some tests
9433 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9434 layout.
9435 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9436 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9437 (Diamond::vget_base): New.
9438 (main): Add new tests.
9439 * gdb.cp/printmethod.exp: Update expected output for member functions.
9440 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9441 print pEe->D::vg().
9442
9443 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9444
9445 * gdb.threads/tls.exp: Allow stops in sem_post.
9446
9447 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9448
9449 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9450 * gdb.base/annota3.exp: Likewise.
9451 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9452 again (instead of timing out).
9453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9454 GCC bug 26475.
9455 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9456 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9457 test from jmisc1.exp.
9458 * gdb.java/jmisc1.exp: Delete.
9459 * gdb.java/jprint.exp: Adjust to work with method signatures including
9460 return types.
9461 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9462 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9463 * lib/java.exp (compile_java_from_source): Pass the correct type
9464 to target_compile.
9465
9466 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9467
9468 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9469 (stack_align_edx): New function.
9470 (stack_align_eax): New function.
9471 (main): Add calls to stack_align_edx and stack_align_eax.
9472 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9473 Add testing for the cases where the register used during a stack
9474 realignment is edx. Same for eax.
9475
9476 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9477
9478 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9479 and generic PE targets.
9480
9481 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9482
9483 * gdb.ada/array_return.exp: Update copyright date list.
9484
9485 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9486
9487 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9488 (Create_Small_Float_Vector): New function.
9489 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9490 function body.
9491 * gdb.ada/array_return/p.adb: Use new type and function from
9492 package Pck.
9493 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9494 able to print the value returned by a function returning an
9495 array of float.
9496
9497 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9498
9499 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9500 The associated tests should be PASSing.
9501
9502 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9503
9504 Test for base in references.
9505 * gdb.mi/mi-var-cp.cc: Add test code.
9506 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9507 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9508 * gdb.mi/mi2-watch.exp: Likewise.
9509 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9510 (mi_list_varobj_children): New function.
9511
9512 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9513
9514 * lib/mi-support.exp
9515 (mi_runto): Accept "()" after function name.
9516 (mi_create_varobj): New function.
9517 (mi_varobj_update): New function.
9518 (mi_Check_varobj_value): New function.
9519 * gdb.mi/mi-var-cp.exp: New file.
9520 * gdb.mi/mi-var-cp.cc: New file.
9521
9522 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9523
9524 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9525 gdb.base/weaklib2.c: New files.
9526
9527 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9528
9529 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9530 info. Adjust test names.
9531
9532 * gdb.base/break.c (main): Move position of malloc.
9533 * gdb.base/break.exp: Revert mistaken checkin.
9534
9535 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9536
9537 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9538 assignement of arrays and function pointers.
9539 * gdb.mi/var-cmd.c: Add declaration necessary for above
9540 tests.
9541
9542 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9543
9544 * gdb.base/break.c (main): Call malloc.
9545
9546 * gdb.threads/linux-dp.exp: Read thread table before and after
9547 creating each philosopher and verify it.
9548
9549 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9550 Paul Brook <paul@codesourcery.com>
9551 Daniel Jacobowitz <dan@codesourcery.com>
9552
9553 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9554 main to remove duplication. Add start function of the form
9555 '_*start[1-9]*'. Add RVDS start function.
9556
9557 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9558
9559 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9560
9561 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9562
9563 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9564 * gdb.asm/spu.inc: New file.
9565 * gdb.base/term.exp: Disable if [target_info exists noargs].
9566 * gdb.gdb/complaints.exp: Disable if ![isnative].
9567 * gdb.gdb/selftest.exp: Likewise.
9568 * gdb.gdb/observer.exp: Likewise.
9569 * gdb.gdb/xfullpath.exp: Likewise.
9570 * gdb.base/attach.exp: Disable on SPU target.
9571 * gdb.cp/bs145503.exp: Likewise.
9572 * gdb.cp/exception.exp: Likewise.
9573 * gdb.cp/userdef.exp: Likewise.
9574
9575 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9576
9577 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9578
9579 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9580
9581 * gdb.base/completion.exp: Fix completion tests for
9582 'info' and 'info '.
9583 * gdb.base/help.exp (help_test_raw, test_class_help)
9584 (test_prefix_command_help): Move...
9585 * lib/gdb.exp: Here.
9586 * gdb.base/main.exp: Adjust.
9587 * gdb.cp/maint.exp: Adjust.
9588 * gdb.trace/tracecmd.exp: Use test_help_class.
9589
9590 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9591
9592 * gdb.stabs/weird.exp (print_weird_var): Use
9593 gdb_test_multiple instead of gdb_expect.
9594
9595 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9596
9597 * gdb.base/help.exp (help_test_raw): New.
9598 (test_class_help): New.
9599 (test_prefix_command_help): New.
9600 Adjust testcases.
9601
9602 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9603
9604 * gdb.base/constvars.c (main): Write to crass and crips, so that
9605 they are allocated by the compiler.
9606
9607 2006-10-27 Andreas Schwab <schwab@suse.de>
9608
9609 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9610 "detach-fork".
9611
9612 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9613
9614 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9615 of patterns.
9616
9617 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * gdb.base/sepdebug.exp: Remove debug format test.
9620 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9621 Handle no-symtab.
9622 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9623
9624 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9625
9626 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9627 int to pointer or pointer to int.
9628 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9629
9630 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9631
9632 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9633
9634 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9635
9636 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9637
9638 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9639
9640 PR c++/2116
9641 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9642
9643 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9644
9645 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9646 the corresponding bug has been fixed in GDB (PR/2018).
9647
9648 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9649
9650 * gdb.base/subst.exp: New testcase.
9651
9652 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9653
9654 * gdb.ada/array_return/pck.ads: Add copyright notice.
9655 * gdb.ada/array_return/pck.adb: Likewise.
9656 * gdb.ada/array_return/p.adb: Likewise.
9657 * gdb.ada/exec_changed/first.adb: Likewise.
9658 * gdb.ada/exec_changed/second.adb: Likewise.
9659
9660 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9661
9662 * gdb.ada/watch_arg/watch.adb: New file.
9663 * gdb.ada/watch_arg.exp: New testcase.
9664
9665 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9666
9667 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9668 via string_to_regexp.
9669 * gdb.mi/mi2-basics.exp: Likewise.
9670
9671 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9672
9673 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9674 Remove unused / obsolete files.
9675
9676 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9677
9678 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9679
9680 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9681
9682 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9683 HIGH_FRAME argument to -stack-list-arguments can be larger than
9684 the number of frames.
9685
9686 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9687
9688 * gdb.base/args.c (main): Add breakpoint marker.
9689 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9690 really test empty arguments.
9691 (args_load): Delete.
9692 (args_test): New.
9693
9694 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9695
9696 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9697 check for one file.
9698
9699 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9700
9701 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9702 HIGH_FRAME argument to -stack-list-locals can be larger than
9703 the number of frames.
9704
9705 2006-08-18 Fred Fish <fnf@specifix.com>
9706
9707 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9708 '$' in front of skip_vmx_tests_saved when setting that.
9709
9710 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9711
9712 * gdb.base/trace-commands.exp: New file.
9713
9714 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9715 Daniel Jacobowitz <dan@codesourcery.com>
9716
9717 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9718 expected output of the backtrace commands.
9719
9720 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9721
9722 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9723 untested followed by return combination.
9724 * gdb.arch/altivec-regs.exp: Likewise.
9725 * gdb.arch/e500-abi.exp: Likewise.
9726 * gdb.arch/e500-regs.exp: Likewise.
9727 * gdb.arch/gdb1291.exp: Likewise.
9728 * gdb.arch/gdb1431.exp: Likewise.
9729 * gdb.arch/gdb1558.exp: Likewise.
9730 * gdb.arch/i386-prologue.exp: Likewise.
9731 * gdb.arch/i386-unwind.exp: Likewise.
9732 * gdb.asm/asm-source.exp: Likewise.
9733 * gdb.base/a2-run.exp: Likewise.
9734 * gdb.base/advance.exp: Likewise.
9735 * gdb.base/all-bin.exp: Likewise.
9736 * gdb.base/annota1.exp: Likewise.
9737 * gdb.base/annota3.exp: Likewise.
9738 * gdb.base/args.exp: Likewise.
9739 * gdb.base/arithmet.exp: Likewise.
9740 * gdb.base/assign.exp: Likewise.
9741 * gdb.base/async.exp: Likewise.
9742 * gdb.base/attach.exp: Likewise.
9743 * gdb.base/bang.exp: Likewise.
9744 * gdb.base/bigcore.exp: Likewise.
9745 * gdb.base/bitfields.exp: Likewise.
9746 * gdb.base/bitfields2.exp: Likewise.
9747 * gdb.base/break.exp: Likewise.
9748 * gdb.base/call-sc.exp: Likewise.
9749 * gdb.base/call-strs.exp: Likewise.
9750 * gdb.base/callfuncs.exp: Likewise.
9751 * gdb.base/checkpoint.exp: Likewise.
9752 * gdb.base/chng-syms.exp: Likewise.
9753 * gdb.base/code-expr.exp: Likewise.
9754 * gdb.base/commands.exp: Likewise.
9755 * gdb.base/completion.exp: Likewise.
9756 * gdb.base/cond-expr.exp: Likewise.
9757 * gdb.base/condbreak.exp: Likewise.
9758 * gdb.base/consecutive.exp: Likewise.
9759 * gdb.base/constvars.exp: Likewise.
9760 * gdb.base/corefile.exp: Likewise.
9761 * gdb.base/cvexpr.exp: Likewise.
9762 * gdb.base/dbx.exp: Likewise.
9763 * gdb.base/define.exp: Likewise.
9764 * gdb.base/detach.exp: Likewise.
9765 * gdb.base/display.exp: Likewise.
9766 * gdb.base/dump.exp: Likewise.
9767 * gdb.base/ena-dis-br.exp: Likewise.
9768 * gdb.base/ending-run.exp: Likewise.
9769 * gdb.base/environ.exp: Likewise.
9770 * gdb.base/eval-skip.exp: Likewise.
9771 * gdb.base/exprs.exp: Likewise.
9772 * gdb.base/fileio.exp: Likewise.
9773 * gdb.base/finish.exp: Likewise.
9774 * gdb.base/float.exp: Likewise.
9775 * gdb.base/foll-exec.exp: Likewise.
9776 * gdb.base/foll-fork.exp: Likewise.
9777 * gdb.base/foll-vfork.exp: Likewise.
9778 * gdb.base/freebpcmd.exp: Likewise.
9779 * gdb.base/funcargs.exp: Likewise.
9780 * gdb.base/gcore.exp: Likewise.
9781 * gdb.base/gdb1090.exp: Likewise.
9782 * gdb.base/gdb1250.exp: Likewise.
9783 * gdb.base/huge.exp: Likewise.
9784 * gdb.base/info-proc.exp: Likewise.
9785 * gdb.base/interrupt.exp: Likewise.
9786 * gdb.base/jump.exp: Likewise.
9787 * gdb.base/langs.exp: Likewise.
9788 * gdb.base/lineinc.exp: Likewise.
9789 * gdb.base/list.exp: Likewise.
9790 * gdb.base/logical.exp: Likewise.
9791 * gdb.base/long_long.exp: Likewise.
9792 * gdb.base/macscp.exp: Likewise.
9793 * gdb.base/maint.exp: Likewise.
9794 * gdb.base/mips_pro.exp: Likewise.
9795 * gdb.base/miscexprs.exp: Likewise.
9796 * gdb.base/multi-forks.exp: Likewise.
9797 * gdb.base/opaque.exp: Likewise.
9798 * gdb.base/overlays.exp: Likewise.
9799 * gdb.base/pc-fp.exp: Likewise.
9800 * gdb.base/pointers.exp: Likewise.
9801 * gdb.base/printcmds.exp: Likewise.
9802 * gdb.base/psymtab.exp: Likewise.
9803 * gdb.base/ptype.exp: Likewise.
9804 * gdb.base/recurse.exp: Likewise.
9805 * gdb.base/relational.exp: Likewise.
9806 * gdb.base/relocate.exp: Likewise.
9807 * gdb.base/remote.exp: Likewise.
9808 * gdb.base/reread.exp: Likewise.
9809 * gdb.base/restore.exp: Likewise.
9810 * gdb.base/return.exp: Likewise.
9811 * gdb.base/return2.exp: Likewise.
9812 * gdb.base/scope.exp: Likewise.
9813 * gdb.base/sect-cmd.exp: Likewise.
9814 * gdb.base/sep.exp: Likewise.
9815 * gdb.base/sepdebug.exp: Likewise.
9816 * gdb.base/setshow.exp: Likewise.
9817 * gdb.base/setvar.exp: Likewise.
9818 * gdb.base/sigall.exp: Likewise.
9819 * gdb.base/sigbpt.exp: Likewise.
9820 * gdb.base/signals.exp: Likewise.
9821 * gdb.base/signull.exp: Likewise.
9822 * gdb.base/sizeof.exp: Likewise.
9823 * gdb.base/solib.exp: Likewise.
9824 * gdb.base/step-line.exp: Likewise.
9825 * gdb.base/step-test.exp: Likewise.
9826 * gdb.base/structs.exp: Likewise.
9827 * gdb.base/structs2.exp: Likewise.
9828 * gdb.base/term.exp: Likewise.
9829 * gdb.base/twice.exp: Likewise.
9830 * gdb.base/until.exp: Likewise.
9831 * gdb.base/varargs.exp: Likewise.
9832 * gdb.base/volatile.exp: Likewise.
9833 * gdb.base/watchpoint.exp: Likewise.
9834 * gdb.base/whatis-exp.exp: Likewise.
9835 * gdb.base/whatis.exp: Likewise.
9836 * gdb.cp/ambiguous.exp: Likewise.
9837 * gdb.cp/annota2.exp: Likewise.
9838 * gdb.cp/annota3.exp: Likewise.
9839 * gdb.cp/bool.exp: Likewise.
9840 * gdb.cp/breakpoint.exp: Likewise.
9841 * gdb.cp/casts.exp: Likewise.
9842 * gdb.cp/class2.exp: Likewise.
9843 * gdb.cp/classes.exp: Likewise.
9844 * gdb.cp/cplusfuncs.exp: Likewise.
9845 * gdb.cp/ctti.exp: Likewise.
9846 * gdb.cp/derivation.exp: Likewise.
9847 * gdb.cp/exception.exp: Likewise.
9848 * gdb.cp/gdb1355.exp: Likewise.
9849 * gdb.cp/hang.exp: Likewise.
9850 * gdb.cp/inherit.exp: Likewise.
9851 * gdb.cp/local.exp: Likewise.
9852 * gdb.cp/m-data.exp: Likewise.
9853 * gdb.cp/m-static.exp: Likewise.
9854 * gdb.cp/member-ptr.exp: Likewise.
9855 * gdb.cp/method.exp: Likewise.
9856 * gdb.cp/misc.exp: Likewise.
9857 * gdb.cp/namespace.exp: Likewise.
9858 * gdb.cp/overload.exp: Likewise.
9859 * gdb.cp/ovldbreak.exp: Likewise.
9860 * gdb.cp/pr-1023.exp: Likewise.
9861 * gdb.cp/pr-1210.exp: Likewise.
9862 * gdb.cp/pr-574.exp: Likewise.
9863 * gdb.cp/printmethod.exp: Likewise.
9864 * gdb.cp/psmang.exp: Likewise.
9865 * gdb.cp/ref-params.exp: Likewise.
9866 * gdb.cp/ref-types.exp: Likewise.
9867 * gdb.cp/rtti.exp: Likewise.
9868 * gdb.cp/templates.exp: Likewise.
9869 * gdb.cp/try_catch.exp: Likewise.
9870 * gdb.cp/userdef.exp: Likewise.
9871 * gdb.cp/virtfunc.exp: Likewise.
9872 * gdb.disasm/am33.exp: Likewise.
9873 * gdb.disasm/h8300s.exp: Likewise.
9874 * gdb.disasm/mn10300.exp: Likewise.
9875 * gdb.disasm/sh3.exp: Likewise.
9876 * gdb.disasm/t01_mov.exp: Likewise.
9877 * gdb.disasm/t02_mova.exp: Likewise.
9878 * gdb.disasm/t03_add.exp: Likewise.
9879 * gdb.disasm/t04_sub.exp: Likewise.
9880 * gdb.disasm/t05_cmp.exp: Likewise.
9881 * gdb.disasm/t06_ari2.exp: Likewise.
9882 * gdb.disasm/t07_ari3.exp: Likewise.
9883 * gdb.disasm/t08_or.exp: Likewise.
9884 * gdb.disasm/t09_xor.exp: Likewise.
9885 * gdb.disasm/t10_and.exp: Likewise.
9886 * gdb.disasm/t11_logs.exp: Likewise.
9887 * gdb.disasm/t12_bit.exp: Likewise.
9888 * gdb.disasm/t13_otr.exp: Likewise.
9889 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9890 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9891 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9892 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9893 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9894 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9895 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9896 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9897 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9898 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9899 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9900 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9901 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9902 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9903 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9904 * gdb.mi/gdb701.exp: Likewise.
9905 * gdb.mi/gdb792.exp: Likewise.
9906 * gdb.mi/mi-basics.exp: Likewise.
9907 * gdb.mi/mi-break.exp: Likewise.
9908 * gdb.mi/mi-cli.exp: Likewise.
9909 * gdb.mi/mi-console.exp: Likewise.
9910 * gdb.mi/mi-disassemble.exp: Likewise.
9911 * gdb.mi/mi-eval.exp: Likewise.
9912 * gdb.mi/mi-file.exp: Likewise.
9913 * gdb.mi/mi-read-memory.exp: Likewise.
9914 * gdb.mi/mi-regs.exp: Likewise.
9915 * gdb.mi/mi-return.exp: Likewise.
9916 * gdb.mi/mi-simplerun.exp: Likewise.
9917 * gdb.mi/mi-stack.exp: Likewise.
9918 * gdb.mi/mi-stepi.exp: Likewise.
9919 * gdb.mi/mi-syn-frame.exp: Likewise.
9920 * gdb.mi/mi-until.exp: Likewise.
9921 * gdb.mi/mi-var-block.exp: Likewise.
9922 * gdb.mi/mi-var-child.exp: Likewise.
9923 * gdb.mi/mi-var-cmd.exp: Likewise.
9924 * gdb.mi/mi-var-display.exp: Likewise.
9925 * gdb.mi/mi-watch.exp: Likewise.
9926 * gdb.mi/mi2-basics.exp: Likewise.
9927 * gdb.mi/mi2-break.exp: Likewise.
9928 * gdb.mi/mi2-cli.exp: Likewise.
9929 * gdb.mi/mi2-console.exp: Likewise.
9930 * gdb.mi/mi2-disassemble.exp: Likewise.
9931 * gdb.mi/mi2-eval.exp: Likewise.
9932 * gdb.mi/mi2-file.exp: Likewise.
9933 * gdb.mi/mi2-read-memory.exp: Likewise.
9934 * gdb.mi/mi2-regs.exp: Likewise.
9935 * gdb.mi/mi2-return.exp: Likewise.
9936 * gdb.mi/mi2-simplerun.exp: Likewise.
9937 * gdb.mi/mi2-stack.exp: Likewise.
9938 * gdb.mi/mi2-stepi.exp: Likewise.
9939 * gdb.mi/mi2-syn-frame.exp: Likewise.
9940 * gdb.mi/mi2-until.exp: Likewise.
9941 * gdb.mi/mi2-var-block.exp: Likewise.
9942 * gdb.mi/mi2-var-child.exp: Likewise.
9943 * gdb.mi/mi2-var-cmd.exp: Likewise.
9944 * gdb.mi/mi2-var-display.exp: Likewise.
9945 * gdb.mi/mi2-watch.exp: Likewise.
9946 * gdb.stabs/exclfwd.exp: Likewise.
9947 * gdb.stabs/weird.exp: Likewise.
9948 * gdb.threads/gcore-thread.exp: Likewise.
9949 * gdb.trace/actions.exp: Likewise.
9950 * gdb.trace/backtrace.exp: Likewise.
9951 * gdb.trace/circ.exp: Likewise.
9952 * gdb.trace/collection.exp: Likewise.
9953 * gdb.trace/deltrace.exp: Likewise.
9954 * gdb.trace/infotrace.exp: Likewise.
9955 * gdb.trace/limits.exp: Likewise.
9956 * gdb.trace/packetlen.exp: Likewise.
9957 * gdb.trace/passc-dyn.exp: Likewise.
9958 * gdb.trace/passcount.exp: Likewise.
9959 * gdb.trace/report.exp: Likewise.
9960 * gdb.trace/save-trace.exp: Likewise.
9961 * gdb.trace/tfind.exp: Likewise.
9962 * gdb.trace/tracecmd.exp: Likewise.
9963 * gdb.trace/while-dyn.exp: Likewise.
9964 * gdb.trace/while-stepping.exp: Likewise.
9965
9966 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9967
9968 * gdb.base/step-bt.c: New file.
9969 * gdb.base/step-bt.exp: New testcase.
9970
9971 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9972
9973 * config/monitor.exp (gdb_load): Remove support for obsolete
9974 download-write-size.
9975 * gdb.base/remote.exp: Likewise. Update all callers of
9976 gdb_timed_load.
9977
9978 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9979
9980 * cursal.exp: Pass binfile to gdb_load.
9981
9982 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9983
9984 * gdb.base/cursal.exp: Add "" to gdb_load call.
9985
9986 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9987
9988 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9989 NetBSD/ELF targets.
9990
9991 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9992
9993 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9994 operator*.
9995
9996 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9997
9998 * gdb.base/completion.exp: Update for change in "file" behavior.
9999 * gdb.stabs/weird.exp: Likewise.
10000 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10001 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10002
10003 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10004
10005 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10006 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10007
10008 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10009
10010 * gdb.base/default.exp: Update source command error message.
10011 * gdb.base/help.exp: Update 'help source' message.
10012
10013 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10014
10015 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10016 test.
10017
10018 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10019
10020 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10021
10022 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10023
10024 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10025
10026 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10027
10028 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10029
10030 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10031
10032 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10033 *-*-openbsd* from targets for wich we expect ARM FPA floating
10034 point format.
10035
10036 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10037
10038 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10039
10040 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10041
10042 * gdb.base/annota3.exp: Expect frame-begin annotation.
10043
10044 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10045
10046 * gdb.base/help.exp: Adjust "help unset" test to accept
10047 any list of unset commands.
10048
10049 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10050 Daniel Jacobowitz <dan@codesourcery.com>
10051
10052 * gdb.cp/ref-params.exp: New test.
10053 * gdb.cp/ref-params.cc: New source file.
10054 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10055
10056 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10057
10058 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10059 spaces/tabs in regular expressions since they might not be there.
10060
10061 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10062
10063 * gdb.base/ifelse.exp: New file.
10064
10065 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10066
10067 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10068 line.
10069 * gdb.base/huge.exp: Loop over compilation to find a size that
10070 is acceptable.
10071 * gdb.base/remote.exp: Correct expected strings.
10072 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10073
10074 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10075
10076 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10077
10078 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10079
10080 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10081 native.
10082
10083 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10084
10085 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10086 enable stabs testing.
10087
10088 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10089
10090 * gdb.base/auxv.exp: Intercept undefined command messages before
10091 gdb_test_multiple does.
10092
10093 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10094
10095 * Makefile.in (host_alias): Remove.
10096 (target_alias): Use @target_noncanonical@.
10097 (site.exp): Don't set host_alias.
10098 * aclocal.m4: Remove contents. Include acx.m4.
10099 * configure: Regenerated.
10100 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10101
10102 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10103
10104 * lib/gdb.exp (gdb_load_cmd): New.
10105
10106 * gdb.base/fileio.c: Add system(NULL) test.
10107 * gdb.base/fileio.exp: Check it.
10108
10109 * gdb.base/break.c: Add 10a breakpoint at }
10110 * gdb.base/break.exp: Add test for breakpoint at }
10111 * gdb.cp/anon-union.cc: Add code at end of function.
10112 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10113 * gdb.mi/var-cmd.c: Add code at end of function.
10114 * gdb.mi/mi-var-display.exp: Adjust end of next.
10115 * gdb.mi/mi2-var-display.exp: Likewise.
10116 * gdb.base/fileio.c: Add stop function and insert calls at
10117 stopping places.
10118 * gdb.base/fileio.exp: Breakpoint stop function and remove
10119 explicit line number references.
10120
10121 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10122
10123 * gdb.base/del.exp (test_delete_alias): New function.
10124 Now check that both "del" and "d" work as aliases for "delete".
10125
10126 2006-05-18 Fred Fish <fnf@specifix.com>
10127
10128 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10129 required. Check for spurious output after program exits normally.
10130
10131 2006-05-17 Fred Fish <fnf@specifix.com>
10132
10133 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10134 gdb_load, so it works in the simulator.
10135
10136 2006-05-11 Fred Fish <fnf@specifix.com>
10137
10138 * gdb.base/bang.exp: Ignore unexpected output between the
10139 "program exited normally" and the gdb prompt, as many other
10140 tests do.
10141
10142 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10143
10144 * gdb.base/help.exp: Make "delete checkpoint" part option for
10145 "help d" and "help delete" tests.
10146
10147 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10148
10149 * gdb.mi/mi-basics.exp: Add missing serial number to
10150 expected output in some mi_gdb_test statements.
10151 * gdb.mi/mi2-basics.exp: Likewise.
10152
10153 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10154
10155 * gdb.base/del.c: New file.
10156 * gdb.base/del.exp: New testcase.
10157
10158 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10159
10160 * gdb.base/break.exp: Do not assume a breakpoint on
10161 main will actually be in $srcfile when optimizing.
10162 * gdb.base/savedregs.exp: Do not require that the dummy
10163 frame location match up to a symbol and source file location.
10164 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10165 will get printed without a mi_cmd_data_list_register_values prefix.
10166 (*-data-list-register-*): Correct regular expressions to expect the new
10167 pseudo d? floating point registers.
10168 * gdb.mi/mi2-regs.exp: Likewise.
10169
10170 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10171
10172 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10173 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10174 is allocated by the compiler.
10175 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10176 anons, e, anone to force their allocation by the compiler.
10177
10178 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10179
10180 * gdb.base/help.exp: Update expected text for help d and
10181 help delete.
10182
10183 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10184
10185 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10186 NetBSD/ELF targets.
10187
10188 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10189
10190 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10191 single-step breakpoint fails; make this a KFAIL on
10192 sparc*-*-openbsd*.
10193 * gdb.base/siginfo.exp: Likewise.
10194 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10195
10196 2006-04-26 Michael Snyder <msnyder@redhat.com>
10197
10198 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10199 which may have to consume output from other forks.
10200 Add tests to make sure that "delete fork" succeeded.
10201
10202 2006-04-20 Michael Snyder <msnyder@redhat.com>
10203
10204 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10205 Add support for the Renesas M32C and M16C.
10206
10207 * gdb.asm/asm-source.exp: Add m32c target.
10208 * gdb.asm/m32c.inc: Support for m32c target.
10209
10210 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10211
10212 * gdb.base/commands.exp (recursive_source_test): New test.
10213
10214 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10215
10216 * gdb.base/float.exp: Add pattern for sparc targets.
10217
10218 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10219
10220 * gdb.base/commands.exp (stray_arg0_test): New test.
10221
10222 2006-03-30 Paul Brook <paul@codesourcery.com>
10223
10224 * gdb.mi/mi-until.exp: kfail broken until command.
10225 * gdb.mi/mi2-until.exp: Ditto.
10226
10227 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10228
10229 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10230
10231 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10232
10233 * gdb.base/prelink.exp: Anchor tested-for regular expression
10234 on gdb prompt.
10235
10236 2006-03-07 Paul Brook <paul@codesourcery.com>
10237
10238 * gdb.base/assign.exp: Correct fail message.
10239
10240 2006-03-07 Paul Brook <paul@codesourcery.com>
10241
10242 * lib/compiler.c: Extract armcc version number.
10243 * lib/compiler.cc: Ditto.
10244
10245 2006-03-07 Paul Brook <paul@codesourcery.com>
10246
10247 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10248 additional_flags=-w.
10249 * gdb.arch/altivec-regs.exp: Ditto.
10250 * gdb.arch/e500-abi.exp: Ditto.
10251 * gdb.arch/e500-regs.exp: Ditto.
10252 * gdb.base/all-bin.exp: Ditto.
10253 * gdb.base/annota1.exp: Ditto.
10254 * gdb.base/annota3.exp: Ditto.
10255 * gdb.base/args.exp: Ditto.
10256 * gdb.base/arithmet.exp: Ditto.
10257 * gdb.base/assign.exp: Ditto.
10258 * gdb.base/async.exp: Ditto.
10259 * gdb.base/bang.exp: Ditto.
10260 * gdb.base/break.exp: Ditto.
10261 * gdb.base/call-rt-st.exp: Ditto.
10262 * gdb.base/completion.exp: Ditto.
10263 * gdb.base/cond-expr.exp: Ditto.
10264 * gdb.base/condbreak.exp: Ditto.
10265 * gdb.base/consecutive.exp: Ditto.
10266 * gdb.base/define.exp: Ditto.
10267 * gdb.base/display.exp: Ditto.
10268 * gdb.base/ena-dis-br.exp: Ditto.
10269 * gdb.base/environ.exp: Ditto.
10270 * gdb.base/eval-skip.exp: Ditto.
10271 * gdb.base/info-proc.exp: Ditto.
10272 * gdb.base/jump.exp: Ditto.
10273 * gdb.base/logical.exp: Ditto.
10274 * gdb.base/long_long.exp: Ditto.
10275 * gdb.base/maint.exp: Ditto.
10276 * gdb.base/miscexprs.exp: Ditto.
10277 * gdb.base/pc-fp.exp: Ditto.
10278 * gdb.base/pointers.exp: Ditto.
10279 * gdb.base/relational.exp: Ditto.
10280 * gdb.base/reread.exp: Ditto.
10281 * gdb.base/sect-cmd.exp: Ditto.
10282 * gdb.base/sep.exp: Ditto.
10283 * gdb.base/sepdebug.exp: Ditto.
10284 * gdb.base/until.exp: Ditto.
10285 * gdb.base/whatis-exp.exp: Ditto.
10286 * gdb.cp/annota2.exp: Ditto.
10287 * gdb.cp/annota3.exp: Ditto.
10288 * gdb.trace/actions.exp: Ditto.
10289 * gdb.trace/backtrace.exp: Ditto.
10290 * gdb.trace/circ.exp: Ditto.
10291 * gdb.trace/collection.exp: Ditto.
10292 * gdb.trace/deltrace.exp: Ditto.
10293 * gdb.trace/infotrace.exp: Ditto.
10294 * gdb.trace/limits.exp: Ditto.
10295 * gdb.trace/packetlen.exp: Ditto.
10296 * gdb.trace/passc-dyn.exp: Ditto.
10297 * gdb.trace/passcount.exp: Ditto.
10298 * gdb.trace/report.exp: Ditto.
10299 * gdb.trace/save-trace.exp: Ditto.
10300 * gdb.trace/tfind.exp: Ditto.
10301 * gdb.trace/tracecmd.exp: Ditto.
10302 * gdb.trace/while-dyn.exp: Ditto.
10303 * gdb.trace/while-stepping.exp: Ditto.
10304 * lib/gdb.exp: Ditto.
10305 (gdb_compile): Handle nowarning option.
10306
10307 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10308
10309 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10310 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10311 Rename executable to prelinkt. Don't re-prelink if we didn't
10312 get a core file. Test prelink -u exit status to tell whether
10313 prelinking failed. Use gdb_test_multiple.
10314
10315 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10316
10317 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10318 (do_tests): Call it.
10319
10320 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10321
10322 * gdb.base/prelink.exp: New test.
10323 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10324
10325 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10326
10327 * gdb.fortran/derived-type.f90: New file.
10328 * gdb.fortran/derived-type.exp: New testcase.
10329
10330 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10331
10332 * gdb.base/default.exp: Allow ';' as a directory separator.
10333
10334 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10335
10336 * gdb.base/help.exp (help add-symbol-file): Update.
10337
10338 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10339
10340 * gdb.base/help.exp (help load): Update expected results.
10341
10342 2006-02-19 Fred Fish <fnf@specifix.com>
10343
10344 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10345 specifix hex value as part of results.
10346 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10347
10348 2006-02-16 Fred Fish <fnf@specifix.com>
10349
10350 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10351 ushort_addr, and slong_addr, so the typedefs are not optimized
10352 away.
10353 * gdb.base/whatis.exp: Add tests using type name for struct type,
10354 union type, enum type, and typedef.
10355
10356 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10357
10358 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10359
10360 2006-02-13 Jim Blandy <jimb@redhat.com>
10361
10362 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10363 case where it takes two "next" commands to skip past the init
10364 call.
10365
10366 2006-02-12 Fred Fish <fnf@specifix.com>
10367
10368 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10369 to handle cases where it takes two "next" commands to skip
10370 past the init call.
10371
10372 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10373
10374 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10375 on hppa32 targets.
10376
10377 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10378
10379 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10380 field.
10381
10382 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10383
10384 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10385
10386 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10387
10388 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10389 files.
10390
10391 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10392
10393 * gdb.cp/maint.exp: Set complaints to a positive value.
10394
10395 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10396
10397 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10398 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10399 function name.
10400
10401 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10402
10403 * gdb.base/checkpoint.c: Update copyright notice. Include
10404 <stdlib.h>.
10405
10406 2006-01-04 Jim Blandy <jimb@redhat.com>
10407
10408 * gdb.asm/asm-source.exp: Independently provide default values for
10409 asm-flags and debug-flags. Use 'string equal' to do the
10410 comparison, not the implicit expr's '==' operator. Remove
10411 now-unneeded assignments to asm-flags. In h8300 case, place
10412 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10413
10414 2006-01-04 Michael Snyder <msnyder@redhat.com>
10415
10416 * gdb.base/checkpoint.c: New file.
10417 * gdb.base/checkpoint.exp: New file.
10418 * gdb.base/multi-fork.c: New file.
10419 * gdb.base/multi-fork.exp: New file.
10420 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10421
10422 2006-01-04 Fred Fish <fnf@specifix.com>
10423
10424 * gdb.base/ptype.c (foo): Add typedef.
10425 (intfoo): Add function.
10426 * gdb.base/ptype1.c: New file.
10427 * gdb.base/ptype.exp: Handle compilation and linking with two
10428 source files. Test that proper type for "foo" is found based
10429 on source context rather than first match found in symtabs.
10430
10431 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10432
10433 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10434 * gdb.asm/openbsd.inc: Indent commands.
10435
10436 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10437
10438 * gdb.base/freebpcmd.exp: Increase timeout.
10439
10440 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10441
10442 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10443
10444 * gdb.base/default.exp: Update check for "show version".
10445
10446 2005-12-09 Randolph Chung <tausq@debian.org>
10447
10448 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10449 * gdb.asm/pa64.inc: New file.
10450
10451 2005-12-09 Randolph Chung <tausq@debian.org>
10452
10453 * gdb.asm/common.inc: Indent commands.
10454 * gdb.asm/asmsrc1.s: Likewise.
10455 * gdb.asm/asmsrc2.s: Likewise.
10456
10457 2005-12-09 Randolph Chung <tausq@debian.org>
10458
10459 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10460 (get_addr_of_sym): Remove duplicate print.
10461 (gen_core): xfail hppa*-*-hpux*, update expected output.
10462 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10463 * gdb.arch/pa64-nullify.s: New file.
10464
10465 2005-12-09 Randolph Chung <tausq@debian.org>
10466
10467 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10468
10469 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10470
10471 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10472 code generation for these functions.
10473 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10474 error message.
10475
10476 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10477
10478 * gdb.base/help.exp (help b, help br, help bre, help brea)
10479 (help break): Update the expected message.
10480
10481 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10482
10483 * gdb.asm/m68hc11.inc: Setup the data section.
10484 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10485 script for this test.
10486 (m6812-*-*): Likewise.
10487
10488 2005-11-09 Randolph Chung <tausq@debian.org>
10489
10490 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10491
10492 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10493
10494 * gdb.base/break.exp: Fix a comment typo.
10495
10496 2005-11-03 Jim Blandy <jimb@redhat.com>
10497
10498 Checked in by Elena Zannoni <ezannoni@redhat.com>
10499
10500 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10501
10502 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10503
10504 * gdb.arch/gdb1558.c: Include stdio.h.
10505
10506 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10507
10508 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10509
10510 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10511
10512 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10513
10514 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10515
10516 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10517 vscr" tests to better match output.
10518
10519 2005-10-12 Jim Blandy <jimb@redhat.com>
10520
10521 * gdb.base/structs.exp (any): New function.
10522 (test_struct_returns): Don't make any assumptions at all about
10523 what value the function returns when GDB can't set the return
10524 value.
10525
10526 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10527
10528 * gdb.ada/arrayidx/p.adb: New file.
10529 * gdb.ada/arrayidx.exp: New testcase
10530
10531 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10532
10533 * gdb.ada/array_return/pck.ads: New file.
10534 * gdb.ada/array_return/pck.adb: New file.
10535 * gdb.ada/array_return/p.adb: New file.
10536 * gdb.ada/array_return.exp: New testcase.
10537
10538 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10539
10540 * gdb.base/arrayidx.c: New file.
10541 * gdb.base/arrayidx.exp: New testcase.
10542
10543 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10544
10545 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10546 frames-invalid and breakpoints-invalid are no longer generated
10547 with level 3 so don't expect them in the output.
10548
10549 2005-09-27 Bob Rossi <bob@brasko.net>
10550
10551 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10552 from test. Escape the | in mi_gdb_test call.
10553 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10554 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10555 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10556 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10557 expected regex's in mi_gdb_test calls.
10558 * lib/mi-support.exp: Remove arbitrary .* from tests.
10559 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10560 Fully anchor GDB/MI expected results in mi_gdb_test.
10561 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10562 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10563
10564 2005-09-26 Paul Brook <paul@codesourcery.com>
10565
10566 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10567
10568 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10569
10570 * bfp-test.c: New file.
10571 * bfp-test.exp: New testcase.
10572
10573 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10574
10575 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10576 of subarray and substring variable.
10577 * gdb.fortran/subarray.f: New source file for the test of subarray
10578 and substring variable evaluation.
10579 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10580 of string constant.
10581
10582 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10583
10584 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10585 copyright dates.
10586
10587 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10588
10589 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10590 powerpc altivec' test with an almost identical 'info vector' test.
10591
10592 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10593
10594 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10595 vscr" tests to match output.
10596
10597 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10598
10599 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10600 output.
10601
10602 2005-09-11 Bob Rossi <bob@brasko.net>
10603
10604 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10605 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10606 commands that return an MI output command and an asyncronous MI output
10607 command.
10608 * gdb.mi/mi-console.exp: Ditto.
10609
10610 2005-09-11 Bob Rossi <bob@brasko.net>
10611
10612 * gdb.mi/mi-var-child.c: Include <string.h>.
10613
10614 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10615
10616 * killed.exp: Correct gdb_expect syntax.
10617
10618 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10619
10620 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10621
10622 2005-08-02 Bob Rossi <bob@brasko.net>
10623
10624 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10625 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10626 Change tests to inferior-tty-set/show.
10627 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10628 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10629 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10630 inferior. Use mi_gdb_test to get GDB and Inferior output.
10631 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10632 descriptor.
10633 (mi_inferior_tty_name): Add inferior PTY file name.
10634 (mi_gdb_start): Add INFERIOR_PTY parameter.
10635 (mi_gdb_test): Add IPATTERN parameter.
10636
10637 2005-08-02 Bob Rossi <bob@brasko.net>
10638
10639 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10640 parameter to mi_gdb_test.
10641 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10642
10643 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10644
10645 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10646 struct_declarations.
10647 * gdb.mi/mi-var-child.exp: Step over the initialization of
10648 struct_declarations.
10649
10650 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10651
10652 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10653 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10654 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10655 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10656 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10657 file.
10658
10659 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10660
10661 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10662 (do_children_tests): Assign values to the extra elements.
10663
10664 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10665 them for tests for "-var-update --no-values" and
10666 "-var-update --all-values".
10667 Add test for "-var-list-children --simple-values".
10668
10669 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10670
10671 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10672 "-stack-list-locals --simple-values" Improve doc strings and
10673 comments.
10674
10675 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10676
10677 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10678 *-*-openbsd*.
10679 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10680
10681 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10682 sigaltsatck'.
10683
10684 2005-07-14 Bob Rossi <bob@brasko.net>
10685
10686 * gdb.base/default.exp (tty): Changed output of command.
10687 * gdb.base/help.exp (help tty): Ditto.
10688
10689 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10690
10691 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10692
10693 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10694
10695 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10696 -stack-select-frame without arguments.
10697 (test_stack_frame_listing): Add test for newly implemented command
10698 -stack-info-frame.
10699
10700 2005-07-06 Bob Rossi <bob@brasko.net>
10701
10702 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10703 command.
10704 (Copyright): Update copyright.
10705
10706 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10707
10708 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10709 tests to evaluate exponentiation expression.
10710
10711 2005-06-29 Andreas Schwab <schwab@suse.de>
10712
10713 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10714 main to avoid warnings.
10715
10716 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10717
10718 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10719
10720 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10721 -stack-select-frame without arguments.
10722 (test_stack_frame_listing): Add test for newly implemented command
10723 -stack-info-frame.
10724
10725 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10726
10727 * gdb.fortran/array-element.f: New file.
10728 * gdb.fortran/array-element.exp: New testcase.
10729
10730 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10731
10732 * gdb.base/bigcore.exp: Correct checks for systems which can
10733 not dump a large core file.
10734
10735 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * gdb.base/relocate.c: Add a copyright notice.
10738 (dummy): Remove.
10739 * gdb.base/relocate.exp: Test printing the values of variables
10740 from a relocatable file.
10741
10742 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10743
10744 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10745 excess MI output after an error.
10746
10747 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10748
10749 * gdb.arch/alpha-step.c: New file.
10750 * gdb.arch/alpha-step.exp: New testcase.
10751
10752 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10753 Dennis Brueni <dennis@slickedit.com>
10754
10755 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10756 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10757 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10758 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10759 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10760 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10761 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10762
10763 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10764 Wu Zhou <woodzltc@cn.ibm.com>
10765
10766 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10767 IBM's xlc compiler.
10768 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10769 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10770
10771 2005-05-13 Jim Blandy <jimb@redhat.com>
10772
10773 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10774 calling gdb_suppress_entire_file.
10775 * gdb.base/charset.exp: Same.
10776 * gdb.base/call-rt-st.exp: Same.
10777
10778 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10779
10780 * lib/gdb.exp (fullname_syntax): Added global regex.
10781 (fullname_syntax_POSIX): Ditto.
10782 (fullname_syntax_UNC): Ditto.
10783 (fullname_syntax_DOS_CASE): Ditto.
10784 (fullname_syntax_DOS): Ditto.
10785 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10786 fullname_syntax variable to scope and use it.
10787 (test_file_list_exec_source_files): Ditto.
10788 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10789
10790 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10791
10792 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10793
10794 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10795
10796 * lib/gdb.exp (skip_altivec_tests): New function, based on
10797 check_vmx_hw_available from the GCC testsuite.
10798 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10799 * lib/gdb.arch/altivec-regs.exp: Likewise.
10800
10801 2005-05-02 Jim Blandy <jimb@redhat.com>
10802
10803 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10804 calling gdb_suppress_entire_file.
10805
10806 2005-04-30 Randolph Chung <tausq@debian.org>
10807
10808 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10809 Slightly relax "sem_post" name checking.
10810
10811 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10812
10813 * gdb.base/unload.exp: Use new shared library infrastructure.
10814
10815 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10816
10817 * gdb.base/so-impl-ld.exp: Use new shared library
10818 infrastructure.
10819
10820 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10821
10822 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10823 * gdb.asm/h8300.inc: New file.
10824
10825 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10826
10827 * gdb.base/shlib-call.exp: Change to use new shared library
10828 infrastructure.
10829
10830 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10831
10832 * gdb.base/pending.exp: Change to use new shared library
10833 infrastructure.
10834
10835 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10836
10837 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10838 use test_compiler_info instead of gcc_compiled, and update copyright.
10839
10840 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10841
10842 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10843 shared objects being adjusted and update copyright years.
10844
10845 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10846
10847 * ChangeLog: Correct some 2003-01-13 dates.
10848 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10849 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10850 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10851 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10852 gdb.trace/tfind.exp: Update copyright years.
10853
10854 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10855 Daniel Jacobowitz <dan@codesourcery.com>
10856
10857 * lib/gdb.exp (gdb_compile): Handle shlib=.
10858 (gdb_compile_shlib): New function.
10859
10860 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10861
10862 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10863
10864 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10865
10866 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10867 gdb.server.
10868 * configure.ac: Likewise.
10869 * configure: Regenerated.
10870 * gdb.gdbserver/Makefile.in: Moved to...
10871 * gdb.server/Makefile.in: ... here.
10872 * gdb.gdbserver/server.c: Moved to...
10873 * gdb.server/server.c: ... here.
10874 * gdb.gdbserver/server-run.exp: Moved to...
10875 * gdb.server/server-run.exp: ... here.
10876
10877 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10878
10879 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10880 * configure.ac: Create gdb.gdbserver/Makefile.
10881 * configure: Regenerated.
10882 * lib/gdbserver-support.exp: New file, derived from
10883 config/gdbserver.exp.
10884 * config/gdbserver.exp: Use gdbserver-support.exp.
10885 * gdb.gdbserver/Makefile.in: New file.
10886 * gdb.gdbserver/server.c: New file.
10887 * gdb.gdbserver/server-run.exp: New file.
10888
10889 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10890
10891 * lib/gdb.exp (test_compiler_info): Return compiler_info
10892 if no arguments are given.
10893
10894 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10895
10896 * gdb.arch/altivec-abi.exp: Check for compiler and set
10897 use altivec' flag accordingly.
10898 * gdb.arch/altivec-regs.exp: Likewise.
10899
10900 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10901
10902 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10903
10904 2005-03-27 Andreas Schwab <schwab@suse.de>
10905
10906 * gdb.base/bigcore.c (main): Add missing mode argument in open
10907 call.
10908
10909 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10910
10911 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10912 downloads.
10913 * config/gdbserver.exp (gdb_load): Likewise.
10914
10915 2005-03-14 Paul Brook <paul@codesourcery.com>
10916
10917 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10918 targets.
10919
10920 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10921
10922 * gdb.dwarf2/dup-psym.S: New file.
10923 * gdb.dwarf2/dup-psym.exp: New testcase.
10924
10925 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10926
10927 * gdb.ada/exec_changed/first.adb: New file.
10928 * gdb.ada/exec_changed/second.adb: New file.
10929 * gdb.ada/exec_changed.exp: New testcase.
10930
10931 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10932
10933 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10934 (A2): New class.
10935 (main): Test operator+.
10936 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10937 breakpoint test.
10938
10939 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10940 * gdb.base/signull.exp: Disable if gdb,nosignals.
10941 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10942 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10943 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10944 * gdb.mi/mi2-console.exp: Likewise.
10945 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10946 continue output at start.
10947 (gdb_collect_locals_test): Robustify regexp.
10948 * gdb.trace/passc-dyn.exp: Fix comment typo.
10949 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10950
10951 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10952
10953 * gdb.asm/asm-source.exp: Add iq2000 case.
10954 * gdb.asm/iq2000.inc: New file.
10955
10956 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10957
10958 * gdb.base/command.exp: Change hardcoded value to regular expression.
10959 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10960
10961 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10962
10963 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10964 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10965 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10966 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10967 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10968
10969 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10970
10971 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10972 changes.
10973
10974 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10975
10976 * lib/compiler.c: Add test for IBM's xlc compiler.
10977 * lib/compiler.cc: Likewise.
10978
10979 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10980
10981 * gdb.ada/fixed_points.exp: Create compilation object directory
10982 before running the test.
10983 * gdb.ada/null_record.exp: Likewise.
10984 * gdb.ada/packed_array.exp: Likewise.
10985 * gdb.ada/start.exp: Likewise.
10986
10987 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10988
10989 * gdb.ada/packed_array/pa.adb: New file.
10990 * gdb.ada/packed_array.exp: New testcase.
10991
10992 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10993
10994 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10995 files.
10996
10997 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10998 on *-*-openbsd*. Correctly match whitespace in regukar
10999 expressions.
11000
11001 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11002
11003 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11004 PR exp/1821
11005 * gdb.base/gdb1821.c: New test file.
11006 * gdb.base/gdb1821.exp: New test file.
11007
11008 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11009
11010 * gdb.base/start.c: New file.
11011 * gdb.base/start.exp: New testcase.
11012
11013 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11014
11015 * gdb.ada/start/dummy.adb: New file.
11016 * gdb.ada/start.exp: New testcase.
11017
11018 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11019
11020 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11021 for printing symbols and statistics.
11022 Add test for using relative pathnames in "maint print msymbols" test.
11023 Mark "maint info sections DATA" XFAIL on Cygwin.
11024 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11025 tests.
11026
11027 2005-02-09 Andreas Schwab <schwab@suse.de>
11028
11029 Committed by Andrew Cagney <cagney@gnu.org>
11030 * gdb.base/remotetimeout.exp: New file.
11031
11032 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11033
11034 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11035
11036 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11037
11038 * gdb.ada/gnat_ada.gpr: New file.
11039 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11040 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11041 * configure.ac: No longer generate gnat_ada.gpr.
11042 * configure: Regenerate.
11043 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11044 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11045 * gdb.ada/null_record/bar.ads: Likewise.
11046 * gdb.ada/null_record/bar.adb: Likewise.
11047 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11048 * gdb.ada/null_record.exp (testdir): New variable.
11049 (testfile): executable is now in testdir subdirectory.
11050 (srcfile): Use full path to the main compilation unit.
11051 * gdb.ada/fixed_points.exp: Same changes as above.
11052
11053 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11054
11055 * gdb.base/interp.exp: New test.
11056
11057 2005-01-24 Andrew Cagney <cagney@gnu.org>
11058
11059 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11060
11061 2005-01-19 Andrew Cagney <cagney@gnu.org>
11062
11063 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11064 configure.ac not configure.in.
11065
11066 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11067 of powerpc*-*-*.
11068 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11069 * gdb.base/list.exp (test_list_function)
11070 (test_list_filename_and_function): Ditto.
11071 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11072
11073 2005-01-16 Andrew Cagney <cagney@gnu.org>
11074
11075 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11076
11077 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11078
11079 2005-01-14 Andrew Cagney <cagney@gnu.org>
11080
11081 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11082 * gdb.mi/mi2-var-cmd.exp: Ditto.
11083
11084 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11085
11086 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11087
11088 2005-01-07 Andrew Cagney <cagney@gnu.org>
11089
11090 * configure.ac: Rename configure.in, require autoconf 2.59.
11091 * configure: Re-generate.
11092 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11093 * gdb.stabs/configure: Re-generate.
11094 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11095 * gdb.hp/configure: Re-generate.
11096 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11097 autoconf 2.59.
11098 * gdb.hp/gdb.objdbg/configure: Re-generate.
11099 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11100 autoconf 2.59.
11101 * gdb.hp/gdb.defects/configure: Re-generate.
11102 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11103 autoconf 2.59.
11104 * gdb.hp/gdb.compat/configure: Re-generate.
11105 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11106 autoconf 2.59.
11107 * gdb.hp/gdb.base-hp/configure: Re-generate.
11108 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11109 autoconf 2.59.
11110 * gdb.hp/gdb.aCC/configure: Re-generate.
11111
11112 2004-12-15 Jim Blandy <jimb@redhat.com>
11113
11114 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11115 under NPTL when there is debugging info available for libpthread.
11116
11117 2004-12-13 Jerome Guitton <guitton@gnat.com>
11118
11119 * gdb.ada/fixed_points.c: New file.
11120 * gdb.ada/fixed_points.exp: New file.
11121
11122 2004-12-03 Randolph Chung <tausq@debian.org>
11123
11124 * gdb.arch/pa-nullify.exp: New file.
11125 * gdb.arch/pa-nullify.s: New file.
11126
11127 2004-11-30 Randolph Chung <tausq@debian.org>
11128
11129 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11130 instead of "tbug". Fix regexp to work properly with gdb_test.
11131
11132 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11133
11134 * gdb.base/bitfields2.exp: New test.
11135 * gdb.base/bitfields2.c: New file.
11136
11137 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11138
11139 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11140
11141 2004-11-16 Randolph Chung <tausq@debian.org>
11142
11143 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11144
11145 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11146
11147 * gdb.threads/threadapply.exp: Correct "macro details" test.
11148
11149 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11150
11151 * gdb.threads/threadapply.exp: New test.
11152 * gdb.threads/threadapply.c: New file.
11153
11154 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11155
11156 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11157 frames.
11158
11159 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11160
11161 * gdb.base/cursal.exp: New file.
11162 * gdb.base/cursal.c: New file.
11163
11164 2004-11-03 Andrew Cagney <cagney@gnu.org>
11165
11166 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11167
11168 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11169
11170 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11171 NetBSD/ELF targets.
11172
11173 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11174
11175 * gdb.threads/bp_in_thread.c: New file, copied from
11176 pthread_cond_wait.c.
11177 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11178 file, rather than reusing the .c file from another testcase.
11179
11180 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11181
11182 * gdb.ada/null_record.exp: Check where we stopped after
11183 sending the start command, instead of where the associated
11184 temporary breakpoint was inserted.
11185
11186 2004-10-14 Andrew Cagney <cagney@gnu.org>
11187
11188 * gdb.mi/gdb701.c (main): Return 0.
11189
11190 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11191
11192 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11193
11194 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11195
11196 * gdb.threads/schedlock.c: Add comment markers to use to find
11197 line numbers.
11198 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11199 comments.
11200 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11201 breakpoint lines.
11202
11203 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11204
11205 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11206
11207 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11208
11209 * configure.in: Add gdb.dwarf2.
11210 * configure: Regenerated.
11211 * Makefile.in: Add gdb.dwarf2.
11212 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11213 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11214 gdb.dwarf2/file1.txt: New files.
11215
11216 2004-10-11 Orjan Friberg <orjanf@axis.com>
11217
11218 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11219 of "run", since the latter doesn't work with remote targets. Adjust
11220 the breakpoint numbering accordingly.
11221 * gdb.threads/pthread_cond_wait.exp: Ditto.
11222
11223 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11224
11225 * gdb.base/overlays.exp: Update copyright years.
11226
11227 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11228
11229 * gdb.base/overlays.exp: Disable if target is Linux.
11230
11231 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11232
11233 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11234
11235 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11236
11237 * gdb.asm/asm-source.exp: Add m32r-linux target.
11238 * gdb.asm/m32r-linux.inc: New file.
11239
11240 2004-09-24 Andrew Cagney <cagney@redhat.com>
11241 David Anderson <anderson@redhat.com>
11242
11243 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11244 command fails, assume things will work.
11245 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11246 (_GNU_SOURCE): Define.
11247 (print_unsigned, print_hex): Change parameter to "long long".
11248 (print_byte_count): New function, use to print byte counts.
11249 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11250 O_LARGEFILE.
11251 (main): Compute an upper bound on a corefile in max_core_size.
11252 Limit memory chunk size to max_core_size. Limit total memory
11253 allocated to max_core_size.
11254
11255 2004-09-23 Andrew Cagney <cagney@gnu.org>
11256
11257 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11258 from a separate process with code that creates a corefile by
11259 making the inferior dump core.
11260
11261 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11262
11263 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11264 block.
11265
11266 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11267
11268 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11269 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11270 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11271 Likewise.
11272
11273 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11274
11275 * gdb.java/jprint.exp: New test case for java inferior call.
11276 * gdb.java/jprint.java: Ditto.
11277
11278 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11279
11280 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11281
11282 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11283
11284 * gdb.threads/killed.c: Include <stdlib.h>.
11285 * gdb.threads/pthreads.c: Likewise.
11286
11287 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11288
11289 * gdb.threads/killed.c: Add copyright notice.
11290
11291 2004-09-10 Jason Molenda (jmolenda@apple.com)
11292
11293 * gdb.base/define.exp: Two new tests to verify zero space chars
11294 after 'if' and 'while' commands in a user-defined command is correctly
11295 parsed.
11296
11297 2004-09-08 Andrew Cagney <cagney@gnu.org>
11298
11299 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11300 delivery test with duplicate at end of file.
11301
11302 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11303
11304 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11305
11306 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11307
11308 * config/hppro.exp: Removed.
11309
11310 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11311
11312 * config/sparclet.exp: Removed.
11313
11314 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11315
11316 * config/udi.exp: Removed.
11317
11318 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11319
11320 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11321 of "exp_continue".
11322 (advancei): Likewise.
11323
11324 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11325
11326 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11327
11328 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11329
11330 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11331 to check for nodebug in executable.
11332 * gdb.gdb/observer.exp (setup_test): Likewise.
11333 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11334 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11335
11336 2004-09-01 Andrew Cagney <cagney@gnu.org>
11337
11338 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11339 files.
11340
11341 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11342
11343 * gdb.base/unload.exp: Fix expected warning message to match
11344 latest format.
11345
11346 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11347
11348 * gdb.base/call-rt-st.exp: Fix typos.
11349
11350 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11351
11352 * gdb.threads/thread_check.exp: New testcase.
11353 * gdb.threads/thread_check.c: New testcase.
11354
11355 2004-08-31 Andrew Cagney <cagney@gnu.org>
11356
11357 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11358 (skip_to_handler_entry): New procedures. Test stepping into a
11359 handler when the breakpoint is at the handler's entry point.
11360
11361 2004-08-30 Andrew Cagney <cagney@gnu.org>
11362
11363 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11364 gdb/1757.
11365
11366 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11367
11368 With code from Manoj Iyer <manjo@austin.ibm.com>:
11369 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11370 return value. Add an arm for "no debugging symbols found".
11371 Change a stray "error" to "perror".
11372 (gdb_run_cmd): Adapt to new return value.
11373 * gdb.base/remote.exp: Adapt to new return value.
11374 * gdb.gdb/complaints.exp: Likewise.
11375 * gdb.gdb/observer.exp: Likewise.
11376 * gdb.gdb/selftest.exp: Likewise.
11377 * gdb.gdb/xfullpath.exp: Likewise.
11378
11379 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11380
11381 * gdb.threads/bp_in_thread.exp: New testcase.
11382
11383 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11384
11385 Fix PR testsuite/1735.
11386 * gdb.threads/schedlock.c (thread_function): Add a cast
11387 to suppress a gcc warning.
11388 * gdb.threads/thread-specific.c (thread_function): Likewise.
11389
11390 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11391
11392 * gdb.base/unload.c: Include <stdlib.h>.
11393
11394 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11395
11396 From Paul Gilliam <pgilliam@us.ibm.com>:
11397 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11398 synchronized after the "return".
11399
11400 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11401
11402 * gdb.mi/basics.c: Include <stdio.h>.
11403 * gdb.mi/pthreads.c: Include <stdlib.h>.
11404 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11405
11406 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11407
11408 * gdb.threads/schedlock.c: Add copyright notice.
11409
11410 2004-08-25 Andrew Cagney <cagney@gnu.org>
11411
11412 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11413 (skip_over_handler, breakpoint_over_hander): New test procedures.
11414 (advance, advancei): Add a proper prefix, do not use
11415 rerun_to_main.
11416 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11417
11418 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11419
11420 * gdb.mi/basics.c: Add copyright notice.
11421 * gdb.mi/var-cmd.c: Add copyright notice.
11422
11423 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11424
11425 * lib/gdb.exp: Remove signed_keyword_not_used.
11426 * lib/compiler.c: Likewise.
11427 * lib/compiler.cc: Likewise.
11428
11429 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11430
11431 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11432 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11433
11434 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11435
11436 * gdb.base/whatis.c: Add copyright notice.
11437
11438 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11439
11440 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11441 it to skip the breakpoints encoded in the inline assembly.
11442
11443 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11444
11445 * Makefile.in: Add gdb.fortran.
11446
11447 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11448
11449 * gdb.base/call-sc.exp (test_scalar_returns):
11450 Fix cut-and-paste glitch in "Make fun return now".
11451
11452 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11453
11454 * configure.in: Add gdb.fortran.
11455 * configure: Regenerate.
11456 * gdb.fortran/Makefile.in: New file.
11457 * lib/gdb.exp (skip_fortran_tests): New procedure.
11458
11459 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11460
11461 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11462 reference to bug-gnu@prep.ai.mit.edu.
11463 * gdb.mi/mi-var-child.exp: Likewise.
11464 * gdb.mi/mi-var-cmd.exp: Likewise.
11465 * gdb.mi/mi-var-display.exp: Likewise.
11466 * gdb.mi/mi2-var-block.exp: Likewise.
11467 * gdb.mi/mi2-var-child.exp: Likewise.
11468 * gdb.mi/mi2-var-cmd.exp: Likewise.
11469 * gdb.mi/mi2-var-display.exp: Likewise.
11470
11471 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11472
11473 * gdb.base/unload.c (main): Make local variable msg const.
11474
11475 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11476
11477 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11478 to bug-gnu@prep.ai.mit.edu.
11479 * gdb.mi/mi-disassemble.exp: Likewise.
11480 * gdb.mi/mi-eval.exp: Likewise.
11481 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11482 default line number.
11483 * gdb.mi/mi-return.exp: Likewise.
11484 * gdb.mi/mi-simplerun.exp: Likewise.
11485 * gdb.mi/mi-stack.exp: Likewise.
11486 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11487 number with explicit range test.
11488 * gdb.mi/mi-watch.exp: Likewise.
11489 * gdb.mi/mi2-break.exp: Likewise.
11490 * gdb.mi/mi2-cli.exp: Likewise.
11491 * gdb.mi/mi2-disassemble.exp: Likewise.
11492 * gdb.mi/mi2-eval.exp: Likewise.
11493 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11494 default line number.
11495 * gdb.mi/mi2-return.exp: Likewise.
11496 * gdb.mi/mi2-simplerun.exp: Likewise.
11497 * gdb.mi/mi2-stack.exp: Likewise.
11498 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11499 number with explicit range test.
11500 * gdb.mi/mi2-watch.exp: Likewise.
11501
11502 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11503
11504 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11505 * gdb.cp/m-static.exp: Likewise.
11506 * gdb.cp/rtti.exp: Likewise.
11507
11508 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11509
11510 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11511
11512 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11513
11514 * ChangeLog: Prefix Local Variables with semi-colons and indent
11515 the reference to older ChangeLog files, to fix fontification in
11516 Emacs.
11517
11518 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11519
11520 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11521 * gdb.mi/mi2-break.exp: Likewise.
11522
11523 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11524
11525 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11526
11527 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11528
11529 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11530
11531 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11532
11533 * gdb.cp/classes.exp: Remove unused declarations. Just let
11534 test names default instead of providing special names. Remove
11535 extraneous demangler test.
11536
11537 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11538
11539 * gdb.base/unload.exp: New test for breakpoints in dynamically
11540 loaded libraries.
11541 * gdb.base/unload.c: Ditto.
11542 * gdb.base/unloadshr.c: Ditto.
11543
11544 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11545
11546 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11547 cp_test_ptype_class.
11548 (test_enums): Likewise.
11549
11550 2004-08-10 Andrew Cagney <cagney@gnu.org>
11551
11552 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11553 files.
11554
11555 2004-08-10 Andrew Cagney <cagney@gnu.org>
11556
11557 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11558 init_malloc call.
11559
11560 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11561
11562 * ChangeLog: Add copyright notice. The notice is copied
11563 from emacs 21.3 top level ChangeLog.
11564
11565 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11566
11567 * lib/cp-support.exp: New file.
11568 * lib/cp-support.exp (cp_test_type_class): New function.
11569 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11570 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11571 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11572 cp_test_ptype_class.
11573
11574 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11575
11576 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11577 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11578 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11579 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11580 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11581 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11582 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11583 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11584 gdb.mi/mi2-watch.exp: Update copyright years.
11585
11586 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11587
11588 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11589
11590 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11591
11592 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11593 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11594 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11595 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11596 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11597 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11598 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11599 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11600 gdb.mi/mi-watch.exp: Update copyright years.
11601
11602 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11603
11604 PR gdb/1738
11605 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11606 from a breakpoint with a pending signal.
11607
11608 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11609
11610 PR gdb/1736
11611 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11612 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11613 the prompt.
11614 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11615
11616 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11617
11618 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11619
11620 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11621
11622 PR gdb/1736
11623 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11624 for i?86-*-linux*.
11625
11626 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11627
11628 * gdb.arch/i386-prologue.exp: Compile without debug information.
11629
11630 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11631
11632 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11633 rather than asking gdb to search.
11634
11635 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11636
11637 * gdb.base/gcore.c: Include <string.h>.
11638
11639 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11640
11641 * gdb.base/gcore.c: Add copyright notice.
11642
11643 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11644
11645 * gdb.base/freebpcmd.c: Include <stdio.h>.
11646 * gdb.base/long_long.c: Include <string.h>.
11647 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11648 * gdb.base/siginfo.c: Include <string.h>.
11649 * gdb.base/sigstep.c: Include <string.h>.
11650
11651 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11652
11653 * gdb.base/complex.c: Include <stdlib.h>.
11654
11655 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11656
11657 * gdb.base/complex.c: Add copyright notice.
11658
11659 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11660
11661 * gdb.base/charset.c: Include <stdlib.h>.
11662
11663 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11664
11665 * gdb.base/auxv.c: Include <stdlib.h>.
11666
11667 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11668
11669 * gdb.base/auxv.c: Add copyright notice.
11670
11671 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11672
11673 * gdb.base/coremaker.c: Add copyright notice.
11674 * gdb.base/coremaker2.c: Add copyright notice.
11675
11676 2004-08-04 Andrew Cagney <cagney@gnu.org>
11677
11678 * gdb.base/store.exp: Update copyright.
11679 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11680 names, do not import gdb_prompt.
11681
11682 2004-08-01 Andrew Cagney <cagney@gnu.org>
11683
11684 Fix PR testsuite/1729.
11685 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11686 not use capture_value with value 4.
11687 (capture_value): Add optional test name parameter.
11688 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11689 the prefix, pass to capture_value.
11690
11691 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11692
11693 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11694 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11695 (main): Call new function.
11696
11697 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11698
11699 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11700
11701 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11702
11703 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11704
11705 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11706
11707 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11708 Accept more values of vtbl pointer. Remove some messages
11709 about "obsolete gcc or gdb".
11710
11711 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11712
11713 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11714
11715 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11716
11717 * gdb.base/asm-source.exp: Properly convert target board
11718 debug flags from gcc format to binutils format.
11719
11720 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11721
11722 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11723 gdb1718". PR backtrace/1718 partially fixed.
11724
11725 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11726
11727 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11728
11729 2004-07-26 Nick Clifton <nickc@redhat.com>
11730
11731 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11732 good default value for a specific architecture is available then
11733 set it to that value. Otherwise default to the -gstabs switch.
11734 Remove the -g... switches from the asm-flags variable. Allow the
11735 target board info to override the value if it wants to. Pass the
11736 switch on the assembler command line.
11737
11738 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11739
11740 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11741 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11742 (main): Call new function.
11743
11744 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11745
11746 Test for PR exp/1715.
11747 * gdb.base/radix.exp: Refactor common procedures. Make all
11748 test names unique. Change XFAIL to KFAIL.
11749
11750 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11751
11752 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11753 * gdb.ada/gnat_ada.gin: ... to here.
11754 * configure.in: Use gnat_ada.gin.
11755 * configure: Regenerate.
11756
11757 2004-07-20 Andrew Cagney <cagney@gnu.org>
11758
11759 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11760 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11761 XFAILs. Clean up test messages and comments. Check backtraces.
11762 Delete re-sync code.
11763
11764 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11765
11766 Fix PR cli/740.
11767 * gdb.base/annota1.exp: Honor gdb,nosignals.
11768 * gdb.base/annota3.exp: Likewise.
11769
11770 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11771
11772 * lib/java.exp: Update copyright notice.
11773
11774 2004-07-19 Andrew Cagney <cagney@gnu.org>
11775
11776 * gdb.base/selftest.exp: Copy file from here ...
11777 * gdb.gdb/selftest.exp: ... to here.
11778
11779 2004-07-16 Andrew Cagney <cagney@redhat.com>
11780
11781 * lib/insight-support.exp: Delete file.
11782 * lib/java.exp (java_init): Fix copyright.
11783
11784 2004-07-16 Andrew Cagney <cagney@gnu.org>
11785
11786 * gdb.base/restore.c: Append "prologue" to comments marking the a
11787 function's prologue.
11788 * gdb.base/restore.exp: Update copyright, re-indent.
11789 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11790 callerN" prefix where needed. Update patterns that match a
11791 function's prologue.
11792
11793 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11794
11795 * gdb.base/restore.c: Add copyright notice.
11796
11797 2004-07-16 Andrew Cagney <cagney@gnu.org>
11798
11799 * gdb.base/logical.exp: Update copyright.
11800 (evaluate): New procedure. Use to re-implement tests using
11801 several tables.
11802
11803 2004-07-14 Martin Hunt <hunt@redhat.com>
11804
11805 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11806 which fixes some problems where init.tcl was not found.
11807
11808 2004-07-13 Andrew Cagney <cagney@gnu.org>
11809
11810 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11811 (check_sizeof, check_valueof): Do not include the output in the
11812 test name. Use gdb_test.
11813 (get_valueof): Use gdb_test_multiple.
11814
11815 * gdb.base/step-test.exp: Update copyright. Use
11816 gdb_test_multiple. Ensure that test names do not include
11817 architecture dependent output.
11818
11819 * gdb.gdb/observer.exp: Update copyright.
11820 (setup_test): Use gdb_test_multiple.
11821 (attach_first_observer, attach_second_observer)
11822 (attach_third_observer, detach_first_observer)
11823 (detach_second_observer, detach_third_observer)
11824 (reset_counters, check_counters): Make $message a prefix.
11825 (test_normal_stop_notifications): Add "args" parameter - a list of
11826 init functions to be called. Make $message a prefix,
11827 (test_observer_normal_stop): Change the message prefixes so that
11828 they are unique, pass the attach / detach procedures to
11829 test_normal_stop_notifications.
11830
11831 * gdb.base/signull.exp (test_segv): Prefix all tests with
11832 "${name}". Clean up test messages.
11833
11834 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11835
11836 * gdb.base/ena-dis-br.exp: Update copyright.
11837 (break_at): New function. Replace send_gdb with gdb_test,
11838 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11839 ignore count, not stopped at bpt", with KFAIL.
11840
11841 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11842
11843 * gdb.base/attach.exp: Remove cleanupfile handling.
11844
11845 2004-07-12 Andrew Cagney <cagney@gnu.org>
11846
11847 * gdb.base/annota1.exp: Cleanup corefile test name.
11848 * gdb.base/annota3.exp: Ditto.
11849
11850 2004-07-12 Andrew Cagney <cagney@gnu.org>
11851
11852 * gdb.base/signals.exp: Clean up copyright, re-indent.
11853
11854 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11855 gdb_test and gdb_test_multiple.
11856
11857 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11858
11859 * gdb.java/jmain.exp: Fix expected line number for main to
11860 break at. Set XFAIL for break at main test since gcj does not
11861 provide line number info for first statement in main.
11862
11863 2004-07-08 Andrew Cagney <cagney@gnu.org>
11864
11865 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11866
11867 * gdb.base/sigbpt.exp: Make the common part of each test name a
11868 prefix instead of suffix.
11869
11870 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11871
11872 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11873 test from test_tbreak_creation_and_listing to
11874 test_file_list_exec_source_file
11875 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11876 Changed name of test from test_tbreak_creation_and_listing to
11877 test_file_list_exec_source_file
11878
11879 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11880
11881 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11882 the jmisc() constructor instead of <init>.
11883 * gdb.java/jmisc1.exp: Ditto.
11884
11885 2004-07-07 Andrew Cagney <cagney@gnu.org>
11886
11887 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11888 corrupting the PC.
11889
11890 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11891
11892 * gdb.cp/templates.exp: Accept whitespace change in demangler
11893 output.
11894
11895 2004-07-06 Andrew Cagney <cagney@gnu.org>
11896
11897 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11898
11899 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11900
11901 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11902 * lib/compiler.cc: Likewise.
11903
11904 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11905
11906 * lib/compiler.cc: Work around string preprocessing problem
11907 with old hp c++ compiler.
11908 * lib/compiler.c: Likewise.
11909
11910 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11911
11912 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11913 directives to conditionalize symbol prefixing.
11914 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11915 additional_flags handling. Add underscore prefix for Cygwin.
11916 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11917 conditionalize symbol prefixing.
11918 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11919 additional_flags handling. Add underscore prefix for Cygwin.
11920
11921 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11922
11923 * gdb.base/bigcore.exp: Skip test on Cygwin.
11924
11925 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11926
11927 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11928 formats for "info register". Use gdb_test_multiple. Fix
11929 the "invalid register" test.
11930
11931 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11932
11933 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11934 PID for Cygwin. Add Cygwin specific strings to check for in some
11935 tests.
11936 (do_attach_tests): Add a test for user interaction when attaching
11937 to a process with no matching symbol table already loaded.
11938
11939 2004-06-26 Andrew Cagney <cagney@gnu.org>
11940
11941 Test PR java/1567 and PR java/1565.
11942 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11943 * gdb.java/jmisc2.exp: Delete file.
11944
11945 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11946
11947 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11948
11949 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11950
11951 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11952 attach process.
11953
11954 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11955
11956 * gdb.cp/pr-1553.exp: Remove.
11957
11958 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11959
11960 * gdb.cp/pr-1553.cc: Remove.
11961 * gdb.cp/pr-1553.exp: Disable this test.
11962
11963 2004-06-20 Jim Blandy <jimb@redhat.com>
11964
11965 Fix PR testsuite/1680.
11966 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11967 regular expressions.
11968
11969 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11970
11971 Fix PR testsuite/1679.
11972 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11973 Issue an UNSUPPORTED result instead.
11974
11975 2004-06-18 Jim Blandy <jimb@redhat.com>
11976
11977 * gdb.base/charset.exp: Only send a control-C if we see a new
11978 prompt and incomplete command.
11979
11980 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11981
11982 * gdb.cp/pr-574.cc: Add copyright notice.
11983
11984 2004-06-17 Jim Blandy <jimb@redhat.com>
11985
11986 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11987 cases where the regexp has no groups; this grabs random text from
11988 the previous test suite, whatever that was.
11989
11990 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11991
11992 * gdb.cp/printmethod.cc: Add copyright notice.
11993
11994 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11995
11996 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11997
11998 2004-06-16 Andrew Cagney <cagney@gnu.org>
11999
12000 * gdb.base/signull.c: Update copyright. Include <string.h>.
12001 (bowler): Replace data_pointer with data_read
12002 and data_write cases. Add code_descriptor case.
12003 (zero, desc): New array and pointer.
12004 (data, code): Change to simple pointers.
12005 * gdb.base/signull.exp: Fix probe pattern matching a function
12006 descriptor SIGSEGV. Replace data_pointer with data_read and
12007 data_write tests.
12008
12009 2004-06-16 Andrew Cagney <cagney@gnu.org>
12010
12011 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12012
12013 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12014
12015 * gdb.base/long_long.c: Add copyright notice.
12016
12017 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12018
12019 * gdb.base/long_long.exp: Remove reference to
12020 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12021 to gdb_breakpoint and gdb_continue_to_breakpoint.
12022
12023 2004-06-14 Jim Blandy <jimb@redhat.com>
12024
12025 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12026 endian case.
12027
12028 2004-06-14 Andrew Cagney <cagney@gnu.org>
12029
12030 * gdb.base/gcore.exp (capture_command_output): Delete the always
12031 passing tests containing inferior values.
12032 * gdb.base/ending-run.exp: Do not include the breakpoint address
12033 in the test message. Update copyright.
12034 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12035 size in the test name, use gdb_test_multiple. Update copyright.
12036
12037 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12038
12039 * gdb.cp/ref-types.cc: Add copyright notice.
12040
12041 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12042
12043 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12044 hp_aCC_compiler.
12045 * lib/compiler.cc: Likewise.
12046 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12047 'set' commands. Log diagnostics for other lines. Set
12048 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12049
12050 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12051
12052 * gdb.cp/try_catch.cc: Add copyright notice.
12053
12054 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12055
12056 * gdb.cp/userdef.cc: Add copyright notice.
12057
12058 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12059
12060 * gdb.cp/virtfunc.cc: Add copyright notice.
12061
12062 2004-06-11 Randolph Chung <tausq@debian.org>
12063
12064 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12065 problem.
12066
12067 2004-06-10 Andrew Cagney <cagney@gnu.org>
12068
12069 * lib/compiler.cc, lib/compiler.c: Append either
12070 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12071 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12072 instead of gcc-3-3.
12073
12074 2004-06-09 Andrew Cagney <cagney@gnu.org>
12075
12076 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12077 gdb/1455, bug is specific to "long long" and "double".
12078
12079 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12080 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12081 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12082 fixed.
12083
12084 2004-06-09 Andrew Cagney <cagney@gnu.org>
12085
12086 * gdb.base/structs.exp (test_struct_returns): Replace
12087 "return_value_unknown" and "finish_value_unknown" by
12088 "return_value_known" and "finish_value_known". Instead of
12089 "return_value_unknown" iff "finish_value_unknown", check
12090 "return_value_known" implies "finish_value_known".
12091
12092 2004-06-08 Martin Hunt <hunt@redhat.com>
12093
12094 * gdb.base/float.exp: Add pattern for mips targets.
12095
12096 2004-06-08 Randolph Chung <tausq@debian.org>
12097
12098 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12099 message for unknown architectures more clear.
12100
12101 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12102
12103 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12104 start the execution of the program.
12105
12106 2004-06-07 Jim Blandy <jimb@redhat.com>
12107
12108 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12109 * gdb.arch/i386-cpuid.h: New helper file.
12110
12111 2004-06-07 Randolph Chung <tausq@debian.org>
12112
12113 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12114 has started.
12115
12116 2004-06-04 Roland McGrath <roland@redhat.com>
12117
12118 Fix PR gdb/1647.
12119 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12120 differently to be robust to output buffering differences.
12121
12122 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12123
12124 * gdb.threads/pthreads.exp: Update copyright years.
12125 (check_control_c): Change asynchronous 'after' to synchronous.
12126
12127 2004-06-04 Roland McGrath <roland@redhat.com>
12128
12129 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12130 next gdb prompt.
12131
12132 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12133
12134 Fix PR gdb/1636.
12135 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12136 calls to synchronous.
12137
12138 2004-05-26 Jim Blandy <jimb@redhat.com>
12139
12140 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12141
12142 2004-05-24 Randolph Chung <tausq@debian.org>
12143
12144 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12145 * gdb.asm/pa.inc: New file.
12146
12147 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12148
12149 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12150
12151 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12152 Daniel Jacobowitz <drow@mvista.com>
12153
12154 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12155 GDB prompt.
12156
12157 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12158
12159 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12160 setjmp/longjmp. Use sigaction instead of signal.
12161
12162 2004-05-19 J. Brobecker <brobecker@gnat.com>
12163 Michael Snyder <msnyder@redhat.com>
12164
12165 * gdb.threads/pthread_cond_wait.c: New file.
12166 * gdb.threads/pthread_cond_wait.exp: New testcase.
12167
12168 2004-05-13 Andrew Cagney <cagney@redhat.com>
12169
12170 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12171 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12172
12173 2004-05-11 Andrew Cagney <cagney@redhat.com>
12174
12175 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12176 fixed but revealed gdb/1639.
12177
12178 2004-05-10 Andrew Cagney <cagney@redhat.com>
12179
12180 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12181 func1" and "next to 2nd alarm", kernel bug avoided.
12182
12183 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12184
12185 PR external/1568
12186 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12187 XFAIL if it is smaller than bytes_allocated.
12188 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12189 (main): Make chunks_allocated unsigned. Correct comment.
12190
12191 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12192
12193 * gdb.arch/powerpc-aix-prologue.c: New file.
12194 * gdb.arch/powerpc-aix-prologue.exp: New file.
12195
12196 2004-05-07 Jim Blandy <jimb@redhat.com>
12197
12198 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12199 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12200
12201 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12202
12203 * gdb.base/sep.exp: No longer setup_kfail when the program was
12204 built with dwarf2.
12205
12206 2004-05-05 Jim Ingham <jingham@apple.com>
12207
12208 * gdb.base/pending.exp: Make sure pending breakpoints
12209 preserve the ignore count.
12210
12211 2004-04-27 Jerome Guitton <guitton@gnat.com>
12212
12213 * i386-prologue.exp: Add testcase for jump instruction as first
12214 instruction of the real code.
12215 * i386-prologue.c (jump_at_beginning): New function.
12216
12217 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12218
12219 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12220 x86_64-*-*.
12221
12222 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12223
12224 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12225 i*86-*-*.
12226
12227 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12228
12229 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12230 expression that checks the return type.
12231
12232 2004-04-23 Andrew Cagney <cagney@redhat.com>
12233
12234 * gdb.base/call-sc.exp: New test of scalar call/return values.
12235 * gdb.base/call-sc.c: Ditto.
12236
12237 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12238
12239 * gdb.threads/manythreads.c: Reduce thread stack size.
12240
12241 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12242
12243 * gdb.threads/manythreads.c: Add copyright notice.
12244
12245 2004-04-23 Andrew Cagney <cagney@redhat.com>
12246
12247 * gdb.base/siginfo.exp: Better handle step out of signal.
12248 * gdb.base/sigstep.exp: Ditto.
12249
12250 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12251 Daniel Jacobowitz <drow@mvista.com>
12252
12253 * gdb.threads/manythreads.c: New testcase.
12254 * gdb.threads/manythreads.exp: Ditto.
12255
12256 2004-04-22 Jim Blandy <jimb@redhat.com>
12257
12258 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12259 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12260
12261 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12262
12263 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12264
12265 2004-04-21 Andrew Cagney <cagney@redhat.com>
12266
12267 * gdb.base/sigstep.c: New file.
12268 * gdb.base/sigstep.exp: New file.
12269
12270 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12271
12272 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12273 call to observer_notify_normal_stop.
12274
12275 2004-04-15 Andrew Cagney <cagney@redhat.com>
12276
12277 * gdb.base/siginfo.c: New file.
12278 * gdb.base/siginfo.exp: New file.
12279
12280 2004-04-12 J. Brobecker <brobecker@gnat.com>
12281
12282 * gdb.base/sep.exp: Fix typo in comment.
12283
12284 2004-04-12 J. Brobecker <brobecker@gnat.com>
12285
12286 * gdb.base/sep.c: New file.
12287 * gdb.base/sep-proc.c: New file.
12288 * gdb.base/sep.exp: New testcase.
12289
12290 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12291
12292 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12293 support.
12294
12295 2004-04-05 Andrew Cagney <cagney@redhat.com>
12296
12297 * gdb.base/sigaltstack.c: New file.
12298 * gdb.base/sigaltstack.exp: New file.
12299
12300 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12301
12302 * gdb.base/foll-fork.exp: Update the expected output for
12303 "help set follow-fork-mode", to match a change that was made
12304 to the help of this variable on 2004-01-13.
12305
12306 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12307
12308 * lib/ada.exp: Add copyright notice.
12309 * bar.ads: Likewise.
12310 * bar.adb: Likewise.
12311 * null_record.adb: Likewise.
12312 * null_record.exp: Likewise.
12313 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12314
12315 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12316
12317 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12318 * configure: Regenerate.
12319
12320 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12321
12322 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12323 to build the application. Remove the message printed when in
12324 verbose mode, redundant with the UNSUPPORTED message above.
12325
12326 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12327
12328 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12329 * gdb.ada (null_record.exp): New testcase.
12330
12331 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12332
12333 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12334
12335 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12336
12337 * gdb.ada: New subdirectory.
12338 * gdb.ada/Makefile.in: New file.
12339 * gdb.ada/gnat_ada.gpr.in: New file.
12340
12341 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12342
12343 * lib/ada.exp: New file.
12344
12345 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12346
12347 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12348 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12349
12350 2004-03-22 Andrew Cagney <cagney@redhat.com>
12351
12352 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12353 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12354 Problem identified by Ulrich Weigand.
12355
12356 2004-03-17 David Carlton <carlton@kealia.com>
12357
12358 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12359 PR c++/826.
12360
12361 2004-03-16 Roland McGrath <roland@redhat.com>
12362
12363 * gdb.base/auxv.exp: New file.
12364 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12365
12366 2004-03-12 David Carlton <carlton@kealia.com>
12367
12368 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12369 * gdb.cp/pr-1553.cc: Ditto.
12370 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12371 pass branch.
12372
12373 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12374
12375 * gdb.cp/templates.exp: Accept more template types.
12376
12377 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12378
12379 From Corinna Vinschen with modifications.
12380 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12381 local variable obj_with_enum.
12382 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12383 results with obj_with_enum.
12384
12385 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12386
12387 * gdb.cp/classes.cc: New file, copied from misc.cc.
12388 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12389
12390 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12391
12392 * gdb.cp/misc.cc: Add copyright notice.
12393
12394 2004-03-05 David Carlton <carlton@kealia.com>
12395
12396 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12397 * gdb.cp/rtti.h: Update copyright.
12398 (namespace n2::n3): New.
12399 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12400 (n2::n3::func3): New.
12401 (main): Call n2::n3::func3.
12402 * gdb.cp/rtti2.cc: Update copyright.
12403 (n2::create3): New.
12404
12405 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12406
12407 * gdb.asm/openbsd.inc: Fix typo.
12408
12409 2004-03-03 Fred Fish <fnf@redhat.com>
12410
12411 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12412 "val" instead of unused "size". Update copyright year.
12413
12414 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12415
12416 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12417 to use unsigned char.
12418 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12419 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12420
12421 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12422
12423 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12424 line of output.
12425
12426 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12427
12428 * gdb.base/relocate.c (dummy): Initialize.
12429
12430 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12431
12432 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12433 a breakpoint at exit.
12434
12435 2004-02-27 Fred Fish <fnf@redhat.com>
12436
12437 * gdb.base/chng-syms.exp: Add expect condition to match failing
12438 case that isn't a timeout.
12439
12440 2004-02-27 Andrew Cagney <cagney@redhat.com>
12441
12442 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12443 support.
12444
12445 2004-02-26 Fred Fish <fnf@redhat.com>
12446
12447 * gdb.arch/gdb1431.c: Remove.
12448 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12449 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12450 of "until" incorrectly.
12451
12452 2004-02-26 J. Brobecker <brobecker@gnat.com>
12453
12454 * gdb.cp/class2.cc (empty): New class.
12455 (refer): New function.
12456 (main): Declare an object of type empty and use it.
12457 * gdb.cp/class2.exp: Print the value of an object of type empty.
12458
12459 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12460
12461 * gdb.base/langs.exp: Update query string to match the
12462 new nquery format used for pending breakpoints.
12463
12464 2004-02-26 Andrew Cagney <cagney@redhat.com>
12465
12466 Fix PR i18n/1570.
12467 * gdb.base/charset.c: Update copyright notice.
12468 (main, init_string): Remove the escape character '\e' tests.
12469 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12470 * gdb.base/charset.exp (valid_host_charset): Ditto.
12471 * gdb.base/setvar.exp: Ditto.
12472
12473 2004-02-24 Andrew Cagney <cagney@redhat.com>
12474
12475 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12476 mmapped data in core file" PASS and FAIL messages consistent.
12477
12478 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12479 setting a breakpoint. Work around PR java/1565.
12480
12481 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12482
12483 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12484 new nquery format.
12485 * gdb.base/pending.exp: Ditto.
12486
12487 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12488
12489 * configure.in: Run stabs tests on *BSD.
12490 * configure: Regenerated.
12491
12492 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12493
12494 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12495
12496 2004-02-20 Fred Fish <fnf@redhat.com>
12497
12498 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12499 blank in test for "returns short", for consistency with other
12500 "returns xxx" tests. Update copyright year.
12501
12502 2004-02-19 Fred Fish <fnf@redhat.com>
12503
12504 New testcase for PR breakpoint/1558.
12505 * gdb.arch/gdb1558.exp: New file.
12506 * gdb.arch/gdb1558.c: New file.
12507
12508 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12509
12510 * gdb.base/nodebug.exp: Fix typo.
12511
12512 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12513
12514 Committed by Jim Blandy <jimb@redhat.com>.
12515
12516 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12517
12518 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12519
12520 * gdb.base/float.exp: Support s390*-*-* targets.
12521
12522 2004-02-17 Adam Fedor <fedor@gnu.org>
12523
12524 * gdb.base/gdb1555.exp: New file.
12525 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12526
12527 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12528
12529 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12530
12531 2004-02-16 Fred Fish <fnf@redhat.com>
12532
12533 * gdb.arch/gdb1291.c: Remove
12534 * gdb.arch/gdb1291.s: New test input file.
12535 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12536 fail. Test for correct result, known incorrect result, other
12537 failures and timeouts.
12538
12539 2004-02-16 Andrew Cagney <cagney@redhat.com>
12540
12541 * gdb.base/bigcore.exp: New file.
12542 * gdb.base/bigcore.c: New file.
12543
12544 2004-02-13 Andrew Cagney <cagney@redhat.com>
12545
12546 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12547 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12548 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12549 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12550 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12551 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12552 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12553 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12554 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12555 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12556
12557 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12558
12559 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12560 executed is an alloc instruction.
12561
12562 2004-02-11 David Carlton <carlton@kealia.com>
12563
12564 * gdb.cp/breakpoint.exp: New.
12565 * gdb.cp/breakpoint.cc: New.
12566
12567 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12568
12569 Partial fix for PR gdb/1543.
12570 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12571 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12572 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12573 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12574 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12575 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12576 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12577 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12578 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12579 to bug-gdb@prep.ai.mit.edu .
12580 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12581 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12582 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12583 Likewise.
12584
12585 2004-02-10 Andrew Cagney <cagney@redhat.com>
12586
12587 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12588 using gdb_internal_error_resync.
12589
12590 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12591
12592 * gdb.threads/thread-specific.exp: Stop early if no threads are
12593 found.
12594
12595 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12596
12597 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12598
12599 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12600
12601 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12602 breakpoints.
12603
12604 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12605
12606 * config/sim.exp (gdb_load): Handle $arg == "".
12607 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12608 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12609
12610 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12611
12612 * gdb.base/maint.exp: Update test to reflect
12613 obstack changes.
12614
12615 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12616
12617 * gdb.base/pendshr.c (pendfunc): New function that calls
12618 pendfunc1.
12619 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12620
12621 2004-02-04 Fred Fish <fnf@redhat.com>
12622
12623 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12624 function symbols and update copyright years.
12625 * gdb.arch/gdb1291.c: Ditto.
12626
12627 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12628
12629 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12630
12631 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12632
12633 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12634
12635 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12636
12637 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12638
12639 2004-02-02 Fred Fish <fnf@redhat.com>
12640
12641 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12642 remote targets. Update copyright years.
12643
12644 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12645
12646 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12647 support.
12648 * gdb.base/langs.exp: Fix test which attempts to create
12649 breakpoint on non-existent function to handle new pending
12650 support.
12651 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12652 a breakpoint.
12653 * gdb.base/pending.exp: New test.
12654 * gdb.base/pending.c: New file.
12655 * gdb.base/pendshr.c: Ditto.
12656
12657 2004-02-02 David Carlton <carlton@kealia.com>
12658
12659 * gdb.cp/overload.exp: Add overloadNamespace tests.
12660 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12661 (overloadNamespace, XXX): New.
12662 (main): Call XXX::marker2.
12663
12664 2004-02-01 Fred Fish <fnf@redhat.com>
12665
12666 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12667 * gdb.base/finish.exp: Ditto.
12668 * gdb.base/gcore.exp: Ditto.
12669 * gdb.base/huge.exp: Ditto.
12670 * gdb.base/info-proc.exp: Ditto.
12671 * gdb.base/return2.exp: Ditto.
12672 * gdb.threads/gcore-thread.exp: Ditto.
12673
12674 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12675
12676 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12677
12678 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12679
12680 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12681 that opening the file succeeds on OpenBSD.
12682
12683 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12684
12685 * gdb.threads/thread-specific.c: New file.
12686 * gdb.threads/threads-specific.exp: New test script.
12687 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12688 to expect_out.
12689
12690 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12691
12692 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12693 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12694 only on the "print_small_structs from print_long_arg_list" test.
12695
12696 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12697
12698 * gdb.base/completion.exp: Kill a stray backslash.
12699
12700 From Jim Ingham <jingham@apple.com>:
12701 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12702 agrees with the result from sending a tab.
12703
12704 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12705
12706 * gdb.base/chng-syms.exp: Remove stray newline.
12707
12708 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12709
12710 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12711 *-*-openbsd*.
12712 * gdb.asm/openbsd.inc: New file.
12713
12714 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12715
12716 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12717 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12718 *-*solaris2*. Remove commented out default settings for
12719 asm-flags. Replace gdb_compile with target_link.
12720
12721 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12722
12723 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12724 for all tests. Remove old hp-ux and cygnus xfail cases.
12725
12726 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12727
12728 * gdb.base/chng-syms.exp: New file.
12729 * gdb.base/chng-syms.c: New file.
12730
12731 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12732
12733 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12734 Provide arms for current output in all my configurations.
12735
12736 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12737
12738 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12739 * lib/compiler.cc: Likewise.
12740 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12741 get the right preprocessor. Eval the output directly. Remove
12742 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12743 hp_f77_compiler and hp_f90_compiler completely.
12744 (gdb_preprocess): Delete.
12745 (get_compiler): Delete.
12746
12747 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12748
12749 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12750 <string.h>.
12751
12752 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12753
12754 * gdb.mi/mi-stack.exp: Update copyright.
12755
12756 2004-01-23 David Carlton <carlton@kealia.com>
12757
12758 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12759 test for cp_lookup_transparent_type.
12760 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12761 call them.
12762
12763 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12764
12765 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12766 after -var-update.
12767
12768 2004-01-23 David Carlton <carlton@kealia.com>
12769
12770 * gdb.cp/namespace.cc (C::ensureRefs): New.
12771 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12772
12773 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12774
12775 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12776 case "-stack-list-locals 2".
12777 * gdb.mi/mi-var-child.exp: Test for case
12778 "-var-list-children --all-values NAME".
12779
12780 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12781
12782 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12783
12784 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12785
12786 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12787 used with gdb_test_multiple.
12788
12789 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12790 read at address 0. This fixes PR testsuite/1504.
12791
12792 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12793
12794 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12795 Remove downloading, guessing the host executable, the calls to
12796 gdb_file_cmd and gdb_target_cmd, and "load" support.
12797 (infer_host_exec): New function broken out from gdb_load.
12798 (gdb_load): New wrapper for gdbserver_gdb_load.
12799 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12800 gdb_target_cmd. Use -target-select.
12801 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12802 Download binaries to the host. Clear last_mi_remote_file when
12803 we load a new binary.
12804 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12805 call gdbserver_gdb_load and mi_gdb_target_cmd.
12806
12807 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12808
12809 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12810 type patterns.
12811
12812 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12813
12814 * gdb.cp/templates.exp: Fix typo in test name of
12815 "print Foo<volatile char*>::foo".
12816
12817 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12818
12819 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12820
12821 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12822
12823 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12824 (clean mostlyclean): Remove empty rm.
12825
12826 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12827
12828 * gdb.base/setvar.exp: Add copyright years.
12829
12830 2004-01-14 David Carlton <carlton@bactrian.org>
12831
12832 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12833 PR c++/1511 and update coment.
12834 * gdb.cp/templates.exp: Update patterns to match current output.
12835 If changes involve something other than whitespace, KFAIL
12836 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12837
12838 2004-01-14 David Carlton <carlton@kealia.com>
12839
12840 * gdb.cp/namespace.exp: Add tests involving classes defined within
12841 namespaces.
12842 * gdb.cp/namespace.cc (C::CClass): New.
12843 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12844
12845 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12846
12847 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12848 what debug info we have. Print a better message if something goes
12849 wrong while producing the separate debug info file.
12850
12851 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12852
12853 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12854
12855 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12856
12857 * gdb.base/callfuncs.c: Add copyright notice.
12858
12859 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12860
12861 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12862 inheritance. PR gdb/1498, PR gcc/13539.
12863
12864 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12865
12866 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12867 test specific name.
12868 * gdb.mi/gdb669.exp: Ditto.
12869 * gdb.mi/mi-pthreads.exp: Ditto.
12870 * gdb.mi/mi1-pthreads.exp: Ditto.
12871 * gdb.mi/mi2-pthreads.exp: Ditto.
12872
12873 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12874
12875 * gdb.cp/member-ptr.cc: Add copyright notice.
12876
12877 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12878
12879 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12880 some patterns for recent versions of gcc and hpacc. Delete
12881 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12882 Delete tests that access a NULL pointer-to-member-data. This
12883 script is still disabled for gcc.
12884
12885 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12886
12887 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12888 escaped correctly.
12889
12890 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12891
12892 * gdb.base/sepdebug.exp: New file.
12893 * gdb.base/sepdebug.c: New file.
12894 * lib/gdb.exp (separate_debug_filename): New procedure.
12895 (gdb_gnu_strip_debug): New procedure.
12896
12897 2004-01-12 Andrew Cagney <cagney@redhat.com>
12898
12899 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12900 * gdb.mi/ChangeLog-1999-2003: New file.
12901
12902 2004-01-12 Andrew Cagney <cagney@redhat.com>
12903
12904 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12905 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12906 or EEXIST", treat EBUSY as an XFAIL.
12907
12908 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12909
12910 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12911 hp_cc_compiler.
12912
12913 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12914
12915 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12916 decorations.
12917
12918 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12919
12920 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12921 and "(aCC)" decorations. Remove obsolete doco about old
12922 test results.
12923
12924 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12925
12926 * gdb.cp/exception.exp: Fix typo in doco.
12927
12928 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12929
12930 * gdb.base/gdb1476.exp: Fix typo.
12931
12932 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12933
12934 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12935 file.
12936
12937 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12938
12939 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12940 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12941 Use gdb_compile. Remove restriction on gcc. Add some patterns
12942 for recent version of gdb. Delete second half, which was a copy
12943 of the first half with different build flags. This test is
12944 still disabled because it is still not ready for production.
12945
12946 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12947
12948 * gdb.cp/exception.cc: Add copyright notice.
12949 * gdb.cp/exception.exp: Add a notice that this file is broken
12950 because of line number changes caused by addition of copyright
12951 notice.
12952
12953 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12954
12955 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12956 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12957
12958 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12959
12960 * gdb.cp/classes.exp: Accept gnu abi 2.
12961 * gdb.cp/derivation.exp: Likewise.
12962 * gdb.cp/overload.exp: Likewise.
12963 * gdb.cp/virtfunc.exp: Likewise.
12964
12965 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12966
12967 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12968 semicolon after end of function.
12969
12970 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12971
12972 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12973 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12974 boilerplate code for compiling and running the program under
12975 test. Add some string method tests.
12976
12977 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12978
12979 * gdb.cp/bs15503.cc: Add copyright notice.
12980 * gdb.cp/bs15503.exp: Adjust line number.
12981
12982 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12983
12984 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12985 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12986
12987 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12988
12989 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12990 hp_cc_compiler.
12991
12992 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12993
12994 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12995 * gdb.cp/ctti.exp: Use the marker instead of "next".
12996 With gcc, run further before bailing.
12997
12998 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12999
13000 * gdb.cp/cttiadd.cc: Add copyright notice.
13001 * gdb.cp/cttiadd1.cc: Likewise.
13002 * gdb.cp/cttiadd2.cc: Likewise.
13003 * gdb.cp/cttiadd3.cc: Likewise.
13004
13005 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13006
13007 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13008 Use gdb_test, gdb_test_multiple. Use floating-point values that
13009 have exact representations in IEEE-ish formats.
13010
13011 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13012
13013 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13014 compilers. Delete duplicate call to get_compiler_info.
13015 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13016 * gdb.base/volatile.exp: Likewise.
13017
13018 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13019
13020 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13021 memory at address 0.
13022
13023 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13024
13025 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13026 to test for hp-ux assembler. Fix copyright years.
13027
13028 2004-01-07 Andrew Cagney <cagney@redhat.com>
13029
13030 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13031
13032 2004-01-07 Andrew Cagney <cagney@redhat.com>
13033
13034 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13035 when creating the read-only file. From analysis by Roland McGrath
13036 and Elena Zannoni.
13037
13038 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13039
13040 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13041
13042 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13043
13044 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13045 data pointers.
13046
13047 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13048
13049 * gdb.cp/m-static.exp: Compile one source file at a time.
13050 Delete unused call to get_compiler_info.
13051
13052 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13053
13054 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13055 * gdb.base/call-rt-st.exp: Likewise.
13056 * gdb.base/nodebug.exp: Likewise.
13057 * gdb.base/volatile.exp: Likewise.
13058 * gdb.cp/ref-types.exp: Likewise.
13059 * gdb.cp/templates.exp: Likewise.
13060
13061 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13062
13063 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13064
13065 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13066
13067 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13068 hppa*-hp-hpux*.
13069
13070 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13071
13072 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13073 x86_64-*-*.
13074
13075 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13076 sparc64-*-* and sparc*-solaris2*.
13077
13078 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13079
13080 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13081 return ${tests}" test. The ${tests} already mentions the
13082 filename.
13083
13084 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13085
13086 * gdb.cp/local.exp: Accept gcc abi 2.
13087
13088 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13089
13090 * gdb.cp/templates.exp: Accept gcc abi 2.
13091
13092 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13093
13094 * lib/compiler.cc: Remove supports_template_debugging.
13095 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13096
13097 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13098
13099 * gdb.cp/namespace.exp: Accept gcc abi 2.
13100
13101 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13102
13103 * gdb.cp/method.exp: Accept gcc abi 2.
13104
13105 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13106
13107 * gdb.cp/classes.exp: Generate identical results as old version.
13108 * gdb.cp/derivation.exp: Likewise.
13109 * gdb.cp/overload.exp: Likewise.
13110 * gdb.cp/virtfunc.exp: Likewise.
13111
13112 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13113
13114 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13115 mysterious bug with sourceware version of expect.
13116
13117 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13118
13119 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13120 current versions of gcc, including gcc abi 2. Remove gratuitous
13121 restart of test program. Use gdb_test_multiple and gdb_test for
13122 all tests. Add patterns to xfail missing "const" in "const char *"
13123 and kfail PR gdb/1155.
13124
13125 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13126
13127 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13128 current versions of gcc, including gcc abi 2. Remove gratuitous
13129 restart of test program. Use gdb_test_multiple and gdb_test for
13130 all tests. Add patterns to kfail PR gdb/1498.
13131
13132 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13133
13134 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13135 current versions of gcc, including gcc abi 2. Use "breakpoint"
13136 and "continue" instead of restarting the target program. Use
13137 gdb_test_multiple and gdb_test for all tests.
13138
13139 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13140
13141 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13142 for *-*-solaris2*.
13143
13144 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13145
13146 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13147 current versions of gcc, including gcc abi 2. Use "breakpoint"
13148 and "continue" instead of restarting the target program several
13149 times. Use gdb_test_multiple and gdb_test for all tests.
13150
13151 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13152
13153 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13154 source files.
13155
13156 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13157
13158 * gdb.base/environ.exp: Handle compiling test case from multiple
13159 source files.
13160
13161 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13162
13163 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13164
13165 2003-12-17 Jim Blandy <jimb@redhat.com>
13166
13167 * gdb.base/freebpcmd.c: Add copyright notice.
13168
13169 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13170
13171 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13172
13173 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13174
13175 2003-12-13 Jim Blandy <jimb@redhat.com>
13176
13177 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13178
13179 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13180
13181 * gdb.asm/frv.inc: New file.
13182 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13183
13184 2003-12-09 Fred Fish <fnf@redhat.com>
13185
13186 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13187 functions to break1.c and leave prototypes behind. Add more
13188 "set breakpoint NN here" comments.
13189 * gdb.base/break1.c: New file.
13190
13191 * gdb.base/break.exp: Handle compiling test case from multiple
13192 source files and change source file references as needed.
13193 * gdb.base/completion.exp: Ditto.
13194 * gdb.base/condbreak.exp: Ditto.
13195 * gdb.base/define.exp: Ditto.
13196 * gdb.base/ena-dis-br.exp: Ditto.
13197 * gdb.base/info-proc.exp: Ditto.
13198 * gdb.base/maint.exp: Ditto.
13199 * gdb.base/until.exp: Ditto.
13200
13201 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13202 hardcoded line numbers.
13203 * gdb.base/define.exp: Ditto.
13204 * gdb.base/ena-dis-br.exp: Ditto.
13205 * gdb.base/maint.exp: Ditto.
13206 * gdb.base/until.exp: Ditto.
13207
13208 * gdb.base/completion.exp: Use "break1" for completion tests since
13209 "break" is no longer a unique prefix.
13210
13211 2003-12-06 Andrew Cagney <cagney@redhat.com>
13212
13213 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13214 "return_value_unimplemented". When an unimplemented struct return
13215 architecture, report incorrect values as a KFAIL
13216
13217 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13218
13219 * gdb.cp/rtti.exp: Accept new wording of warning from
13220 cp_lookup_rtti_type.
13221
13222 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13223
13224 Partial fix for PR testsuite/1456.
13225 * gdb.base/scope.exp (test_at_main): Replace references to
13226 gcc_compiled with calls to test_compiler_info.
13227 (test_at_foo): Likewise.
13228 (test_at_bar): Likewise.
13229
13230 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13231
13232 Partial fix for PR testsuite/1456.
13233 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13234 to test_compiler_info.
13235
13236 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13237
13238 * gdb.base/so-impl-ld.exp: Update copyright notice.
13239
13240 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13241
13242 Partial fix for PR testsuite/1456.
13243 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13244 to test_compiler_info.
13245
13246 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13247
13248 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13249 from current versions of gdb. Clean up regular expressions.
13250 Delete redundant timeout case.
13251
13252 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13253
13254 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13255 from current versions of gdb. Clean up regular expressions.
13256 Delete redundant timeout case.
13257
13258 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13259
13260 Partial fix for PR testsuite/1456.
13261 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13262 gcc_compiled with call to test_compiler_info.
13263
13264 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13265
13266 Partial fix for PR testsuite/1456.
13267 * gdb.base/list.exp (test_list_function): Delete unused declaration
13268 of gcc_compiled.
13269
13270 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13271
13272 Partial fix for PR testsuite/1456.
13273 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13274 call to test_compiler_info.
13275
13276 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13277
13278 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13279 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13280 it to create the appropriate note.inc.
13281 * gdb.asm/asmsrc1.s: Include "note.inc".
13282 * gdb.asm/netbsd.inc: New file.
13283 * gdb.asm/empty.inc: New file.
13284
13285 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13286
13287 Partial fix for PR testsuite/1456.
13288 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13289 calls to test_compiler_info.
13290
13291 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13292
13293 Partial fix for PR testsuite/1456.
13294 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13295 calls to test_compiler_info.
13296
13297 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13298
13299 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13300 pattern for the KFAILs.
13301
13302 2003-11-25 Adam Fedor <fedor@gnu.org>
13303
13304 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13305 * gdb.objc/objcdecode.m: New file.
13306
13307 2003-11-25 Adam Fedor <fedor@gnu.org>
13308
13309 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13310 * gdb.objc/nondebug.m: New file.
13311
13312 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13313
13314 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13315 NetBSD as it does on FreeBSD. Modelled on a similar change by
13316 Mark Kettenis on 2003-05-30.
13317 (link-flags): Set to "--entry _start" regardless of target.
13318 Special linker flags are to be appended to $link-flags.
13319 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13320
13321 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13322
13323 * gdb.cp/method.exp: Accept output of new demangler.
13324
13325 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13326
13327 * gdb/class2.exp: New file.
13328 * gdb/class2.cc: New file.
13329
13330 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13331
13332 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13333 of new demangler.
13334
13335 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13336
13337 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13338 of gdb_test "run".
13339
13340 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13341
13342 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13343 "continue" into "run".
13344
13345 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13346
13347 Partial fix for PR testsuite/1456.
13348 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13349 call to test_compiler_info.
13350 * gdb.cp/ctti.exp: Likewise.
13351 * gdb.cp/derivation.exp: Likewise.
13352 * gdb.cp/member-ptr.exp: Likewise.
13353 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13354 reference to gcc_compiled.
13355
13356 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13357
13358 Fix PR testsuite/1463.
13359 * gdb.base/structs.exp (start_structs_test): Call
13360 get_debug_format before using the debug format.
13361
13362 2003-11-22 Andrew Cagney <cagney@redhat.com>
13363
13364 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13365 * gdb.base/structs.exp: Use gdb_test_multiple.
13366
13367 2003-11-20 Andrew Cagney <cagney@redhat.com>
13368
13369 * gdb.base/structs.exp: Handle and recover from internal errors.
13370 Replace "foo${n}" with "foo<n>" in test messages.
13371
13372 * gdb.base/structs.exp: Update copyright. Rewrite.
13373 * gdb.base/structs.c: Update copyright. Rewrite.
13374
13375 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13376 resync count exceeded.
13377
13378 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13379 from the internal error.
13380 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13381 Original from Jim Blandy.
13382 (gdb_test_multiple): Use gdb_internal_error_resync.
13383
13384 2003-11-19 Andrew Cagney <cagney@redhat.com>
13385
13386 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13387 KFAIL.
13388
13389 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13390
13391 New testcase for PR backtrace/1435.
13392 * gdb.arch/i386-unwind.exp: New file.
13393 * gdb.arch/i386-unwind.c: New file.
13394
13395 2003-11-17 Andrew Cagney <cagney@redhat.com>
13396
13397 * lib/gdb.exp (compiler_info): New global.
13398 (test_compiler_info): New function.
13399 (get_compiler_info): Set compiler_info.
13400 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13401 "compiler_info" to gcc-<major>-<minor>.
13402
13403 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13404
13405 * gdb.trace/configure: Remove.
13406
13407 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13408
13409 * gdb.base/break.c: Add comments to aid finding line numbers for
13410 breakpoints.
13411 * gdb.base/break.exp: Remove all references to explicit line
13412 numbers.
13413
13414 2003-11-11 Nick Clifton <nickc@redhat.com>
13415
13416 * gdb.base/shreloc.exp: Do not run for targets which do not
13417 support shared objects.
13418
13419 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13420
13421 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13422 Don't run tests if nofileio flag is given.
13423
13424 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13425
13426 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13427 as well as 'Watchpoint'.
13428
13429 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13430
13431 Reported by Jim Ingham <jingham@apple.com>:
13432 * gdb.base/annota1.exp: Match at least one occurrence of the
13433 signal handler annotation.
13434
13435 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13436
13437 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13438 as well as 'Watchpoint'.
13439
13440 2003-11-05 Michael Chastain <mec@shout.net>
13441
13442 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13443
13444 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13445
13446 * gdb.arch/gdb1291.c: New test file.
13447 * gdb.arch/gdb1291.exp: New test script.
13448 * gdb.arch/gdb1431.c: New test file.
13449 * gdb.arch/gdb1431.exp: New test script.
13450
13451 2003-10-22 Michael Chastain <mec@shout.net>
13452
13453 * gdb.mi/pthreads.c: Add copyright notice.
13454
13455 2003-10-22 Michael Chastain <mec@shout.net>
13456
13457 * gdb.threads/pthreads.c: Add copyright notice.
13458
13459 2003-10-20 Michael Chastain <mec@shout.net>
13460
13461 * gdb.base/gdb1056.exp: New test script.
13462
13463 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13464
13465 * gdb.threads/killed.exp: Use gdb_run_cmd.
13466
13467 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13468
13469 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13470 create a core file.
13471 * gdb.threads/gcore-thread.exp: Likewise.
13472
13473 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13474
13475 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13476 type, based on char type.
13477 (struct bit_flags_short_t): New bitfield type, based on short type.
13478 (init_bit_flags_char): New fuction.
13479 (init_bit_flags_short): Ditto.
13480 (print_bit_flags_char): Ditto.
13481 (print_bit_flags_short): Ditto.
13482 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13483
13484 2003-10-11 Michael Chastain <mec@shout.net>
13485
13486 * gdb.base/call-rt-st.exp: Update copyright year.
13487
13488 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13489
13490 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13491 * gdb.disasm/sh3.s: Ditto.
13492
13493 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13494
13495 * gdb.threads/switch-threads.exp: New test.
13496 * gdb.threads/switch-threads.c: New source file.
13497
13498 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13499
13500 * gdb.base/ending-run.exp: Add sh specific case.
13501
13502 2003-10-06 Andrew Cagney <cagney@redhat.com>
13503
13504 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13505 * gdb.disasm/mn10200.exp: Delete obsolete file.
13506
13507 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13508
13509 * ChangeLog: Correct an entry command.exp -> commands.exp.
13510 * gdb.base/commands.exp (bp_deleted_in_command_test)
13511 (temporary_breakpoint_commands): Check noargs.
13512
13513 2003-09-25 David Carlton <carlton@kealia.com>
13514
13515 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13516 of some print tests, where appropriate. Add tests for C::D::cd,
13517 E::ce, F::cXfX, G::XgX.
13518 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13519
13520 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13521
13522 * lib/java.exp (java_init): Import target_alias before using it.
13523
13524 2003-09-25 David Carlton <carlton@kealia.com>
13525
13526 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13527
13528 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13529
13530 * gdb.base/selftest.exp: Accomodate more instruction reordering
13531 weirdness.
13532
13533 2003-09-17 Michael Chastain <mec@shout.net>
13534
13535 * gdb.cp/gdb1355.exp: New file.
13536 * gdb.cp/gdb1355.c: New file.
13537
13538 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13539
13540 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13541 * gdb.asm/sh.inc: New file.
13542
13543 2003-09-11 David Carlton <carlton@kealia.com>
13544
13545 * gdb.cp/namespace.exp: Add tests for namespace types.
13546 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13547 (test_namespace): New.
13548
13549 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13550
13551 * gdb.base/relocate.exp: Handle new gdb output at startup.
13552 * gdb.stabs/weird.exp: Ditto.
13553
13554 2003-09-08 Michael Chastain <mec@shout.net>
13555
13556 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13557
13558 2003-09-07 Michael Chastain <mec@shout.net>
13559
13560 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13561 'parse error'.
13562
13563 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13564
13565 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13566
13567 2003-08-30 Michael Chastain <mec@shout.net>
13568
13569 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13570 * gdb.gdb/observer.exp: Ditto.
13571 * gdb.gdb/xfullpath.exp: Ditto.
13572
13573 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13574
13575 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13576 *-*-*bsd*.
13577
13578 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13579
13580 * gdb.base/dump.exp: Skip for ia64.
13581
13582 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13583
13584 * gdb.asm/asm-source.exp: Add ia64 support.
13585 * gdb.asm/ia64.inc: New file.
13586
13587 2003-08-22 Michael Chastain <mec@shout.net>
13588
13589 * gdb.cp: New directory.
13590 * gdb.cp/*: Copy from gdb.c++/*.
13591 * gdb.c++/*: Remove.
13592 * Makefile.in: Change gdb.c++ to gdb.cp.
13593 * configure.in: Ditto.
13594 * configure: Regnerate.
13595
13596 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13597
13598 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13599 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13600
13601 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13602
13603 * mi-var-display.exp (-var-list-children weird): Accept function
13604 pointers with argument types.
13605 * mi1-var-display.exp (-var-list-children weird): Likewise.
13606 * mi2-var-display.exp (-var-list-children weird): Likewise.
13607
13608 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13609
13610 * gdb.base/annota3.exp: Add missing newline.
13611
13612 2003-08-06 Michael Chastain <mec@shout.net>
13613
13614 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13615
13616 2003-08-12 Michael Snyder <msnyder@redhat.com>
13617
13618 * gdb.base/float.exp: Add test for SH.
13619
13620 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13621
13622 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13623
13624 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13625
13626 * gdb.base/completion.exp: Remove reduntant completion test
13627 on filename.
13628
13629 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13630
13631 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13632 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13633 gdb.trace/save-trace.exp: Make sure that full pathnames are
13634 escaped correctly.
13635
13636 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13637
13638 * configure.in: Don't generate config.h from config.hin.
13639 * configure: Regenerate.
13640 * config.hin: Remove file.
13641 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13642 * gdb.threads/pthreads.c: Ditto.
13643
13644 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13645
13646 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13647 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13648 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13649 Replace ld24 with seth/add3.
13650
13651 2003-08-02 Andrew Cagney <cagney@redhat.com>
13652
13653 * gdb.base/annota3.exp: New file.
13654 * gdb.base/annota3.c: New file.
13655 * gdb.c++/annota3.exp: New file.
13656 * gdb.c++/annota3.cc: New file.
13657
13658 2003-07-29 Michael Chastain <mec@shout.net>
13659
13660 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13661 actually failed.
13662 (do_pass): Likewise.
13663 * gdb.threads/tls.exp: Always initialize no_of_threads.
13664
13665 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13666
13667 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13668 pattern.
13669 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13670 * gdb.threads/tls.exp: Recognize one case of the host library not
13671 supporting TLS.
13672
13673 2003-07-27 Andrew Cagney <cagney@redhat.com>
13674
13675 * gdb.base/fileio.exp: Use SH when running commands using
13676 remote_exec.
13677
13678 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13679
13680 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13681 * gdb.base/relocate.c (dummy): New padding array.
13682
13683 2003-07-22 Michael Snyder <msnyder@redhat.com>
13684
13685 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13686
13687 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13688 patterns to be more general, accepting old and new output.
13689 Some output chars (such as '+') also must be quoted.
13690 Some addresses are displayed numerically instead of
13691 symbolically.
13692
13693 2003-07-23 Michael Snyder <msnyder@redhat.com>
13694
13695 * gdb.base/return2.exp: Don't test long-long return.
13696
13697 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13698 * gdb.disasm/t01_mov.exp: Ditto.
13699 * gdb.disasm/t02_mova.s: Ditto.
13700 * gdb.disasm/t02_mova.exp: Ditto.
13701 * gdb.disasm/t03_add.s: Ditto.
13702 * gdb.disasm/t03_add.exp: Ditto.
13703 * gdb.disasm/t04_sub.s: Ditto.
13704 * gdb.disasm/t04_sub.exp: Ditto.
13705 * gdb.disasm/t05_cmp.s: Ditto.
13706 * gdb.disasm/t05_cmp.exp: Ditto.
13707 * gdb.disasm/t06_ari2.s: Ditto.
13708 * gdb.disasm/t06_ari2.exp: Ditto.
13709 * gdb.disasm/t07_ari3.s: Ditto.
13710 * gdb.disasm/t07_ari3.exp: Ditto.
13711 * gdb.disasm/t08_or.s: Ditto.
13712 * gdb.disasm/t08_or.exp: Ditto.
13713 * gdb.disasm/t09_xor.s: Ditto.
13714 * gdb.disasm/t09_xor.exp: Ditto.
13715 * gdb.disasm/t10_and.s: Ditto.
13716 * gdb.disasm/t10_and.exp: Ditto.
13717 * gdb.disasm/t11_logs.s: Ditto.
13718 * gdb.disasm/t11_logs.exp: Ditto.
13719 * gdb.disasm/t12_bit.s: Ditto.
13720 * gdb.disasm/t12_bit.exp: Ditto.
13721 * gdb.disasm/t13_otr.s: Ditto.
13722 * gdb.disasm/t13_otr.exp: Ditto.
13723
13724 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13725
13726 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13727
13728 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13729
13730 * gdb.threads/tls.c : New file.
13731 * gdb.threads/tls.exp : New file.
13732 * gdb.threads/tls-main.c : New file.
13733 * gdb.threads/tls-shared.c : New file.
13734 * gdb.threads/tls-shared.exp : New file.
13735
13736 2003-07-22 Andreas Schwab <schwab@suse.de>
13737
13738 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13739
13740 2003-07-20 Andreas Schwab <schwab@suse.de>
13741
13742 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13743 due to insn reordering.
13744
13745 2003-07-15 Andrew Cagney <cagney@redhat.com>
13746
13747 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13748
13749 2003-07-15 Michael Chastain <mec@shout.net>
13750
13751 * gdb.base/gdb1250.exp: New file.
13752 * gdb.base/gdb1250.c: New file.
13753
13754 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13755
13756 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13757 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13758
13759 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13760
13761 * gdb.threads/tls.c: New file.
13762 * gdb.threads/tls.exp: New file.
13763 * gdb.threads/tls-main.c: New file.
13764 * gdb.threads/tls-shared.c: New file.
13765 * gdb.threads/tls-shared.exp: New file.
13766
13767 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13768
13769 * gdb.base/annota1.exp: Make sure that we properly escape the
13770 full path of the source file. Xfail more permissive patterns,
13771 due to a compiler debug info problem.
13772
13773 2003-07-07 Andreas Schwab <schwab@suse.de>
13774
13775 * gdb.asm/m68k.inc: New file.
13776 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13777
13778 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13779 arguments"): Also match negative number.
13780
13781 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13782
13783 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13784
13785 * gdb.base/store.c (charest): New typedef.
13786 (add_char): Rename to add_charest, update.
13787 (wack_char): Rename to wack_charest, update types. Return l + r
13788 to keep r live across the call.
13789 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13790 (wack_double, wack_doublest): Return l + r to keep r live across
13791 the call.
13792 * gdb.base/store.exp: Accomodate store.c changes.
13793
13794 2003-06-30 David Carlton <carlton@kealia.com>
13795
13796 * gdb.c++/maint.exp (test_invalid_name): New.
13797 (test_first_component): Add tests for invalid names.
13798
13799 2003-06-29 Michael Chastain <mec@shout.net>
13800
13801 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13802 output of '<VTT for class>' for virtual base classes.
13803
13804 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13805
13806 * gdb.base/completion.exp: Tab-complete "complet" instead of
13807 "compl".
13808 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13809
13810 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13811
13812 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13813 * gdb.base/volatile.exp: Likewise.
13814
13815 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13816
13817 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13818 gdb/1265.
13819
13820 2003-06-28 Michael Chastain <mec@shout.net>
13821 Daniel Jacobowitz <drow@mvista.com>
13822
13823 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13824 initial line count of 'captured_main' from 26 to 32.
13825 (test_with_self): Allow xmalloc call to be interleaved with the
13826 preceding two lines.
13827
13828 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13829
13830 * gdb.base/bang.exp: New testcase.
13831
13832 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13833
13834 * gdb.base/langs.exp: Add some tests for the "minimal" language
13835 support.
13836
13837 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13838
13839 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13840 the testcase.
13841
13842 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13843
13844 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13845 offset.
13846
13847 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13848
13849 * gdb.c++/pr-1210.cc: New file.
13850 * gdb.c++/pr-1210.exp: New file.
13851
13852 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13853
13854 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13855 000-exec-continue.
13856
13857 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13858
13859 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13860 on *-*-*bsd* instead of *-*-freebsd*.
13861
13862 2003-06-14 Andrew Cagney <cagney@redhat.com>
13863
13864 * gdb.base/store.exp: Test longest and doublest. Test all
13865 parameters. Weaken return statement match.
13866 * gdb.base/store.c: Add longest and doublest - aka long long and
13867 long double functions. Put all parameters into local register
13868 variables. Use negative values.
13869
13870 2003-06-14 Andrew Cagney <cagney@redhat.com>
13871
13872 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13873 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13874 exit status.
13875 * gdb.base/fileio.exp: Disable target when nointerrupts and
13876 noinferiorio, instead of limiting it to remote. Use remote_exec
13877 instead of system.
13878
13879 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13880
13881 * gdb.base/float.exp: Add ia64 support.
13882
13883 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13884
13885 * gdb.base/fileio.exp: Run only on remote targets.
13886
13887 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13888
13889 * gdb.base/fileio.c: New file, testing File-I/O.
13890 * gdb.base/fileio.exp: Ditto.
13891
13892 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13893
13894 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13895 shared objects after relocation at load time (gdb PR/1132).
13896 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13897 as above, part of the shared object relocation test.
13898
13899 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13900
13901 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13902 fully filled history list.
13903 * gdb.base/gdb_history: New file.
13904
13905 * gdb.base/signals.exp: XFAIL "continue to func1" on
13906 i*86-*-freebsd*.
13907
13908 * gdb.base/attach.exp: When trying to attach to a nonexistent
13909 process, make it possible to specify the PID based on the target,
13910 and do so for *-*-freebsd*.
13911
13912 2003-06-02 Richard Henderson <rth@redhat.com>
13913
13914 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13915
13916 2003-06-02 Richard Henderson <rth@redhat.com>
13917
13918 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13919
13920 2003-06-02 Richard Henderson <rth@redhat.com>
13921
13922 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13923
13924 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13925
13926 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13927 of globalvar.
13928
13929 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13930
13931 * gdb.asm/asm-source.exp: Check for memory read errors in
13932 disassembler test on *BSD too.
13933
13934 2003-06-01 Richard Henderson <rth@redhat.com>
13935
13936 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13937 for .frame.
13938 (gdbasm_call): Lose ldgp.
13939 (gdbasm_startup): Add frame information.
13940 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13941
13942 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13943
13944 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13945 i?86-*-*.
13946
13947 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13948
13949 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13950 FreeBSD.
13951
13952 2003-05-29 Richard Henderson <rth@redhat.com>
13953
13954 * gdb.asm/alpha.inc: New file.
13955 * gdb.asm/asm-source.exp: Use it.
13956
13957 2003-05-29 Jim Blandy <jimb@redhat.com>
13958
13959 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13960 'core.PID'.
13961
13962 2003-05-22 Jim Blandy <jimb@redhat.com>
13963
13964 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13965 backtrace.
13966
13967 2003-05-20 David Carlton <carlton@math.stanford.edu>
13968
13969 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13970 this time.
13971
13972 2003-05-19 David Carlton <carlton@bactrian.org>
13973
13974 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13975 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13976
13977 2003-05-19 David Carlton <carlton@bactrian.org>
13978
13979 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13980 namespace tests.
13981 Bump copyright date.
13982 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13983 (main): Call C::D::marker2.
13984 * gdb.c++/namespace1.cc: New file.
13985
13986 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13987
13988 Roland McGrath <roland@redhat.com>
13989 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13990 there is no manager thread.
13991
13992 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13993
13994 * gdb.threads/schedlock.exp: Remove assumption that all threads
13995 will run in a particular small time slice. Also ensure we break
13996 in one of the child threads rather than the main thread.
13997
13998 2003-05-07 Jim Blandy <jimb@redhat.com>
13999
14000 Add support for assembly source testing on the s390x.
14001 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14002 architecture.
14003 * gdb.asm/s390x.inc: New file.
14004
14005 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14006 succession of 'if' statements.
14007
14008 2003-05-05 Andrew Cagney <cagney@redhat.com>
14009
14010 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14011
14012 2003-05-05 Andrew Cagney <cagney@redhat.com>
14013
14014 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14015 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14016
14017 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14018
14019 * gdb.base/charset.exp: Update based on new behavior of set/show
14020 charset commands.
14021
14022 2003-05-01 Andrew Cagney <cagney@redhat.com>
14023
14024 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14025 variable do not give memory errors.
14026
14027 2003-04-30 Adam Fedor <fedor@gnu.org>
14028
14029 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14030 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14031 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14032 gdb.objc/basicclass.m: : New files
14033
14034 * lib/gdb.exp (gdb_compile_objc): New procedure.
14035
14036 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14037
14038 * gdb.base/signals.exp: Make backtrace tests more specific.
14039
14040 2003-04-23 David Carlton <carlton@bactrian.org>
14041
14042 * gdb.c++/maint.exp (test_first_component): Add tests for
14043 'operator' in more locations.
14044
14045 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14046
14047 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14048
14049 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14050
14051 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14052 func marke' instead. Update test name.
14053
14054 2003-04-15 David Carlton <carlton@math.stanford.edu>
14055
14056 * gdb.c++/maint.exp: New file.
14057
14058 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14059
14060 * gdb.threads/schedlock.c: Change type of thread function argument
14061 to long, to avoid warnings on 64-bit platforms.
14062
14063 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14064
14065 * gdb.base/attach.exp: Add new message from ptrace in case of
14066 attaching to nonexistent process.
14067
14068 2003-04-11 Jim Blandy <jimb@redhat.com>
14069
14070 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14071 gdb.c++/userdef.cc: Place comments on the lines to which the
14072 marker function might return.
14073 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14074 gdb.c++/userdef.exp: Look for those comments to check that we've
14075 returned to the right place, instead of checking line numbers.
14076
14077 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14078
14079 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14080 match on sourcefile name, instead of directory name.
14081
14082 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14083
14084 * gdb.base/completion.exp: Use string_to_regexp to match the
14085 working directory name.
14086
14087 2003-04-09 Jim Blandy <jimb@redhat.com>
14088
14089 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14090 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14091 after an inferior function call, report the failure, but allow the
14092 test to continue.
14093
14094 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14095
14096 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14097 with -DPROTOTYPES.
14098
14099 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14100
14101 * gdb.base/break.exp: Revert last patch.
14102
14103 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14104
14105 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14106 with -DPROTOTYPES.
14107
14108 2003-04-02 Andrew Cagney <cagney@redhat.com>
14109
14110 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14111 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14112 matching directories by the name breakpoint.
14113 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14114 Make "continue to marker1" consistent.
14115 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14116 message consistent.
14117 * lib/gdb.exp: Put "the program is no longer running", and "the
14118 program exited" in parenthesis.
14119 * lib/mi-support.exp: Ditto.
14120
14121 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14122
14123 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14124
14125 2003-03-29 Andrew Cagney <cagney@redhat.com>
14126
14127 * gdb.base/sizeof.c (main): Print the value of '\377'.
14128 * gdb.base/sizeof.exp: Check the sign of '\377'.
14129
14130 2003-03-27 Michael Chastain <mec@shout.net>
14131
14132 * gdb.base/gdb1090.exp: New file.
14133 * gdb.base/gdb1090.cc: New file.
14134
14135 2003-03-27 J. Brobecker <brobecker@gnat.com>
14136
14137 * gdb.gdb/observer.exp: New regression test.
14138
14139 2003-03-27 Michael Chastain <mec@shout.net>
14140
14141 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14142 * gdb.base/ptype.exp: Likewise.
14143
14144 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14145
14146 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14147
14148 2003-03-26 Michael Chastain <mec@shout.net>
14149
14150 * gdb.base/ptype.exp: Actually use some typedef'd types.
14151
14152 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14153
14154 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14155 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14156
14157 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14158
14159 * gdb.base/default.exp: Fix regular expression.
14160
14161 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14162
14163 * gdb.base/args.exp: Fix regular expression.
14164
14165 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14166
14167 * gdb.base/help.exp: Allow Win32 child process.
14168
14169 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14170
14171 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14172 when stepping out of main().
14173
14174 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14175
14176 * gdb.base/default.exp: Check for win32 specific message when calling
14177 "run" without executable.
14178
14179 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14180
14181 * gdb.base/args.exp: Expect .exe in output.
14182
14183 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14184
14185 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14186 Cygwin native.
14187
14188 2003-03-17 Andrew Cagney <cagney@redhat.com>
14189
14190 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14191 vector registes.
14192 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14193 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14194
14195 2003-03-17 David Carlton <carlton@math.stanford.edu>
14196
14197 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14198 test, for PR breakpoints/38.
14199 Call test_watchpoint_and_breakpoint.
14200 * gdb.base/watchpoint.c (func3): New function.
14201 (main): Call func3.
14202
14203 2003-03-04 David Carlton <carlton@math.stanford.edu>
14204
14205 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14206 Garply<Garply<char> >:: garply".
14207 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14208 with respect to PR c++/1111; note also PR c++/1113.
14209 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14210 respect to PR c++/1062.
14211 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14212
14213 2003-03-03 David Carlton <carlton@math.stanford.edu>
14214
14215 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14216 with respect to PR c++/57.
14217 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14218 c++/826.
14219 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14220 respect to PR c++/57.
14221
14222 2003-03-03 David Carlton <carlton@math.stanford.edu>
14223
14224 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14225 respect to PR c++/33 into FAILs.
14226
14227 2003-03-03 Michael Chastain <mec@shout.net>
14228
14229 * configure.in: Update copyright years.
14230
14231 2003-03-03 Michael Chastain <mec@shout.net>
14232
14233 * Makefile.in: Update copyright years.
14234
14235 2003-02-28 David Carlton <carlton@math.stanford.edu>
14236
14237 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14238 print class instead of struct and/or superfluous protection
14239 specifiers, as long as the resulting output is equivalent to the
14240 source code.
14241 Delete FIXME from end of messages on tests that don't need
14242 fixing.
14243
14244 2003-02-28 David Carlton <carlton@math.stanford.edu>
14245
14246 * gdb.c++/templates.exp (do_tests): Allow const in the two
14247 Foo<volatile char *>::foo tests.
14248
14249 2003-02-27 Michael Snyder <msnyder@redhat.com>
14250
14251 * gdb.base/restore.c (main): Return zero, so exit code
14252 will be consistant.
14253
14254 2003-02-26 David Carlton <carlton@math.stanford.edu>
14255
14256 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14257 char *>::foo" test with respect to PR c++/33. Create a new test
14258 which is identical to that one except that it doesn't put the
14259 space between the "char" and the "*"; KFAIL it, too.
14260
14261 2003-02-26 David Carlton <carlton@math.stanford.edu>
14262
14263 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14264 template types into either PASSes or KFAILs (corresponding to PR
14265 c++/57). Tweak indentation. Update copyright.
14266
14267 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14268
14269 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14270
14271 2003-02-13 Michael Chastain <mec@shout.net>
14272
14273 * gdb.base/exprs.exp: Remove i960 remnants.
14274 * gdb.base/funcargs.exp: Likewise.
14275 * gdb.base/list.exp: Likewise.
14276 * gdb.base/ptype.exp: Likewise.
14277
14278 2003-02-14 David Carlton <carlton@math.stanford.edu>
14279
14280 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14281 pEe->D::vg()" from XFAIL to KFAIL.
14282
14283 2003-02-13 Jason Molenda (jmolenda@apple.com)
14284
14285 * gdb.base/maint.exp: Update maint print statistics regexp to include
14286 new entries.
14287
14288 2003-02-13 Michael Chastain <mec@shout.net>
14289
14290 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14291
14292 2003-02-12 Michael Chastain <mec@shout.net>
14293
14294 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14295 * gdb.c++/inherit.exp: Likewise.
14296 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14297 * gdb.c++/templates.exp: Likewise.
14298 * gdb.c++/virtfunc.exp: Likewise.
14299
14300 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14301
14302 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14303 why the code is written that way.
14304
14305 2003-02-05 Michael Chastain <mec@shout.net>
14306
14307 * gdb.base/dump.exp: Add missing copyright line.
14308
14309 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14310
14311 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14312 at the beginning so the breakpoint doesn't get set on the loop.
14313
14314 2003-02-05 Michael Chastain <mec@shout.net>
14315
14316 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14317 output for configurations with gcc 2.95.3.
14318
14319 2003-02-05 Keith Seitz <keiths@redhat.com>
14320 Andrew Cagney <ac131313@redhat.com>
14321
14322 * gdb.mi/mi-cli.exp: New file.
14323
14324 2003-02-04 Michael Chastain <mec@shout.net>
14325
14326 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14327 Call perror and then continue.
14328
14329 2003-02-03 Michael Chastain <mec@shout.net>
14330
14331 * gdb.c++/pr-1023.cc: New file.
14332 * gdb.c++/pr-1023.exp: New file.
14333
14334 2003-02-05 Jim Blandy <jimb@redhat.com>
14335
14336 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14337 it's local to foobar. Check for it there, and check that it's not
14338 present in main.
14339 * gdb.c++/local.cc (marker2): New function.
14340 (foobar): Call marker1.
14341 (main): Call marker2 instead of marker1.
14342
14343 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14344
14345 * gdb.disasm/mn10200.exp: Obsolete file.
14346 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14347 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14348 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14349
14350 2003-02-04 David Carlton <carlton@math.stanford.edu>
14351
14352 * gdb.c++/overload.exp: Test intToChar(1).
14353 * gdb.c++/overload.cc (intToChar): New.
14354 (main): Call intToChar.
14355
14356 2003-02-03 David Carlton <carlton@math.stanford.edu>
14357
14358 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14359 'might_kfail' arg.
14360 KFAIL some of the continue_to_bp_overloaded calls, according to
14361 PR c++/1025.
14362
14363 2003-02-01 Michael Chastain <mec@shout.net>
14364
14365 * gdb.base/advance.c (marker1): New marker function.
14366 * gdb.base/advance.exp: When the 'advance' command lands on the
14367 return breakpoint, it can legitimately stop on either the
14368 current line or the next line. Accommodate both outcomes.
14369 * gdb.base/until.exp: Likewise.
14370
14371 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14372
14373 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14374 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14375 now a list, not a tuple.
14376 * gdb.mi/mi-var-display.exp: Ditto.
14377 * gdb.mi/gdb792.exp: Ditto.
14378
14379 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14380
14381 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14382 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14383 stack backtraces.
14384 * gdb.mi/mi-syn-frame.c: Part of same.
14385
14386 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14387
14388 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14389 gdb.mi/mi1-pthreads.exp: Return instead of calling
14390 gdb_suppress_entire_file.
14391
14392 2003-02-01 Mark Salter <msalter@redhat.com>
14393
14394 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14395
14396 2003-01-31 Mark Salter <msalter@redhat.com>
14397
14398 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14399 Support empty arg.
14400
14401 2003-01-30 Michael Chastain <mec@shout.net>
14402
14403 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14404 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14405 has been fixed in gdb/readline on 2003-01-09.
14406
14407 2003-01-29 Michael Snyder <msnyder@redhat.com>
14408
14409 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14410 * gdb.base/display.exp: Allow for leading underscore in symbol.
14411 * gdb.base/args.exp: Skip if target does not support args passing.
14412
14413 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14414
14415 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14416 gdb_test. Accept a list of expect arguments as the third
14417 parameter.
14418 (gdb_test): Use it.
14419
14420 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14421
14422 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14423 allow for different test tree configurations. Update some
14424 tescases accordingly.
14425 * gdb.arch/altivec-regs.exp: Ditto.
14426 * gdb.asm/asm-source.exp: Ditto.
14427 * gdb.base/advance.exp: Ditto.
14428 * gdb.base/display.exp: Ditto.
14429 * gdb.base/long_long.exp: Ditto.
14430 * gdb.base/mips_pro.exp: Ditto.
14431 * gdb.base/overlays.exp: Ditto.
14432 * gdb.base/relocate.exp: Ditto.
14433 * gdb.base/setshow.exp: Ditto.
14434 * gdb.base/step-line.exp: Ditto.
14435 * gdb.base/step-test.exp: Ditto.
14436 * gdb.base/until.exp: Ditto.
14437 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14438
14439 2003-01-17 David Carlton <carlton@math.stanford.edu>
14440
14441 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14442 corresponding to PR c++/945.
14443 Update copyright.
14444
14445 2003-01-17 David Carlton <carlton@math.stanford.edu>
14446
14447 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14448 corresponding to PR c++/68.
14449
14450 2003-01-17 David Carlton <carlton@math.stanford.edu>
14451
14452 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14453 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14454 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14455
14456 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14457
14458 * gdb.base/break.exp: Fix change of default location, because of
14459 removal of until tests.
14460 * gdb.base/help.exp: Update test for new 'until' help message.
14461 Add test for help on 'advance'.
14462 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14463
14464 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14465
14466 * gdb.base/default.exp: Adapt "info float" test for recent changes
14467 to that command. Add test for "info vector".
14468 * gdb.base/float.exp: New file. Add test for "info float" that
14469 resembles the old test in gdb.base/default.exp.
14470
14471 2003-01-15 David Carlton <carlton@math.stanford.edu>
14472
14473 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14474
14475 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14476
14477 * gdb.base/break.exp: Move the tests of until command from here...
14478 * gdb.base/until.exp: ... to here. New file. Add other tests.
14479 * gdb.base/advance.c: New file.
14480 * gdb.base/advance.exp: New file.
14481
14482 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14483
14484 * gdb.base/args.c: New file.
14485 * gdb.base/args.exp: New file.
14486
14487 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14488
14489 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14490
14491 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14492
14493 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14494
14495 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14496
14497 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14498 dates.
14499
14500 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14501
14502 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14503
14504 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14505
14506 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14507 (ptype &*"foo").
14508 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14509
14510 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14511
14512 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14513 * gdb.mi/mi1-console.exp: Likewise.
14514
14515 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14516
14517 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14518 * gdb.mi/mi1-console.exp: Likewise.
14519
14520 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14521
14522 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14523
14524 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14525
14526 * gdb.base/detach.exp: New test.
14527
14528 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14529
14530 * Makefile.in (ALL_SUBDIRS): New variable.
14531 (subdirs, clean, distclean): Use it.
14532 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14533 regenerating Makefile, since it is generated from the top level.
14534 * gdb.asm/Makefile.in: Likewise.
14535 * gdb.base/Makefile.in: Likewise.
14536 * gdb.c++/Makefile.in: Likewise.
14537 * gdb.disasm/Makefile.in: Likewise.
14538 * gdb.java/Makefile.in: Likewise.
14539 * gdb.mi/Makefile.in: Likewise.
14540 * gdb.threads/Makefile.in: Likewise.
14541 * gdb.trace/Makefile.in: Likewise.
14542
14543 2003-01-09 David Carlton <carlton@math.stanford.edu>
14544
14545 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14546 Add copyright year 2003.
14547
14548 2003-01-06 Michael Chastain <mec@shout.net>
14549
14550 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14551 When selecting a thread, 'line' and 'file' are optional.
14552 * gdb.mi/mi1-pthreads.exp: Likewise.
14553
14554 2003-01-06 Andreas Schwab <schwab@suse.de>
14555
14556 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14557 failures.
14558
14559 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14560
14561 Fix PR gdb/844
14562 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14563 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14564
14565 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14566 instead of calling gdb_suppress_entire_file.
14567 * gdb.threads/print-threads.exp: Likewise.
14568 * gdb.threads/schedlock.exp: Likewise.
14569
14570 * gdb.threads/killed.exp: Return instead of calling
14571 gdb_suppress_entire_file.
14572 * gdb.threads/linux-dp.exp: Likewise.
14573 * gdb.threads/pthreads.exp: Likewise.
14574
14575 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14576
14577 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14578 stabs.
14579 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14580 * gdb.base/whatis.exp: Always allow (void) after function names.
14581
14582 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14583
14584 * gdb.c++/casts.exp: Correct regexp.
14585
14586 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14587
14588 * configure.in: Call AC_CONFIG_HEADER. Don't call
14589 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14590 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14591 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14592 aforementioned directories in the AC_OUPUT call.
14593 * config.hin: New file.
14594 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14595 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14596 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14597 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14598 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14599 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14600 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14601 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14602 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14603 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14604 gdb.threads/configure.in, gdb.threads/configure,
14605 gdb.threads/config.in, gdb.trace/configure.in,
14606 gdb.trace/configure: Removed.
14607
14608 2003-01-03 Michael Chastain <mec@shout.net>
14609
14610 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14611 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14612
14613 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14614
14615 * gdb.base/store.exp: Fix regular expressions.
14616
14617 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14618
14619 * configure.in: Rewrite.
14620 * configure: Regenerated.
14621
14622 2003-01-03 David Carlton <carlton@math.stanford.edu>
14623
14624 * gdb.base/psymtab.exp: New file.
14625 * gdb.base/psymtab1.c: Ditto.
14626 * gdb.base/psymtab2.c: Ditto.
14627
14628 2002-12-23 Adam Fedor <fedor@gnu.org>
14629
14630 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14631
14632 2002-12-23 David Carlton <carlton@math.stanford.edu>
14633
14634 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14635 and current_directory initialization.
14636
14637 2002-12-22 Jim Blandy <jimb@redhat.com>
14638
14639 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14640 rather than as part of the output file name.
14641
14642 * gdb.base/attach.exp: There's no need to copy the test program to
14643 /tmp; that was only ever necessary on HP/UX, and this test is
14644 entirely disabled there anyway.
14645
14646 2002-12-21 Jim Blandy <jimb@redhat.com>
14647
14648 * gdb.c++/psmang.exp: Doc fix.
14649
14650 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14651 test.
14652
14653 2002-12-20 David Carlton <carlton@math.stanford.edu>
14654
14655 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14656
14657 2002-12-18 Michael Chastain <mec@shout.net>
14658
14659 * gdb.c++/annota2.exp: Add copyright year 2002.
14660
14661 2002-12-17 David Carlton <carlton@math.stanford.edu>
14662
14663 * gdb.c++/try_catch.cc: Add marker comments.
14664 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14665 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14666 * gdb.c++/m-static.cc: Ditto.
14667 * gdb.c++/m-static1.cc: Ditto.
14668 * gdb.c++/try_catch.cc: Ditto.
14669
14670 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14671
14672 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14673 to see whether we are using the new -environment-directory
14674 command which resets via -r or the old version of the command
14675 which may prompt the user. Part of fix for gdb/741.
14676
14677 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14678
14679 * gdb.fortran/types.exp: Update obsolete comment.
14680 * gdb.fortran/exprs.exp: Ditto.
14681 * lib/gdb.exp: Delete obsolete code.
14682 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14683 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14684 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14685 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14686 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14687 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14688 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14689 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14690 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14691 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14692 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14693 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14694 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14695 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14696 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14697 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14698 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14699 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14700 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14701 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14702 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14703 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14704 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14705 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14706 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14707 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14708 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14709 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14710 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14711 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14712 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14713 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14714 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14715 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14716 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14717 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14718 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14719
14720 2002-12-11 David Carlton <carlton@math.stanford.edu>
14721
14722 * gdb.c++/m-data.exp: Add test for members that shadow global
14723 variables: see PR gdb/804.
14724 * gdb.c++/m-data.cc: Ditto.
14725
14726 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14727
14728 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14729
14730 2002-12-06 David Carlton <carlton@math.stanford.edu>
14731
14732 * gdb.base/store.c: Don't declare functions static.
14733
14734 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14735
14736 * gdb.base/store.exp, gdb.base/store.c: New files.
14737
14738 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14739
14740 * gdb.base/selftest.exp: Update for current gdb.
14741
14742 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14743
14744 * gdb.base/maint.exp: Only dump symbols from one source file
14745 or objfile.
14746
14747 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14748
14749 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14750 function call.
14751
14752 2002-11-25 Jim Blandy <jimb@redhat.com>
14753
14754 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14755 function appearing in error message.
14756
14757 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14758
14759 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14760
14761 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14762
14763 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14764 for mi1 and current mi is in correct format. New mi startup message
14765 should be in mi console format. This is part of fix for PR gdb/604.
14766
14767 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14768
14769 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14770 which explicitly prints the zero offset as "+0".
14771
14772 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14773
14774 * gdb.threads/schedlock.c (args): Make unsigned.
14775
14776 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14777
14778 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14779 numbers. Allow "foo2|selected stack frame".
14780 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14781 * gdb.asm/asmsrc2.s: Likewise.
14782 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14783 comments.
14784 * gdb.asm/mips.inc: New file.
14785
14786 2002-10-18 Adam Fedor <fedor@gnu.org>
14787
14788 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14789 * gdb.base/help.exp: Likewise.
14790
14791 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14792
14793 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14794 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14795
14796 2002-10-02 Jim Blandy <jimb@redhat.com>
14797
14798 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14799
14800 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14801
14802 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14803 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14804 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14805 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14806 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14807 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14808 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14809
14810 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14811
14812 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14813 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14814 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14815 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14816 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14817 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14818 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14819
14820 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14821
14822 * gdb.base/annota1.exp (info break): Make directory components of
14823 path optional since not all compilers emit this debug information.
14824
14825 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14826 step ends up stepping out of the function instead of stopping on
14827 the epilogue.
14828
14829 2002-09-26 Keith Seitz <keiths@redhat.com>
14830
14831 * lib/insight-support.exp (gdbtk_start): Figure out where
14832 the insight executable is based on where gdb is. Use this
14833 executable to start insight instead of gdb.
14834
14835 2002-09-25 Andrew Cagney <cagney@redhat.com>
14836
14837 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14838
14839 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14840
14841 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14842 test_isolated_complaints.
14843 (test_empty_complaint): New function.
14844 (test_empty_complaints): New function. Check no output when no
14845 complaints.
14846
14847 2002-09-19 Jim Blandy <jimb@redhat.com>
14848
14849 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14850
14851 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14852
14853 * gdb.gdb/complaints.exp: New file.
14854
14855 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14856
14857 * gdb.base/maint.exp: Check `help maint internal-warning'.
14858
14859 2002-09-18 David Carlton <carlton@math.stanford.edu>
14860
14861 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14862 numbers, and replace them by a single breakpoint after the
14863 constructors are all finished.
14864 Add test 4.
14865 * gdb.c++/m-static.cc: Add test 4.
14866 * gdb.c++/m-static.h: New file.
14867 * gdb.c++/m-static1.cc: New file.
14868
14869 * gdb.c++/printmethod.exp: New file.
14870 * gdb.c++/printmethod.cc: New file.
14871
14872 * gdb.c++/pr-574.exp: New file.
14873 * gdb.c++/pr-574.cc: New file.
14874
14875 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14876
14877 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14878 embedded targets which never actually exit.
14879
14880 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14881
14882 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14883 "don't step after run" as unresolved or unsupported, instead of xfail.
14884
14885 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14886
14887 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14888 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14889 Add newline to expected string in "step out of main (status wrapper)"
14890 case.
14891
14892 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14893
14894 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14895 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14896
14897 2002-09-17 Tom Tromey <tromey@redhat.com>
14898
14899 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14900 \000, not \0, in double-quoted string.
14901
14902 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14903
14904 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14905 string after running the commands execution on breakpoint tests.
14906
14907 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14908
14909 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14910
14911 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14912
14913 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14914
14915 2002-09-10 Keith Seitz <keiths@redhat.com>
14916
14917 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14918 runto proc.
14919 (mi_run_to_main): Use mi_runto.
14920 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14921
14922 2002-09-10 Keith Seitz <keiths@redhat.com>
14923
14924 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14925 regexp for stopping at main. Could have multiple event notifications.
14926 Don't assume that main was declared with no parameters.
14927 (mi_next): Use mi_step_to.
14928 (mi_step): Use mi_next_to.
14929
14930 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14931
14932 * gdb.base/default.exp: Fix expected string in `info float' test.
14933
14934 2002-09-09 Ben Elliston <bje@redhat.com>
14935
14936 * config/mips.exp: Update comments.
14937 * config/mips-idt.exp: Likewise.
14938 * config/nind.exp: Likewise.
14939 * config/slite.exp: Likewise.
14940 * config/sparclet.exp: Likewise.
14941 * config/udi.exp: Likewise.
14942 * config/vx.exp: Likewise.
14943 * config/vxworks29k.exp: Likewise.
14944
14945 2002-09-05 Jim Blandy <jimb@redhat.com>
14946
14947 * gdb.threads/killed.exp: Fix test failure message.
14948
14949 2002-09-04 Keith Seitz <keiths@redhat.com>
14950
14951 * lib/mi-support.exp: Update copyright.
14952 (mi_gdb_test): Increase the priority of the expected pattern
14953 so that it matches gdb_test.
14954
14955 2002-09-03 Keith Seitz <keiths@redhat.com>
14956
14957 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14958 Use integer comparison instead of string comparison for testing
14959 whether binary was built.
14960
14961 2002-09-03 Jim Blandy <jimb@redhat.com>
14962
14963 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14964
14965 2002-08-29 Jim Blandy <jimb@redhat.com>
14966
14967 * gdb.threads/pthreads.exp: Move the portable thread compilation
14968 code into a function in lib/gdb.exp, and call that from here.
14969 * lib/gdb.exp (gdb_compile_pthreads): New function.
14970
14971 2002-08-29 Keith Seitz <keiths@redhat.com>
14972
14973 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14974 expect_out so that callers can get at it.
14975
14976 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14977
14978 * gdb.threads/print-threads.c: New file.
14979 * gdb.threads/print-threads.exp: New file.
14980 * gdb.threads/schedlock.c: New file.
14981 * gdb.threads/schedlock.exp: New file.
14982
14983 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14984
14985 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14986 not altivec.c.
14987
14988 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14989
14990 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14991 targets. The problem should be fixed now.
14992
14993 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14994
14995 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14996 2002-07-24 change that removes final dots from error messages.
14997
14998 2002-08-13 Tom Tromey <tromey@redhat.com>
14999
15000 * gdb.base/readline.exp: New file.
15001
15002 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15003
15004 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15005 supress message.
15006
15007 2002-08-01 Andrew Cagney <cagney@redhat.com>
15008
15009 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15010 CHILL_FOR_TARGET and CHILL_LIB.
15011 * configure.in (configdirs): Remove gdb.chill.
15012 * configure: Regenerate.
15013 * lib/gdb.exp: Obsolete references to chill.
15014 * gdb.fortran/types.exp: Ditto.
15015 * gdb.fortran/exprs.exp: Ditto.
15016
15017 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15018
15019 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15020 set Irix-specific compile and link flags.
15021
15022 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15023
15024 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15025 source files. The ``-o'' option doesn't work with the ``-E'' option
15026 when using the Irix compiler.
15027
15028 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15029
15030 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15031 Improve support for reusing an exec file. Copy exec file
15032 to target, and run gdbserver on the target instead of on the host.
15033
15034 2002-07-18 Jim Blandy <jimb@redhat.com>
15035
15036 * gdb.base/ending-run.exp: Don't expect to see the program end in
15037 some orderly fashion when we're running on a real stand-alone
15038 board.
15039
15040 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15041 targets that don't support interrupts.
15042
15043 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15044
15045 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15046 systems.
15047 Move comments in expect statements to inside the actions, so that they
15048 don't get matched against.
15049
15050 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15051
15052 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15053 function when asleep" test.
15054
15055 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15056
15057 * gdb.base/page.exp: Rewrite to handle problems with very long
15058 `info set' output. Update copyright.
15059
15060 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15061
15062 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15063 gdb.threads-hp.
15064 * gdb.hp/configure: Regenerate.
15065 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15066 * gdb.hp/gdb.threads-hp/configure: Delete file.
15067 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15068
15069 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15070
15071 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15072 setlocale, bindtextdomain and textdomain.
15073
15074 2002-06-11 Jim Blandy <jimb@redhat.com>
15075
15076 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15077 preprocessor macro information is present.
15078
15079 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15080 tests.
15081
15082 2002-06-06 Michael Snyder <msnyder@redhat.com>
15083
15084 * gdb.base/overlays.exp: Record addresses of overlay
15085 functions in TCL variables rather than in GDB variables,
15086 to avoid having GDB convert them to pointers (with loss
15087 of information).
15088
15089 * gdb.base/d10v.ld: Merge in several years worth of
15090 default linker script changes.
15091 * gdb.base/long_long.exp: Add check for sizeof (long double).
15092
15093 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15094
15095 * gdb.asm/asm-source.exp: Add x86-64 target.
15096 * gdb.asm/x86_64.inc: New.
15097
15098 2002-05-30 Michael Chastain <mec@shout.net>
15099
15100 From Benjamin Kosnik <bkoz@redhat.com>:
15101 * gdb.c++/m-static.cc: New file.
15102 * gdb.c++/m-static.exp: New file.
15103
15104 2002-05-28 Michael Snyder <msnyder@redhat.com>
15105
15106 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15107 precision.
15108
15109 2002-05-27 Michael Chastain <mec@shout.net>
15110
15111 From Benjamin Kosnik <bkoz@redhat.com>:
15112 * gdb.c++/m-data.cc: New file.
15113 * gdb.c++/m-data.exp: New file.
15114
15115 2002-05-27 Michael Chastain <mec@shout.net>
15116
15117 From Benjamin Kosnik <bkoz@redhat.com>:
15118 * gdb.c++/try_catch.cc: New file.
15119 * gdb.c++/try_catch.exp: New file.
15120
15121 2002-05-27 Michael Chastain <mec@shout.net>
15122
15123 * gdb.c++/local.exp: Accept more nested types in output.
15124
15125 2002-05-26 Michael Chastain <mec@shout.net>
15126
15127 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15128
15129 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15130
15131 * lib/gdb.exp (gdb_wrapper_init): Just because
15132 gdb_wrapper_file exists, this does not mean that the file
15133 should not be rebuilt. That is what gdb_wrapper_initialized
15134 is for.
15135 (default_gdb_init): Reset gdb_wrapper_initialized.
15136
15137 2002-05-23 Michael Snyder <msnyder@redhat.com>
15138
15139 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15140 the precision of the floating point test results.
15141 * gdb.base/call-rt-st.exp: Ditto.
15142
15143 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15144 * gdb.base/call-rt-st.exp: Ditto.
15145
15146 2002-05-19 Michael Chastain <mec@shout.net>
15147
15148 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15149
15150 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15151
15152 * configure.in (configdirs): Add gdb.arch.
15153 * configure: Regenerate.
15154
15155 2002-05-17 Jim Blandy <jimb@redhat.com>
15156
15157 * gdb.base/completion.exp: Recognize the more detailed error
15158 messages produced by the macro expander's lexical analyzer.
15159
15160 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15161
15162 * gdb.arch/altivec-abi.c: New file.
15163 * gdb.arch/altivec-abi.exp: New file.
15164 * gdb.arch/altivec-regs.c: New file.
15165 * gdb.arch/altivec-regs.exp: New file.
15166
15167 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15168
15169 * gdb.base/maint.exp (maint print type): Update for new type
15170 structure.
15171
15172 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15173
15174 * gdb.arch: New directory.
15175 * gdb.arch/configure.in: New file.
15176 * gdb.arch/configure: New file.
15177 * gdb.arch/Makefile.in: New file.
15178
15179 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15180
15181 * gdb.asm/asm-source.exp: Add v850 as supported target.
15182 * gdb.asm/v850.inc: New file.
15183
15184 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15185
15186 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15187
15188 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15189
15190 * gdb.base/break.exp: Check 'break "marker2"'.
15191
15192 2002-05-10 Michael Snyder <msnyder@redhat.com>
15193
15194 * gdb.base/long_long.exp: Fix typo.
15195
15196 2002-05-10 Jim Blandy <jimb@redhat.com>
15197
15198 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15199 a bug.
15200
15201 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15202 Recognize more detailed error message produced by the macro
15203 expander's lexical analyzer.
15204 * lib/gdb.exp (test_print_reject): Same.
15205
15206 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15207
15208 * gdb.c++/method.exp: Fix typo.
15209
15210 2002-05-08 Michael Snyder <msnyder@redhat.com>
15211
15212 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15213 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15214 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15215 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15216 Add iftarget clause for strongarm.
15217
15218 2002-05-06 Michael Snyder <msnyder@redhat.com>
15219
15220 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15221 (gdb_continue_to_end): Accept output from status wrapper.
15222 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15223 Clean up fail messages to match pass messages.
15224
15225 Enable the "needs_status_wrapper" testsuite feature.
15226 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15227 (gdb_compile): Conditionally call gdb_wrapper_init.
15228 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15229 * gdb.c++/method.exp: Recognize output from status wrapper.
15230
15231 2002-05-06 Ben Elliston <bje@redhat.com>
15232 From Graydon Hoare <graydon@redhat.com>
15233
15234 * config/sid.exp: Include support for "rawsid" protocol.
15235
15236 2002-05-03 Jim Blandy <jimb@redhat.com>
15237
15238 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15239 * gdb.c++/hang3.C: New file.
15240
15241 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15242
15243 * gdb.base/default.exp: Remove obsolete code.
15244 * gdb.c++/misc.exp: Ditto. Update copyright.
15245 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15246 * gdb.base/whatis.exp: Ditto. Update copyright.
15247 * gdb.base/scope.exp: Ditto. Update copyright.
15248 * gdb.base/ptype.exp: Ditto. Update copyright.
15249 * gdb.base/printcmds.exp: Ditto. Update copyright.
15250 * gdb.base/opaque.exp: Ditto. Update copyright.
15251 * gdb.base/list.exp: Ditto.
15252 * gdb.base/funcargs.exp: Ditto. Update copyright.
15253 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15254 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15255 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15256 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15257 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15258 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15259
15260 2002-05-02 Michael Snyder <msnyder@redhat.com>
15261
15262 * gdb.base/watchpoint.exp: Add xscale target.
15263 * gdb.base/long_long.exp: Add xscale target.
15264 * gdb.base/default.exp: Add xscale target.
15265
15266 2002-05-01 Jim Blandy <jimb@redhat.com>
15267
15268 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15269 gdb.c++/hang.exp: New test.
15270
15271 2002-05-01 Fred Fish <fnf@redhat.com>
15272
15273 * gdb.base/completion.exp: Handle completions of "./Make" for
15274 more than one completion possibility, as is the case when we
15275 build and test in the source tree.
15276
15277 2002-04-29 Anthony Green <green@redhat.com>
15278
15279 * gdb.java/jmisc1.exp: New file.
15280 * gdb.java/jmisc2.exp: New file.
15281
15282 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15283
15284 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15285
15286 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15287
15288 * gdb.base/help.exp: Change 'help status' to allow for target
15289 dependent output differences.
15290
15291 2002-04-22 Michael Chastain <mec@shout.net>
15292
15293 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15294
15295 2002-04-22 Michael Chastain <mec@shout.net>
15296
15297 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15298
15299 2002-04-17 David S. Miller <davem@redhat.com>
15300
15301 * gdb.asm/sparc64.inc: New file.
15302 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15303
15304 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15305
15306 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15307 instruction file directly into the build tree. Clean up at end of
15308 test.
15309
15310 2002-04-18 David S. Miller <davem@redhat.com>
15311
15312 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15313 handle 64-bit platforms correctly.
15314 * gdb.base/maint.exp: Likewise.
15315
15316 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15317
15318 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15319 ``-fpic'' when compiling files comprising a shared library, but
15320 it does need additional linker flags in order to find shared
15321 libraries at run time.
15322
15323 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15324
15325 * gdb.base/cvexpr.c (use): New function.
15326 (main): Invoke use() on all global variables to prevent
15327 some linkers from deleting these otherwise unused symbols.
15328
15329 2002-04-17 Michael Chastain <mec@shout.net>
15330 From David S. Miller <davem@redhat.com>
15331
15332 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15333 handle 64-bit platforms correctly.
15334
15335 2002-04-12 Michael Snyder <msnyder@redhat.com>
15336 From Jim Blandy <jimb@redhat.com>
15337 * gdb.base/foo.c (foox): Remove section attribute; the linker
15338 script can handle this instead.
15339 * gdb.base/bar.c (barx): Same.
15340 * gdb.base/baz.c (bazx): Same.
15341 * gdb.base/grbx.c (grbxx): Same.
15342
15343 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15344 manager doesn't automatically unmap overlays unnecessarily.
15345
15346 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15347
15348 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15349 stepping out of main.
15350
15351 2002-04-09 Michael Chastain <mec@shout.net>
15352
15353 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15354 scope so that the nested scope tests will make sense.
15355 * gdb.c++/local.exp: Write patterns that actually work with gcc
15356 (the HP patterns "were never known to work with gcc").
15357 Keep the old aCC patterns too.
15358
15359 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15360
15361 * gdb.base/attach.exp: Correct target board test.
15362
15363 2002-04-08 Michael Chastain <mec@shout.net>
15364
15365 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15366 in a const method. Add some xfail and fail cases for configurations
15367 that do not emit the "const ...".
15368
15369 2002-04-07 Michael Chastain <mec@shout.net>
15370
15371 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15372 Accept "A * const" and "const A * const" as type of "this".
15373 Fix spelling of getFunky throughout. Make messages uniform.
15374
15375 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15376
15377 Work around for PR gdb/285:
15378 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15379
15380 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15381
15382 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15383 instructions file at run time instead of configure time.
15384 Sometimes we run the test in a directory that is not the one we
15385 configured in.
15386 * gdb.asm/configure.in: Delete creation of symlink.
15387 * gdb.asm/configure: Regenerate.
15388
15389 2002-04-05 J. Brobecker <brobecker@gnat.com>
15390
15391 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15392 xfullpath () function.
15393
15394 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15395
15396 * gdb.asm/Makefile.in: Correct dependencies.
15397
15398 * gdb.asm/powerpc.inc: New file.
15399 * gdb.asm/asm-source.exp: Add PowerPC.
15400 * gdb.asm/configure.in: Likewise.
15401 * gdb.asm/configure: Regenerated.
15402
15403 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15404
15405 * gdb.base/relocate.exp: New file.
15406 * gdb.base/relocate.c: New file.
15407
15408 2002-04-04 Fred Fish <fnf@redhat.com>
15409
15410 * gdb.base/step-test.exp: Update comment regarding stopping in
15411 memcpy/bcopy calls inserted as part of the compiler runtime.
15412
15413 2002-04-04 Michael Snyder <msnyder@redhat.com>
15414
15415 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15416
15417 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15418
15419 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15420 (gdb_expect): Remove $notransfer hack.
15421
15422 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15423
15424 * gdb.c++/classes.exp ("calling method for small class"): Match
15425 updated register output.
15426
15427 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15428
15429 Fix PR gdb/452
15430 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15431 when finished. Make gdb_file_cmd send "exec-file" when
15432 appropriate.
15433
15434 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15435
15436 * gdb.base/attach.exp: Remove extra setup_xfail.
15437
15438 2002-03-26 Michael Snyder <msnyder@redhat.com>
15439
15440 * gdb.base/default.exp: Add tests for dump, append, and restore.
15441 * gdb.base/help.exp: Add tests for dump, append, and restore.
15442 * gdb.base/dump.exp: New file, test dump, append and restore.
15443 * gdb.base/dump.c: New file.
15444
15445 2002-03-27 Michael Snyder <msnyder@redhat.com>
15446
15447 * gdb.base/help.exp: Modify expect strings to reflect
15448 clean-ups in help messages.
15449
15450 2002-03-26 Fred Fish <fnf@redhat.com>
15451
15452 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15453 have debugging info for those functions and the compiler uses them
15454 internally to copy structs around.
15455
15456 2002-03-26 Fred Fish <fnf@redhat.com>
15457
15458 * gdb.base/list.exp: Revert the change made yesterday and add note
15459 about why we don't list the default lines for remote targets.
15460
15461 2002-03-25 Michael Snyder <msnyder@redhat.com>
15462
15463 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15464
15465 2002-03-25 Fred Fish <fnf@redhat.com>
15466
15467 * gdb.base/list.exp: This test works on remote targets so remove
15468 the short circuit for remote targets. Update copyright.
15469
15470 2002-03-25 Fred Fish <fnf@redhat.com>
15471
15472 * gdb.base/attach.exp: Fix logic error that was suppressing this
15473 test for all non hppa*-*-hpux* targets, instead of the hp target.
15474 Move comments closer to the suppression point. Also now need to
15475 check that we are running natively.
15476
15477 2002-03-22 Michael Snyder <msnyder@redhat.com>
15478
15479 * gdb.base/default.exp: Add test for gcore. Update copyright.
15480 * gdb.base/help.exp: Add test for gcore. Update copyright.
15481
15482 2002-03-06 Fred Fish <fnf@redhat.com>
15483
15484 * gdb.base/funcargs.c: Remove extraneous ';' character.
15485 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15486
15487 2002-03-04 Michael Chastain <mec@shout.net>
15488
15489 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15490 accommodate gcc v3 function signature.
15491 * gdb.mi/mi0-var-cmd-exp: Ditto.
15492
15493 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15494
15495 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15496 ``GNU/Linux'' or ``Linux kernel''
15497 * testsuite/gdb.threads/pthreads.c: Ditto.
15498
15499 2002-02-24 Michael Chastain <mec@shout.net>
15500
15501 * gdb.threads/pthreads.c (thread1): Add a return statement.
15502 (thread2): Likewise.
15503 (foo): Likewise.
15504
15505 2002-02-23 Michael Chastain <mec@shout.net>
15506
15507 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15508 to placate gcc.
15509
15510 2002-02-23 Michael Chastain <mec@shout.net>
15511
15512 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15513 test "ptype bint". The test passes on all my stabs configurations.
15514
15515 2002-02-21 Jim Blandy <jimb@redhat.com>
15516
15517 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15518 filename at a time, and watch for the ones we want to see.
15519
15520 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15521 types of pointers to prototyped functions.
15522
15523 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15524
15525 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15526 signed, unsigned and straight char.
15527 (padding_char, padding_short, padding_int, padding_long,
15528 padding_long_long, padding_float, padding_double,
15529 padding_long_double): New global variables.
15530 (fill, fill_structs): New functions.
15531
15532 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15533 for correctly sized writes. Update copyright.
15534 (get_valueof): New procedure.
15535 (get_sizeof): Call get_valueof.
15536 (check_valueof): New procedure.
15537 (check_padding): New procedure.
15538
15539 2002-02-20 Michael Chastain <mec@shout.net>
15540
15541 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15542 to setup_xfail. Document some of the remaining calls.
15543
15544 2002-02-18 Michael Chastain <mec@shout.net>
15545
15546 * gdb.c++/userdef.exp: Update copyright year.
15547
15548 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15549
15550 * gdb.c++/userdef.exp: Test overloaded operators properly.
15551 Remove xfails.
15552
15553 2002-02-14 Michael Snyder <msnyder@redhat.com>
15554
15555 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15556
15557 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15558
15559 * gdb.base/a2-run.exp: Check for a remote target properly.
15560 * gdb.base/annota1.exp: Likewise.
15561 * gdb.base/list.exp: Likewise.
15562 * gdb.base/reread.exp: Likewise.
15563 * gdb.base/scope.exp: Likewise.
15564 * gdb.base/shlib-call.exp: Likewise.
15565 * gdb.base/term.exp: Likewise.
15566 * gdb.c++/annota2.exp: Likewise.
15567
15568 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15569
15570 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15571
15572 2002-02-10 Michael Chastain <mec@shout.net>
15573
15574 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15575 (call_after_alloca): Ditto.
15576
15577 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15578
15579 * gdb.base/ending-run.exp: Guard "cont" test with
15580 gdb_skip_stdio_test.
15581
15582 2002-02-06 Jim Blandy <jimb@redhat.com>
15583
15584 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15585 from here...
15586 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15587 To here. Disable this test on non-HP platforms. Add big comment.
15588
15589 2002-02-04 Michael Snyder <msnyder@redhat.com>
15590
15591 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15592 other than d10v and m32r.
15593
15594 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15595
15596 * gdb.base/default.exp: Rewrite test patterns to reduce time
15597 taken to match them.
15598
15599 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15600
15601 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15602 Allow a start function above main.
15603 * gdb.threads/linux-dp.exp: Fix copyright date.
15604
15605 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15606
15607 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15608 (check_philosopher_stack): Check for manager thread before checking
15609 for a just-starting thread.
15610
15611 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15612
15613 From Neil Booth <neil@daikokuya.demon.co.uk>:
15614 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15615 warnings.
15616
15617 2002-01-21 Fred Fish <fnf@redhat.com>
15618
15619 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15620 not caller.
15621
15622 2002-01-21 Jim Blandy <jimb@redhat.com>
15623
15624 * gdb.base/reread.exp: Check that GDB properly re-reads the
15625 executable file when it changes while no inferior is running.
15626
15627 2002-01-21 Fred Fish <fnf@redhat.com>
15628
15629 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15630 optionally accept the "shlib events" variation.
15631
15632 2002-01-21 Jim Blandy <jimb@redhat.com>
15633
15634 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15635 call `fflush' after every `printf', so that the output is produced
15636 at predictable points, regardless of whatever buffering does (or
15637 doesn't) take place.
15638 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15639 at different points.
15640
15641 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15642
15643 * gdb.c++/inherit.exp: Update copyright years.
15644 * gdb.c++/method.exp: Likewise.
15645
15646 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15647
15648 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15649 artificial methods/arguments.
15650 * gdb.c++/derivation.exp: Likewise.
15651 * gdb.c++/inherit.exp: Likewise.
15652 * gdb.c++/method.exp: Likewise.
15653 * gdb.c++/virtfunc.exp: Likewise.
15654
15655 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15656
15657 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15658 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15659 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15660 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15661 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15662 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15663
15664 2002-01-17 Jim Blandy <jimb@redhat.com>
15665
15666 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15667 anchoring the pattern matching the entry point symbol's name.
15668
15669 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15670
15671 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15672 continue/quit query. Update copyright.
15673
15674 2002-01-14 Michael Snyder <msnyder@redhat.com>
15675
15676 * gdb.base/gcore.exp: Remove extra debugging output.
15677
15678 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15679
15680 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15681 for slightly dubious v2 mangled string.
15682
15683 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15684
15685 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15686
15687 2002-01-10 Jason Merrill <jason@redhat.com>
15688
15689 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15690
15691 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15692 constructors.
15693 * gdb.c++/derivation.exp: Likewise.
15694 * gdb.c++/templates.exp: Likewise.
15695 * gdb.c++/virtfunc.exp: Likewise.
15696
15697 2002-01-10 Michael Snyder <msnyder@redhat.com>
15698
15699 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15700
15701 2002-01-08 Michael Snyder <msnyder@redhat.com>
15702
15703 * gdb.base/gcore.exp: New test for generate-core-file command.
15704 * gdb.base/gcore.c: Testcase for above.
15705 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15706
15707 2002-01-08 Jason Merrill <jason@redhat.com>
15708
15709 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15710
15711 2002-01-07 Fred Fish <fnf@redhat.com>
15712
15713 * gdb.c++/overload.exp: Remove unconditional xfails for:
15714 print foo_instance1.overloadargs(1)
15715 print foo_instance1.overloadargs(1, 2)
15716 print foo_instance1.overloadargs(1, 2, 3)
15717 print foo_instance1.overloadargs(1, 2, 3, 4)
15718 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15719 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15720 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15721 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15722 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15723 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15724 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15725 print foo_instance1.overload1arg()
15726 print foo_instance1.overload1arg((char)arg2)
15727 print foo_instance1.overload1arg((signed char)arg3)
15728 print foo_instance1.overload1arg((unsigned char)arg4)
15729 print foo_instance1.overload1arg((int)arg7)
15730 print foo_instance1.overload1arg((unsigned int)arg8)
15731 print foo_instance1.overload1arg((float)arg11)
15732 print foo_instance1.overload1arg((double)arg12)
15733
15734 2002-01-07 Michael Snyder <msnyder@redhat.com>
15735
15736 * gdb.base/huge.exp: New test. Print a very large target data object.
15737 (skip_huge_test): New test variable. Define if you want to skip this
15738 test. The test reads an 8 megabyte data object from the target, so it
15739 might be very time consuming on remote targets with a slow connection.
15740 * gdb.base/huge.c: New file. Test case for above.
15741
15742 2002-01-07 Fred Fish <fnf@redhat.com>
15743
15744 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15745 g_instance.bfoo, and g_instance.cfoo.
15746
15747 2002-01-07 Jeffrey A Law <law@redhat.com>
15748
15749 * gdb.base/break.c (multi_line_if_conditional): New function.
15750 (multi_ilne_while_conditional): Likewise.
15751 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15752 IF or WHILE condition puts the breakpoint at the start of
15753 the condition.
15754
15755 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15756 hppa*-*-hpux* expected failure.
15757 * gdb.base/structs.exp (do_function_calls): Similarly.
15758
15759 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15760 watchpoints.
15761
15762 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15763
15764 Fix PR gdb/66.
15765 * gdb.base/structs.exp: Replace skip for a29k with skip for
15766 gdb,cannot_call_functions.
15767 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15768 * gdb.base/callfuncs.exp: Ditto.
15769 * gdb.base/call-rt-st.exp: Ditto.
15770 * gdb.base/call-strs.exp: Ditto.
15771 * gdb.base/callfwmall.exp: Ditto.
15772 * gdb.base/scope.exp: Obsolete xfail a29k.
15773 * gdb.c++/misc.exp: Ditto.
15774 * gdb.c++/cplusfuncs.exp: Ditto.
15775 * gdb.base/ptype.exp: Ditto.
15776 * gdb.base/printcmds.exp: Ditto.
15777 * gdb.base/opaque.exp: Ditto.
15778 * gdb.base/list.exp: Ditto.
15779 * gdb.base/funcargs.exp: Ditto.
15780 * gdb.base/default.exp: Ditto.
15781
15782 2002-01-04 Michael Snyder <msnyder@redhat.com>
15783
15784 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15785 * gdb.base/maint.exp: Add tests for maint info sections options.
15786
15787 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15788
15789 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15790
15791 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15792
15793 * gdb.asm/arm.inc: New file.
15794 * gdb.asm/asm-source.exp: Add arm targets.
15795 * gdb.asm/configure.in: Ditto.
15796 * gdb.asm/configure: Recreated from configure.in.
15797
15798 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15799
15800 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15801 with HP's compiler.
15802 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15803 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15804 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15805 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15806
15807 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15808 either HP's compilers or GCC.
15809
15810 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15811 a SIGBUS or SIGSEGV.
15812
15813 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15814
15815 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15816 can be compiled with either HP's compiler or GCC.
15817
15818 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15819 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15820 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15821
15822 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15823 to match current gdb output. Update due to using auto-solib-limit
15824 for limiting instead of overloading auto-solib-add.
15825 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15826 test program.
15827
15828 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15829 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15830 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15831 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15832 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15833 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15834 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15835 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15836 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15837 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15838 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15839 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15840 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15841
15842 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15843 a SIGTRAP to the inferior.
15844
15845 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15846
15847 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15848 Substitute call to target_link by call to gdb_compile.
15849
15850 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15851
15852 * gdb.base/break.exp: Fix HP specific search string when testing
15853 backtracing in a called function.
15854
15855 * gdb.base/constvars.exp: Only set lang to C++ if we're
15856 compiling the test with HP's compilers.
15857 * gdb.base/volatile.exp: Similarly.
15858
15859 2001-12-19 Jim Blandy <jimb@redhat.com>
15860
15861 * gdb.base/printcmds.exp: Expect the null character to be printed
15862 as '\0', and the '\013' to be printed as '\v'.
15863 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15864 * gdb.base/setvar.exp: Same.
15865
15866 2001-12-17 Jim Blandy <jimb@redhat.com>
15867
15868 * gdb.base/completion.exp: Rather than completing very long
15869 filenames, which can make the readline library produce output we
15870 don't recognize, cd to the directory first, and then complete
15871 using nice, short relative paths.
15872
15873 * gdb.base/completion.exp: On some systems, there is, in fact, a
15874 variable named `b' in scope, since GDB treats all static
15875 variables as being in scope. So use `no_var_named_this'
15876 instead of `b'.
15877
15878 * gdb.base/corefile.exp: Recognize the message saying that GDB
15879 can't find the core file's registers as a failure.
15880
15881 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15882
15883 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15884 test expect string more specific.
15885
15886 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15887
15888 * gdb.asm/asm-source.exp: Add support for xstormy16.
15889 * gdb.asm/configure.in: Ditto.
15890 * gdb.asm/configure: Rebuild.
15891 * gdb.asm/xstormy16.inc: New file.
15892
15893 2001-12-10 Fred Fish <fnf@redhat.com>
15894
15895 * gdb.base/maint.exp: Update to match changes in type dumping code.
15896
15897 2001-12-10 Jim Blandy <jimb@redhat.com>
15898
15899 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15900 matching the entry point symbol's name at the beginning of the
15901 line.
15902
15903 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15904
15905 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15906 gdb.c++/inherit.exp, gdb.c++/method.exp,
15907 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15908 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15909 and class layout support.
15910
15911 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15912
15913 * gdb.c++/classes.exp: Add test for static member function.
15914 * gdb.c++/misc.cc: Add class with static member function.
15915
15916 2001-12-07 Jim Blandy <jimb@redhat.com>
15917
15918 If GDB says it can't find the struct the function returned, report
15919 those tests as `unsupported'.
15920 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15921 Rewrite subsequent tests to use it.
15922
15923 If GDB says it can't find the struct the function returned, report
15924 those tests as `unsupported'.
15925 * gdb.base/structs.exp (call_struct_func): New function.
15926 (do_function_calls): Use call_struct_func to call the functions
15927 returning structs.
15928
15929 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15930 whether functions are prototyped or not, so we can't possibly pass
15931 arguments to t_float_values2 properly.
15932
15933 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15934 value of `timeout' for targets other than the mips*tx39-*.
15935
15936 2001-12-06 Michael Snyder <msnyder@redhat.com>
15937
15938 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15939 and detect whether the start symbol has a leading underscore.
15940
15941 2001-12-04 Jim Blandy <jimb@redhat.com>
15942
15943 * gdb.base/completion.exp: Clarify indentation.
15944
15945 2001-12-03 Jim Blandy <jimb@redhat.com>
15946
15947 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15948 variables on the S/390, not `.word'.
15949
15950 2001-11-30 Jim Blandy <jimb@redhat.com>
15951
15952 Add assembly-source tests for s390-ibm-linux.
15953 * gdb.asm/s390.inc: New file.
15954 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15955 the S/390 architecture.
15956 * gdb.asm/configure: Regenerated.
15957
15958 2001-11-30 Michael Snyder <msnyder@redhat.com>
15959
15960 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15961 next, info source, info sources, info line, global and static
15962 variables, and static functions.
15963 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15964 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15965 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15966 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15967 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15968 (gdbasm_leave): Restore frame pointer.
15969 (gdbasm_startup): Copy stack set-up from crt0.S.
15970
15971 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15972
15973 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15974 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15975 to a local (non-static) variable. Copy tstruct.a to a static buffer
15976 and return a pointer to that buffer.
15977 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15978
15979 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15980
15981 * gdb.asm/configure.in: Fix recognition of ix86 target.
15982 * gdb.asm/configure: Regenerate.
15983
15984 2001-11-21 Michael Snyder <msnyder@redhat.com>
15985
15986 * gdb.asm/sparc.inc: New file.
15987 * gdb.asm/asm-source.exp: Recognize sparc target.
15988 * gdb.asm/configure.in: Recognize sparc target.
15989 * gdb.asm/configure: Regenerate.
15990
15991 2001-11-21 Michael Snyder <msnyder@redhat.com>
15992
15993 * gdb.asm/m32r.inc: New file.
15994 * gdb.asm/asm-source.exp: Recognize m32r target.
15995 * gdb.asm/configure.in: Recognize m32r target.
15996 * gdb.asm/configure: Regenerate.
15997
15998 2001-11-20 Michael Snyder <msnyder@redhat.com>
15999
16000 * gdb.asm/i386.inc: New file.
16001 * gdb.asm/asm-source.exp: Recognize ix86 target.
16002 * gdb.asm/configure.in: Recognize ix86 target.
16003 * gdb.asm/configure: Regenerate.
16004
16005 * gdb.c++/namespace.exp: Fix quotes in output messages.
16006
16007 2001-11-14 Michael Snyder <msnyder@redhat.com>
16008
16009 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16010 qualifier in a type cast expression, to designate an address
16011 in the instruction space (Harvard architecture).
16012
16013 2001-11-13 Michael Snyder <msnyder@redhat.com>
16014
16015 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16016 Tests for expressions using 'const' and 'volatile'.
16017
16018 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16019
16020 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16021
16022 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16023
16024 * lib/mi-support.exp (mi_run_to_helper): Move comments
16025 outside of gdb_expect.
16026
16027 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16028
16029 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16030 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16031 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16032 mi0_run_to): New functions.
16033 * gdb.mi/mi-simplerun.exp: Use them.
16034 * gdb.mi/mi0-simplerun.exp: Likewise.
16035 * gdb.mi/mi-var-cmd.exp: Likewise.
16036 * gdb.mi/mi0-var-cmd.exp: Likewise.
16037
16038 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16039
16040 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16041 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16042
16043 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16044
16045 * gdb.base/restore.exp: Include $expected value in restored test
16046 message.
16047
16048 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16049
16050 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16051 implemented.
16052
16053 2001-11-08 Michael Snyder <msnyder@redhat.com>
16054
16055 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16056 Add pass/fail message for stop at breakpoint in call dummy function.
16057
16058 2001-11-07 Michael Snyder <msnyder@redhat.com>
16059
16060 * gdb.c++/templates.exp (test_template_breakpoints):
16061 If we get an overload menu, but it does not match what
16062 we expect, we still need to issue the "cancel" command.
16063 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16064 making the whitespace optional. Argument for "new" may be
16065 "unsigned" as well as "unsigned int/long".
16066 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16067 making the whitespace optional. Also replace "(void) with
16068 "((void|)), making the keyword "void" optional.
16069 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16070 making the whitespace optional. Also replace "(void) with
16071 "((void|)), making the keyword "void" optional.
16072 * gdb.base/callfuncs.c (t_float_values): This function must
16073 _not_ be prototyped, and the following function (t_float_values2)
16074 must be prototyped (if the compiler supports it), so that GDB
16075 can be tested against both cases. Usually one case involves
16076 promotion of float to double, while the other does not.
16077 * gdb.base/callfwmall.c: Ditto.
16078 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16079 includes a stack frame for "start".
16080
16081 2001-11-05 Jim Blandy <jimb@redhat.com>
16082
16083 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16084 pointers are 32 bits long, and that offsets of relocs are always
16085 stored in the data (REL-style), and not in the reloc entry itself
16086 (RELA-style).
16087 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16088 stabs.
16089
16090 2001-11-01 Michael Snyder <msnyder@redhat.com>
16091
16092 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16093 and regular expression operators by using quoting.
16094
16095 2001-10-31 Michael Snyder <msnyder@redhat.com>
16096
16097 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16098 depending on what the symbol table contains.
16099 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16100 the output of the ptype command. Similarly, accept both "const &"
16101 and "const&".
16102
16103 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16104
16105 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16106 symbol `STORAGE' to allow to choose the storage class of
16107 the local datastructures.
16108 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16109 compiler directive.
16110
16111 2001-10-30 Michael Snyder <msnyder@redhat.com>
16112
16113 * gdb.base/jump.exp: Allow it to run for all targets.
16114
16115 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16116
16117 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16118 with new double_array size.
16119 (main): Change storage class of all local variables to static.
16120 Reduce size of double_array to 9.
16121 * gdb.base/call-ar-st.exp: Increase timeout value.
16122 Change expected output for double array to match new size in
16123 call-ar-st.c.
16124
16125 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16126
16127 * gdb.base/ending-run.exp: Create identical output when passing
16128 `step to end of run' case. Add regular expression branch satisfying
16129 Stormy16 target.
16130
16131 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16132
16133 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16134 that we catch the expected failure under Linux/x86.
16135
16136 2001-10-29 Orjan Friberg <orjanf@axis.com>
16137
16138 * gdb.base/setvar.exp: Escape curly braces.
16139 * gdb.stabs/weird.exp: Ditto.
16140
16141 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16142
16143 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16144 * gdm.mi/mi0-hack-cli.exp: Likewise.
16145
16146 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16147
16148 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16149 messages.
16150
16151 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16152
16153 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16154 checking MI enabled.
16155
16156 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16157
16158 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16159
16160 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16161
16162 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16163 if gdb child process crashes, just signal an error.
16164
16165 2001-10-02 Jim Blandy <jimb@redhat.com>
16166
16167 * lib/gdb.exp (test_xfail_format): Simplify.
16168
16169 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16170 front of the variable name `format'. Simplify `if'.
16171
16172 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16173
16174 * gdb.threads/pthreads.exp: Wait for output and delay
16175 before sending ^C.
16176
16177 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16178
16179 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16180 some incorrect output instead of timing out.
16181 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16182
16183 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16184
16185 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16186 check to allow additional `int'.
16187
16188 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16189
16190 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16191 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16192
16193 2001-09-27 Michael Snyder <msnyder@redhat.com>
16194
16195 * lib/gdb.exp (test_debug_format): New proc.
16196 (setup_xfail_format): Use new proc test_debug_format.
16197 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16198 proc; use new service proc test_debug_format.
16199 Replace all other "gcc_compiled" tests with this test.
16200 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16201 proc; use new service proc test_debug_format.
16202 Replace all other "gcc_compiled" tests with this test.
16203
16204 2001-09-27 Michael Snyder <msnyder@redhat.com>
16205
16206 * gdb.base/cvexpr.exp: New file.
16207 * gdb.base/cvexpr.c: New file
16208 Test for expressions using const and volatile keywords.
16209
16210 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16211
16212 * gdb.base/constvars.exp: Check for different orders of keywords
16213 and additional "int" strings in output.
16214
16215 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16216
16217 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16218 responses from "help maint".
16219
16220 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16221
16222 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16223 to localhost:NNN instead of :NNN, in case Xvfb is listening
16224 only on TCP.
16225
16226 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16227
16228 * gdb.base/recurse.exp: When checking leaving the watchpoint
16229 scope, recognize when gdb is in function's epilogue and pass.
16230
16231 2001-09-18 Keith Seitz <keiths@redhat.com>
16232
16233 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16234 support for running tests against sid targets.
16235 (gdbtk_done): Ditto.
16236
16237 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16238
16239 * gdb.base/ending-run.c (main): Set stdout buffersize
16240 to the same reasonable value for any target.
16241 * gdb.base/ending-run.exp: Add a regular expression
16242 to make testsuite happy on Sanyo Stormy16 target.
16243
16244 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16245
16246 * gdb.base/display.c (do_loops): Add float variable `f'.
16247 Increment f in loop.
16248 * gdb.base/display.exp: Increment timeout by 60 seconds.
16249 Change float display test to use variable `f'.
16250
16251 2001-09-17 Jim Blandy <jimb@redhat.com>
16252
16253 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16254 overflowing the limited breakpoint tables on some ROM monitors
16255 (like the ROM68K).
16256
16257 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16258
16259 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16260 the "-ac" (disable access control) flag.
16261
16262 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16263
16264 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16265 ints.
16266
16267 2001-08-30 Keith Seitz <keiths@redhat.com>
16268
16269 * lib/gdb.exp: Move all insight-related functionality into
16270 separate file.
16271 * lib/insight-support.exp: New file.
16272
16273 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16274
16275 * config/sid.exp (sid_start): Never set sid verbosity; disable
16276 expect_background {} that consumed its stdout; tolerate </dev/null.
16277 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16278
16279 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16280
16281 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16282 CLI jump command to start it.
16283 (mi_run_to_main): Fail immediatly when unexpected output.
16284
16285 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16286
16287 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16288 beginning of function. Fix PR gdb/191.
16289
16290 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16291
16292 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16293 what to force sid endianness to.
16294
16295 2001-08-15 Keith Seitz <keiths@redhat.com>
16296
16297 * lib/gdb.exp (gdbtk_start): Don't set environment
16298 variables for TCL_LIBRARY and friends. Insight will
16299 now figure these out for itself.
16300
16301 2001-08-02 Michael Snyder <msnyder@redhat.com>
16302
16303 * gdb.base/completion.exp: Remove the symbol "a64l" from
16304 the expect string; this is target-specific, and not related
16305 to what is being tested.
16306
16307 2001-08-02 Dave Brolley <brolley@redhat.com>
16308
16309 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16310
16311 2001-07-25 Michael Snyder <msnyder@redhat.com>
16312
16313 * gdb.base/consecutive.exp: New file. Test stepping over
16314 breakpoints on consecutive instructions.
16315 * gdb.base/consecutive.c: New file.
16316
16317 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16318 curly braces in regular expressions.
16319
16320 2001-07-25 Michael Snyder <msnyder@redhat.com>
16321
16322 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16323 legitimate output from stepping out of main.
16324
16325 2001-07-22 Keith Seitz <keiths@redhat.com>
16326
16327 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16328 the empty string, do not run the tests.
16329
16330 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16331
16332 * gdb.base/long_long.exp: Detect size of pointer. Take into
16333 account 2-byte pointers when testing for p/a results.
16334
16335 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16336
16337 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16338 and defined to 1K for m68hc11.
16339 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16340 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16341 (sizeof_random_data): New variable to tell the size of the data table;
16342 don't test past this size; always run to main.
16343
16344 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16345
16346 * gdb.base/return2.exp: return of long long and double fails for
16347 68HC11; don't execute these tests on that platform.
16348 * gdb.base/return.exp: Return of a double fails for 68hc11.
16349
16350 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16351
16352 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16353 tests that print a float.
16354 * call-rt-st.exp: Likewise.
16355
16356 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16357
16358 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16359 running this test on Linux.
16360
16361 2001-06-24 Michael Chastain <chastain@redhat.com>
16362
16363 * gdb.base/arithmet.exp: Remove some tests to make all test names
16364 unique.
16365
16366 2001-07-03 Michael Snyder <msnyder@redhat.com>
16367
16368 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16369 the output of the ptype command.
16370
16371 2001-07-02 Michael Snyder <msnyder@redhat.com>
16372
16373 * gdb.base/completion.exp: Don't assume that break.c is the only
16374 source file that may contain functions named "marker".
16375 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16376
16377 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16378
16379 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16380 of files to delete.
16381
16382 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16383 * gdb.disasm/h8300s.exp: New file.
16384 gdb.disasm/h8300s.s: Likewise.
16385
16386 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16387
16388 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16389 empty breakpoint tables.
16390
16391 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16392
16393 * lib/mi-support.exp: Update args=... part of stop-reason
16394 patterns. Accept either a list or a tuple.
16395
16396 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16397
16398 * lib/mi-support.exp: Remove local emacs variable defining
16399 change-log-default-name.
16400
16401 2001-06-22 Michael Chastain <chastain@redhat.com>
16402
16403 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16404 This is operationally compatible with the previous version.
16405
16406 2001-06-13 Jim Blandy <jimb@redhat.com>
16407
16408 * lib/gdb.exp (gdb_test): Doc fix.
16409
16410 2001-06-10 Michael Chastain <chastain@redhat.com>
16411
16412 * gdb.base/exprs.exp: Remove a duplicate test.
16413
16414 2001-06-06 Jim Blandy <jimb@redhat.com>
16415
16416 * gdb.base/return2.exp (main): Use values to test float and double
16417 returns that are not NaN's, to avoid being confused by IEEE
16418 comparison rules.
16419
16420 2001-06-04 Michael Snyder <msnyder@redhat.com>
16421
16422 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16423 non-zero if control_c fails. Terminate the test on failure,
16424 rather than wait for 12 more tests to time out.
16425
16426 2001-06-06 Jim Blandy <jimb@redhat.com>
16427
16428 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16429 Don't forget to match the GDB prompt.
16430
16431 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16432
16433 2001-06-04 Jim Blandy <jimb@redhat.com>
16434
16435 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16436 command.
16437
16438 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16439
16440 * gdb.base/annota1.exp (info break): Match four or more spaces
16441 after "Address".
16442
16443 2001-05-31 Michael Chastain <chastain@redhat.com>
16444
16445 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16446 (dm_type_int_star): Likewise.
16447 (dm_type_long_star): Likewise.
16448 (dm_type_void_star): Likewise.
16449
16450 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16451
16452 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16453 to a known value in order to get consistent results regardless
16454 of the setting of INPUTRC or the presence or contents of .inputrc.
16455
16456 2001-05-24 Michael Snyder <msnyder@redhat.com>
16457
16458 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16459 Don't require that the main thread and the manager thread are the
16460 first in the list.
16461
16462 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16463 debugging. If test fails, issue an "unsupported" not a "fail".
16464
16465 2001-05-24 Jim Blandy <jimb@redhat.com>
16466
16467 Don't assume that short is shorter than int.
16468 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16469 assume that shorts are smaller than ints. On a 16-bit machine,
16470 this isn't true.
16471 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16472 an int, is not equal to ~0 stored in an unsigned char. This tests
16473 the same thing that the previous test meant to, but works on
16474 16-bit machines, too.
16475 ("print unsigned char != (~0)"): Same test, complemented.
16476
16477 2001-05-24 Michael Snyder <msnyder@redhat.com>
16478
16479 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16480 test for (full_coverage == 0). This makes the test run faster,
16481 and prevents dejagnu getting out of step.
16482
16483 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16484
16485 * gdb.base/finish.exp (finish_void): Revise pattern for
16486 stopping on the call statement to not permit stopping at
16487 the start of the instructions comprising the call sequence.
16488
16489 2001-05-19 Michael Chastain <chastain@redhat.com>
16490
16491 * gdb.base/callfuncs.exp: Make all test names unique.
16492 * gdb.base/commands.exp: Make all test names unique.
16493 * gdb.base/condbreak.exp: Make all test names unique.
16494 * gdb.base/dbx.exp: Make all test names unique.
16495 * gdb.base/default.exp: Make all test names unique.
16496 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16497 and TIMEOUT messages to their corresponding PASS message.
16498 * gdb.base/ending-run.exp: Make all test names unique.
16499 * gdb.base/long_long.exp: Remove duplicate test.
16500
16501 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16502
16503 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16504 stop on the call statement as well as the statement after the
16505 call.
16506
16507 2001-05-21 Michael Snyder <msnyder@redhat.com>
16508
16509 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16510
16511 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16512
16513 * gdb.base/completion.exp: Revamp test. Make it execute on all
16514 platforms.
16515
16516 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16517
16518 * config/gdbserver.exp (gdb_load): Handle the case
16519 in which the arguments to gdbserver are given in the
16520 baseboard configuration file.
16521 Also handle the case in which the server needs to do a
16522 load.
16523
16524 2001-05-07 Keith Seitz <keiths@cygnus.com>
16525
16526 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16527 set up the display for testing.
16528 (gdbtk_start): Convert all paths to paths that tcl will like.
16529 Export target information to environment.
16530 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16531 necessary.
16532 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16533 (to_tcl_path): New proc to convert a given pathname into
16534 a path acceptible as an argument to a tcl command.
16535 (_gdbtk_export_target_info): New proc to export target info
16536 into the environment for gdbtk testing.
16537 (gdbtk_done): New proc to signal end-of-test.
16538
16539 2001-05-06 Jim Blandy <jimb@redhat.com>
16540
16541 * restore.c: Make the code of caller0 correspond to its comment.
16542
16543 2001-05-03 Michael Snyder <msnyder@redhat.com>
16544
16545 * config/sid.exp (gdb_target_sid): Check for error messages.
16546 On error or timeout, don't make expect exit (which will terminate
16547 all subsequent tests); instead just make gdb exit.
16548 (gdb_load): Check for error messages. On error or timeout,
16549 return a negative value.
16550
16551 2001-04-24 Jim Blandy <jimb@redhat.com>
16552
16553 * gdb.c++/templates.exp: If we see the prompt for the overload
16554 list, but we haven't recognized any of the longer patterns,
16555 arrange for this test to fail, not hang.
16556
16557 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16558 variations.
16559
16560 2001-04-22 Michael Chastain <chastain@redhat.com>
16561
16562 * gdb.c++/local.exp: Use the 'runto' library function.
16563 * gdb.c++/namespace.exp: Likewise.
16564 * gdb.c++/overload.exp: Likewise.
16565
16566 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16567
16568 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16569 * gdb.base/step-line.exp: New file. Test step/next in presence of
16570 #line directives.
16571 * gdb.base/step-line.c: New file. Test program for the above.
16572 * gdb.base/step-line.inp: New file. We pretend that this file has
16573 been transformed by some other tool into step-line.c.
16574
16575 2001-03-21 Jim Blandy <jimb@redhat.com>
16576
16577 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16578 unmangled operator names.
16579
16580 2001-03-20 Jim Blandy <jimb@redhat.com>
16581
16582 * gdb.threads/linux-dp.exp: Recognize an additional message
16583 generated by GDB when it doesn't understand how to debug threads
16584 on the target system.
16585
16586 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16587
16588 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16589
16590 2001-03-12 Michael Chastain <chastain@redhat.com>
16591
16592 * gdb.c++/derivation.exp: Use the 'runto' library function.
16593
16594 2001-03-12 Michael Chastain <chastain@redhat.com>
16595
16596 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16597
16598 2001-02-24 Michael Chastain <chastain@redhat.com>
16599
16600 * gdb.c++/ref-types.exp: Change handwritten code to library
16601 function 'runto'.
16602
16603 2001-03-16 Orjan Friberg <orjanf@axis.com>
16604
16605 * gdb.base/signals.exp: Set count to 0 explicitly.
16606
16607 2001-03-15 Mark Salter <msalter@redhat.com>
16608
16609 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16610 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16611 (gdb_load): Add support for additional target_info: gdb_download_size
16612 and gdb_load_timeout.
16613
16614 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16615
16616 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16617 file -- to prevent failing when the compile fails but we have no
16618 intention of running the tests anyway.
16619
16620 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16621 tests if set.
16622
16623 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16624 integers.
16625
16626 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16627 * gdb.c++/namespace.exp: Ditto.
16628
16629 2001-03-07 Orjan Friberg <orjanf@axis.com>
16630
16631 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16632 * gdb.base/pointers.exp: Relax pattern match of decimals.
16633
16634 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16635
16636 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16637 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16638 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16639 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16640 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16641 config/sh.exp, config/sid.exp, config/slite.exp,
16642 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16643 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16644 config/vxworks.exp, config/vxworks29k.exp,
16645 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16646 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16647 gdb.base/arithmet.exp, gdb.base/assign.exp,
16648 gdb.base/async.exp, gdb.base/attach.exp,
16649 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16650 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16651 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16652 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16653 gdb.base/commands.exp, gdb.base/completion.exp,
16654 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16655 gdb.base/constvars.exp, gdb.base/corefile.exp,
16656 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16657 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16658 gdb.base/ending-run.exp, gdb.base/environ.exp,
16659 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16660 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16661 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16662 gdb.base/funcargs.exp, gdb.base/help.exp,
16663 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16664 gdb.base/logical.exp, gdb.base/long_long.exp,
16665 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16666 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16667 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16668 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16669 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16670 gdb.base/regs.exp, gdb.base/relational.exp,
16671 gdb.base/remote.exp, gdb.base/reread.exp,
16672 gdb.base/restore.exp, gdb.base/return2.exp,
16673 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16674 gdb.base/selftest.exp, gdb.base/setshow.exp,
16675 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16676 gdb.base/sigall.exp, gdb.base/signals.exp,
16677 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16678 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16679 gdb.base/step-test.exp, gdb.base/structs.c,
16680 gdb.base/structs.exp, gdb.base/structs2.exp,
16681 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16682 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16683 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16684 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16685 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16686 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16687 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16688 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16689 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16690 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16691 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16692 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16693 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16694 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16695 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16696 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16697 gdb.trace/circ.exp, gdb.trace/collection.exp,
16698 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16699 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16700 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16701 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16702 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16703 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16704 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16705 notices.
16706
16707 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16708
16709 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16710 first arg is int not float.
16711
16712 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16713
16714 * gdb.base/reread.exp: Unsupported for non-native targets;
16715 doesn't work for remote debugging.
16716
16717 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16718
16719 From Drew Moseley <dmoseley@redhat.com>
16720 * gdb.base/ending-run.exp: Properly handle the BSP state when
16721 stepping past the end of main.
16722
16723 2001-02-19 John Moore <jmoore@redhat.com>
16724
16725 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16726 Converted HPUX fix for non-expected items following multiple
16727 step commands into general solution for all platforms.
16728
16729 2001-02-18 Michael Chastain <chastain@redhat.com>
16730
16731 * gdb.c++/classes.exp (do_tests): Change runto statements
16732 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16733 statements demangler agnostic.
16734 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16735 (gdb_virtfunc_restart): Likewise.
16736
16737 2001-02-14 Michael Chastain <chastain@redhat.com>
16738
16739 * gdb.c++/inherit.exp (do_tests): Change runto statements
16740 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16741 statements demangler agnostic.
16742
16743 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16744
16745 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16746 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16747 before calling common_routine 15 times'' tests.
16748
16749 2001-02-11 Michael Chastain <chastain@redhat.com>
16750
16751 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16752 Helps the test script figure out which demangler is in use.
16753 (dm_type_foo_ref): Ditto.
16754 (dm_type_int_star): Ditto.
16755 (dm_type_long_star): Ditto.
16756 (dm_type_unsigned_int): Ditto.
16757 (dm_type_void): Ditto.
16758 (dm_type_void_star): Ditto.
16759 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16760 Probe the gdb demangler and set variables to accommodate
16761 formatting differences.
16762 (info_func_regexp): New function. Same as info_func, but
16763 matches against a regexp.
16764 (info_func): Match against a literal string.
16765 (print_addr_2): New function. Match against a literal string,
16766 which can be different from the input to gdb.
16767 (print_addr): Simply call print_addr_2 with the same argument twice.
16768 (test_lookup_operator_functions): Use demangler formatting variables.
16769 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16770 the tests in the same order as the C++ class declaration.
16771 (test_paddr_operator_functions): Ditto.
16772 (test_paddr_overloaded_functions): Ditto.
16773 (test_paddr_hairy_functions): Use demangler formatting variables.
16774 Add reference to gdb/19 for related tests.
16775 (do_tests): Call probe_demangler.
16776
16777 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16778
16779 * gdb.c++/templates.cc (printf): Remove unused function definition.
16780
16781 2001-01-26 Felix Lee <flee@redhat.com>
16782
16783 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16784
16785 2001-01-25 matthew green <mrg@redhat.com>
16786
16787 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16788 up sid.
16789 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16790
16791 2001-01-25 matthew green <mrg@redhat.com>
16792
16793 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16794 Deprecate $sid_spawn_id.
16795 (sid_exit): Remove code necessary only for `spawn.'
16796
16797 2001-01-25 matthew green <mrg@redhat.com>
16798
16799 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16800
16801 2001-01-28 Michael Chastain <chastain@redhat.com>
16802
16803 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16804 to call when tests fail. It takes gdb out of the overloaded
16805 function choice menu back to the main prompt, so that the test
16806 program stays synchronized.
16807 (set_bp_overloaded): New proc to collect all the common
16808 code for setting a breakpoint on an overloaded name. Calls
16809 take_gdb_out_of_choice_menu when needed.
16810 (menu_overload1arg): New variable to collect the repeated
16811 instances of the expected menu for an overloaded name. Change
16812 the regular expression to handle changes in g++ type encoding:
16813 "void" can be either "void" or "", and "unsigned int" can be
16814 either "unsigned int" or "unsigned".
16815 (continue_to_bp_overloaded): Change regular expressions to handle
16816 changes in g++ type encoding.
16817 (no proc): Call take_gdb_out_of_choice_menu when needed.
16818 Remove redundant calls to "info break". Accept either "canceled"
16819 or "cancelled". Change regular expressions in "info break"
16820 calls to handle changes in g++ type encoding. Give all tests
16821 unique strings.
16822
16823 2001-01-17 Ben Elliston <bje@redhat.com>
16824
16825 * config/sid.exp: New file.
16826
16827 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16828
16829 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16830
16831 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16832
16833 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16834 Add a RE to accept a non-ascii char if one is ever presented.
16835
16836 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16837
16838 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16839
16840 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16841
16842 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16843 in regexp. One '\' does not suffice on Linux.
16844
16845 2000-12-09 Michael Chastain <chastain@redhat.com>
16846
16847 * gdb.base/break.exp (test_clear_command): Use a marker function
16848 rather than 'main' for the test function. Also move this
16849 test to an execution point where the marker function names are
16850 guaranteed to be bound to functions. (Executing tests after a
16851 'finish' from main runs into name conflicts with local names
16852 in __libc_start_main).
16853
16854 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16855
16856 * gdb.base/finish.exp: New test for gdb's "finish" command.
16857 * gdb.base/return2.exp: New test for gdb's "return" command.
16858 * gdb.base/return2.c: New source file for above.
16859
16860 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16861
16862 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16863 * gdb.base/miscexprs.exp: Ditto.
16864 * gdb.base/pointers.exp: Ditto.
16865 * gdb.c++/derivation.exp: Ditto.
16866 * gdb.c++/local.exp: Ditto.
16867 * gdb.c++/namespace.exp: Ditto.
16868 * gdb.c++/overload.exp: Ditto.
16869 * gdb.c++/ref-types.exp: Ditto.
16870
16871 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16872
16873 * gdb.base/constvars.exp: Test result of "up" command.
16874 * gdb.base/miscexprs.exp: Ditto.
16875 * gdb.base/pointers.exp: Ditto.
16876 * gdb.base/scope.exp: Ditto.
16877 * gdb.c++/derivation.exp: Ditto.
16878 * gdb.c++/local.exp: Ditto.
16879 * gdb.c++/namespace.exp: Ditto.
16880 * gdb.c++/overload.exp: Ditto.
16881 * gdb.c++/ref-types.exp: Ditto.
16882
16883 2000-11-22 Michael Chastain <chastain@redhat.com>
16884
16885 * mips_pro.exp: Accept either "middle -> top -> main" or
16886 "middle -> main" in the backtrace, because gcc can optimize
16887 tail calls to jumps. Remove setup_xfail for the hppa case.
16888 Add a comment with the original warning messages from PR 3016,
16889 which was filed in 1993, to preserve them for posterity.
16890
16891 2000-11-17 Nick Duffek <nsd@redhat.com>
16892
16893 * lib/gdb.exp (gdb_test): Override timeout with board info.
16894
16895 2000-11-17 Nick Duffek <nsd@redhat.com>
16896
16897 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16898 the second kill and detach messages.
16899
16900 2000-11-17 Nick Duffek <nsd@redhat.com>
16901
16902 * configure.in: Add AC_EXEEXT.
16903 * configure: Regenerate.
16904 * Makefile.in (just-check): Export EXEEXT.
16905 * lib/gdb.exp ($EXEEXT): Import from environment.
16906 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16907 expect "maint dump-me" on Cygwin.
16908 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16909 $EXEEXT.
16910
16911 2000-11-17 Nick Duffek <nsd@redhat.com>
16912
16913 * gdb.base/break.exp: Test backtrace and finish from called
16914 function on all platforms, not just HP-UX.
16915
16916 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16917
16918 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16919 code from gdb_target_monitor, so it can be used independantly
16920 for gdbserver. Also comment out an unnecessary PUTS.
16921
16922 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16923
16924 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16925 * gdb.base/corefile.exp: Expect the message "Program is being
16926 debugged already" when we send the "corefile" command, since
16927 the preceeding gdb_load may have connected gdb to a remote target.
16928 * gdb.base/display.exp: Disable hardware watchpoints if new
16929 board info variable "no_hardware_watchpoints" is true.
16930 Replace single-letter commands with more readable ones.
16931 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16932 if new board info variable "no_hardware_watchpoints" is true.
16933 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16934 to see if stdio (printf) testing is possible.
16935 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16936 board info variable "no_hardware_watchpoints" is true. Use new
16937 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16938
16939 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16940
16941 From Orjan Friberg <orjanf@axis.com>:
16942 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16943 in array print pattern match.
16944
16945 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16946
16947 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16948 spelling "cancelled" to U.S. spelling "canceled" to match changes
16949 made to gdb.
16950 * gdb.c++/ovldbreak.exp: Ditto.
16951
16952 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16953
16954 * gdb.base/callfuncs.c (main): Moved to end of file, call
16955 t_double_values to initialize the FPU before inferior calls are made.
16956 * gdb.base/callfuncs.exp: Test for register preservation after calling
16957 inferior functions. Add tests for continuining, finishing and
16958 returning from a stop in a call dummy.
16959
16960 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16961
16962 * gdb.base/commands.exp: Break up long lines, and re-indent.
16963
16964 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16965
16966 * config/gdbserver.exp: Rewritten from the ground up, to make it
16967 compatible with the current dejagnu tree, and to make it work with
16968 the new "gdbserver" in libremote.
16969
16970 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16971
16972 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16973 * gdb.base/varargs.exp: Skip entire test if no printf support.
16974 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16975 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16976
16977 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16978
16979 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16980 no floating point support.
16981 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16982 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16983 * gdb.base/call-rt-st.exp: Ditto.
16984 * gdb.base/call-strs.exp: Ditto.
16985
16986 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16987
16988 * gdb.base/sizeof.c: include <stdio.h>.
16989
16990 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16991 'finish', otherwise uncaptured gdb_prompt would potentially
16992 throw remaining test points out of sync.
16993
16994 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16995
16996 * gdb.base/recurse.exp: Run tests for all targets.
16997 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16998 gnu-oldld case on ARM.
16999 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17000 for ARM targets.
17001
17002 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17003
17004 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17005 * gdb.java/configure: Rebuild.
17006
17007 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17008
17009 * gdb.java/jv-exp.exp: New file.
17010
17011 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17012
17013 * configure: Rebuilt.
17014 * configure.in (configdirs): Add gdb.java.
17015 * gdb.java/jmisc.java: New file.
17016 * gdb.java/jmisc.exp: New file.
17017 * gdb.java/Makefile.in: New file.
17018 * gdb.java/configure: Rebuilt.
17019 * gdb.java/configure.in: New file.
17020 * lib/java.exp: New file.
17021
17022 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17023
17024 * gdb.base/exprs.exp: Test casts to a pointer including over and
17025 underflow.
17026
17027 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17028
17029 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17030 and the compilers sizes.
17031
17032 2000-07-09 Nick Duffek <nsd@redhat.com>
17033
17034 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17035 (use_methods): New function.
17036 (main): Call use_methods().
17037 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17038 (do_tests): Call test_method_param_class.
17039
17040 2000-07-09 Nick Duffek <nsd@redhat.com>
17041
17042 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17043 spelling.
17044 (test_enums): New procedure. Move enum tests from end of script
17045 to here. Set breakpoint on function name instead of line number.
17046 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17047 (enums2): New marker function.
17048 (enums1): New function.
17049 (main): Call enums1(). Move enum tests to enums1().
17050
17051 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17052
17053 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17054 compile/link program. Update line numbers.
17055 * gdb.asm/d10v.inc: Define ``startup''.
17056 * gdb.asm/asmsrc1.s: Add definition of _start.
17057
17058 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17059
17060 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17061
17062 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17063
17064 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17065 of 'help maint print' command.
17066
17067 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17068
17069 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17070 they use gdb_expect_list.
17071
17072 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17073
17074 * gdb.base/commands.exp: Use ``set remote
17075 memory-read-packet-size'' instead of ``set endian big'' to test
17076 long commands.
17077
17078 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17079
17080 * gdb.c++/templates.exp (do_tests): Make all of these work under
17081 g++, and stop skipping them.
17082
17083 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17084 work under g++.
17085
17086 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17087 initialization.
17088
17089 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17090
17091 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17092 the regular expression: accept an (almost) arbitrary sequence of
17093 "frames-invalid" and "breakpoints-invalid" messages both before
17094 and after the "starting" message.
17095
17096 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17097
17098 * gdb.c++/local.exp: This test has never been known to work with g++.
17099
17100 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17101
17102 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17103 Relax the regular expression a little, make it pass on Solaris 8.
17104
17105 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17106
17107 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17108 a call, do not require that gdb stop on the line after the call.
17109 Instead, it is permissible for gdb to stop on the line of the
17110 call itself.
17111
17112 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17113
17114 * gdb.base/break.exp (bp on small function, optimized file):
17115 Add a second pass pattern. The behavior differs here between stabs
17116 and dwarf for one-line functions. Stabs preserves two line symbols
17117 (one before the prologue and one after) with the same line number,
17118 but dwarf regards these as duplicates and discards one of them.
17119 Therefore the address after the prologue (where the breakpoint is)
17120 has no exactly matching line symbol, and GDB reports the breakpoint
17121 as if it were in the middle of a line rather than at the beginning.
17122
17123 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17124
17125 * gdb.base/interrupt.exp: Make "pass" message say "send"
17126 rather than "send_gdb" (for consistancy).
17127
17128 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17129
17130 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17131 * gdb.c++/templates.cc: Properly check for GCC version number.
17132 * lib/compiler.cc: Likewise
17133
17134 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17135
17136 * gdb.base/break.exp: When compiled with -O2 optimization,
17137 gdb may not stop at the first line of main, due to code motion.
17138
17139 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17140
17141 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17142 This test depends on parsing the printf output from the target.
17143 Since the sparclet stub doesn't do stdio, this will never work.
17144 * gdb.base/call-rt-st.exp: ditto.
17145 * gdb.base/call-strs: ditto.
17146
17147 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17148
17149 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17150
17151 * gdb.base/ending-run.exp: After connecting to a remote target,
17152 but before running, the target will appear to be in a random
17153 location. Specify both a file and a line for breakpoints.
17154 Also, the function that calls main may be called 'init'
17155 rather than 'start'.
17156
17157 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17158
17159 * gdb.base/help.exp: Update output for add-symbol-file command.
17160
17161 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17162
17163 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17164 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17165
17166 2000-04-07 J.T. Conklin <jtc@redback.com>
17167
17168 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17169
17170 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17171
17172 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17173
17174 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17175 values that can be represented exactly.
17176 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17177 above change, and to not check against the directory part of the source
17178 file name.
17179 (step into print_long_arg_list): Likewise.
17180 (print print_small_structs from print_long_arg_list): Likewise.
17181 (print print_long_arg_list): Likewise.
17182
17183 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17184
17185 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17186
17187 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17188
17189 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17190
17191 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17192
17193 * gdb.base/commands.exp (deprecated_command_test): Add test for
17194 deprecate with no arguments.
17195
17196 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17197
17198 * gdb.base/break.exp: Add new test for setting breakpoints on
17199 optimized code so we can test breakpoints work even when function
17200 prologues may be optimized away
17201
17202 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17203
17204 From David Whedon <dwhedon@gordian.com>
17205 * gdb.base/commands.exp : Added command deprecator tests.
17206
17207 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17208
17209 * gdb.base/help.exp: Added test for new apropos command.
17210
17211 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17212
17213 * gdb.base/pointers.c (usevar): New function.
17214 (main): Make sure that global variables v_int_pointer2, rptr,
17215 and y are all referenced someplace in the program by calling
17216 usevar() on them. [Some linkers delete symbols which are
17217 never referenced. The space remains, but there's no way to
17218 get a (symbolic) handle on the variable from the debugger.]
17219
17220 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17221
17222 * gdb.base/printcmds.c: Add typedeffed arrays.
17223
17224 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17225 procedure to test arrays that are typedef'd.
17226
17227 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17228
17229 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17230 the library directories.
17231
17232 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17233
17234 * configure.in (configdirs): Add sub directory gdb.mi.
17235 * configure: Re-generate.
17236
17237 * gdb.mi: New directory.
17238
17239 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17240
17241 * gdb.base/long_long.exp: Correct test suite failure when printing
17242 a long long value as a double on ARM platforms.
17243
17244 2000-02-16 Jim Blandy <jimb@redhat.com>
17245
17246 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17247 default source file is set properly before running this test.
17248
17249 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17250
17251 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17252 gdbtk/library directory, not in gdbtcl2.
17253
17254 2000-02-04 Jim Blandy <jimb@redhat.com>
17255
17256 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17257 backslash from regexp pattern.
17258
17259 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17260 procedure. Use it to run all the "continue to bp overloaded"
17261 tests. Note that this changes the names of the tests slightly.
17262 If the breakpoint hit message includes a hex PC value, because
17263 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17264 from the real source code, still consider that a pass.
17265
17266 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17267 XFAIL here if the breakpoint message contains a hex address. Note
17268 similar change on 1999-11-02.
17269
17270 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17271
17272 * gdb.base/ptype.exp: Establish a default source file before
17273 calling get_debug_format.
17274
17275 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17276
17277 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17278
17279 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17280
17281 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17282 of successive stepi commands -- while in the prologue we should see
17283 the function entry bracket.
17284
17285 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17286
17287 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17288 reach __change_mode() when stepping through the end of main().
17289
17290 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17291
17292 * gdb.base/default.exp: Fix expected pattern.
17293 * gdb.base/help.exp: Same.
17294
17295 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17296
17297 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17298 Don't use xfail's because that affects only the following test.
17299
17300 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17301 solaris or linux.
17302
17303 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17304
17305 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17306
17307 * gdb.base/display.exp: Some yacc parsers like to say
17308 "A syntax error" rather than "A parse error". Accept both.
17309
17310 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17311
17312 * gdb.base/default.exp: Remove OS dependent string from "target
17313 remote" test.
17314 * gdb.base/help.exp: Same for "help target remote" test.
17315
17316 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17317
17318 From Jim Kingdon <kingdon@redhat.com>:
17319
17320 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17321 prompt (cleanup rather than necessity, but still might keep output
17322 from spilling to next test).
17323
17324 2000-01-02 Fred Fish <fnf@cygnus.com>
17325
17326 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17327 AIX, which defines them in <sys/types.h>.
17328
17329 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17330
17331 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17332 float" test.
17333
17334 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17335
17336 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17337
17338 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17339 outermost frame disallowed".
17340
17341 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17342
17343 * gdb.base/setvar.exp: New tests for setting the value of a struct
17344 with a constant list.
17345
17346 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17347
17348 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17349 require the user to type a cast before setting the value of a struct.
17350
17351 1999-12-06 Jim Blandy <jimb@cygnus.com>
17352
17353 * gdb.base/default.exp: Expect the new 'info float' command on
17354 all i386 platforms.
17355
17356 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17357 LinuxThreads libraries that don't support debugging.
17358
17359 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17360
17361 * gdb.base/remote.c: Fill the buffer with truely random data.
17362 Change the buffer type to ``unsigned char'' to simplify size
17363 arithmetic.
17364
17365 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17366 stub only handles 400-1 byte packets. Verify that the download
17367 worked.
17368
17369 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17370
17371 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17372 tests, using UNRESOLVED for the untested cases. Also, does not wait
17373 for a timeout if the prompt was received before a recognizable pattern.
17374
17375 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17376
17377 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17378
17379 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17380
17381 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17382 watchpoints.
17383
17384 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17385
17386 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17387
17388 * gdb.c++/local.exp: Be more flexible in recognizing local class
17389 name mangling. Don't allow horribly truncated method names.
17390 * gdb.c++/derivation.exp: Expect protected inheritance.
17391 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17392 * gdb.c++/virtfunc.exp: Likewise.
17393 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17394 when printing a nested enum.
17395
17396 1999-11-22 Jim Blandy <jimb@cygnus.com>
17397
17398 * gdb.base/step-test.exp: Properly await GDB's response to setting
17399 a breakpoint on the call to large_struct_by_value.
17400
17401 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17402 just because we have debug info for the `start' function.
17403
17404 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17405
17406 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17407 "Unknown signal" messages, which indicate (on LinuxThreads) that
17408 GDB doesn't know how to debug threads on this system. This is
17409 better than hanging while philosopher 0 dumps chatter into gdb.log.
17410
17411 1999-11-18 Tom Tromey <tromey@cygnus.com>
17412
17413 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17414
17415 1999-11-18 Fred Fish <fnf@cygnus.com>
17416
17417 * gdb.base/coremaker2.c: Add sample program for generating
17418 cores that is more self contained than coremaker.c. Eventually
17419 I'll add more code to this and tie it into the testsuite.
17420
17421 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17422
17423 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17424
17425 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17426
17427 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17428 from $srcdir/lib/.
17429 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17430 and gdb.c++/.
17431
17432 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17433
17434 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17435 'continue with watch' test point.
17436
17437 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17438
17439 Merged from p2linux-990323-branch:
17440
17441 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17442
17443 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17444
17445 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17446 {limit,fixed}''. Test ``set download-write-size''.
17447
17448 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17449
17450 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17451 gdb_expect_list.
17452
17453 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17454
17455 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17456
17457 1999-11-03 Mark Salter <msalter@cygnus.com>
17458
17459 * gdb.base/break.exp: Fix "stub continue" pattern.
17460
17461 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17462
17463 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17464
17465 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17466
17467 * gdb.base/display.exp ("finish"): Add timeout clause.
17468
17469 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17470 plain prompt clause, so this doesn't have to time out in order to
17471 fail.
17472
17473 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17474 breakpoint hit messages include an address.
17475
17476 * gdb.base/display.exp: Don't forget to escape parens in regular
17477 expressions. Unix regexp notatation sucks.
17478
17479 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17480
17481 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17482 order for 'signalled' message.
17483
17484 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17485
17486 From Jimmy Guo <guo@cup.hp.com>:
17487 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17488 * gdb.base/annota1.c: Add code for tests to work with.
17489
17490 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17491
17492 * gdb.base/remote.exp: New test for remote downloading settings.
17493 * gdb.base/remote.c: New file with large .data.
17494
17495 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17496
17497 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17498 for LinuxThreads support, merged from the Code Fusion branch.
17499
17500 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17501
17502 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17503 containing exp_continue into a while within an expect. Don't
17504 attempt a start more than three times. Check return value from
17505 gdb_load.
17506
17507 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17508
17509 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17510 a pass case.
17511
17512 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17513
17514 * gdb.base/break.c (main): Added a statement that we can step
17515 off of.
17516 * gdb.base/break.exp: Added tests for setting a breakpoint
17517 at an offset and stepping onto a breakpoint.
17518
17519 1999-10-01 Fred Fish <fnf@cygnus.com>
17520
17521 * gdb.base/help.exp (help add-symbol-file): Update to match current
17522 gdb output.
17523
17524 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17525
17526 * gdb.base/break.exp: Code locations are in hex, don't forget!
17527 (For HP-UX.)
17528
17529 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17530
17531 * condbreak.exp: Use break.c as test program.
17532 * condbreak.c: Remove, redundant with break.c.
17533
17534 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17535
17536 * config/monitor.exp (gdb_target_monitor): Disable X- and
17537 Z-packets if the target needs it.
17538
17539 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17540
17541 * gdb.c++/overload.exp: Added tests for listing overloaded
17542 functions with function pointers in the arg, explicitly calling
17543 out the version you want.
17544
17545 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17546
17547 * long_long.exp: Add variations of test cases that work for
17548 targets with 16-bit ints and 32-bit doubles.
17549
17550 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17551
17552 * break.c (main): Compare a possibly-uninitialized argc with an
17553 unlikely value that fits in 16 bits.
17554
17555 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17556
17557 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17558 0xfeeb, don't want negative numbers if ints are 16 bits.
17559
17560 * lib/gdb.exp (skip_cplus_tests): New proc.
17561 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17562 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17563 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17564 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17565 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17566 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17567 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17568 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17569
17570 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17571
17572 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17573
17574 * gdb.base/corefile.exp (up): Allow a parameter to appear
17575 in the frame that we're going up to.
17576
17577 From Jim Blandy <jimb@cygnus.com>:
17578
17579 * gdb.base/default.exp (info float): Expect some output now.
17580
17581 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17582 returning floating-point values to fail on the x86.
17583 * gdb.base/callfwmall.exp (do_function_calls): Same.
17584
17585 * gdb.base/list.exp (test_listsize): Correct expectations for
17586 listing line 1 with listsize 2. Also, listing a single line
17587 works now, as does listing three lines. [Kevin's note: There
17588 were a number of other cases fixed too where the expectations
17589 differed...]
17590
17591 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17592
17593 * gdb.base/selftest.exp: Add case for when version prints as
17594 constant string instead of char pointer.
17595
17596 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17597
17598 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17599 stepping out of main.
17600
17601 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17602 G++ used.
17603
17604 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17605 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17606
17607 * gdb.c++/ovldbreak.exp: Update match string in test that
17608 includes a warning of multiple breakpoints.
17609
17610 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17611
17612 * gdb.base/display.exp: Improve precision of step-after-finish
17613 added yesterday.
17614
17615 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17616 test.
17617
17618 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17619 configs when using G++, not just hppa*.
17620
17621 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17622
17623 * gdb.base/async.c: New file.
17624 * gdb.base/async.exp: New file.
17625
17626 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17627
17628 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17629 PA64.
17630
17631 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17632
17633 * gdb.base/display.exp: "finish" can leave us mid-line on many
17634 targets, deal with it. Add a small constant to main, instead of
17635 1000 since main+1000 may not be a valid address in the target.
17636
17637 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17638 on hpux11.
17639
17640 * gdb.base/attach.exp: Handle another hpux11 error message variant
17641 when attaching to a process that does not exist.
17642
17643 1999-08-19 J.T. Conklin <jtc@redback.com>
17644
17645 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17646 characters in 'continue to 1241' test.
17647
17648 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17649
17650 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17651 stop in print_long_arg_list, define and use a whitespace
17652 variable in print_small_structs test, add an XFAIL for Solaris.
17653 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17654 interested enough to fix.
17655
17656 1999-08-13 Keith Seitz <keiths@cygnus.com>
17657
17658 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17659 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17660 proc knows about targets other than the natives.
17661 (test_assign): Use "gdb_run_cmd" to "run" the target.
17662 Check that we've actually hit the breakpoint at main.
17663 When we attempt to assign a value to a local variable, check
17664 that the variable is in the current scope, i.e., don't use
17665 a test with an empty result.
17666
17667 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17668
17669 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17670 command.
17671
17672 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17673
17674 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17675 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17676 gdb.compat, gdb.threads-hp.
17677 gdb.hp/configure, gdb.hp/configure.in: New files.
17678 gdb.hp/Makefile.in: Recurse into new subdirs.
17679 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17680 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17681 in object files.
17682 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17683
17684 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17685
17686 * gdb.base/display.exp: Help expect by putting a newline in the
17687 funky printf, remove a bogus p/a test.
17688
17689 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17690
17691 * gdb.base/display.exp: Make sure that when we say 'run', we are
17692 connected to the target. This is necessary when running not
17693 natively.
17694
17695 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17696
17697 * gdb.base/step-test.exp: Removed some extraneous messages.
17698
17699 * gdb.base/long_long.exp: Don't run memory examination tests
17700 on little-endian targets (they will need a different set of
17701 results to match).
17702
17703 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17704
17705 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17706 until somebody decides to fix GDB.
17707
17708 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17709 constant as "ULL".
17710 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17711 matches for a couple x/2 commands.
17712
17713 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17714
17715 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17716 by merging in ref-types2 tests.
17717 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17718
17719 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17720 * gdb.c++/Makefile.in: Add standard actions.
17721 (EXECUTABLES): Rename from PROGS, update list.
17722 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17723 from gdb.hp.
17724 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17725 foo and bar locals.
17726 * gdb.c++/anon-union.exp: Fix tests to match.
17727 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17728 expect matches to handle output variations.
17729 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17730 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17731 output, add HP alternatives for new and delete prints.
17732 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17733 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17734 * gdb.c++/demangle.exp: Use $style when reporting failure.
17735 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17736 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17737 match alternatives.
17738 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17739 compilers.
17740 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17741 * gdb.c++/method.exp: Add match alternatives.
17742 * gdb.c++/misc.cc: Add bool types.
17743 * gdb.c++/misc.exp: Add tests for bool types.
17744 * gdb.c++/overload.exp: Add xfails.
17745 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17746 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17747 add some more template parameter tests (only for HP currently).
17748 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17749 * gdb.c++/virtfunc.cc: Add return type and value for main.
17750 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17751 match alternatives.
17752
17753 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17754
17755 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17756
17757 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17758
17759 * gdb.base/signals.exp: Don't expect getting a backtrace from
17760 within a signal handler to fail on Linux.
17761
17762 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17763
17764 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17765 * lib/gdb.exp: Remove some gratuitious semicolons.
17766 (delete_breakpoints): Increase timeout.
17767 (gdb_expect): Add -notransfer option.
17768 (gdb_test): Use -notransfer option.
17769 (get_compiler_info): Add f77 case.
17770 (get_compiler): New proc, split out from gdb_preprocess, add f77
17771 case.
17772 (gdb_preprocess): Call get_compiler.
17773
17774 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17775 * gdb.base/attach.exp, gdb.base/display.exp,
17776 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17777 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17778 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17779 third arg to gdb_test.
17780 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17781 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17782 HP-UX xfails, add others.
17783 * gdb.base/completion.exp: Reflect name change of self-test.
17784 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17785 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17786 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17787 HP failure number.
17788 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17789 useless HP-UX 10.30 references.
17790 * gdb.base/maint.exp: Loosen matches.
17791 * gdb.base/pointers.c (main): Declare more_code.
17792 * gdb.base/pointers.exp: Match on output of a `next'.
17793 * gdb.base/structs.c: Add prototypes.
17794 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17795 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17796
17797 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17798
17799 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17800 command.
17801
17802 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17803
17804 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17805 Fix run to main failures. Watchpoint can be hardware watchpoint.
17806
17807 * gdb.base/annota1.exp: Clean up some more, in case printf has
17808 debug info. Deal with lack of signal hanlder info in stack.
17809
17810 From Jim Kingdon <kingdon@redhat.com>:
17811 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17812
17813 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17814
17815 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17816 gdb.base/foll-vfork.exp: Don't run for crosses.
17817
17818 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17819
17820 * gdb.base/configure.in: Check for gdbvars.exp instead of
17821 a1-selftest.exp.
17822 * gdb.base/configure: Re-generate.
17823
17824 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17825
17826 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17827 in trying to run first and name is too long.
17828
17829 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17830 pointers2.c and pointers2.exp, respectively.
17831 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17832 doschk happier.
17833
17834 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17835
17836 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17837 callfuncs2.c and callfuncs2.exp.
17838
17839 * gdb.base/list.exp: Remove mistaken xfails.
17840 * gdb.base/list0.h: Add optional prototypes.
17841
17842 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17843
17844 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17845 calling malloc.
17846 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17847 * ptype.exp: Move test for get_debug_format to before its first
17848 use.
17849
17850 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17851
17852 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17853 * gdb.base/annota2.cc, annota2.exp: Move from here.
17854 * gdb.c++/annota2.cc, annota2.exp: To here.
17855 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17856
17857 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17858
17859 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17860 a consistent format.
17861
17862 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17863
17864 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17865 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17866 HP compilers, also set the globals $true and $false.
17867
17868 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17869 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17870 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17871 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17872 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17873 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17874 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17875 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17876 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17877 whatis.c} Add C++ compatible function definitions and return
17878 types, add includes for library functions.
17879 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17880 * gdb.base/step-test.c (myglob): Rename from glob.
17881 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17882 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17883 files, move here from gdb.hp.
17884 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17885 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17886 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17887 Adjust line numbers in regexps.
17888
17889 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17890 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17891 instead of 0/1.
17892
17893 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17894 foll-vfork.exp: New files, move here from gdb.hp.
17895 * gdb.base/page.exp: New file, test of pagination command.
17896
17897 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17898 recursion test.
17899 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17900
17901 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17902 gdb.base/solib.exp: Fix compiler invocation process.
17903
17904 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17905 HP-UX 11, turn off overload resolution explicitly.
17906 * gdb.base/commands.exp: Set argument list explicitly, add
17907 watchpoint test.
17908 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17909 them work.
17910 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17911 expressions properly.
17912 * gdb.base/corefile.exp: Loosen the match slightly.
17913 * gdb.base/default.exp: Allow "Error accessing memory" message
17914 also.
17915 * gdb.base/display.exp: Skip over x/0 j if PA64.
17916 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17917 * gdb.base/interrupt.exp: Ditto.
17918 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17919 in use.
17920 * gdb.base/list.exp: Add xfails for HP-UX.
17921 * gdb.base/long_long.exp: Refine some of the numeric matches.
17922 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17923 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17924 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17925 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17926 * gdb.base/ptype.exp: Succeed on more varieties of output.
17927 * gdb.base/scope.exp: Add xfails for HP-UX.
17928 * gdb.base/sect-cmd.exp: Add more cases.
17929 * gdb.base/setvar.exp: Add xfails for HP-UX.
17930 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17931 * gdb.base/signals.exp: Match on void symbolically.
17932 * gdb.base/step-test.exp: Add case for PA64.
17933 * gdb.base/term.exp: Add exit and restart.
17934 * gdb.base/twice.exp: Clean up after self.
17935 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17936 * gdb.base/whatis.exp: Allow more ways to pass tests.
17937
17938 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17939 no longer useful.
17940
17941 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17942
17943 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17944 list of patterns.
17945 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17946 print_double_array(double_array)", "continuing to breakpoint
17947 1018", "print print_double_array(array_d)" and "continuing to
17948 1034" tests.
17949
17950 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17951
17952 * Makefile.in: Add empty html and install-html targets.
17953
17954 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17955
17956 * config/mt-*: Remove, these haven't been used since 1996.
17957
17958 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17959
17960 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17961 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17962 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17963
17964 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17965
17966 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17967 simpler match case for the ptype of the big class.
17968
17969 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17970
17971 * gdb.exp: Fix test for gdb_prompt existence.
17972
17973 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17974
17975 * gdb.exp (gdb_test): Add fail after calls to perror.
17976
17977 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17978
17979 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17980
17981 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17982
17983 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17984
17985 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17986
17987 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17988 malloc() is linked in.
17989
17990 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17991
17992 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17993 step at end.
17994
17995 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17996
17997 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17998
17999 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18000
18001 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18002
18003 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18004 * gdb.base/mips_pro.exp: Likewise.
18005
18006 1999-06-02 Keith Seitz <keiths@cygnus.com>
18007
18008 * gdb.c++/templates.cc: Change all "new" operators to throw
18009 an exception.
18010 * gdb.c++/cplusfuncs.cc: Likewise.
18011
18012 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18013
18014 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18015
18016 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18017 * gdb.base/ending-run.exp: When stepping out of main, accept a
18018 step into an arbitrary assembler file.
18019
18020 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18021
18022 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18023 "breakpoint-invalid" to be printed.
18024 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18025 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18026 * gdb.base/annota2.cc: Initialize a.x to 0.
18027
18028 1999-05-17 Keith Seitz <keiths@cygnus.com>
18029
18030 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18031 when "skip_float_tests" set.
18032 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18033 "print print_ten_doubles", and "step into print_long_arg_list".
18034 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18035 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18036 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18037 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18038 "skip_float_tests" is set.
18039 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18040 when "skip_float_tests" set.
18041
18042 1999-05-06 Keith Seitz <keiths@cygnus.com>
18043
18044 * gdb.base/annota2.cc: Include stdio.h.
18045
18046 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18047
18048 * gdb.base/crossload.exp: Remove, this has been disabled ever
18049 since BFD stopped including all targets, and cross-GDB gets
18050 plenty of testing anyway.
18051 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18052 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18053 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18054 * gdb.base/README: Remove, was doc for this.
18055 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18056 needed.
18057
18058 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18059
18060 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18061 output.
18062
18063 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18064 * gdb.base/annota2.exp: New file. More annotation tests.
18065 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18066 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18067
18068 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18069
18070 * config/cfdbug.exp: New file.
18071
18072 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18073
18074 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18075 Marcus Daniel's and Dale Hawkins's demangler crashes.
18076
18077 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18078 test_lucid_style_demangling, test_arm_style_demangling,
18079 test_hp_style_demangling): Try Tom Tromey's core-dumping
18080 identifier under each demangling style.
18081
18082 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18083
18084 * gdb.c++/demangle.exp: Include the current demangling style
18085 in all test names.
18086 (current_demangling_style): New global variable.
18087 (set_demangling_style, test_demangling_core, test_demangling,
18088 test_demangling_exact): New functions.
18089 (test_gnu_style_demangling, test_lucid_style_demangling,
18090 test_arm_style_demangling, test_hp_style_demangling): Use those,
18091 instead of calling gdb_test and gdb_test_exact directly.
18092 (catch_demangling_errors): New function, which reports errors
18093 signalled by the demangling test functions in an orderly way.
18094 (do_tests): Use catch_demangling_errors.
18095
18096 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18097
18098 * gdb.base/signals.exp (test_handle_all_print): Use () for
18099 grouping in expressions, not {}.
18100
18101 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18102 initialized yet.
18103
18104 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18105
18106 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18107 are listed.
18108
18109 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18110
18111 * gdb.stabs/weird.exp: Test for CC being defined before
18112 looking at its value.
18113
18114 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18115
18116 * gdb.base/call-ar-st.exp: Remove stray '#'.
18117 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18118 "short int" and "long int".
18119 * gdb.c++/overload.cc: Cast the string added in the previous
18120 change, to mollify finicky HP compiler.
18121 * gdb.hp/reg-test.exp (testfile): Fix file name.
18122 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18123
18124 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18125 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18126 alternate form of enum ptype.
18127
18128 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18129
18130 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18131 * gdb.hp/*.exp: Change all to run compiler probe only after
18132 passing skip_hp_tests, so as not to waste time on guaranteed
18133 failure.
18134
18135 * gdb.c++/overload.cc: Pass string instead of char addr, always
18136 init ccpfoo.
18137 * gdb.c++/templates.cc: Fix syntax error.
18138
18139 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18140
18141 * gdb.base/commands.exp: Add test for correct position of '>'
18142 when issuing the 'commands' command after a 'while' or 'if'
18143 command.
18144
18145 1999-03-18 James Ingham <jingham@cygnus.com>
18146
18147 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18148
18149 * gdb.c++/method.exp: It was testing an uninitialized int on the
18150 stack and assuming it was positive.
18151
18152 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18153
18154 * gdb.base/step-test.exp: Catch a case where finish is broken and
18155 keep it from killing the rest of the tests.
18156 Use gdb_continue_to_end.
18157
18158 * gdb.base/sigall.exp: use gdb_continue_to_end.
18159
18160 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18161
18162 * gdb.base/display.exp: use runto_main, not run.
18163
18164 * gdb.base/default.exp: Check for the current error message in the
18165 r abbreviation test.
18166 Add strongarm to the targets that know info float.
18167
18168 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18169 run which doesn't work with monitors.
18170
18171 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18172
18173 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18174
18175 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18176 program. Traps the case (in Cygmon) when the program never really
18177 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18178 more places, so I used my name. Sorry Mark...
18179
18180 * config/monitor.exp (gdb_target_monitor): added another
18181 target_info parameter: remotebinarydownload. This will set the
18182 remotebinarydownload flag if this is causing some boards trouble.
18183
18184 1999-03-18 Mark Salter <msalter@cygnus.com>
18185
18186 * lib/gdb.exp (continue_to_exit): New function.
18187
18188 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18189 * gdb.base/ending-run.exp: Ditto.
18190 * gdb.base/step-test.exp: Ditto.
18191
18192 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18193
18194 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18195 (suggested by Art Haas <ahaas@neosoft.com>).
18196
18197 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18198
18199 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18200
18201 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18202
18203 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18204 descriptions of types (short unsigned int vs unsigned short, etc).
18205
18206 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18207
18208 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18209 a call to strlen; sometimes we do have sources.
18210
18211 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18212
18213 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18214 character, so GDB won't print garbage after its end.
18215
18216 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18217 breakpoint there instead. Sometimes GCC emits memcpy to handle
18218 the large structures being passed by value, so we step into that
18219 instead of sum_array_print, which obscures what we're really testing.
18220 * gdb.base/step-test.exp: However, we do want a test that notices
18221 the bizarre steps into memcpy, so do that here. Add check for
18222 stepping into function calls that pass large structures by value.
18223 ("Is that a noun clause, or are you just happy to see me?")
18224 Remove all references to specific line numbers.
18225 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18226 New type and function.
18227 (main): Call large_struct_by_value, passing it a large struct by value.
18228 * lib/gdb.exp (gdb_get_line_number): New function.
18229
18230 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18231 more portable.
18232
18233 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18234
18235 * lib/gdb.exp: Doc fixes.
18236
18237 1999-03-05 Nick Clifton <nickc@cygnus.com>
18238
18239 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18240
18241 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18242
18243 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18244 commands. They're not germane to this test, and they don't work
18245 that way on remote targets.
18246
18247 1999-03-01 James Ingham <jingham@cygnus.com>
18248
18249 * Changelog entries merged over from gdb development branch.
18250
18251 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18252
18253 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18254 for outputting results of test run.
18255
18256 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18257
18258 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18259
18260 1999-02-25 Felix Lee <flee@cygnus.com>
18261
18262 * lib/gdb.exp (debug_format): initialize
18263
18264 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18265
18266 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18267 * gdb.base/call-rt-st.c: Ditto.
18268
18269 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18270
18271 * gdb.threads/pthreads.exp (horiz): New variable.
18272 (test_startup): Fix regexps that capture thread numbers.
18273
18274 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18275
18276 * gdb.base/smoke.exp: Disambiguate two test case names (both
18277 called ``print'').
18278
18279 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18280
18281 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18282 compilation.
18283
18284 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18285
18286 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18287 actual output formatting.
18288 * gdb.base/smoke.exp: GDB removes leading 0's.
18289 * gdb.base/volatile.exp: Don't check type of remuneration;
18290 that variable is no longer defined in constvars.c.
18291 * gdb.base/step-test.c (main): Exit with explicit exit code.
18292 * gdb.base/step-test.exp: Remove two nexti checks--they are
18293 not portable.
18294
18295 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18296
18297 * gdb.base/help.exp ("help delete display"): Fix test to match
18298 gdb's output.
18299
18300 * gdb.base/long_long.c (known_types): Initialize values to zero.
18301 * gdb.base/long_long.exp: Step one more line
18302 so 'dec' is initialized in "get to known place". GDB removes
18303 leading zeros. Explicitly ask for hex formatting. Use
18304 unique test case names.
18305
18306 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18307
18308 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18309
18310 * gdb.c++/method.exp: Add missing close brace.
18311
18312 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18313
18314 * gdb.base/maint.exp: Use 'set height 0' to disable page
18315 prompting, not 'set height 400'.
18316
18317 Fix a bunch of timeouts.
18318 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18319 four separate tests, so expect doesn't take forever to match a ton
18320 of text against a regexp with lots of .* forms.
18321 ("maint print psymbols", "maint print symbols"): Make some of
18322 these greps more selective, so that expect doesn't try to wade
18323 through huge piles of output and time out.
18324
18325 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18326
18327 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18328 tests: one which doesn't expect shlib events to be reported, and
18329 another which does, but is XFAIL for all platforms other than
18330 HP/UX.
18331
18332 * gdb.base/break.exp: Teach the test suite that the `catch
18333 fork', `catch vfork', and `catch exec' commands produce error
18334 messages on platforms that don't provide these features.
18335
18336 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18337
18338 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18339 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18340 (shortening names from solib_threshold.exp etc), won't run on
18341 anything but HP-UX for the foreseeable future.
18342 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18343 reflect move.
18344
18345 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18346
18347 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18348 gdb.trace/Makefile.in (clean): Remove all test executables.
18349
18350 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18351
18352 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18353 successfully re-sets breakpoints in shared libraries.
18354 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18355
18356 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18357
18358 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18359 and compiled w/o GCC.
18360
18361 * gdb.hp/watch-cmd.exp: ditto.
18362
18363 * gdb.hp/watch-hp.exp: ditto.
18364
18365 * gdb.hp/xdb1.exp: ditto.
18366
18367 * gdb.hp/xdb2.exp: ditto.
18368
18369 * gdb.hp/dbx.exp: ditto.
18370
18371 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18372
18373 * constvars.c: Remove C++-isms.
18374 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18375 with GCC.
18376
18377 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18378
18379 The following changes are part of the HP merge.
18380
18381 * gdb.base/break.exp: new tests to verify that catchpoints for
18382 fork, vfork, and exec don't trigger inappropriately.
18383
18384 * gdb.base/opaque.exp: compile one file at a time, then link.
18385
18386 * gdb.base/signals.exp: be more restrictive about which hppa
18387 systems receive a setup_xfail. new tests.
18388
18389 * gdb.base/solib_threshold.build: new file.
18390 * gdb.base/solib_threshold.exp: new file.
18391 * gdb.base/solib_threshold.link_opts: new file.
18392 * gdb.base/solib_threshold.mk: new file.
18393 * gdb.base/gen_solib_threshold.c: new file.
18394
18395 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18396 tests. New tests for enums inside classes.
18397
18398 * gdb.c++/compiler.cc: indicate support of template debugging.
18399
18400 * gdb.c++/demangle.exp: run hp style demangling tests.
18401
18402 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18403 tests.
18404
18405 * gdb.c++/misc.cc: changes to support new tests.
18406
18407 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18408 to support new tests.
18409
18410 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18411 gcc, then skip these tests.
18412
18413 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18414
18415 The following files are part of the HP merge; some had longer
18416 names at HP, but have been renamed to be no more than 14
18417 characters in length.
18418
18419 * gdb.hp/ambiguous.cc: new file.
18420 * gdb.hp/ambiguous.exp: new file.
18421 * gdb.hp/attach.exp: new file.
18422 * gdb.hp/attach2.exp: new file.
18423 * gdb.hp/classes-hp.exp: new file.
18424 * gdb.hp/ctti.exp: new file.
18425 * gdb.hp/ctti-add.cc: new file.
18426 * gdb.hp/ctti-add1.cc: new file.
18427 * gdb.hp/ctti-add2.cc: new file.
18428 * gdb.hp/ctti-add3.cc: new file.
18429 * gdb.hp/dbx.exp: new file.
18430 * gdb.hp/exception.cc: new file.
18431 * gdb.hp/exception.exp: new file.
18432 * gdb.hp/foll-exec.c: new file.
18433 * gdb.hp/foll-exec.exp: new file.
18434 * gdb.hp/foll-fork.c: new file.
18435 * gdb.hp/foll-fork.exp: new file.
18436 * gdb.hp/foll-vfork.c: new file.
18437 * gdb.hp/foll-vfork.exp: new file.
18438 * gdb.hp/inherit-hp.exp: new file.
18439 * gdb.hp/more-steps.exp: new file.
18440 * gdb.hp/namespace.cc: new file.
18441 * gdb.hp/namespace.exp: new file.
18442 * gdb.hp/optimize.exp: new file.
18443 * gdb.hp/pxdb.c: new file.
18444 * gdb.hp/pxdb.exp: new file.
18445 * gdb.hp/quicksort.exp: new file.
18446 * gdb.hp/reg-test.exp: new file.
18447 * gdb.hp/reg-test.s: new file.
18448 * gdb.hp/sized-enum.c: new file.
18449 * gdb.hp/sized-enum.exp: new file.
18450 * gdb.hp/start-stop.exp: new file.
18451 * gdb.hp/templ-hp.cc: new file.
18452 * gdb.hp/templ-hp.exp: new file.
18453 * gdb.hp/thr-lib.c: new file.
18454 * gdb.hp/thr-lib.exp: new file.
18455 * gdb.hp/thr-lib.h: new file.
18456 * gdb.hp/thr-liblib.c: new file.
18457 * gdb.hp/virtfun-hp.c: new file.
18458 * gdb.hp/virtfun-hp.exp: new file.
18459 * gdb.hp/watch-cmd.exp: new file.
18460 * gdb.hp/watch-hp.exp: new file.
18461 * gdb.hp/xdb1.exp: new file.
18462 * gdb.hp/xdb2.exp: new file.
18463 * gdb.hp/xdb3.exp: new file.
18464
18465 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18466
18467 The following files are part of the HP merge; some had longer
18468 names at HP, but have been renamed to be no more than 14
18469 characters in length.
18470
18471 * gdb.base/ss.h: new file.
18472 * gdb.base/call-ar-st.c: new file.
18473 * gdb.base/call-ar-st.exp: new file.
18474 * gdb.base/call-rt-st.c: new file.
18475 * gdb.base/call-rt-st-exp: new file.
18476 * gdb.base/call-strs.exp: new file.
18477 * gdb.base/ena-dis-br.exp: new file.
18478 * gdb.base/environ.exp: new file.
18479 * gdb.base/long_long.exp: new file.
18480 * gdb.base/sect-cmd.exp: new file.
18481 * gdb.base/shlib-cl2.exp: new file.
18482 * gdb.base/smoke.exp: new file.
18483 * gdb.base/so-impl-ld.c: new file.
18484 * gdb.base/so-impl-ld.exp: new file.
18485 * gdb.base/so-indr-cl.c: new file.
18486 * gdb.base/so-indr-cl.exp: new file.
18487 * gdb.base/varargs.exp: new file.
18488 * gdb.base/volatile.exp: new file.
18489 * gdb.base/whatis-exp.exp: new file.
18490 * gdb.base/display.exp: new file.
18491 * gdb.c++/derivation.exp: new file.
18492 * gdb.c++/local.exp: new file.
18493 * gdb.c++/member-ptr.exp: new file.
18494 * gdb.c++/overload.exp: new file.
18495 * gdb.c++/ovldbreak.exp: new file.
18496 * gdb.c++/ref-types.exp: new file.
18497 * gdb.c++/ref-types2.exp: new file.
18498 * gdb.c++/userdef.exp: new file.
18499
18500 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18501
18502 * gdb.base/default.exp: Reflect wording change in remote.c.
18503
18504 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18505
18506 * gdb.base/help.exp: Update to reflect current text.
18507
18508 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18509
18510 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18511 they're stack variables and contain garbage.
18512 * gdb.c++/anon-union.exp: new file.
18513
18514 The following changes were made by David Taylor
18515 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18516 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18517 in changes by HP.
18518
18519 * gdb.base/bitops.exp: new file.
18520 * gdb.base/default.exp: change expected messages for catch and
18521 info catch tests to reflect HP merge changes.
18522 * gdb.base/enable-disable-break.exp
18523 * gdb.base/ending-run.c: new file.
18524 * gdb.base/long_long.c: new file.
18525 * gdb.base/maint.exp: new file.
18526 * gdb.base/pointers2.exp: new file.
18527 * gdb.base/shlib-call2.exp: new file.
18528 * gdb.base/solib.exp: new file.
18529 * gdb.base/step-test.c: new file.
18530 * gdb.c++/anon-union.cc: new file.
18531 * gdb.c++/local.cc: new file.
18532 * gdb.c++/member-pointer.cc: new file.
18533 * gdb.c++/method.cc: new file.
18534 * gdb.c++/ref-types.cc: new file.
18535 * gdb.c++/ref-types2.cc: new file.
18536 * gdb.c++/userdef.cc: new file.
18537
18538 * gdb.base/scope.exp: compile one file at a time, then link.
18539 * gdb.base/langs.exp: ditto.
18540 * gdb.base/list.exp: ditto.
18541
18542 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18543
18544 The following changes were made by David Taylor
18545 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18546 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18547 in changes by HP.
18548
18549 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18550 skip tests. When compiling pass c++ flag to gdb_compile.
18551 * gdb.c++/
18552
18553 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18554 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18555 (skip_hp_tests): new function.
18556 (gdb_preprocess): new function.
18557
18558 * configure.in (hpdir): decide whether to configure gdb.hp.
18559 * configure: regenerated.
18560
18561 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18562 to delete on clean.
18563 (EXECUTABLES): update to reflect new additions.
18564 * gdb.base/commands.exp: update message expected.
18565 * gdb.base/default.exp: add copyright notice.
18566 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18567 * gdb.base/help.exp: update messages to reflect current text.
18568 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18569 targets for recurse tests.
18570 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18571 skip this file.
18572
18573 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18574 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18575 compilation.
18576 * gdb.c++/misc.exp: ditto.
18577 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18578 run the tests. tell gdb_compile that it's a c++ compilation.
18579
18580 * gdb.threads/pthreads.exp: fix typo in message.
18581
18582 * gdb.base/all-bin.exp: new file.
18583 * gdb.base/arithmet.exp: new file.
18584 * gdb.base/assign.exp: new file.
18585 * gdb.base/completion.exp: new file.
18586 * gdb.base/cond-expr.exp: new file.
18587 * gdb.base/condbreak.exp: new file.
18588 * gdb.base/define.exp: new file.
18589 * gdb.base/dollar.exp: new file.
18590 * gdb.base/environment.exp: new file.
18591 * gdb.base/eval-skip.exp: new file.
18592 * gdb.base/jump.exp: new file.
18593 * gdb.base/logical.exp: new file.
18594 * gdb.base/pointers.exp: new file.
18595 * gdb.base/relational.exp: new file.
18596 * gdb.base/section_command.exp: new file.
18597 * gdb.base/whatis-expr.exp: new file.
18598
18599 * gdb.base/all-types.c: new file.
18600 * gdb.base/call-array-struct.c: new file.
18601 * gdb.base/call-return-struct.c: new file.
18602 * gdb.base/call-strings.c: new file.
18603 * gdb.base/callfuncs2.c: new file.
18604 * gdb.base/condbreak.c: new file.
18605 * gdb.base/constvars.c: new file.
18606 * gdb.base/display.c: new file.
18607 * gdb.base/int-type.c: new file.
18608 * gdb.base/jump.c: new file.
18609 * gdb.base/miscexprs.c: new file.
18610 * gdb.base/pointers.c: new file.
18611 * gdb.base/pointers2.c: new file.
18612 * gdb.base/shmain.c: new file.
18613 * gdb.base/shr1.c: new file.
18614 * gdb.base/shr2.c: new file.
18615 * gdb.base/solib.c: new file.
18616 * gdb.base/solib1.c: new file.
18617 * gdb.base/solib2.c: new file.
18618 * gdb.base/varargs.c: new file.
18619 * gdb.c++/derivation.cc: new file.
18620 * gdb.c++/overload.cc: new file.
18621 * gdb.c++/ovldbreak.cc: new file.
18622 * gdb.hp/attach.c: new file.
18623 * gdb.hp/attach2.c: new file.
18624 * gdb.hp/average.c: new file.
18625 * gdb.hp/compiler.c: new file.
18626 * gdb.hp/compiler.cc: new file.
18627 * gdb.hp/execd-program.c: new file.
18628 * gdb.hp/follow-exec.c: new file.
18629 * gdb.hp/follow-fork.c: new file.
18630 * gdb.hp/follow-vfork-and-exec.c: new file.
18631 * gdb.hp/misc-hp.cc: new file.
18632 * gdb.hp/more-steps.c: new file.
18633 * gdb.hp/optimize.c: new file.
18634 * gdb.hp/quicksort.c: new file.
18635 * gdb.hp/run-hp.c: new file.
18636 * gdb.hp/start-stop.c: new file.
18637 * gdb.hp/sum.c: new file.
18638 * gdb.hp/templates-hp.cc: new file.
18639 * gdb.hp/thread-local-in-lib.c: new file.
18640 * gdb.hp/thread-local-in-lib.h: new file.
18641 * gdb.hp/thread-local-in-lib.lib.c: new file.
18642 * gdb.hp/vforked-program.c: new file.
18643 * gdb.hp/virtfunc-hp.cc: new file.
18644 * gdb.hp/watchpoint-hp.c: new file.
18645 * gdb.hp/xdb.c: new file.
18646 * gdb.hp/xdb0.c: new file.
18647 * gdb.hp/xdb0.h: new file.
18648 * gdb.hp/xdb1.c: new file.
18649
18650 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18651
18652 The following change was made by Edith Epstein
18653 <eepstein@cygnus.com> as part of a project to merge in changes
18654 originally made by HP; HP did not create ChangeLog entries.
18655
18656 * gdb.c++/demangle.exp: changed the expected output for some
18657 ARM-style mangling -- removed second reference to datatype.
18658 For example, maint demangle __dt__11T1__pt__2_cFv
18659 T1<char>::~T1<char>(void)
18660 becomes,
18661 maint demangle __dt__11T1__pt__2_cFv
18662 T1<char>::~T1(void)
18663
18664 (test_hp_style_demangling): new hp specific demangling test cases.
18665
18666 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18667
18668 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18669 * gdb.trace/backtrace.exp: Likewise.
18670 * gdb.trace/circ.exp: Likewise.
18671 * gdb.trace/collection.exp: Likewise.
18672 * gdb.trace/deltrace.exp: Likewise.
18673 * gdb.trace/infotrace.exp: Likewise.
18674 * gdb.trace/limits.exp: Likewise.
18675 * gdb.trace/packetlen.exp: Likewise.
18676 * gdb.trace/passc-dyn.exp: Likewise.
18677 * gdb.trace/passcount.exp: Likewise.
18678 * gdb.trace/report.exp: Likewise.
18679 * gdb.trace/save-trace.exp: Likewise.
18680 * gdb.trace/tfind.exp: Likewise.
18681 * gdb.trace/tracecmd.exp: Likewise.
18682 * gdb.trace/while-dyn.exp: Likewise.
18683 * gdb.trace/while-stepping.exp: Likewise.
18684
18685 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18686
18687 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18688
18689 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18690
18691 From Brendan Kehoe:
18692 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18693 int return types.
18694
18695 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18696
18697 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18698 remote dos host testing right.
18699
18700 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18701
18702 * gdb.base/corefile.exp: remove some xfails.
18703
18704 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18705
18706 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18707 have different timestamps.
18708
18709 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18710
18711 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18712 gdb.base/default.exp: Replace "exec" with "executable".
18713
18714 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18715
18716 * gdb.base/default.exp: Change else if to elseif from previous
18717 delta.
18718
18719 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18720
18721 * gdb.base/default.exp: Add brace missing from previous delta.
18722
18723 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18724
18725 * gdb.base/default.exp: Support test for info float for all
18726 varieties of arm toolchain.
18727
18728 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18729
18730 * gdb.trace/*.exp: remove "remote_download" command.
18731
18732 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18733
18734 * gdb.trace/*.exp: remove -gdwarf from compile.
18735
18736 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18737
18738 * gdb.trace/configure.in(AC_INIT): typo
18739 * gdb.trace/configure: regenerated
18740
18741 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18742
18743 * config/m68k-emc.exp: New file.
18744 * lib/<emc-support.exp trace-support.exp}: New files.
18745 * configure.in: add new test directory gdb.trace.
18746 * gdb.trace/{configure configure.in Makefile.in}: New files.
18747 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18748 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18749 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18750 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18751 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18752 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18753 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18754
18755 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18756
18757 * gdb.c++/classes.exp: Change all regular expressions to match
18758 arbitrary combinations of newline/carriage-return, so that they
18759 will work equally well on Unix and Windows.
18760 * gdb.c++/inherit.exp: ditto.
18761 * gdb.c++/virtfunc.exp: ditto.
18762
18763 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18764
18765 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18766
18767 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18768
18769 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18770 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18771 to use a0-a3/d0-d3 as needed.
18772
18773 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18774
18775 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18776 * gdb.disasm/am33.exp: Corresponding changes.
18777
18778 1998-07-11 Felix Lee <flee@cygnus.com>
18779
18780 * gdb.base/callfuncs.exp: add cmp10 test.
18781 * gdb.base/callfuncs.c (cmp10): new function.
18782
18783 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18784
18785 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18786 into two parts to get around a synchronization problem in expect.
18787
18788 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18789
18790 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18791
18792 * configure.in: Add options for gdbtk testsuite.
18793
18794 * configure: Regenerate.
18795
18796 * gdb.gdbtk: New directory to hold gdbtk tests.
18797
18798 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18799
18800 * gdb.fortran/types.exp: Escape brackets in expect patterns
18801 for test_float_literal_types_accepted tests.
18802 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18803 before run test.
18804
18805 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18806
18807 * am33.exp: Just compile, do not link the testcase.
18808 * am33.s: Add ".am33" pseudoop to force am33 mode.
18809
18810 1998-06-25 Felix Lee <flee@cygnus.com>
18811
18812 * gdb.base/setshow.exp: make sure $pc is sane.
18813
18814 * gdb.stabs/weird.exp: split expect patterns properly.
18815
18816 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18817
18818 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18819 * gdb.disasm/am33.exp: Run it.
18820
18821 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18822
18823 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18824 match processing (and eliminate spurious timeouts when running).
18825
18826 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18827
18828 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18829 exception test, but conditionalize it on target [mach | gnu].
18830
18831 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18832
18833 * gdb.base/overlays.exp: fixup compile line for linker script.
18834
18835 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18836
18837 * gdb.fortran/types.exp: don't guess at float size.
18838
18839 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18840
18841 * gdb.base/exprs.exp: delete test that depends on int size.
18842
18843 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18844
18845 * config/sim.exp: Removed checks for target triplets.
18846 (gdb_target_sim): Use gdb,target_sim_options.
18847
18848 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18849
18850 * gdb.base/reread.exp: New file.
18851 * gdb.base/reread1.c: New file.
18852 * gdb.base/reread2.c: New file.
18853
18854 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18855
18856 * config/sim.exp: Use 'target sim -sparclite' when running
18857 SPARClite programs.
18858
18859 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18860
18861 * gdb.base/structs2.exp: New file.
18862 * gdb.base/structs2.c: New file.
18863
18864 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18865
18866 * gdb.asm/common.inc: New file.
18867 * gdb.asm/d10v.inc: New file.
18868 * asm-source.exp: Pass -I's to gas to find .inc files.
18869 Update line numbers in expected output.
18870 * asmsrc1.s: Rewrite.
18871 * asmsrc2.s: Rewrite.
18872 * configure.in: Create arch.inc symlink.
18873 * configure: Regenerate.
18874 * Makefile.in (distclean): Delete arch.inc.
18875
18876 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18877
18878 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18879 (t_enum_value2): ditto
18880 (t_enum_value3): ditto
18881 (main): ditto
18882 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18883
18884 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18885 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18886 change.
18887 Use gdb_test instead of send_gdb/gdb_expect sequences.
18888
18889 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18890
18891 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18892 not void.
18893
18894 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18895
18896 * gdb.base/branches.c: Code with lots of loops and
18897 subroutines. Used to test gdbs ability to single step through PC
18898 changes, especially to test mips-tdep.c:mips_next_pc
18899
18900 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18901
18902 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18903 more rigorous EGCS C++ error checking.
18904
18905 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18906
18907 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18908 tests.
18909 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18910 function when asleep.
18911 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18912 for i*86 Linux and SVR4 signal handling problems.
18913 Remove linux xfail for `next to handler in signals_tests_1', fixed
18914 by recent infrun.c change.
18915 Limit backtrace to 10 frames to avoid timeout problems with infinite
18916 stack backtraces.
18917 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18918 target.[ch] change.
18919
18920 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18921
18922 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18923 for a newline from gdb before continuing.
18924 (default_gdb_exit): Just look for y or n.
18925 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18926 it does, fail the rests of the tests in the file.
18927
18928 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18929
18930 * config/cygmon.exp: New file.
18931
18932 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18933
18934 * gdb.base/list.exp: Fix problem with "list default lines around
18935 main" test on remote targets.
18936
18937 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18938 run test on remote targets.
18939
18940 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18941
18942 * gdb.asm: New directory.
18943 * configure.in: Configure it.
18944 * configure: Regenerate.
18945 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18946 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18947
18948 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18949
18950 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18951
18952 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18953
18954 * gdb.base/overlays (several files): Merge the two overlay
18955 managers into one. Change variables (foox, barx, bazx, grbxx)
18956 back into ints but force them to load in their proper sections.
18957
18958 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18959
18960 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18961 on-chip insn memory and IMAP1 to upper 128k.
18962 (D10VCopy): Handle memory regions crossing 16k boundaries.
18963 (D10VCopy): Transfer data in 32 bit chunks.
18964
18965 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18966
18967 * gdb.base/overlays.c (main): Exit normally when result is
18968 correct.
18969
18970 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18971 map. Include space for printf in .text segment.
18972
18973 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18974 updated d10v memory VMA/LMA map.
18975 (D10VCopy): Call D10VTranslate.
18976
18977 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18978
18979 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18980
18981 * gdb.base/bar.c (barx, bar): Change variable to small array so
18982 that it won't be put into the .sdata - small data -
18983 section. Update reference.
18984 * gdb.base/baz.c (bazx, baz): Ditto.
18985 * gdb.base/foo.c (foox, foo): Ditto.
18986 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18987
18988 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18989 to be arrays.
18990
18991 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18992
18993 * gdb.base/overlays.exp: fix up and get working again.
18994 Add tests for backtraces from an overlay function.
18995
18996 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18997
18998 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18999 "calling function with watchpoint enabled".
19000
19001 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19002
19003 * gdb.base/break.exp (test_next_with_recursion): Remove
19004 gdb_suppress_tests for d10v-*-*.
19005 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19006 pending review of whether it is useful or not.
19007
19008 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19009
19010 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19011
19012 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19013
19014 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19015 * config/dve.exp: New file to support Densan boards.
19016
19017 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19018
19019 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19020 reads and BSD.
19021
19022 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19023
19024 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19025 response.
19026
19027 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19028
19029 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19030
19031 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19032 test.
19033
19034 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19035 target_sizeof_long and target_bigendian_p.
19036 (structs_by_value, structs_by_reference): Check values according
19037 to targets word size and endianess.
19038
19039 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19040
19041 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19042 output.
19043
19044 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19045
19046 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19047 Update test of set args help to match source change.
19048
19049 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19050
19051 * gdb.base/default.exp: Expect help system output to be in
19052 alphabetical order.
19053 * gdb.base/help.exp: Ditto.
19054
19055 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19056
19057 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19058 "i*86-pc-linux-gnu*".
19059 * gdb.base/interrupt.exp: Ditto.
19060 * gdb.base/corefile.exp: Ditto.
19061
19062 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19063 define vxworks when building the testcase.
19064
19065 * gdb.base/ptype.exp: Fix testnames to be unique.
19066 * gdb.base/radix.exp: Ditto.
19067 * gdb.base/term.exp: Ditto.
19068 * gdb.base/whatis.exp: Ditto.
19069 * gdb.c++/classes.exp: Ditto.
19070
19071 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19072
19073 * gdb.base/callfuncs.exp: Fix indentation.
19074
19075 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19076 suppress_flag has been set.
19077 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19078 target feature.
19079
19080 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19081
19082 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19083 the testcase.
19084
19085 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19086 set_debug_traps() and breakpoint().
19087 * gdb.c++/misc.cc (main): Ditto.
19088 * gdb.c++/templates.cc (main): Ditto.
19089 * gdb.c++/virtfunc.cc (main): Ditto.
19090
19091 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19092
19093 * lib/gdb.exp(gdb_step_for_stub): New function.
19094 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19095 exists, reload the executable and do a "continue" instead of
19096 doing a jump.
19097 (runto_main): Use gdb_step_for_stub.
19098
19099 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19100 tests to have unique names.
19101 * gdb.base/callfuncs.exp: Ditto.
19102 * gdb.base/commands.exp: Ditto.
19103 * gdb.base/default.exp: Ditto.
19104 * gdb.base/help.exp: Ditto.
19105 * gdb.base/list.exp: Ditto.
19106 * gdb.base/opaque.exp: Ditto.
19107 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19108 similar tests.
19109
19110 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19111 * gdb.c++/cplusfuncs.cc: Ditto.
19112 * gdb.c++/virtfunc.cc: Ditto.
19113
19114 * config/monitor.exp: Keep track of the last file we saw, rather
19115 than trying to get the info from gdb.
19116
19117 * gdb.fortran/types.exp: Move comment to previous line.
19118
19119 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19120
19121 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19122 target mode.
19123
19124 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19125
19126 From Bob Manson:
19127 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19128 string from GDB when it connects.
19129
19130 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19131
19132 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19133
19134 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19135 if we can't get a debug format from GDB (we may be testing an
19136 older GDB). Use a 10 second timeout when checking for the format.
19137
19138 * gdb.stabs/weird.exp: Fix quoting.
19139
19140 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19141
19142 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19143
19144 * config/arm-ice.exp: New file.
19145
19146 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19147
19148 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19149 until it has been modified to work with the new testsuite.
19150
19151 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19152 testcase won't compile, cause all of the testcases in the file to
19153 fail instead.
19154
19155 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19156 (gdb_clear_suppressed): New procedure.
19157 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19158 it contains a positive value.
19159
19160 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19161
19162 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19163
19164 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19165
19166 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19167
19168 * lib/gdb.exp (setup_xfail_format): New function.
19169 (get_debug_format): New function to get debug format.
19170 (debug_format): New global variable to hold last value set
19171 by get_debug_format.
19172 * gdb.base/list.exp: Call get_debug_format and expect some
19173 tests to fail for DWARF 1 and COFF formats.
19174 * gdb.c++/ptype.exp: Ditto.
19175 * gdb.c++/classes.exp: Ditto.
19176 * gdb.c++/cplusfuncs.exp: Ditto.
19177 * gdb.c++/inherit.exp: Ditto.
19178 * gdb.c++/templates.exp: Ditto.
19179 * gdb.c++/virtfunc.exp: Ditto.
19180
19181 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19182
19183 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19184 host doesn't have a currently-open connection.
19185
19186 * config/sparclet.exp: Cleanups and fixes to make it generic for
19187 any gdb stub target. Handle cases where gdb doesn't respond when
19188 interrupted in a sane fashion.
19189
19190 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19191 same thing in a totally different way.
19192
19193 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19194 setting "timeout".
19195 (gdb_start): We set the global gdb_prompt variable in
19196 default_gdb_init now.
19197
19198 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19199
19200 * gdb.base/printcmds.exp: Fix "check for floating addition"
19201 regexp to accept results within approx +/- .01 of exact value.
19202 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19203
19204 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19205
19206 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19207 properly.
19208 (gdb_expect): Add optional timeout parameter, and add timeout
19209 value to various calls.
19210 (gdb_suppress_tests): Only give one warning message per group.
19211
19212 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19213
19214 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19215 global variables. Handle getting a value for $timeout more
19216 gracefully.
19217
19218 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19219
19220 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19221 initialize.
19222 (default_gdb_init): New procedure; allow gdb_init to be overridden
19223 by a target configuration file.
19224 (gdb_expect): Pass the timeout to remote_expect.
19225
19226 * config/monitor.exp(gdb_load): Fix typo in regexp.
19227
19228 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19229
19230 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19231
19232 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19233
19234 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19235 here. Call gdb_target_exec before rebooting the target, to make
19236 sure the connection to the target is closed.
19237 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19238 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19239 Also detect "Timeout reading from remote" error.
19240
19241 * config/gdbserver.exp: Pass the executable being loaded to
19242 gdb_target_monitor. Don't call gdb_file_cmd here; let
19243 gdb_target_monitor do it.
19244
19245 * gdb.disasm/hppa.exp: Don't use exec_output.
19246
19247 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19248
19249 * gdb.base/list.exp: If we're debugging a non-native target,
19250 try to set the pc register to point to the start of the
19251 program before doing the first list command.
19252
19253 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19254 test_calls after restarting.
19255
19256 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19257 reloading.
19258
19259 * gdb.base/watchpoint.exp: Fix typo.
19260
19261 * gdb.base/setshow.exp: Check for use_gdb_stub.
19262
19263 * gdb.base/break.exp: Fix continue until exit test for the gdb
19264 stub case.
19265 * gdb.base/langs.exp: Ditto.
19266
19267 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19268 gdb_load_offset. If we weren't given a file to load, figure out
19269 what the current file is and use it.
19270
19271 * config/i386-bozo.exp: New file.
19272
19273 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19274
19275 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19276 feature.
19277
19278 * config/proelf.exp: New entry.
19279
19280 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19281
19282 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19283 of regexps.
19284
19285 * gdb.base/watchpoint.exp: Don't run the test_stepping
19286 tests if gdb can't call functions on the target.
19287
19288 * gdb.base/setshow.exp: Don't run the set prompt tests if
19289 the board has gdb_prompt set.
19290
19291 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19292
19293 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19294 * gdb.base/commands.exp: Likewise.
19295 * gdb.base/setshow.exp: Likewise.
19296
19297 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19298
19299 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19300 feature.
19301
19302 * config/i960.exp: New file.
19303
19304 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19305
19306 * gdb.base/funcargs.exp: Check for gdb,short_int target
19307 feature instead of looking for explicit target triplets.
19308
19309 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19310
19311 * gdb.base/printcmds.exp: add a couple more tests a la
19312 "p 123DEADBEEF", to check parse_number.
19313 * top.c: change "to enable to enable" to "to enable" in a couple
19314 of help strings.
19315
19316 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19317
19318 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19319 on the mn10300.
19320
19321 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19322
19323 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19324 where the test executable is run with explicit args.
19325 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19326
19327 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19328
19329 * gdb.base/run.c: Use FAKEARGV to build test executable that
19330 does not require a command line arg, since most simulators
19331 don't currently support passing such an arg into the simulated
19332 program.
19333 * gdb.base/commands.exp: Change tests to insert the proper
19334 value as the arg to the first recursive factorial call. Change
19335 compilation line to define FAKEARGV at compile time.
19336
19337 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19338
19339 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19340 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19341 function with watchpoint enabled" test.
19342
19343 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19344
19345 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19346 Don't call gdb_test when the command doesn't return to a gdb prompt.
19347
19348 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19349 "Tests restarted" messages.
19350
19351 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19352
19353 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19354
19355 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19356
19357 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19358 for INFO SYMBOL; add help tests for OVERLAY commands.
19359 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19360 add tests for OVERLAY commands
19361 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19362 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19363 * gdb.base/sigall.c: add usestubs code frag
19364 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19365
19366 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19367
19368 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19369 failures.
19370 (gdb_stop_suppressing_tests): Note that tests have restarted.
19371
19372 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19373
19374 * config/h8300.exp: New file.
19375
19376 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19377
19378 * gdb.base/setshow.exp: Check for the existence of a
19379 feature, not its value.
19380
19381 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19382
19383 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19384
19385 * gdb.base/scope.exp: It's now init0(), not init().
19386
19387 * gdb.base/scope0.c: For now, change init() to be init0().
19388
19389 * config/monitor.exp: Use gdb_serial in preference to serial
19390 or netport.
19391
19392 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19393 and it's not already set.
19394
19395 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19396
19397 * gdb.base/setshow.exp: Only test the run command if the target
19398 isn't using a stub and if it supports argument passing.
19399
19400 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19401
19402 * config/udi.exp(gdb_start): Make sure UDICONF is set
19403 properly before starting gdb.
19404
19405 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19406
19407 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19408 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19409 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19410
19411 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19412
19413 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19414 specialized code to reboot the board, use remote_reboot instead.
19415
19416 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19417
19418 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19419
19420 * config/monitor.exp: Make sure we disconnect from the target.
19421 Also, try a reboot/reload cycle instead of failing if the
19422 load fails.
19423
19424 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19425
19426 * gdb.base/default.exp: Don't set match_max.
19427 * gdb.base/help.exp: Ditto.
19428 * gdb.base/list.exp: Ditto.
19429 * gdb.base/signals.exp: Ditto.
19430
19431 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19432 set, use remote_ld to download the testcase instead of
19433 the GDB loader.
19434
19435 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19436
19437 * config/vr5000.exp: New file.
19438
19439 * config/monitor.exp(gdb_target_monitor): Add pattern for
19440 "Ending remote" to detect errors in connecting.
19441
19442 * gdb.base/setshow.exp: Add .* within auto language test.
19443
19444 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19445 target feature.
19446
19447 * config/monitor.exp(gdb_load): Check for a failure when loading,
19448 and reboot the board if necessary.
19449
19450 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19451 a set of tests. Remove print.* from the patterns being checked.
19452
19453 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19454
19455 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19456 refer to gdb_spawn_id.
19457
19458 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19459 longer used.
19460 * config/sparclet.exp: Ditto.
19461 * config/sparclet-old.exp: Ditto.
19462 * config/slite.exp: Ditto.
19463 * config/sim.exp: Ditto.
19464 * gdb.base/funcargs.exp: Ditto.
19465
19466 * lib/gdb.exp:Remove references to gdb_spawn_id.
19467 (gdb_expect): Move to remote.exp.
19468
19469 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19470
19471 * config/monitor.exp: Detect the "Couldn't establish connection"
19472 message from GDB.
19473
19474 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19475
19476 * gdb.base/bitfields.exp: Use runto instead of explicit
19477 gdb_run_cmd/gdb_expect sequences.
19478
19479 * gdb.base/break.exp(text_next_with_recursion): Add match for
19480 gdb_expect call.
19481
19482 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19483 We also need to handle the "A program is being debugged already"
19484 prompt from gdb. Use gdb_test to set the baud rate.
19485
19486 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19487 to 20000. Really. I mean it.
19488
19489 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19490
19491 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19492 fails. If suppress_flag is set, skip perror message about not
19493 being able to send to GDB.
19494 (send_gdb): If suppress_flag is set, don't try to send commands to
19495 GDB.
19496 (gdb_expect): If suppress_flag is set, always fail immediately.
19497 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19498 (gdb_init): Call gdb_stop_suppressing_tests.
19499 (default_gdb_exit): Ditto.
19500 (default_gdb_start): Ditto.
19501
19502 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19503 gdb_stop_suppressing_tests as appropriate.
19504 * gdb.base/break.exp: Ditto.
19505 * gdb.base/callfuncs.exp: Ditto.
19506 * gdb.base/commands.exp: Ditto.
19507 * gdb.base/exprs.exp: Ditto.
19508 * gdb.base/funcargs.exp: Ditto.
19509 * gdb.base/list.exp: Ditto.
19510 * gdb.base/recurse.exp: Ditto.
19511 * gdb.base/scope.exp: Ditto.
19512 * gdb.base/structs.exp: Ditto.
19513 * gdb.c++/inherit.exp: Ditto.
19514
19515 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19516
19517 * config/vr4300.exp: New file.
19518
19519 * gdb.*/*.exp: Call gdb_expect instead of expect.
19520
19521 * lib/gdb.exp(gdb_expect): New function.
19522
19523 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19524
19525 * lib/gdb.exp(gdb_init): New function.
19526
19527 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19528 for each individual variable set.
19529
19530 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19531 name.
19532
19533 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19534
19535 * gdb.base/scope.exp: Use gdb_test.
19536
19537 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19538 aborting; the testsuite driver will do that for us (see
19539 gdb_finish). Also, use gdb_test in a few more places.
19540
19541 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19542
19543 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19544
19545 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19546
19547 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19548 and "add_tests" are not at the same address.
19549
19550 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19551
19552 * gdb.base/ptype.exp: Use gdb_test.
19553
19554 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19555
19556 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19557 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19558 left in. No longer expect them to fail.
19559
19560 * gdb.stabs/*.mt; Deleted, no longer used.
19561 * gdb.stabs/configure.in: Remove references to target makefile
19562 frags.
19563 * gdb.stabs/configure: Rebuilt.
19564
19565 * gdb.disasm/*.mt: Deleted, no longer used.
19566 * gdb.disasm/configure.in: Remove references to target makefile
19567 frags. Use "sh3.s" as the unique filename for this directory.
19568 * gdb.disasm/configure: Rebuilt.
19569
19570 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19571 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19572 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19573
19574 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19575
19576 * config/udi.exp: Use mondfe,name instead of remote_host.
19577
19578 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19579
19580 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19581 a function with a watchpoint enabled on the mn10200.
19582
19583 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19584 before trying to create it!
19585
19586 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19587
19588 * config/vx.exp: Use hostname instead of netport.
19589
19590 * config/vxworks.exp: New file.
19591
19592 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19593
19594 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19595 gdb before assuming everything worked. Send a ^C if a timeout
19596 occurs.
19597
19598 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19599 $gdb_spawn_id directly.
19600 (gdb_run_cmd): Try _start as well as start. Use the target feature
19601 gdb,start_symbol as the symbol to start from when jumping.
19602
19603 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19604
19605 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19606 redundant) test.
19607
19608 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19609 it doesn't lose for 16bit integer systems.
19610
19611 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19612
19613 * gdb.fortran/types.exp: If the target doesn't support "double"
19614 data types, then expect "real" types to only be 4 bytes.
19615
19616 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19617 call tests if the target doesn't support inferior function calls.
19618
19619 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19620 in printf tests.
19621
19622 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19623
19624 * gdb.base/help.exp: Disable "help set", "help show", and
19625 "help support". Simplify regexp for "help stack".
19626
19627 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19628 to 60 seconds. Temporarily set match_max to 15000 around the
19629 "info copying" test.
19630
19631 * gdb.base/nodebug.exp: Don't try to do an inferior function
19632 call if the target doesn't support them.
19633 * gdb.base/printcmds.exp: Likewise.
19634 * gdb.base/setvar.exp: Likewise.
19635 * gdb.base/structs.exp: Likewise.
19636 * gdb.c++/templates.exp: Likewise.
19637 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19638
19639 * gdb.base/recurse.exp: Enable for the mn10200.
19640
19641 * configure.in: Do configure gdb.stabs directory for *-*-elf
19642 targets.
19643 * configure: Rebuilt.
19644
19645 * gdb.base/break.exp: Check for gdb,noresults before testing
19646 exit status and/or results from the target.
19647 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19648 * lib/gdb.exp: Remove old (now bogus) initialization of
19649 noinferior, noargs, noresults and nosignals.
19650
19651 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19652
19653 * config/sh.exp: New file.
19654
19655 * config/slite.exp: Try to connect multiple times to the board
19656 before rebooting. Only send a "monitor run" if need_monitor_run
19657 is set.
19658
19659 * gdb.base/break.exp: Don't do the "stub continue" test if
19660 the target has gdb_stub set.
19661
19662 * gdb.base/callfuncs.exp: Increase the timeout.
19663
19664 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19665 if the target has gdb,noinferiorio set.
19666
19667 * gdb.base/list.exp: Increase match_max to 10000 characters.
19668
19669 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19670
19671 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19672 target.
19673
19674 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19675
19676 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19677
19678 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19679 trying to delete the copy of gdb. Catch the file delete so we
19680 don't die if the delete fails; also, the file should be copied to
19681 the host, not to the build.
19682
19683 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19684
19685 * lib/gdb.exp(gdb_test): Surround the result pattern with
19686 parenthesis in case it contains multiple regexps separated
19687 with |.
19688
19689 * gdb.base/watchpoint.exp: Use gdb_test.
19690 * gdb.base/default.exp: Ditto.
19691
19692 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19693
19694 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19695
19696 * gdb.base/scope.exp: Use gdb_test.
19697 * gdb.c++/classes.exp: Ditto.
19698 * gdb.c++/inherit.exp: Ditto.
19699
19700 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19701
19702 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19703 remote_exec instead.
19704 * gdb.base/corefile.exp: Don't be ridiculous.
19705 * gdb.base/*.c: Add missing stub invocations.
19706
19707 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19708
19709 * config/slite.exp: Miscellaneous fixes.
19710
19711 * lib/gdb.exp: Fix runto.
19712
19713 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19714 the target.
19715
19716 * gdb.base/watchpoint.exp: Fix regexp.
19717
19718 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19719 close and wait commands, as the descriptor may now be
19720 invalid. Always call "remote_close host".
19721
19722 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19723
19724 Major rewrite for testsuite revision.
19725
19726 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19727 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19728 instead of relying on spawn_id to always contain a valid
19729 spawn id.
19730 (get_compiler_info): New procedure to build the ${binfile}.ci
19731 file, instead of replicating this in N different places.
19732 (gdb_compile): New procedure.
19733
19734 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19735 appropriate arguments) instead of compile. Use gdb_test in a lot
19736 more places. Use send_gdb instead of send. Always run gdb_start
19737 at the start of a testcase, as this is no longer done magically.
19738
19739 config/*-gdb.exp: Rename without the -gdb suffix.
19740
19741 config/mips.exp: Use remote_close instead of exit_remote_shell.
19742 config/monitor.exp: Use target_info instead of looking at
19743 baud, timeout, etc.
19744 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19745
19746 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19747
19748 * gdb.c++/templates.exp (test_ptype_of_templates),
19749 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19750 Update expect patterns for destructors and assignment operators
19751 to match corresponding c-typeprint.c changes.
19752 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19753 to destructor breakpoint test, GDB should be able to set the
19754 destructor breakpoint without specifying arguments.
19755
19756 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19757
19758 * gdb.threads/pthreads.exp: Change result for failure to compile due
19759 to lack of pthreads runtime support from an error to simply an
19760 unsupported test, per dejagnu standards.
19761
19762 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19763
19764 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19765 where GDB exits to reduce pattern match time.
19766 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19767
19768 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19769
19770 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19771
19772 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19773 * gdb.base/default.exp: ditto.
19774 * gdb.base/nodebug.exp: ditto.
19775 * gdb.base/printcmds.exp: ditto.
19776 * gdb.base/ptype.exp: ditto.
19777 * gdb.base/setvar.exp: ditto.
19778 * gdb.base/structs.exp: ditto.
19779 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19780
19781 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19782
19783 * configure, */configure: Rebuild with autoconf 2.12.
19784
19785 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19786
19787 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19788 use new i*86-pc-linux*-gnu quads.
19789 * gdb.base/corefile.exp: Ditto.
19790 * gdb.base/signals.exp: Ditto.
19791 * gdb.base/sigall.exp: Ditto.
19792 * gdb.base/interrupt.exp: Ditto.
19793
19794 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19795 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19796 RedHat 4.0.
19797
19798 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19799 linux. This allows the test case to at least compile on latest
19800 linux, but still not run due to missing the threads runtime library.
19801
19802 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19803
19804 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19805 directory to search gdb directory. Accept and step over conditional
19806 stack alignment code. Consume $prompt in failure cases.
19807 Reset timeout to $oldtimeout instead of some arbitrary value.
19808 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19809 timeout problems with infinite stack backtraces.
19810 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19811 Accept function parameters for linkfunc member.
19812
19813 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19814
19815 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19816 (CXXFLAGS): Remove, unreferenced.
19817 (B_OPTIONS): Add for -B options and add code to initialize with
19818 previous -B options and also add -B option to pick up cross compiled
19819 runtime.
19820 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19821 doing cross compiles.
19822 (target_alias): Declare global.
19823 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19824 to verify that gcc exists in build tree, and if so set CC to that
19825 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19826
19827 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19828
19829 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19830 ptype test for anonymous union. Fixup testcase to match
19831 current gcc debug output.
19832
19833 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19834
19835 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19836 force argument to an unsigned long type.
19837
19838 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19839
19840 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19841 tests and anonymous union print/ptype tests.
19842 * gdb.base/list.exp (test_forward-search): Increase timeout by
19843 5 minutes for the "search extremely long line" case.
19844 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19845 completely optional and that the pass/fail messages use the command as
19846 the message if that third arg is a null string.
19847 (gdb_test_exact): Arrange that a null string pattern means match a
19848 null string output rather than any output, which might include random
19849 errors.
19850 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19851 backtrace test.
19852 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19853 always failing and failure is now exposed by gdb.exp changes.
19854
19855 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19856
19857 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19858 weren't being noted.
19859
19860 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19861
19862 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19863 * gdb.stabs/weird.exp: Remove v_comb xfails.
19864
19865 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19866
19867 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19868 list.exp scope.exp watchpoint.exp]
19869 Make all timeout error msgs explicitly say "(timeout)".
19870
19871 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19872
19873 * config/monitor.exp: Increase download timeout to 1000 seconds.
19874
19875 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19876
19877 * config/m32r.exp: Increase timeout to 120 seconds.
19878
19879 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19880
19881 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19882 and accept older ordering as obsolescent gcc or gdb.
19883 * gdb.c++/templates.exp: Ditto.
19884 * gdb.c++/virtfunc.exp: Ditto.
19885
19886 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19887
19888 * gdb.base/coremaker.c: Add code to mmap some data so we
19889 can check that it ends up in the core file.
19890 * gdb.base/corefile.exp: Add test to read mmapped data
19891 from core file.
19892
19893 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19894
19895 * config/m32r.exp: New file.
19896
19897 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19898
19899 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19900 that cflags can contains -gstabs, and work correctly for other tests.
19901
19902 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19903
19904 * gdb.base/setshow.exp: New file, tests show and set.
19905 * gdb.base/setshow.c: New file, tests show and set.
19906 * gdb.base/help.exp: Add test for help set|show annotate.
19907 * gdb.base/default.exp: Add test for set|show annotate.
19908
19909 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19910
19911 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19912 errors unique.
19913 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19914 explicitly.
19915
19916 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19917
19918 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19919 and width commands. This is done elsewhere.
19920 * (gdb_start): Don't call gdb_start_sim here. That's already
19921 done in gdb_load. This fixes lots of failures in default.exp.
19922
19923 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19924
19925 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19926 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19927 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19928 in the same we we treat other failures (since it may be an expected
19929 condition), rather than as an error.
19930 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19931 old test format.
19932
19933 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19934
19935 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19936 (distclean maintainer-clean realclean): No need to remove files
19937 twice. Nuke the duplicates.
19938 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19939 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19940 Remove config.h along with other config files.
19941
19942 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19943
19944 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19945 "p func1 ()" and note that rests of tests are skipped.
19946 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19947 setup_xfails for "print func2::coremaker_local".
19948 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19949 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19950 affected by the previous run test.
19951 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19952 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19953 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19954 "pass int powerset tuple" and "pass modeless int powerset tuple".
19955 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19956 "real write 4" and "real write 8".
19957 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19958 setup_xfails for "print vs1 after tuple assign 2",
19959 "print \$i after tuple assign 2", and
19960 "print vs2 after tuple assign 2".
19961 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19962 meaningful error message and return -1 so the caller can
19963 suppress further tests and avoid a cascade of errors.
19964
19965 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19966
19967 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19968 format for printing version.
19969 * gdb.base/default.exp: Ditto.
19970 * gdb.base/interrupt.exp: Fix problem with cascade of
19971 errors if child process dies while calling a function.
19972
19973 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19974
19975 * Makefile.in (VPATH): Add
19976 * Makefile.in (Makefile, config.status): Fix rules so things get
19977 remade when necessary.
19978
19979 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19980
19981 * Makefile.in (just-check): Add path to sibling expect dir
19982 to environment variable specified by RPATH_ENVVAR.
19983
19984 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19985
19986 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19987 (just-check): Add shared library paths for libstdc++, tk,
19988 tcl, bfd, and opcodes to the environment variable specified
19989 in RPATH_ENVVAR.
19990 * configure.in: Add support to recognize --enable-shared flag
19991 and generate correct value for RPATH_ENVVAR.
19992 * configure: Regenerated with autoconf.
19993
19994 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19995
19996 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19997 include all osf versions.
19998 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19999 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20000 when target is linux. When failing to build pthreads test
20001 executable, give more meaningful message.
20002 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20003 arg for pthread_create.
20004
20005 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20006
20007 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20008 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20009 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20010 and -lpthreads (everybody else).
20011 (test_startup): Fail gracefully if threads are not supported.
20012 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20013 "p/c array_index("abcdef",2)" when not gcc compiled.
20014 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20015 "print func2::coremaker_local" when not gcc compiled.
20016 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20017 "ptype on opaque struct tagname (statically)",
20018 "ptype on opaque struct tagname (dynamically) 1", and
20019 "ptype on opaque struct tagname (dynamically) 2"
20020 for not compiled with gcc.
20021 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20022 backtrace when compiled with gcc.
20023 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20024 than always return success.
20025
20026 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20027
20028 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20029
20030 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20031
20032 * gdb.base/structs.exp: Undo last change.
20033
20034 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20035
20036 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20037 encapsulate all the steps/nexts done during self test, starting
20038 at main, and makes them less sensitive to optimization issues.
20039 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20040 signal handler" test.
20041 * gdb.threads/pthreads.exp: Only run this for native configs.
20042 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20043 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20044 tests.
20045 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20046 for "runto test_calls(void)" test.
20047
20048 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20049
20050 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20051 and don't expect address info in breakpoint confirmations.
20052
20053 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20054
20055 * gdb.base/list.exp (test_forward_search): Increase timeout
20056 temporarily by 60 seconds for searching extremely long line,
20057 and then reset to old value when done. Increase expect input
20058 buffer to 10000.
20059
20060 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20061
20062 * gdb.base/list.exp (test_forward_search): Fix to handle very
20063 long source line without overflowing expect's input buffer.
20064
20065 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20066
20067 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20068 "buffer_full".
20069
20070 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20071 "buffer_full".
20072
20073 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20074 "buffer_full".
20075
20076 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20077 "buffer_full".
20078
20079 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20080
20081 * configure.in (configdirs): Add gdb.threads.
20082 * configure: Regenerated with autoconf.
20083 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20084 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20085 * gdb.threads/configure: New, generated with autoconf.
20086
20087 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20088
20089 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20090
20091 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20092
20093 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20094 each signal's status in the output of "handle all print".
20095 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20096 the \r\n sequence that immediately precedes the gdb prompt.
20097 * gdb.base/a1-selftest.exp: Save original timeout and restore
20098 after test.
20099
20100 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20101
20102 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20103 symbol.
20104
20105 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20106
20107 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20108
20109 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20110
20111 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20112 timeout by 60 seconds.
20113
20114 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20115
20116 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20117 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20118 error return.
20119
20120 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20121
20122 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20123 gdb initialization, also report how long dejagnu waited. Restore
20124 old timeout before doing error return. Temporarily increase timeout
20125 by 3 minutes to allow for slow startups over heavy NFS use.
20126
20127 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20128
20129 * lib/gdb.exp: Report timeout value for verbosity level 2.
20130 * config/gdbserver.exp: Ditto.
20131 * config/hppro.exp: Ditto.
20132 * config/mips-gdb.exp: Ditto.
20133 * config/monitor.exp: Ditto.
20134 * config/netware.exp: Ditto.
20135 * config/sim-gdb.exp: Ditto.
20136 * config/slite-gdb.exp: Ditto.
20137 * config/udi-gdb.exp: Ditto.
20138 * config/unix-gdb.exp: Ditto.
20139 * config/vx-gdb.exp: Ditto.
20140 * gdb.base/a1-selftest.exp: Ditto.
20141 * gdb.base/a2-run.exp: Ditto.
20142 * gdb.base/break.exp: Ditto.
20143 * gdb.base/corefile.exp: Ditto.
20144 * gdb.base/list.exp: Ditto.
20145 * gdb.base/recurse.exp: Ditto.
20146 * gdb.base/scope.exp: Ditto.
20147 * gdb.base/signals.exp: Ditto.
20148
20149 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20150
20151 * gdb.threads/Makefile.in (docdir): Removed.
20152
20153 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20154
20155 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20156 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20157 @srcdir@.
20158 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20159 autoconf 2.5 or higher.
20160 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20161
20162 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20163
20164 * configure: Regenerated.
20165 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20166 avoid name clashes with SunOS headers.
20167
20168 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20169
20170 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20171
20172 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20173
20174 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20175 prototype information ends up in the compiler info file.
20176
20177 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20178
20179 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20180 attempting to regenerate it. Eliminate use of a temporary file
20181 and just generate the info file directly. Source it immediately,
20182 for consistency of use.
20183 * gdb.base/corefile.exp: Ditto
20184 * gdb.base/exprs.exp: Ditto.
20185 * gdb.base/funcargs.exp: Ditto.
20186 * gdb.base/langs.exp: Ditto.
20187 * gdb.base/list.exp: Ditto.
20188 * gdb.base/mips_pro.exp: Ditto.
20189 * gdb.base/nodebug.exp: Ditto.
20190 * gdb.base/opaque.exp: Ditto.
20191 * gdb.base/ptype.exp: Ditto.
20192 * gdb.base/scope.exp: Ditto.
20193 * gdb.base/setvar.exp: Ditto.
20194 * gdb.base/signals.exp: Ditto.
20195 * gdb.base/whatis.exp: Ditto.
20196 * gdb.c++/templates.exp: Ditto.
20197 * gdb.c++/virtfunc.exp: Ditto.
20198 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20199 whether or not to add -lstdc++ to the compile command line args.
20200
20201 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20202
20203 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20204 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20205 Increase timeout, a lot of single stepping might be needed if the
20206 target has no hardware watchpoints.
20207
20208 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20209
20210 * gdb.base/break.exp: Ignore compiler warnings when compiling
20211 break.c.
20212 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20213 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20214 from remote-sim.
20215 * gdb.base/exprs.exp: Add h8300 xfails.
20216 * gdb.base/funcargs.exp: Likewise.
20217 * gdb.base/nodebug.exp: Likewise.
20218 * gdb.base/printcmds.exp: Likewise.
20219 * gdb.base/ptype.exp: Likewise.
20220 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20221 h8300 xfails.
20222 * gdb.base/return.exp: Handle float/double precision problems
20223 on the h8300.
20224 * gdb.base/funcargs.c: Explicitly make last constant argument to
20225 call_after_alloca_subr an unsigned long type.
20226 * gdb.base/return.c: Include stdio.h.
20227
20228 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20229
20230 * config/abug.exp: New file for the older Motorola Bug monitor
20231 that runs on the mvme13x series VME boards.
20232 * config/monitor.exp: Use the new config array for target settings
20233 if they exist.
20234
20235 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20236
20237 * sim-gdb.exp: Make the SH simulator allocate less space when
20238 it is targeted.
20239
20240 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20241
20242 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20243 test.
20244
20245 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20246
20247 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20248 "rs6000-*-*" for "list function in include file" when gcc compiled.
20249 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20250 for "p ctable1[120]".
20251 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20252 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20253 Remove setup_xfail for "rs6000-*-*" for
20254 "print 'scope0.c'::filelocal before run".
20255 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20256 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20257 since some compilers don't allow both options to be given
20258 on the same command line. Create object file and move it.
20259
20260 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20261
20262 * gdb.base/corefile.exp: Always regenerate the core file, since
20263 we always regenerate the coremaker program. Detect special case
20264 where registers cannot be read from core file.
20265
20266 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20267
20268 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20269 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20270 * gdb.c++/templates.exp: Only match on basename of file since
20271 some formats like xcoff don't encode directory information.
20272 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20273 and rs6000 AIX xcoff targets.
20274 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20275 * configure: Regenerate.
20276 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20277 here, rather than in distclean.
20278
20279 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20280
20281 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20282 defined, and use it to compile the test case with -O2. The
20283 native compilation still uses no optimization.
20284 * gdb.base/mips_pro.c: Remove inline assembly code since
20285 it is compiled PIC by default, which results in assembler
20286 warnings that make the testsuite think the compilation
20287 was unsuccessful.
20288
20289 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20290
20291 * gdb.c++/misc.exp: Add note to message for
20292 "print s.a for foo struct" that this is a known gcc 2.7.2
20293 and earlier bug.
20294
20295 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20296
20297 * gdb.base/break.exp: Fix pattern for matching "Delete all
20298 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20299 setup_xfail for deleting all breakpoints test. Fix various
20300 timeout messages to include "(timeout)".
20301 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20302 for "p t_float_values2(3.14159,float_val2)".
20303 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20304 for "continue to call2g" when gcc compiled.
20305 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20306 "up to foo in langs.exp", "show language at foo in langs.exp",
20307 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20308 and "show language at fsub in langs.exp".
20309 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20310 "list line 1 in include file", "list message for lines past EOF",
20311 "list function in include file", "list list0.h:foo", and
20312 "list filename:function; nonexistant function".
20313 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20314 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20315 and "ptype t_char_array" to be for native cc only.
20316
20317 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20318
20319 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20320 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20321 "print func2::coremaker_local", and "backtrace in corefile.exp".
20322
20323 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20324
20325 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20326 "bt in signals.exp". This problem only appears when running
20327 the testsuite, and then only intermittently.
20328
20329 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20330
20331 * gdb.base/return.exp (return_tests): Differentiate between
20332 two tests of continuing.
20333
20334 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20335
20336 * */Makefile.in (maintainer-clean): Remove config.log.
20337 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20338 * gdb.c++/Makefile.in (PROGS): Add inherit.
20339 (clean): Remove *.ci.
20340
20341 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20342
20343 * gdb.c++/misc.cc: Add test code from Mike Stump.
20344 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20345
20346 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20347
20348 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20349 to "alpha-*-osf2*" and add comment.
20350 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20351 setup_xfail for "step over execarg initialization" and
20352 "step over corearg initialization".
20353 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20354 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20355 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20356 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20357 "print func2::coremaker_local", and "backtrace in corefile.exp".
20358 * gdb.base/signals.exp: Build and source signals.ci.
20359 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20360 to be for gcc only.
20361 * lib/gdb.exp: Move verbose statements outside conditionals.
20362
20363 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20364
20365 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20366 Feb 3 procfs.c change.
20367
20368 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20369
20370 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20371
20372 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20373
20374 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20375 from dejagnu's apparent default of 10 seconds, which gives random
20376 results when running the tests over NFS on moderately loaded systems.
20377 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20378
20379 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20380
20381 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20382 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20383 result reports.
20384
20385 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20386
20387 * configure.in (CY_AC_PATH_TCLH): Remove.
20388 * configure: Regenerate.
20389
20390 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20391
20392 * gdb.c++/Makefile.in (clean): Add missing '{'.
20393
20394 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20395
20396 * lib/gdb.exp: Provide a default value for noinferior.
20397
20398 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20399 Load libgloss.exp.
20400
20401 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20402
20403 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20404 the executable, not the .o to run the tests from.
20405
20406 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20407
20408 * gdb.base/break.exp: Don't test for program exit or exit status
20409 if $noresults if nonzero.
20410 * gdb.base/langs.exp: Likewise.
20411 * gdb.base/watchpoint.exp: Likewise.
20412
20413 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20414 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20415 trying to compile the testcase.
20416
20417 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20418
20419 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20420 * gdb.base/signals.exp (continue to handler): Likewise.
20421
20422 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20423
20424 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20425
20426 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20427
20428 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20429
20430 * gdb.base/corefile.exp: Recognize "not found" as failure
20431 when trying to determine if a core file was generated.
20432 If no core file was generate the first time, try again without
20433 the ulimit -c to work around braindamaged shells.
20434
20435 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20436
20437 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20438 [] tests with "test" and enclose string in quotes.
20439 * gdb.stabs/configure: Rebuild
20440
20441 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20442
20443 Changes in sync with expect:
20444 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20445 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20446 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20447 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20448 argument to AC_REQUIRE.
20449 * configure: Regenerated.
20450
20451 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20452
20453 * gdb.base/corefile.exp: When generating a core, discard any
20454 error messages about ulimit not found and the "core dumped"
20455 message from the shell that runs the coredumper.
20456
20457 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20458
20459 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20460
20461 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20462 which sed script to run. Expect failure for v_comb test
20463 on PA targets too.
20464
20465 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20466
20467 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20468 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20469
20470 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20471
20472 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20473 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20474 "sparc-sun-solaris*" xfails for "p v_comb".
20475 * lib/gdb.exp (default_gdb_start): Fix typo.
20476 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20477 messages to not include the full program name that caused
20478 the core dump since some systems (such as solaris) apparently
20479 truncate this path to about 80 characters.
20480 When generating a core file first try increasing the core file
20481 size limit to unlimited since some systems may default it to
20482 zero, and it is harmless to try it. Move the test for failing
20483 to generate a core file to where it will actually get executed.
20484 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20485 new gdb result from g++ debug info improvements and make old
20486 pattern obsolescent. Also account for size_t differences
20487 (may be int or long).
20488 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20489 initialization before function call is placed in the delay slot
20490 and thus appears to be skipped over by commands such as "next".
20491
20492 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20493
20494 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20495
20496 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20497
20498 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20499 input source file; fix code to compile test to deal with this
20500 convention.
20501 * gdb.c++/*.exp: Likewise.
20502
20503 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20504
20505 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20506 "bt in signals.exp".
20507
20508 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20509
20510 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20511 "step over execarg initialization" and
20512 "step over corearg initialization".
20513
20514 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20515
20516 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20517 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20518
20519 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20520
20521 From Rob Savoye (rob@poseidon.cygnus.com)
20522 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20523 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20524 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20525 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20526 configure.in}: Major reworking for autoconfig.
20527 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20528 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20529 New files.
20530 * config/unix-gdb.exp: Make GDB global.
20531 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20532 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20533 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20534 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20535 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20536 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20537 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20538 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20539 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20540 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20541 pr-8136.exp, result.exp, string.exp, tuples.exp},
20542 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20543 to returns as necessary, arrange for test to compile own testcase
20544 executable.
20545 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20546
20547 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20548
20549 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20550 clear_xfail at end of test which might not call either pass or fail.
20551 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20552 "backtrace through signal handler".
20553
20554 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20555
20556 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20557 continuing from a job control stop signal.
20558 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20559
20560 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20561
20562 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20563 * gdb.base/corefile.exp: Likewise.
20564 * gdb.base/funcargs.exp: Likewise.
20565
20566 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20567
20568 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20569 * config/monitor.exp: Add support for setting baud rate.
20570
20571 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20572
20573 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20574 i*86-*-linux* xfails for "backtrace through signal handler".
20575 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20576 "print func2::coremaker_local".
20577 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20578 alpha-dec-osf2* xfail for
20579 "delete all breakpoints when none".
20580
20581 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20582
20583 * gdb.base/break.exp: Change test that deletes all breakpoints
20584 when no user breakpoints are installed. A post 4.15 change
20585 causes gdb to no longer prompt in this case.
20586
20587 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20588
20589 * gdb.base/return.exp (return_tests): Change xfail for test
20590 "correct value returned double test" to stop xfailing at
20591 Solaris 2.5. Apparently the bug has been fixed.
20592
20593 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20594
20595 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20596 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20597
20598 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20599
20600 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20601 * gdb.disasm/hppa.s: Corresponding changes.
20602
20603 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20604
20605 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20606 makefile fragment.
20607 * config/mt-hpux: Deleted.
20608
20609 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20610
20611 * Many files: When warning about suppressed tests due to a
20612 nonexistant test binary, avoid incrementing the warning count.
20613
20614 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20615
20616 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20617
20618 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20619
20620 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20621 "sparc-*-solaris2*".
20622
20623 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20624
20625 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20626 Add global and local variables and initialize them.
20627 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20628 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20629 extracts the file name and terminating signal from the core file.
20630 * TODO: Remove note about tests for correct mapping of corefile.
20631 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20632 from optimizing it away.
20633 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20634 handles common blocks.
20635
20636 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20637
20638 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20639 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20640
20641 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20642
20643 * Makefile.in (maintainer-clean): New target, synonym for
20644 realclean.
20645 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20646 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20647 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20648 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20649 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20650 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20651
20652 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20653
20654 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20655 xfails when not gcc compiled for "print foo::funclocal".
20656 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20657 "print foo::funclocal at foo",
20658 "print 'scope1.c'::foo::funclocal at foo",
20659 "print foo::funclocal_bss at foo",
20660 "print 'scope1.c'::foo::funclocal_bss at foo",
20661 "print foo::funclocal_ro at foo",
20662 "print 'scope1.c'::foo::funclocal_ro at foo",
20663 "print bar::funclocal at foo" and
20664 "print 'scope1.c'::bar::funclocal at foo".
20665 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20666 gcc compiled for "print foo::funclocal at bar".
20667 Expand all messages to ensure that they identify that
20668 the test is at bar().
20669 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20670 gcc compiled for:
20671 "ptype on opaque struct pointer (statically)",
20672 "ptype on opaque struct tagname (statically)",
20673 "ptype on opaque struct pointer (dynamically) 1",
20674 "ptype on opaque struct tagname (dynamically) 1",
20675 "ptype on opaque struct pointer (dynamically) 2" and
20676 "ptype on opaque struct tagname (dynamically) 2
20677 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20678 gcc compiled for:
20679 "p datalocal"
20680 "whatis datalocal",
20681 "ptype datalocal",
20682 "p bsslocal",
20683 "whatis bsslocal", and
20684 "ptype bsslocal".
20685 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20686 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20687 when not gcc compiled.
20688 * gdb.base/funcargs.exp (float_and_integral_args): Add
20689 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20690 compiled.
20691 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20692 "backtrace from call6a" when not gcc compiled.
20693 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20694 "backtrace from call7a" when not gcc compiled.
20695 * gdb.base/callfuncs.exp (do_function_calls):
20696 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20697 "p t_char_array_values(char_array_val2,char_array_val1)",
20698 "p t_char_array_values(char_array_val1,char_array_val2)",
20699 "p t_char_array_values("carray 1","carray 2")",
20700 "p t_char_array_values("carray 1",char_array_val2)",
20701 "p t_char_array_values(char_array_val1,"carray 2")",
20702 "p sum_args(1,{2})",
20703 "p sum_args(2,{2,3})",
20704 "p sum_args(3,{2,3,4})",
20705 "p sum_args(4,{2,3,4,5})"
20706 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20707 "backtrace in corefile.exp" when not gcc compiled.
20708
20709 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20710
20711 * gdb.base/signals.exp: Rewrite `handle all print' test as
20712 a procedure. Accept blanks or TABs as whitespace, increase
20713 timeout and expect input buffer size for the large output
20714 from the command. Remove "i*86-*-bsdi2.0" xfail.
20715
20716 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20717
20718 * gdb.base/setvar.exp: Add new testcases for truncation when
20719 assigning invalid values to bitfields.
20720
20721 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20722
20723 * gdb.base/callfuncs.exp (do_function_calls): Remove
20724 mips-sgi-irix* xfail for
20725 "call inferior func with struct - returns char *"
20726 and fix test so that an optional (unsigned char *) cast is
20727 accepted in the result.
20728
20729 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20730
20731 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20732 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20733 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20734 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20735 that accidentally got checked in.
20736
20737 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20738
20739 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20740 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20741 compiled test.
20742 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20743 Add mips-sgi-irix5* xfail for not gcc compiled.
20744 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20745 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20746 "p top", "whatis top", "p middle", and "whatis middle".
20747 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20748 "whatis signed char" for not gcc compiled.
20749 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20750 "set variable signed char=-1 (-1)" and
20751 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20752 * gdb.base/funcargs.exp (float_and_integral_args):
20753 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20754 Add mips-sgi-irix* xfail when not gcc compiled for
20755 "continue to call2b".
20756 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20757 "continue to call2g".
20758 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20759 "backtrace from call6a"
20760 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20761 "backtrace from call7k".
20762 Add mips-sgi-irix5* xfail when not gcc compiled for
20763 "backtrace from call7a".
20764 (localvars_after_alloca): Fix gdb_test cmds for
20765 "print * after runto ...".
20766 Remove rs6000-*-* xfails for
20767 "print i after runto localvars_after_alloca" and
20768 "print l after runto localvars_after_alloca"
20769 for all compilers.
20770 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20771 when not compiled with gcc, for:
20772 "print signed char == (minus)",
20773 "print signed char != (minus)",
20774 "print signed char < (minus)",
20775 "print signed char > (minus)".
20776 * gdb.base/callfuncs.exp (do_function_calls):
20777 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20778 "call inferior func with struct - returns char *".
20779 * gdb.base/return.exp (return_tests): Change xfail for
20780 "correct value returned double test" to include Solaris 2.4.
20781 * gdb.base/funcargs.exp (float_and_integral_args):
20782 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20783
20784 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20785
20786 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20787 enumeration bitfields if compiling with GNU C.
20788 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20789 to empty' prompt.
20790
20791 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20792
20793 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20794 test for PRO targets.
20795
20796 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20797 breakpoints in the inferior at any given time by making
20798 two groups of breakpoints for call2*, call6* and call7*
20799 tests.
20800
20801 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20802
20803 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20804 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20805 from optimizing it away.
20806 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20807 "call inferior func with struct".
20808
20809 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20810
20811 * configure.in: Only configure gdb.chill for particular targets.
20812
20813 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20814
20815 * gdb.base/Makefile.in: Add action to .c.o transformation
20816 rule that generates a .ci file for each .o file and remove
20817 explicit .c.o rules except for callfuncs.o.
20818 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20819 generates a .ci file for each .o file and remove explicit
20820 .cc.o rules.
20821 (clean): Remove *.tmp *.ci files.
20822 (EXECUTABLES): Remove templ-info.exp.
20823 * gdb.base/compiler.c: New file.
20824 * gdb.c++/compiler.cc: New file
20825 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20826 Change rs6000-*-* xfail for
20827 "print 'scope0.c'::filelocal_ro" and
20828 "print 'scope1.c'::filelocal" and
20829 "print 'scope1.c'::filelocal_bss" and
20830 "print 'scope1.c'::filelocal_ro" and
20831 "print 'scope1.c'::foo::funclocal" and
20832 "print 'scope1.c'::foo::funclocal_ro" and
20833 "print 'scope1.c'::bar::funclocal" and
20834 "print 'scope0.c'::filelocal_ro" and
20835 "print 'scope1.c'::filelocal at foo" and
20836 "print 'scope1.c'::filelocal_bss at foo" and
20837 "print 'scope1.c'::filelocal_ro at foo" and
20838 "print 'scope1.c'::foo::funclocal at foo" and
20839 "print 'scope1.c'::foo::funclocal_bss at foo" and
20840 "print 'scope1.c'::foo::funclocal_ro at foo" and
20841 "print 'scope1.c'::bar::funclocal at foo" and
20842 "print 'scope0.c'::filelocal_ro" and
20843 "print 'scope1.c'::filelocal" and
20844 "print 'scope1.c'::filelocal_bss" and
20845 "print 'scope1.c'::filelocal_ro" and
20846 "print 'scope1.c'::foo::funclocal" and
20847 "print 'scope1.c'::foo::funclocal_bss" and
20848 "print 'scope1.c'::foo::funclocal_ro" and
20849 "print 'scope1.c'::bar::funclocal" and
20850 "print 'scope1.c'::bar::funclocal_bss"
20851 to only be xfail'd when not compiled with gcc.
20852 Add rs6000-*-* xfail for
20853 "print 'scope0.c'::filelocal_bss before run"
20854 when compiled with gcc.
20855 (test_at_main): Add rs6000-*-* xfail for
20856 "print filelocal_ro in test_at_main"
20857 when compiled with gcc.
20858 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20859 Add rs6000-*-aix* xfail for
20860 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20861 "ptype t_char_array", not compiled with gcc.
20862 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20863 xfail for "list foo (in include file)" when gcc compiled.
20864 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20865 (integral_args): Add rs6000-*-* xfail for
20866 "run to call0a" if not compiled with gcc.
20867 (unsigned_integral_args): Add rs6000-*-* xfail for
20868 "run to call1a" if not compiled with gcc.
20869 (float_and_integral_args): Add rs6000-*-* xfail for
20870 "run to call2a" if not compiled with gcc and for
20871 "continue to call2b" for any compiler.
20872 Add rs6000-*-* xfail to
20873 "print f1 after run to call2a" for gcc compiled.
20874 (discard_and_shuffle): Add rs6000-*-* xfail for
20875 "run to call6a".
20876 (shuffle_round_robin): Add rs6000-*-* xfail for
20877 "backtrace from call7a" if not compiled with gcc.
20878 Add rs6000-*-* xfail for
20879 "backtrace from call7b" if compiled with gcc.
20880 (call_after_alloca): Add rs6000-*-* xfail for
20881 "print c in call_after_alloca" and
20882 "print s in call_after_alloca" and
20883 "backtrace from call_after_alloca_subr"
20884 if not compiled with gcc.
20885 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20886 "print c in localvars_in_indirect_call" and
20887 "print c in localvars_in_indirect_call" and
20888 "backtrace in indirectly called function" and
20889 "stepping into indirectly called function"
20890 if not compiled with gcc.
20891 (localvars_after_alloca): Add rs6000-*-* xfail for
20892 "print c after runto localvars_after_alloca" and
20893 "print s after runto localvars_after_alloca" and
20894 "print i after runto localvars_after_alloca" and
20895 "print l after runto localvars_after_alloca"
20896 for all compilers.
20897 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20898 than whatis-info.exp.
20899 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20900 than opaque-info.exp.
20901 Setup rs6000-*-* xfail for
20902 "ptype on opaque struct pointer (statically)" and
20903 "ptype on opaque struct pointer (dynamically)" when
20904 not compiled with gcc.
20905 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20906 rather than callf-info.exp.
20907 (do_function_calls): Add clear_xfail for rs6000-*-* for
20908 "p t_float_values2(3.14159,float_val2)". Seems to work
20909 fine there, both with xlc and gcc. Need to find out what
20910 it is doing right and fix other platforms.
20911 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20912 "call inferior func with struct - returns int",
20913 "call inferior func with struct - returns long",
20914 "call inferior func with struct - returns float",
20915 "call inferior func with struct - returns double",
20916 "call inferior func with struct - returns char *",
20917 but only if not gcc compiled (presumes xlc compiled).
20918 Change rs6000-*-* xfails for
20919 "call inferior func with struct - returns char" and
20920 " call inferior func with struct - returns short" to only
20921 xfail if not using gcc.
20922 (clean mostlyclean): Remove *.ci and *.tmp files.
20923 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20924 than templ-info.exp.
20925 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20926 Add rs6000-*-* xfail for "up to foo in langs.exp"
20927 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20928 when not gcc compiled.
20929
20930 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20931
20932 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20933 * gdb.base/corefile.exp: Likewise.
20934 * gdb.base/list.exp: Likewise.
20935 * gdb.base/scope.exp: Likewise.
20936 * gdb.base/siganls.exp: Likewise.
20937
20938 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20939 compiler output.
20940 * gdb.base/whatis.exp: Likewise.
20941
20942 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20943
20944 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20945 failure (opcode table has been fixed to match reality).
20946
20947 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20948
20949 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20950 "call inferior func with struct - returns char",
20951 "call inferior func with struct - returns short"
20952
20953 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20954 "print 'scope0.c'::filelocal at main",
20955 "print 'scope0.c'::filelocal_bss in test_at_main",
20956 "print 'scope0.c'::filelocal at foo",
20957 "print 'scope0.c'::filelocal_bss in test_at_foo",
20958 "print 'scope0.c'::filelocal at bar",
20959 "print 'scope0.c'::filelocal_bss in test_at_bar"
20960
20961 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20962 in source file 1". This bug seems to have been fixed with both
20963 gcc and native cc (was native assembler bug?).
20964
20965 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20966
20967 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20968 "backtrace through signal handler" to "i*86-*-sysv4*".
20969 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20970 continue" case. Add "known SVR4 bug" to fail message.
20971 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20972 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20973 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20974 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20975 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20976 "up to foo in langs.exp", "show language at foo in
20977 langs.exp", "up to cppsub_ in langs.exp", "show
20978 language at cppsub_ in langs.exp", "up to fsub in
20979 langs.exp", and "show language at fsub in langs.exp".
20980 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20981 "bactrace in corefile.exp".
20982 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20983 "call inferior function with struct - returns float" and
20984 "call inferior function with struct - returns double".
20985
20986 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20987
20988 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20989 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20990 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20991 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20992
20993 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20994
20995 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20996 (or overriden) "CHILL" macro rather then bare "gcc".
20997 Also look for ../../gcc/xgcc since that is what we will
20998 actually need, not "Makefile". Remove following assignment
20999 of CHILL to CHILL_FOR_TARGET because that results in
21000 recursive definition.
21001
21002 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21003
21004 * gdb.base/corefile.exp: Change xfail for backtrace in
21005 corefile.exp from linuxaout to all linux.
21006 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21007 cases where we miss the breakpoint at the signal handler
21008 for some reason. Setup xfail for linuxoldld/linuxaout and
21009 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21010 hitting SIGURG breakpoint.
21011 * gdb.base/signals.exp: Setup xfail for "next" acting like
21012 continue to add linuxoldld. Setup xfail for all linux for
21013 "next to handler in signals_tests_1", "backtrace in
21014 signals_tests_1", "continue to func1", "pass SIGUSR1",
21015 and continue to handler".
21016
21017 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21018
21019 * Update all FSF addresses except those in COPYING* files.
21020
21021 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21022
21023 * gdb.base/a2-run.exp: Change messages to be more explicit about
21024 the status of args, and quote binfile in results.
21025
21026 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21027
21028 * gdb.base/callfuncs.exp: Add tests for passing structs to
21029 inferior functions and return various types.
21030 * gdb.base/callfuncs.c: Add functions to receive a struct
21031 and return a member of the struct, in various types.
21032
21033 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21034
21035 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21036
21037 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21038
21039 * config/vxworks29k.exp: New file, sources vxworks.exp.
21040
21041 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21042
21043 * config/gdbremote.exp: New file. Testing framework using
21044 gdbserver.
21045
21046 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21047
21048 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21049 "call function when asleep" and "send end of file".
21050 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21051 for "backtrace in corefile.exp".
21052 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21053 for "backtrace through signal handler".
21054 * gdb.base/corefile.exp: Make sure we actually generate a core file
21055 before trying the core tests. Some systems allow the user to suppress
21056 generation of core files and default to that (linux for example).
21057 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21058 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21059
21060 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21061
21062 * gdb.threads: New directory with some crude multi-threaded
21063 gdb tests (step.exp and step2.exp).
21064 * config/mt-lynx (STEP_EXECUTABLE): Define.
21065 (THREADFLAGS): Define.
21066
21067 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21068
21069 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21070
21071 * gdb.base/signals.exp: Disable whole file for lynx until
21072 further notice.
21073
21074 * gdb.base/signals.exp: xfail test where "next" acts like
21075 "continue" for lynx.
21076
21077 * gdb.base/interrupt.exp: xfail test for calling function while
21078 inferior is asleep for lynx.
21079
21080 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21081 than one cr-lf after each command.
21082
21083 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21084
21085 * configure.in: Reinstate setting of stabsdirs variable, fix
21086 typo in setting up configdirs for native builds.
21087
21088 * gdb.base/return.exp: Fix typo in return double test.
21089 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21090 compiler from optimizing them away.
21091
21092 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21093
21094 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21095 sequences to be echo'd by gdb when using gdb_test.
21096 * gdb.chill/chexp.exp: Likewise.
21097 * gdb.fortran/exprs.exp: Likewise
21098
21099 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21100
21101 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21102 after the inferior gdb has started.
21103
21104 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21105 after each command.
21106 * gdb.base/funcargs.exp: Likewise.
21107 * gdb.base/gdbvars.exp: Likewise.
21108 * gdb.base/interrupt.exp: Likewise.
21109 * gdb.base/list.exp: Likewise.
21110 * gdb.base/watchpoint.exp: Likewise.
21111 * gdb.c++/demangle.exp: Likewise.
21112 * gdb.c++/inherit.exp: Likewise.
21113 * gdb.chill/chexp.exp: Likewise.
21114 * gdb.fortran/exprs.exp: Likewise.
21115
21116 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21117 test if we can't handle IO to/from the inferior.
21118
21119 * gdb.c++/misc.exp: Always check for a program already being
21120 started after sending a "run" command to gdb.
21121
21122 * gdb.base/twice.exp: Start with a fresh gdb.
21123
21124 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21125 only depend on gdb's expression code, not the chill runtime.
21126
21127 * gdb.base/return.c: Put return values into variables so we
21128 can have gdb print them rather than depending on the program
21129 to print them.
21130 * gdb.base/return.exp: Corresponding changes.
21131
21132 * lib/gdb.exp: Provide default value for noinferiorio.
21133 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21134 the inferior.
21135
21136 * gdb.base/break.exp: Always check for a program already being
21137 started after sending a "run" command to gdb.
21138 (text_next_with_recursion): Don't check the output from the
21139 program's printf statement. Instead just make sure the program
21140 exited.
21141
21142 * gdb.base/commands.exp: Protect tests which need arguments with
21143 $noargs conditionals.
21144
21145 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21146
21147 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21148 of structure member arrays to match gdb/valops.c:value_addr change.
21149
21150 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21151
21152 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21153 cases.
21154
21155 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21156
21157 * configure.in (configdirs): Remove gdb.chill from default list
21158 of subdirs and then add it back in only if doing a native build.
21159 The current chill compiler does not yet work in any cross build.
21160 * Revert all signal changes from Jul 6.
21161 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21162 for sh-hms targets, allowing these tests to link, with no other
21163 changes. Testing is suppressed by setting "nosignals" in site.exp.
21164
21165 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21166
21167 * configure.in (signaldirs): Define and add to configdirs for all
21168 targets except some specific ones that are known to not support signals.
21169 Also clean up formatting.
21170 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21171 (signals, sigall): Remove rules to build.
21172 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21173 Moved to new gdb.signals directory.
21174 * gdb.signals: New test directory.
21175 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21176 signals.c signals.exp}: New or moved files.
21177
21178 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21179
21180 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21181
21182 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21183
21184 * gdb.base/return.exp: Xfail `return double' test failure
21185 on at least Solaris 2.3 and handle future/past versions on
21186 a case by case basis as appropriate. Also update message
21187 to include i*86 failures.
21188
21189 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21190
21191 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21192
21193 * lib/gdb.exp: Fix comment which erroneously identified
21194 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21195 gdb_file_cmd not gdb_load).
21196 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21197
21198 * gdb.base/setvar.exp: Make test names consistent between pass and
21199 fail cases. Use gdb_test more.
21200
21201 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21202
21203 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21204
21205 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21206
21207 * gdb.base/help.exp: Fix expected help string for `show commands'.
21208
21209 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21210
21211 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21212
21213 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21214 of a text section.
21215
21216 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21217
21218 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21219 that loop eventually terminates. Fix Connection refused logic so
21220 that testsuite will expire nicely.
21221
21222 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21223
21224 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21225 config/rom68k.exp: New tcl glue for the appropriate monitors.
21226 These all just end up calling monitor.exp.
21227 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21228 refused' by retrying. Cleanup some timeout issues.
21229 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21230 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21231 callers don't have to set/restore global timeout variable.
21232
21233 * The following set of changes centralizes management of the global
21234 timeout variable. This way, it can be set in one target dependent
21235 place instead of dozens of places scattered throughout the test suite.
21236 If you need to lengthen a timeout, then you should either set timeout
21237 in one of the config/{target}.exp files, or multiply it by a factor.
21238 Setting it to an absolute value is always going to lose for some
21239 targets.
21240 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21241 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21242 * gdb.base/funcargs.exp: Don't set timeout.
21243 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21244 * gdb.base/printcmds.exp (test_print_string_constants
21245 test_print_array_constants): Don't set timeout.
21246 * gdb.base/ptype.exp: Don't set timeout.
21247 * gdb.base/recurse.exp: Don't set timeout.
21248 * gdb.base/return.exp: Don't set timeout.
21249 * gdb.base/watchpoint.exp: Don't set timeout.
21250 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21251 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21252
21253 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21254
21255 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21256
21257 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21258
21259 * lib/gdb.exp: Disable chill tests for irix5.
21260
21261 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21262
21263 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21264 each test pass or fail.
21265
21266 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21267
21268 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21269 xlc not gcc.
21270
21271 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21272
21273 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21274
21275 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21276
21277 * config/est.exp: Fix copyright and comments. Remove dead code.
21278 Use targetname, serialport and baud variables instead of fixed
21279 constants.
21280 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21281 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21282
21283 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21284
21285 * gdb.base/watchpoint.exp: Don't run
21286 test_watchpoint_triggered_in_syscall for sunos.
21287
21288 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21289
21290 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21291 they don't seem to exist. Do include stdio.h.
21292
21293 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21294
21295 * gdb.base/a1-selftest.exp: Add alpha xfail.
21296
21297 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21298
21299 * gdb.base/watchpoint.c (main): Prompt before calling read().
21300 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21301 Revise accordingly. Remove cruft about sending "123" several
21302 times, until it gets noticed. Clean up the "print buf[0]" stuff
21303 so that it passes or fails, and waits for prompts in the usual way.
21304
21305 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21306
21307 * gdb.base/recurse.exp: Fix comment.
21308
21309 * TODO: Remove item about printing variables in nodebug.exp. Add
21310 item about enabling tests which are only run on some targets.
21311
21312 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21313 fail, make test names unique, use new gdb_test convention
21314 regarding pattern, use gdb_test more, etc.).
21315
21316 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21317 fail, make test names unique, etc.).
21318
21319 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21320
21321 * gdb.base/nodebug.c: Change return type of top and middle to
21322 short.
21323 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21324 are fixed by the recent mdebugread.c changes. Allow `short ()'
21325 as type for top and middle.
21326
21327 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21328
21329 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21330 nearly as I can tell, the whole thing was an accident in Stu's
21331 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21332 to replace a send/expect pair with gdb_test, but ended up only
21333 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21334 of 30 Mar 1995 took care of it, but left this vestigial comment
21335 which I am now nuking.
21336
21337 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21338
21339 * gdb.base/break.exp: Look for different line number for
21340 breakpoint at main depending on usestubs.
21341
21342 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21343
21344 * gdb.base/list.exp: Adjust some alternate expect patterns to
21345 match recent list0.c change. Add alternate expect pattern for
21346 output from `list default lines around main' for optimizing
21347 compilers.
21348
21349 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21350
21351 * lib/gdb.exp: If nosignals is not set, set it to 0.
21352
21353 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21354
21355 * config/slite-gdb.exp: Responds to load symbol table prompt.
21356 * gdb.base/break.exp: Adjust line number, fix rerun.
21357 * gdb.base/langs0.c: Add #ifdef usestubs.
21358
21359 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21360
21361 * gdb.base/list.exp: Adjust line contents after adding new lines in
21362 list0.c. Also fix a syntax error.
21363
21364 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21365 * gdb.base/break.exp: ditto.
21366 * gdb.base/list.exp: ditto.
21367 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21368 * gdb.base/run.c: ditto.
21369 * gdb.base/list0.c: ditto.
21370 * gdb.base/funcargs.c: ditto.
21371
21372 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21373
21374 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21375 $targetname, $serialport and $baud instead of hardwired variables.
21376 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21377 target doesn't support signals.
21378
21379 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21380
21381 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21382
21383 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21384
21385 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21386 Don't rely on the value of an auto variable before it has been
21387 initialized. Use gdb_test more.
21388
21389 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21390
21391 * lib/gdb.exp (default_gdb_version): A version number must start
21392 with a digit, but other than that contains all characters up to
21393 the first whitespace character.
21394
21395 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21396
21397 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21398
21399 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21400
21401 * gdb.c++/*.exp: Warn if executable does not exist. The original
21402 reason for skipping the warning was that configure.in sometimes
21403 intentionally skipped building the executables but the tcl code
21404 had no way of knowing. That (a) was always bogus with respect to
21405 error handling, (b) is no longer true (right now there is no way
21406 to skip C++ tests).
21407
21408 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21409
21410 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21411
21412 * gdb.base/list.exp: Add expect patterns for output from
21413 SunPRO compiled executables.
21414 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21415 types.
21416
21417 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21418
21419 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21420 number (we are already testing that the correct source line text
21421 gets printed).
21422
21423 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21424 that is what is intended, but something needed to be done to get
21425 sunos4 native working again.
21426
21427 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21428
21429 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21430 apparently went with a (very) old xfail.
21431
21432 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21433
21434 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21435 runto_main is a proc in gdb.exp that will do 'step' for target use
21436 stubs.
21437 * gdb.base/exprs.exp: ditto.
21438 * gdb.base/interrupt.exp: ditto.
21439 * gdb.base/opaque.exp: ditto.
21440 * gdb.base/printcmds.exp: ditto.
21441 * gdb.base/ptype.exp: ditto.
21442 * gdb.base/scope.exp: ditto.
21443 * gdb.base/setvar.exp: ditto.
21444 * gdb.base/signals.exp: ditto.
21445 * gdb.base/twice.exp: ditto.
21446 * gdb.c++/classes.exp: ditto.
21447 * gdb.c++/inherit.exp: ditto.
21448 * gdb.c++/templates.exp: ditto.
21449 * gdb.base/break.exp: no run and hit main for stubs. Change line
21450 numbers for breakpoints and info breakpoint.
21451 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21452 breakpoint().
21453 * gdb.base/callfuncs.c: ditto.
21454 * gdb.base/exprs: ditto.
21455 * gdb.base/interrupt.c: ditto.
21456 * gdb.base/opaque0.c: ditto.
21457 * gdb.base/printcmds.c: ditto.
21458 * gdb.base/ptype.c: ditto.
21459 * gdb.base/scope0.c: ditto.
21460 * gdb.base/setvar.c: ditto.
21461 * gdb.base/signals.c: ditto.
21462 * gdb.base/twice.c: ditto.
21463 * gdb.c++/misc.cc: ditto.
21464 * gdb.c++/templates.cc: ditto.
21465
21466 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21467
21468 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21469
21470 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21471 somewhere between `read' and `main.c'. I'm pretty sure the
21472 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21473 and it isn't particularly useful.
21474
21475 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21476
21477 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21478
21479 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21480
21481 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21482
21483 * config/mt-slite: add LIBS and -nostdlib.
21484 * config/slite-gdb.exp: add this new file to support sparclite target.
21485
21486 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21487
21488 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21489
21490 * gdb.base/a2-run.exp: Change argument to istarget from
21491 "*-*-vxworks" to "*-*-vxworks*".
21492 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21493
21494 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21495
21496 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21497 will not runto main but do a 'step' to step out of breakpoint().
21498 * config/mt-slite: add -Dusestubs.
21499
21500 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21501
21502 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21503 instead of just @.
21504
21505 * gdb.base/signals.exp: Add test for "handle all print".
21506 * TODO: Remove "handle all print". Also remove item about
21507 checking copyright date (I don't like the idea of a spurious FAIL
21508 based on when we run the tests).
21509
21510 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21511 for SunOS4 (reason for failure not investigated). Remove
21512 redundant test for $binfile.
21513
21514 * gdb.base/nodebug.c (array_index): Call malloc.
21515
21516 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21517
21518 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21519
21520 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21521 conventions and slightly simplify the matching regexp.
21522
21523 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21524
21525 * gdb.base/break.exp: Update gdb_test invocation to use new
21526 convention.
21527
21528 * lib/gdb.exp: If noargs is not set, set it to 0.
21529
21530 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21531 tests unique.
21532
21533 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21534
21535 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21536
21537 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21538 one argument of type "<non-float parameter>".
21539
21540 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21541
21542 * config/rom68k.exp: New file to support Motorola IDP board.
21543 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21544 * gdb.base/break.c: Change things around so that this program
21545 doesn't depend upon args. This is necessary to make remote
21546 targets work (in general, they can't take args).
21547 * gdb.base/break.exp: Don't try to send args to program. Don't
21548 expect output. Also, replace lots of code with gdb_test.
21549
21550 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21551
21552 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21553 printing of '\'' (which is what the comment says we are testing,
21554 even though we were not), not '''.
21555 (test_integer_literals_rejected): Test that printing ''' is an error.
21556
21557 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21558 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21559 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21560 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21561 Use gdb_test not test_print_accept.
21562 * lib/gdb.exp: Remove test_print_accept.
21563
21564 * gdb.base/signals.exp (signal_tests_1): Make pass message
21565 consistent with fail message.
21566
21567 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21568 unsigned char; the bug (PR 1821) is fixed.
21569
21570 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21571
21572 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21573 successful tests--makes xfailing them work right.
21574
21575 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21576
21577 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21578 only \r\n, not .*. The test can pass .* as the last thing in
21579 $pattern if that is what it wants. In addition to providing this
21580 flexibility, this change should speed up pattern matching in cases
21581 where the pattern already ended with .* (there were a number of
21582 them). This change also helps catch bad patterns--in the old
21583 scheme the typo "char \*" instead of "char \\*" would pass. Now
21584 it is caught.
21585 * Many .exp files: Update callers.
21586
21587 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21588 clearer and does not spuriously match multiple ('s. Likewise for
21589 ) and *.
21590
21591 * gdb.base/nodebug.exp: Test ability to call a function and pass
21592 it a string (even with no debugging info).
21593
21594 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21595 "p '\'", which is the same as "p ''" once tcl gets done with
21596 quoting, to "p '\\'", which I suspect is what is intended (one
21597 backslash gets sent to GDB).
21598
21599 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21600
21601 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21602
21603 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21604 1817) was fixed literally years ago.
21605
21606 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21607
21608 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21609 test, it causes stepping out of call_after_alloca_subr with
21610 optimizing compilers.
21611 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21612 fails.
21613
21614 * gdb.c++/templates.exp: Source templ-info.exp only if
21615 the templates executable exists.
21616
21617 * gdb.c++/misc.cc (class Contains_static_instance,
21618 class Contains_nested_static_instance),
21619 gdb.c++/classes.exp (test_static_members): Test printing of
21620 a class that contains a static instance of the class.
21621
21622 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21623
21624 * gdb.base/langs2.c (cppsub_): Don't prototype.
21625 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21626 only, I believe).
21627
21628 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21629
21630 * lib/gdb.exp (skip_chill_tests): New procedure.
21631
21632 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21633
21634 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21635
21636 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21637 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21638
21639 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21640
21641 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21642
21643 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21644 disassemble 8, not 16, instructions for part 4.
21645
21646 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21647 support the latter anymore.
21648
21649 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21650 -DNO_PROTOTYPES.
21651 * gdb.base/callfuncs.c: Control use of prototypes based on
21652 NO_PROTOTYPES, not __STDC__.
21653 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21654 t_float_values2 tests if prototypes in use.
21655
21656 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21657 t_double_values): When checking differences against DELTA, check
21658 that difference is within the range (-DELTA,DELTA), not just
21659 (-infinity,DELTA).
21660
21661 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21662
21663 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21664 'file' command firts, then 'target', then 'load', this is due to gdb
21665 target set up.
21666 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21667
21668 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21669
21670 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21671 FP load/store variants.
21672 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21673
21674 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21675
21676 * gdb.base/term.exp: Do not give a warning if not native, it is
21677 not an abnormal condition.
21678
21679 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21680
21681 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21682 t_char_array".
21683
21684 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21685
21686 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21687 are getting the version number.
21688
21689 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21690 if not native, it is not an abnormal condition.
21691
21692 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21693
21694 * lib/gdb.exp: Just use "file exists", rather than undocumented
21695 dejagnu procedure "findfile".
21696
21697 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21698
21699 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21700 (LDFLAGS): Set to -Xlinker -Ur.
21701
21702 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21703 Removed, these values are set by lib/gdb.exp.
21704
21705 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21706
21707 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21708
21709 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21710 of replicating gdb startup code.
21711
21712 * config/mt-vxworks (LDFLAGS): Set to -r.
21713 (CFLAGS_FOR_TARGET): Removed.
21714
21715 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21716 (gdb) and gdb for vxworks uses (vxgdb).
21717
21718 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21719 executable is not in the tree and host != target, use sed and
21720 program_transform_name to determine the gdb name used by the
21721 target.
21722
21723 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21724 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21725
21726 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21727
21728 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21729 floats, chars, and shorts where there are ANSI-style function
21730 definitions.
21731
21732 * gdb.base/langs.exp, gdb.base/langs*: New test.
21733 * gdb.base/Makefile.in: Build it.
21734 * TODO: Remove item about checking that C names don't get C++
21735 demangling applied; this test tests it.
21736
21737 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21738
21739 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21740 went with the const70 xfail. The xfail went away a year ago.
21741
21742 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21743
21744 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21745 for hp300.
21746
21747 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21748
21749 * gdb.base/a1-selftest.exp: Don't run on hp300.
21750
21751 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21752
21753 * Makefile.in (site.exp): Set host_alias and target_alias as well
21754 as host_triplet and target_triplet.
21755
21756 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21757
21758 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21759
21760 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21761 places as other ecoff systems).
21762
21763 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21764 ultrix.
21765
21766 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21767
21768 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21769 remove them.
21770 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21771 variable and "variable" in addition to "data variable".
21772 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21773
21774 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21775 2.
21776 * gdb.base/list1.c (long_line): Add additional statement at start
21777 of function.
21778 * gdb.base/list.exp (test_forward_search): Update line number to
21779 reflect new statement.
21780
21781 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21782
21783 * gdb.base/signals.exp: Reinitialize searched source directories
21784 after gdb_start call.
21785
21786 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21787
21788 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21789 * gdb.stabs/Makefile.in: Likewise.
21790
21791 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21792 change. Instead split the tests into smaller pieces.
21793 * gdb.disasm/hppa.s: Corresponding changes.
21794
21795 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21796
21797 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21798 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21799
21800 * gdb.base/funcargs.exp: Modify many tests so that every test
21801 either passes or fails. Make some test names unique.
21802
21803 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21804
21805 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21806 Call stty to set interrupt character.
21807
21808 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21809 for HP assembler versus GNU assembler based on actual behavior of
21810 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21811
21812 * TODO: Suggest a few more stepping tests.
21813
21814 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21815
21816 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21817 restart GDB for h8300 after a continue.
21818 (return): Add pattern to match a29k-udi behavior.
21819 * gdb.base/nodebug.exp: Remove obsolete comment.
21820 * gdb.base/regs.exp: New file, testing of register displays.
21821 * gdb.base/return.exp: Fix typo in reference to $objdir.
21822 * gdb.base/whatis.exp: Always start with a fresh GDB.
21823
21824 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21825
21826 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21827 higher, these tests generate a lot of output.
21828
21829 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21830
21831 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21832 code following the catch silently ignored some errors; without the
21833 catch they should be thrown like any other tcl error. Also, the
21834 catch used "" instead of {} which meant all the callers who wanted
21835 to include one of the characters "[]$ had to quote it an extra time.
21836 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21837 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21838 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21839 Remove extra quoting.
21840
21841 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21842
21843 * gdb.base/commands.exp: Make test names unique; every test either
21844 passes or fails. Update some comments.
21845
21846 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21847
21848 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21849
21850 The following fixes a FAIL caused by the fact that the alpha stabs
21851 configuration didn't use the ".if alpha" code in weird.def.
21852 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21853 bit pointer, so the 32 bit version works even on the alpha.
21854 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21855 Remove the stuff which allowed us to have separate versions for
21856 alpha and everything else.
21857
21858 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21859 regexp which "info func operator\[\](" is supposed to match. Fix
21860 string to send to GDB. Note that GDB still doesn't work right. Add a
21861 new test for "info func .perator\[\](" which GDB does handle correctly.
21862
21863 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21864
21865 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21866
21867 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21868 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21869 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21870 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21871 it makes the tests harder to understand and confuses test-o-matic.
21872 The preferred style is that each test provides a PASS or a FAIL,
21873 and has a unique message (e.g. "continue #54" not just "continue")
21874 which is the same for the pass and the fail.
21875 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21876 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21877 to lib/gdb.exp.
21878 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21879 prt_accept which was basically the same thing. Likewise for
21880 test_print_reject and prt_reject.
21881 * lib/gdb.exp (test_print_reject): Add some more error message
21882 patterns to match from the former printcmds.exp (prt_reject).
21883 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21884 One defect of the passcount stuff is that some of it failed to
21885 report XPASS where appropriate.
21886 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21887 stuff before and after arg in expected pattern.
21888 (test_paddr_operator_functions): Re-do test without print_addr_of;
21889 this is the only test which seems to want extra stuff there.
21890
21891 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21892
21893 * gdb.base/nodebug.exp: Update new tests to reflect improved
21894 wording of gdb output.
21895
21896 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21897 and "ptype" work on variables in files compiled without -g.
21898 Replaces commented out "maint print msymbol" tests.
21899
21900 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21901
21902 * gdb.base/setvar.c (dummy): Call malloc.
21903
21904 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21905 losing with the irix4 sed.
21906
21907 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21908 ALRM" on irix4.
21909
21910 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21911
21912 * TODO: Remove items about corefile.exp testing new exec-file and
21913 backtrace; both are now done. Add items about printing enums.
21914
21915 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21916
21917 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21918 "get signal $thissig" test fails.
21919
21920 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21921
21922 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21923
21924 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21925 compiler warning with dec alpha compiler.
21926
21927 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21928 extra \n from gdb_test call (this explains why the prompt test
21929 that I removed yesterday was there).
21930 (user_defined_command_test): Remove extra \n and prompt test.
21931
21932 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21933 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21934 doesn't exist.
21935 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21936 Also remove alpha workaround, which turns out to be because
21937 SIGABRT == SIGLOST.
21938
21939 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21940
21941 * gdb.base/help.exp: Don't test "help show".
21942
21943 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21944
21945 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21946 "set print address" is on.
21947 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21948 pass prompt to gdb_test; gdb_test already looks for the prompt.
21949
21950 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21951
21952 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21953 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21954 was to make sure that gdb can read a core file. But (a) the "read
21955 the corefile" part didn't make it to a1-selftest.exp, we just
21956 delete the corefile after creating it, and (b) we test reading
21957 corefiles in corefile.exp anyway. Also, this test left around a
21958 xgdb process on Solaris.
21959
21960 * gdb.base/corefile.exp: Also test backtrace.
21961
21962 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21963
21964 * gdb.base/commands.exp: Test a simple user defined command with
21965 arguments and if/while statements; verify the full user command is
21966 printed by "show user".
21967
21968 * gdb.base/commands.exp: Test if/while commands as part of a
21969 breakpoint command list; verify they appear in breakpoint
21970 information.
21971
21972 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21973
21974 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21975 than by dividing by zero.
21976
21977 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21978
21979 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21980 performing an inferior call with watchpoints enabled.
21981 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21982 call.
21983
21984 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21985
21986 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21987 of "file" command.
21988
21989 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21990 Add additional pattern for when "int operator int(void);" appears
21991 in a different order.
21992
21993 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21994
21995 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21996
21997 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21998 and "signal" with ".*".
21999
22000 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22001
22002 * TODO: Add note about "handle all nostop".
22003
22004 * gdb.base/{sigall.c, sigall.exp}: New test.
22005 * gdb.base/Makefile.in: Add it.
22006
22007 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22008
22009 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22010 when invoking GDB, suppresses any windowing interface.
22011
22012 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22013
22014 * config/sim-gdb: New file, simulator testing support.
22015
22016 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22017
22018 * gdb.base/interrupt.exp: Test calling func1 twice.
22019
22020 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22021
22022 * gdb.base/list.exp (test_forward_search): Set timeout higher
22023 when we'll be getting lots of output from gdb.
22024
22025 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22026 "init_malloc" to after the expect statement. Run it if that
22027 regexp is taken, but also for two others which happen if source
22028 cannot be found.
22029
22030 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22031
22032 * gdb.base/printcmds.exp: New test, for printing register before
22033 program is running.
22034
22035 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22036
22037 * gdb.base/list.exp: Correct some alternate expect patterns
22038 to reflect changes in list1.c.
22039
22040 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22041
22042 * TODO: Add item regarding large frames.
22043
22044 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22045
22046 * TODO: Remove item about enabling return.exp; it
22047 is enabled. Suggest a few more "return" tests.
22048
22049 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22050
22051 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22052 anonymous unions.
22053
22054 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22055
22056 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22057 and pr-5646.o, so "make" is the same as "make all", not "make
22058 pr-4975.o".
22059
22060 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22061
22062 * gdb.base/list.exp: Adjust expectations to reflect changes in
22063 list1.c.
22064 (test_forward_search): New test proc.
22065 * gdb.base/list1.c (long_line): New function, has long source line.
22066
22067 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22068
22069 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22070 additional line of code that was added.
22071
22072 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22073
22074 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22075 tests so as not to overflow expect's input buffers.
22076 * gdb.disasm/hppa.exp: Corresponding changes.
22077
22078 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22079
22080 Beginnings of template debugging tests.
22081 * gdb.c++/templ-info.cc: New file to test for template
22082 debugging capability of the compiler.
22083 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22084 templ-info.cc.
22085 * gdb.c++/templates.cc: Add explicit template instantiations
22086 to enable compiling with -fno-implicit-templates. Add destructor
22087 and 'value' method to T5 class for template tests.
22088 * gdb.c++/templates.exp: Add testcases for printing of template
22089 types, setting breakpoints on template methods and calling a
22090 template method.
22091
22092 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22093
22094 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22095 branch target since some assemblers (gas-2.5) may emit a
22096 relocation for the branch instead of resolving it in the
22097 assembler.
22098
22099 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22100
22101 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22102 through signal handler.
22103
22104 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22105
22106 * configure.in (*-*-netware): Use config/mt-netware.
22107
22108 * config/mt-netware: New file.
22109 * config/mt-i386-netware: Removed, separate configs for different
22110 netware architectures are no longer needed now that we have
22111 --with-headers.
22112
22113 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22114
22115 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22116 by the recent changes to use ANSI C arithmetic conversions.
22117
22118 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22119
22120 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22121 bug involving using inferior_pid to figure out whether to select a
22122 frame.
22123
22124 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22125
22126 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22127 match the current disassembler output.
22128
22129 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22130
22131 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22132 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22133 types, expect "int" as type of integer values (for now).
22134
22135 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22136
22137 * gdb.base/commands.exp: New tests for if/while commands.
22138
22139 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22140
22141 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22142 by .*, since hex values have different syntax in Chill mode.
22143
22144 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22145
22146 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22147 linefeed from expect pattern for repeated types with indices > 9.
22148
22149 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22150
22151 First part of Fortran test suite.
22152 * gdb.fortran: New directory.
22153 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22154
22155 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22156
22157 * gdb.base/default.exp: Update expect pattern for load command
22158 without arguments.
22159
22160 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22161
22162 * configure.in: Change i386 to i[345]86.
22163 * gdb.base/configure.in: Likewise.
22164 * gdb.c++/configure.in: Likewise.
22165 * gdb.chill/configure.in: Likewise.
22166
22167 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22168
22169 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22170 patterns, since that is not a valid context for comments.
22171
22172 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22173
22174 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22175 repeated types and repeated types with indices > 9.
22176
22177 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22178
22179 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22180 2417; old bug has been fixed.
22181
22182 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22183
22184 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22185 send the newline ourselves instead of assuming gdb_test will do
22186 so when passed an empty input string.
22187
22188 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22189 stabs testcode.
22190
22191 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22192
22193 * lib/gdb.exp (gdb_test): Don't send anything if the first
22194 argument is an empty string. This makes cases where we want to
22195 match output that is already in expect's buffers (for example,
22196 matching a breakpoint after gdb_run_cmd has been called) work
22197 reliably.
22198
22199 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22200
22201 * config/netware.exp: New file.
22202
22203 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22204
22205 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22206 the -B and -L prefixes so we can find the debugging stub.
22207
22208 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22209 there and we are using the gcc from the tree.
22210
22211 * gdb.base/types.c: Removed.
22212
22213 * gdb.base/configure.in: Look for makefile fragments in ../config.
22214 Recognize i386-*-netware.
22215 * gdb.c++/configure.in: Likewise.
22216
22217 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22218
22219 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22220 the correct TCL syntax.
22221
22222 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22223
22224 * gdb.base/opaque.exp: use runto instead of messing around with
22225 breakpoints. Simplify by using gdb_test.
22226
22227 * gdb.base/bitfields.exp: restart between tests on netware targets
22228 because breakpoints aren't relocated after target death. Run
22229 processes to completion.
22230
22231 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22232
22233 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22234
22235 * Makefile.in: Remove extra tabs that confuse some versions
22236 of "make". Use the newly built gdb to test with by default,
22237 rather than the first one in the tester's search path.
22238
22239 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22240
22241 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22242
22243 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22244 condition help.
22245
22246 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22247
22248 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22249
22250 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22251 running.
22252 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22253 * gdb.base/funcargs.exp: Likewise.
22254
22255 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22256 * gdb.base/funcargs.exp: Likewise.
22257
22258 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22259 message is "".
22260
22261 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22262
22263 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22264 return,signals,twice}.exp: Handle non-existant binaries
22265 consistantly.
22266
22267 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22268 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22269 might testing a cross development system.
22270
22271 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22272
22273 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22274 runtest script is relative to ${srcdir}, not ${rootdir}.
22275
22276 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22277
22278 * gdb.base/signals.exp: Allow for optionality of breakpoint
22279 address.
22280
22281 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22282
22283 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22284
22285 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22286
22287 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22288 for size_t definition.
22289 * gdb.c++/templates.cc: Likewise
22290
22291 * config/mt-i386-netware: New file.
22292
22293 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22294 defined.
22295
22296 * gdb.base/Makefile.in: Added support for systems that name core
22297 files by appending "core" to the program name.
22298 * gdb.base/a1-selftest.exp: Likewise.
22299
22300 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22301
22302 * gdb.base/return.exp: Add comment and message for `return double'
22303 test failure on Sparc Solaris.
22304
22305 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22306
22307 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22308
22309 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22310
22311 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22312 from optimizing them away.
22313 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22314 patterns to include default constructors and assignment operators,
22315 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22316 character in the output of the virtual base pointer.
22317
22318 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22319
22320 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22321 expression match in print_addr_of to avoid unintented matches.
22322 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22323 versions up to 2.5.8.
22324
22325 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22326
22327 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22328 included file to run under newer versions of expect.
22329 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22330 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22331 Remove xfail for the virtual table of BDDHookV.
22332
22333 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22334
22335 * lib/gdb.exp (string_to_regexp): Set a default result.
22336 (default_gdb_start): Fix misleading message.
22337
22338 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22339
22340 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22341 Remove all CC, etc definitions.
22342 * config/mt-hpux: New file.
22343 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22344 (CFLAGS, LDFLAGS): Define.
22345 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22346
22347 * Makefile.in (site.exp): Don't insert host_os, etc.
22348 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22349 (distclean): Check existence of subdir.
22350 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22351 * gdb.base/Makefile.in: General cleanup and simplification.
22352 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22353 to build executables. Use default rule to build .o files.
22354 (EXPECT, RUNTEST, CC): Fix relative pathname.
22355 (site.exp): Don't insert host_os, etc.
22356 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22357 and/or SIGUSR1 defined.
22358 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22359 * gdb.c++/Makefile.in: General cleanup and simplification.
22360 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22361 (CFLAGS): Remove.
22362 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22363
22364 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22365
22366 * gdb.base/recurse.exp: Misc changes to get tests running again
22367 after Kung's changes to the watchpoint code.
22368 * gdb.base/watchpoint.exp: Likewise.
22369
22370 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22371
22372 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22373
22374 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22375
22376 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22377 * lib/gdb.exp (default_gdb_start): Define.
22378 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22379 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22380 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22381 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22382 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22383 Don't call gdb_target_udi in between tests.
22384
22385 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22386
22387 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22388 (which was basically just a local version of the same thing). In
22389 addition to avoiding duplication, gdb_test_exact is faster.
22390 * lib/gdb.exp (gdb_test_exact): Fix typo.
22391
22392 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22393 don't give an error.
22394
22395 * gdb.base/term.exp: Call delete_breakpoints before starting.
22396
22397 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22398 (t10): Add comment.
22399
22400 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22401
22402 Reorganization of the GDB Test Suite.
22403
22404 * gdb.base: New directory, contains all the basic tests.
22405 * gdb.c++: New directory, tests specific to C++.
22406 * gdb.chill: New directory, tests specific to Chill.
22407 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22408 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22409 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22410 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22411 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22412 t30-31 to chill).
22413 * */gdbme.*: Rename to match appropriate expect scripts.
22414 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22415 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22416 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22417 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22418 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22419 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22420 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22421 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22422 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22423 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22424 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22425 gdb.c++/virtfunc.cc: New names of C++ files.
22426 * gdb.chill/chillvars.ch: New name of Chill file.
22427 * gdb.base/configure.in, gdb.c++/configure.in,
22428 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22429 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22430 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22431 * configure.in (configdirs): Update to reflect directory changes.
22432 (target_abbrev): No longer define for any configuration.
22433 * Makefile.in: Cosmetic improvements to header comments.
22434
22435 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22436
22437 Various changes to gdb.t31:
22438
22439 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22440 * gdbme.ch: Make all key-words and predefineds be upper-case.
22441 * chillvars.exp: Expect key-words and predefinds in upper-case.
22442
22443 * chillvars.exp: Use gdb_test_exact many places.
22444 Change expected output for arrays (which now includes index labels).
22445
22446 * pr-5020.exp, gdme.ch (module PR_5020):
22447 New test, for PR-5020.
22448
22449 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22450
22451 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22452 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22453
22454 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22455
22456 * Makefile.in: Fix bit-rot in definitions of CHILL,
22457 CHILL_FOR_TARGET and Chill_LIB.
22458 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22459 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22460 CHILL, and CHILL_LIB.
22461
22462 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22463
22464 * Revert the previous changes. Please see Rob's directory
22465 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22466
22467 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22468
22469 * Makefile.in, configure.in, config/mips-gdb.exp,
22470 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22471 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22472 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22473 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22474 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22475 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22476 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22477 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22478 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22479 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22480 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22481 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22482 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22483 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22484 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22485 changes from 94Q1.
22486
22487 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22488
22489 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22490 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22491 Rob's new testing fragments.
22492
22493 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22494
22495 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22496 lib/gdb.exp: Replace error proc calls with perror.
22497
22498 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22499
22500 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22501 version also, match on casted version strings, and match on
22502 gdb startup case where the line numbers might be messed up.
22503
22504 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22505
22506 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22507 (CFLAGS): Delete it from here.
22508
22509 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22510
22511 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22512
22513 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22514
22515 * Makefile.in (RUNTEST): Default to just "runtest".
22516
22517 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22518
22519 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22520 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22521 the code has been restructured.
22522
22523 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22524
22525 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22526 \n, not just one of each.
22527
22528 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22529 /bin/cc gives a warning if you do.
22530
22531 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22532
22533 * gdb.t24/demangle.exp: change expect pattern of
22534 __t10ListS_link1ZUiRCUiPT0
22535
22536 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22537
22538 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22539 on local variables in recursive functions.
22540
22541 * gdb.t07/Makefile.in: Build the new test.
22542
22543 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22544
22545 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22546 directly. Instead compare the return values from actual calls.
22547
22548 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22549
22550 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22551
22552 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22553
22554 * From Peter Schauer with minor modifications.
22555 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22556 stops in mid-line in the caller. Add xfail for returning a float
22557 value on X86 targets.
22558
22559 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22560
22561 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22562 to avoid expect lossage.
22563 (fmem_LRbug_tests): Likewise.
22564 * gdb.disasm/hppa.s: Corresponding changes.
22565
22566 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22567 conditions to work with latest dejagnu/expect.
22568
22569 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22570 expected to fail on the PA.
22571 (backtrace in call with trampolines): Explicitly require main
22572 to be frame #1 (no trampolines should show up in backtrace).
22573
22574 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22575 "continue -expect".
22576 * gdb.t06/break.exp: Likewise.
22577 * gdb.t07/watchpoint.exp: Likewise.
22578 * gdb.t13/bitfields.exp: Likewise.
22579 * gdb.t15/{funcargs,return}.exp: Likewise.
22580 * gdb.stabs/weird.exp: Likewise.
22581 * config/{mips,udi}-gdb.exp: Likewise.
22582
22583 * hppa.sed: Enclose comments within a sed command to avoid
22584 losing with the old OSF1 sed.
22585
22586 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22587
22588 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22589 sequent dynix.
22590 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22591 * gdb.t15/funcargs.exp: Conditionally step again to really
22592 finish from marker_call_with_trampolines. Handle the case where
22593 the first step from within call_with_trampolines already steps
22594 us back to main.
22595 * gdb.t15/gdbme.c: Add comment to closing brace of
22596 call_with_trampolines for funcargs.exp.
22597
22598 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22599
22600 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22601 Fix typo(s).
22602
22603 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22604
22605 * gdb.t07/gdbme.c: More code for watchpoint testing.
22606
22607 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22608 "Hardware watchpoint" throughout file.
22609 (test_watchpoint_triggered_in_syscall): New test.
22610 (test_complex_watchpoint): New test.
22611
22612 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22613
22614 * gdbme.c (call_with_trampolines): New function to try and step
22615 into. Tests trampoline problems on the PA.
22616
22617 * funcargs.exp (localvars_in_indirect_call): No longer expect
22618 stepping into indirect call to fail on PAs.
22619 (test_stepping_over_trampolines): New test.
22620
22621 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22622
22623 * TODO: Add suggestions for static member function tests, and
22624 completion tests.
22625
22626 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22627
22628 * TODO: Add suggestions for "p/a" tests.
22629
22630 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22631 (default_gdb_exit): Replace all the hair with sending "quit" to
22632 the process with a simple close.
22633
22634 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22635
22636 * TODO: Add suggestions for shared library tests.
22637
22638 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22639
22640 * TODO: Add suggestions for x/s tests.
22641
22642 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22643
22644 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22645 "enable once", and "enable breakpoints once" with ".*".
22646
22647 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22648
22649 * TODO: Add suggestions about structure passing tests.
22650
22651 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22652
22653 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22654 the primary1 test, use work around if __GNUC__ < 2.
22655 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22656 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22657 Test for bad output rather than waiting for timeout. Issue
22658 second continue only if first continue failed.
22659
22660 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22661
22662 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22663 operator[] test with gdb_test because the old code didn't seem to
22664 be getting the quoting right with the new dejagnu.
22665
22666 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22667
22668 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22669 one from the path.
22670 * Makefile.in: Use a fresh expect if there is one, use runtest
22671 from the src tree if there is one.
22672
22673 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22674
22675 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22676 next over recursive call. Revise the tests from that point on
22677 (which had been skipped) to match GDB's actual (correct) output.
22678
22679 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22680 with next over a breakpoint whose condition is false.
22681
22682 * gdb.t00/help.exp: Comment out "help set print" tests just like
22683 (and for same reason as) "help set" test.
22684
22685 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22686
22687 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22688 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22689
22690 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22691
22692 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22693 necessary gdb_target_udi.
22694
22695 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22696
22697 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22698 1838 and 2417; they are fixed.
22699
22700 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22701 gdb.t03/ptype.exp (ptype structure, ptype union):
22702 Remove xfails; the test is looser than when the xfails were added.
22703
22704 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22705 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22706
22707 * gdb.t01/run.exp: Only run shell test if isnative.
22708
22709 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22710 since "run" automatically loads if necessary. Call gdb_target_udi
22711 after the "file" since "file" kills any execution target.
22712
22713 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22714 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22715 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22716 argument for UDI.
22717
22718 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22719
22720 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22721
22722 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22723
22724 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22725
22726 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22727 properly quoting regexps. This makes the second argument to
22728 demangle a fixed string, which matches the callers, instead of a
22729 shell-style pattern which is what the previous implementation
22730 used. Update some of the callers.
22731
22732 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22733
22734 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22735 (comib_nullified_tests): Fix typo.
22736 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22737 strings. No longer expected to fail.
22738
22739 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22740 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22741 strings. No longer expected to fail.
22742
22743 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22744 string. No longer expected to fail.
22745
22746 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22747
22748 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22749 No longer expected to fail.
22750
22751 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22752 string. No longer expected to fail.
22753
22754 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22755
22756 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22757 only in the names (I probably got most of them). I was even
22758 generous with some which differed in underscores in names, and
22759 probably missed a few, and I *still* was able to remove almost a
22760 third of the file with almost no impact on testsuite coverage.
22761
22762 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22763
22764 * gdb.t00/default.exp: Match udi_attach error message as well as
22765 the one from child_attach.
22766
22767 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22768
22769 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22770
22771 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22772 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22773
22774 * Move test with enums and partial symbols back to
22775 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22776 Reverts the change of 26 May 93. Per today's change to
22777 stabs.texinfo, the behavior that weird.exp was expecting was
22778 unreasonable; what is important is that the compiler+gdb get
22779 things right, which happens with a recent gcc. Also fix the test
22780 to deal with native compilers which put out the stab gdb can't
22781 deal with.
22782
22783 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22784
22785 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22786 in the names. The main thing these accomplish is to slow things down.
22787 Many more such duplicates surely remain.
22788
22789 * gdb.t00/help.exp: Comment out "help support" test just like
22790 (and for same reason as) "help set" test.
22791
22792 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22793
22794 * gdb.t06/break.exp: Remove setup_xfails for
22795 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22796 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22797 about known bug in gcc to include up through 2.5.8.
22798 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22799 well as "_vb$".
22800 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22801 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22802 with latest gcc and gdb.
22803 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22804 well as "_vb$".
22805
22806 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22807
22808 * configure.in (hppa*-*-*): Also configure and build stabs-only
22809 tests.
22810
22811 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22812
22813 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22814 * gdb.t10/configure.in (hppa*-*-*): Use it.
22815
22816 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22817
22818 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22819
22820 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22821
22822 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22823 versions prior to 1.13.5.
22824
22825 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22826
22827 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22828 the prompt is at the start of a line.
22829
22830 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22831
22832 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22833 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22834 in the copr tests now.
22835 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22836 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22837 expected to fail.
22838
22839 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22840
22841 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22842 gdb.t31/chillvars.exp, lib/gdb.exp:
22843 Tweak to run under either version of expect.
22844 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22845 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22846 * gdb.t11/list.exp: Remove extraneous whitespace.
22847
22848 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22849
22850 * gdb.t16/printcmds.exp (test_print_strings): Accept
22851 "(unsigned char *) " before the string.
22852
22853 * TODO: Add notes about printing of fancy types and GDB expressions.
22854
22855 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22856
22857 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22858 * gdb.t06/configure.in: Don't try to compile signals test program
22859 if doing mips-idt-ecoff.
22860
22861 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22862
22863 * Most .exp files: Tweak to run under either version of expect.
22864
22865 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22866
22867 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22868 xfails; I'm not sure why they are failing, but not because of PR 1806.
22869
22870 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22871
22872 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22873 defined in lib/gdb.exp.
22874
22875 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22876
22877 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22878 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22879 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22880 have to be typeless.
22881
22882 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22883
22884 * TODO: Add suggestion for copyright year test.
22885
22886 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22887
22888 * configure.in (*-*-lynxos*): Add stabs tests.
22889
22890 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22891
22892 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22893 so insert a tab before any assembler directive in column zero.
22894
22895 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22896 stores.
22897 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22898 stores.
22899 (fpu_short_memory_tests): Likewise.
22900
22901 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22902
22903 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22904 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22905 .stabs directives in comments.
22906
22907 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22908
22909 * TODO: New file, describing tests we could write.
22910 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22911
22912 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22913
22914 * gdb.t06/signals.exp: Add kludge to force re-sync.
22915
22916 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22917 to xgdb instead of gdb, get out of gdb.
22918
22919 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22920
22921 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22922 for info.
22923
22924 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22925
22926 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22927 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22928 * gdb.stabs/hppa.sed: New sed script for the PA.
22929
22930 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22931
22932 * gdb.stabs: Re-write weird.def and configuration to use sed
22933 instead of cpp. sed is portable and POSIX; cpp is neither.
22934
22935 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22936
22937 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22938
22939 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22940
22941 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22942
22943 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22944
22945 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22946 "_vb$".
22947 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22948 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22949
22950 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22951
22952 * lib/gdb.exp: Comment out code which depends on non-existent
22953 `transform' procedure.
22954
22955 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22956
22957 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22958 * lib/gdb.exp: Transform tool name.
22959 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22960 1.1's new error handling system.
22961
22962 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22963
22964 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22965
22966 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22967
22968 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22969 They made pattern matching so slow that timeouts happened on
22970 heavily loaded systems. Now any output from "show print" which
22971 gets us back to the GDB prompt is a PASS.
22972
22973 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22974
22975 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22976
22977 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22978
22979 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22980
22981 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22982 It is not from PR 3220.
22983
22984 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22985
22986 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22987 just started failing because they depended on the order the
22988 subcommands are presented, or exact docstring text. This kind of
22989 test is a pain and has minimal benefit.
22990
22991 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22992
22993 * gdb.t09/corefile.exp: At end of test, use "core" command with
22994 no arguments.
22995
22996 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22997
22998 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22999 17}/Makefile.in: Make it possible to run the testsuite with Sun
23000 make and CC = cross gcc by adding explicit build rules for .o
23001 files.
23002
23003 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23004
23005 * gdb.t15/funcargs.exp: Don't put comments on same line as
23006 setup_xfail (@#$*%& tcl braindamage!).
23007
23008 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23009
23010 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23011
23012 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23013
23014 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23015 * gdb.t20/inherit.exp: remove three dumplicate entries.
23016
23017 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23018
23019 * gdb.t06/break.exp: For "next over recursive call", fail on any
23020 incorrect output, not just on "factorial (value=2)".
23021
23022 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23023
23024 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23025 working now. Add an xfail if accesing a bss variable causes
23026 a memory error if the target is not yet run.
23027
23028 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23029
23030 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23031 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23032 name of __st* demangling (2 strings). Did Kung really get the
23033 more than 95 others right without testing them?
23034
23035 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23036
23037 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23038
23039 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23040
23041 * configure.in (configdirs): Add gdb.disasm
23042 * gdb.disasm: New directory for GDB disassembler tests.
23043 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23044
23045 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23046
23047 * gdb.t00/help.exp: Don't test "help set".
23048
23049 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23050 from within expect statements. None of these happen anymore and
23051 they cause regressions to be silently unnoticed.
23052
23053 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23054 messages) about known failures with gcc cygnus-2.4.5-930417.
23055
23056 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23057 comp-info.exp so it gets built if it doesn't exist.
23058
23059 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23060 it is no longer used.
23061 * gdb.t13/comp-info.c: Removed.
23062
23063 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23064
23065 * gdb.t06/signals.exp: Add xfail for sun3.
23066
23067 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23068
23069 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23070 relevant because ^C doesn't get sent but failure can be reproduced
23071 interactively).
23072
23073 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23074
23075 * gdb.stabs/alpha.mt: New configuration file for alpha.
23076 * gdb.stabs/configure.in: Use it.
23077 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23078 sharing with alpha.mt, redefine long to word via preprocessor.
23079 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23080 for alpha.
23081 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23082 native cc.
23083 * gdb.t00/teststrategy.exp: Change expect string so that we
23084 consume the `(xgdb)' from the command echo and from the gdb prompt.
23085 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23086 gdb currently compares all values as long, so this failure probably
23087 applies to any configuration where LONGEST is bigger than a target int.
23088 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23089 with gcc.
23090 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23091 to handle opaque pointers, gcc is.
23092 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23093 as first argument. Include <sys/types.h> and change all operator
23094 new definitions to use size_t.
23095 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23096 now that we use size_t.
23097
23098 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23099
23100 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23101 a long or float array cast all array members to the same type.
23102 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23103 with 64 bit longs.
23104 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23105 on alpha.
23106 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23107
23108 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23109
23110 * gdb.t24 (demangle.exp): Constructors of templates have names like
23111 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23112 section 14.6 of the ARM.
23113
23114 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23115 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23116 accomplish little and slow down the testsuite.
23117
23118 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23119 Accept spaces various places.
23120
23121 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23122
23123 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23124 with watchpoint enabled.
23125
23126 * Makefile.in: Remove definition of CC and remove the second
23127 definition of CXX (the "CXX = gcc" one remains). These definitions
23128 were causing backquotes to be expanded within backquotes, which
23129 doesn't work.
23130
23131 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23132
23133 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23134
23135 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23136
23137 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23138 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23139 by mips cc and contains no stabs entries.
23140
23141 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23142
23143 * config/vx-gdb.exp: Use fake device to load files rather than
23144 NFS.
23145 * lib/gdb.exp: New proc to do "file" command.
23146 * config/unix-gdb.exp: Use new "file" proc.
23147
23148 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23149
23150 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23151 Rework board rebooting slightly.
23152 (gdb_exit): Don't exit from the remote shell; there isn't one.
23153 * gdb.stabs/weird.exp: If a program is being debugged already,
23154 kill it.
23155 * gdb.t04/setvar.exp: Stop and restart gdb.
23156 * gdb.t05/expr.exp: Likewise.
23157 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23158 restart gdb and reload the program.
23159 * gdb.t08/opaque.exp: Likewise.
23160 * gdb.t12/scope.exp: Likewise.
23161 * gdb.t13/bitfields.exp: Likewise.
23162 * gdb.t15/funcargs.exp: Likewise.
23163 * gdb.t20/classes.exp: Likewise.
23164 * gdb.t03/ptype.exp: Increase timeout.
23165 * gdb.t16/printcmds.exp (test_print_string_constants,
23166 test_print_array_constants): Likewise.
23167 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23168 * gdb.t20/classes.exp (do_tests): Likewise.
23169 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23170
23171 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23172
23173 * gdb.stabs: Renamed *wierd* to *weird*.
23174
23175 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23176
23177 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23178 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23179
23180 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23181
23182 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23183 (do_tests): Remove xfail for whatis on one_var and two_var.
23184
23185 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23186
23187 * Makefile.in: Made cross building work better by adding
23188 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23189
23190 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23191
23192 * gdb.t15/{return.c,return.exp,Makefile.in}:
23193 New test, currently commented out.
23194
23195 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23196
23197 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23198 still running and removes the leftover named socket so GDb can do
23199 clean restarts.
23200
23201 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23202
23203 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23204 console, not GDB.
23205 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23206 cross testing works better with "make check"
23207 * config/unix-gdb: Use default procedures for exit and version.
23208 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23209 with the newest VxWorks.
23210
23211 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23212
23213 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23214 old form.
23215
23216 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23217 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23218
23219 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23220
23221 * config/unix-gdb.exp: Remove this version of gdb_exit
23222 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23223 Rob says he'll look at it when he gets back to testing boards.
23224
23225 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23226
23227 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23228 an expected fail for certain ptype commands.
23229
23230 * gdb.t20/classes.exp: Update expected results of "ptype class
23231 Base1" to account for the constructor that now appears in the type.
23232
23233 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23234
23235 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23236 disappeared from list.
23237 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23238 "alldone" proc with call to cleanup and exit.
23239 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23240 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23241 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23242 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23243 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23244 "alldone" proc with simple returns that suppress remaining
23245 tests. The alldone proc went away many months ago.
23246
23247 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23248
23249 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23250
23251 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23252
23253 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23254
23255 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23256 as vax gdb will display them.
23257
23258 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23259
23260 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23261 optimizers.
23262
23263 * scope.exp: Change "bad value for localval" messages so each one
23264 is unique.
23265
23266 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23267 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23268
23269 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23270
23271 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23272
23273 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23274 doesn't exist (due to optimization).
23275
23276 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23277
23278 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23279 contains \r because the filename is long.
23280
23281 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23282 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23283
23284 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23285
23286 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23287 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23288 Ultrix.
23289 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23290 int tests.
23291 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23292
23293 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23294
23295 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23296
23297 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23298 to match does not match the passing case but still matches the
23299 failing case.
23300
23301 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23302
23303 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23304
23305 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23306
23307 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23308 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23309 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23310 Remove various versions of gdb_exit.
23311 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23312 gdb_exit.
23313 * config/unix-gdb.exp: gdb_exit remains here, and should override
23314 the generic version, since it's doing a lot of wierd stuff that
23315 the other versions aren't. FIXME, fold it in, or abandon this
23316 version.
23317
23318 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23319
23320 * gdb.t24/demangle.exp: Add tests for PR 3220.
23321
23322 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23323
23324 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23325
23326 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23327
23328 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23329 "i386-*-*". Works for i486 as well.
23330
23331 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23332 bug, and expand domain of xfail to all SVR4 systems, since the
23333 actual problem is likely to be in generic SVR4 /proc support.
23334
23335 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23336
23337 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23338
23339 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23340
23341 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23342 xfails for other systems. Match a missing 'Continuing.' as an
23343 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23344
23345 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23346 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23347 Only issue warning for missing executables if -all option is used.
23348
23349 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23350 file if -all option is used. It's like an unpredictable XFAIL.
23351
23352 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23353
23354 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23355 for dynamically linked binaries.
23356
23357 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23358
23359 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23360
23361 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23362 to state that this is a known bug in old versions of g++.
23363
23364 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23365
23366 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23367 while waiting for `Continuing'.
23368
23369 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23370
23371 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23372 in text, data, and bss.
23373 * gdb.t10/nodebug.c: Add local and global test variables for
23374 initialized and uninitialized data.
23375
23376 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23377
23378 * config/unix-gdb.exp (gdb_exit): Add "wait".
23379
23380 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23381
23382 * gdb.t06/signals.exp: xfail the continue from the handler for all
23383 targets.
23384
23385 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23386 function with watchpoints enabled, the i386 call dummy starts with
23387 a call.
23388
23389 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23390 386 bsd names its corefiles.
23391
23392 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23393
23394 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23395 compilers don't grok it.
23396 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23397 with small octal ints rather than character constants, which
23398 are signed and might not fit if first promoted to int.
23399
23400 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23401
23402 * gdb.t09/Makefile.in (clean): Remove corefile.
23403
23404 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23405
23406 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23407
23408 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23409 and Jim Kingdon (kingdon@cygnus.com)
23410
23411 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23412 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23413 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23414
23415 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23416
23417 * gdb.t17/interrupt.exp: Add xfail for hppa.
23418
23419 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23420
23421 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23422 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23423 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23424 to determine signed-ness of bitfields and use the result to setup
23425 the xfail.
23426 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23427 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23428 call line is reached if necessary.
23429
23430 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23431
23432 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23433
23434 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23435
23436 * gdb.t06/break.exp: Also test `clear' command.
23437
23438 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23439
23440 * gdb.t00/teststrategy.exp: Remove extra quote.
23441
23442 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23443 watchpoint enabled to be for all non-68k machines.
23444
23445 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23446
23447 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23448
23449 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23450 targets use aout.mt instead of ecoff.mt as gas understands
23451 standard aout format.
23452
23453 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23454
23455 * lib/gdb.exp (runto): Don't insist that function we are running to
23456 was compiled with -g.
23457
23458 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23459
23460 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23461 to get back into the read system call.
23462 Accept leading newline in case where we woke it up.
23463
23464 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23465
23466 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23467 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23468 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23469 enable ecoff configuration.
23470
23471 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23472
23473 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23474
23475 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23476
23477 * gdb.t16/printcmds.exp: Add another printf test.
23478
23479 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23480
23481 * configure.in: If configured -with-stabs on any target, add
23482 stabsdirs to configdirs.
23483
23484 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23485
23486 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23487 fun" so pattern does not match the command itself.
23488
23489 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23490
23491 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23492
23493 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23494
23495 * gdb.t17/interrupt.exp: Test for more things.
23496
23497 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23498
23499 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23500 compiler arranges the code and line numbers.
23501
23502 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23503
23504 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23505
23506 * gdb.t00/help.exp: Increase expect input buffer size.
23507
23508 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23509
23510 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23511
23512 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23513
23514 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23515
23516 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23517 [0-9]*, not just [0-9].
23518
23519 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23520
23521 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23522
23523 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23524
23525 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23526
23527 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23528
23529 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23530
23531 * gdb.t06/signals.c: Add xfails for sun3.
23532
23533 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23534
23535 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23536 test_stepping tests.
23537
23538 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23539
23540 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23541
23542 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23543
23544 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23545 rather than actually putting it through cpp twice.
23546
23547 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23548
23549 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23550
23551 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23552 no longer needed.
23553
23554 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23555
23556 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23557
23558 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23559 C++ features prints as "struct", make it a pass, not an xfail.
23560
23561 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23562
23563 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23564 Don't require VA to print as "class" rather than "struct".
23565
23566 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23567
23568 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23569
23570 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23571
23572 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23573
23574 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23575
23576 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23577 order.
23578
23579 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23580
23581 * gdb.t16/printcmds.exp: Add printf tests.
23582
23583 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23584
23585 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23586
23587 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23588
23589 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23590 pass counts, to counteract any existing or future setup_xfails.
23591
23592 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23593
23594 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23595 {BEGIN,END}_COMMON for common block instead of STAB.
23596 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23597
23598 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23599 intp_var should be N_GSYM not N_LSYM.
23600 wierd-aout.S: Use a label for the value of the N_SO.
23601 wierd.def: Remove all backslashes.
23602 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23603
23604 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23605
23606 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23607 get the expected next to inheritance3.
23608
23609 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23610
23611 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23612 now that gcc-2.4 gets it right.
23613
23614 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23615
23616 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23617
23618 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23619 generating comp-info.exp which works for cross-compilation.
23620
23621 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23622
23623 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23624 "*-*-sysv4.*".
23625
23626 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23627
23628 * gdb.t01/run.exp: Start with a fresh gdb.
23629 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23630 SVR4.x.
23631
23632 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23633
23634 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23635 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23636 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23637 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23638 things to remove.
23639
23640 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23641
23642 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23643 test cases from bug reports.
23644
23645 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23646
23647 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23648 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23649 avoid spurious xfails.
23650 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23651 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23652 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23653
23654 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23655
23656 * gdb.t00/teststrategy.exp: Rework to provide more useful
23657 description of each test, fix problem with systems that define
23658 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23659 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23660 results for "next over recursive call" so timeouts aren't taken
23661 by error.
23662
23663 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23664
23665 * gdb.t12/scope.exp: Test printing of variables before run.
23666
23667 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23668 printed in wrong order due to sorting.
23669
23670 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23671
23672 * gdb.t00/teststrategy.exp: Fix expected results for printing
23673 user entered string constant. Is array of char, prints with no
23674 address.
23675
23676 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23677 commands.
23678 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23679 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23680 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23681 of struct of char arrays.
23682 * gdb.t00/radix.exp: New tests for radix commands.
23683
23684 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23685
23686 * gdb.t16/printcmd.exp: Print a variable before running program
23687 (with xfail for AIX).
23688
23689 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23690
23691 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23692
23693 * gdb.t16/printcmd.exp: Don't print variables before running program.
23694
23695 * gdb.t06/break.exp: Don't require envp argument to main.
23696
23697 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23698
23699 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23700 Add xfails for rs6000.
23701
23702 * gdb.t02/whatis.exp: Change other tests not to re-test something
23703 we already tested.
23704
23705 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23706 each type used has a variable of that type.
23707
23708 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23709
23710 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23711
23712 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23713
23714 * configure.in: change srctrigger to be a file, not a directory
23715
23716 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23717
23718 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23719
23720 * gdb.t11/list.exp: Fixed a couple of typos.
23721
23722 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23723
23724 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23725 is fixed and PR is closed.
23726 * gdb.t16 (gdbme.c): Add simple test string variable.
23727 * gdb.t16 (printcmds.exp): Add tests with simple test string
23728 variable, primarily for boundaries on "set print elements".
23729
23730 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23731
23732 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23733 Make leading 0's optional and don't expect a tab in the middle
23734 of the number.
23735
23736 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23737
23738 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23739 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23740 don't end command passed to gdb_test with newline.
23741
23742 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23743 signed keyword away, don't expect signed bitfields to be signed.
23744
23745 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23746 printing with only as many 1's as are in the field as well as printing
23747 with 32 1's (see comment).
23748
23749 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23750
23751 * gdb.t00/default.exp: Start with a fresh gdb.
23752 * configure.in (configdirs): Remove gdb.t31 until the chill
23753 compiler works again. It no longer is able to find chillrt0
23754 since it isn't in libchill.a anymore.
23755 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23756 wierd.o, make more modular.
23757 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23758 spurious newlines that caused problems.
23759
23760 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23761
23762 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23763 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23764 gdb.stabs/wierd.{exp,def}: Many new tests.
23765
23766 * gdb.t00/default.exp: update info line for new message.
23767
23768 * gdb.t02/{whatis.exp,gdbme.c}:
23769 Test that "char *" doesn't print as "caddr_t".
23770
23771 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23772
23773 * gdb.t00/help.exp: Use .* in place of some help messages which
23774 just changed.
23775 gdb.t00/default.exp: Update "info frame" test for new message.
23776 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23777 Remove some xfails
23778
23779 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23780
23781 * gdb.t03/{gdbme.c,ptype.exp}:
23782 Add tests for typedef'd struct and union without tags.
23783 Also check "whatis" on a variable of a typedef'd enum without a tag.
23784
23785 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23786 PRMS 1823; the bug still exists but isn't reproduced by this test
23787 anymore), and remove rs6000 XFAIL (the bug is fixed).
23788
23789 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23790 duplicated from whatis.exp. For those that are left, accept
23791 "long", "long int", or "int" for long variables (whatis.exp already
23792 has an XFAIL for "int", so no need to fail it here).
23793
23794 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23795 Deal with GCC's names for types now that GDB uses the compiler's names.
23796
23797 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23798 setup_xfail's for sunos4. If we #defined the signed keyword away,
23799 don't expect GDB to know that char it is signed.
23800
23801 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23802
23803 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23804
23805 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23806 should work on any system, regardless of debugging format.
23807 * gdb.t21/demangle.exp: Move to gdb.t24.
23808 * gdb.t24/demangle.exp: Move from gdb.t21.
23809 * gdb.t24/{Makefile.in, configure.in}: New files.
23810
23811 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23812
23813 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23814 * gdb.stabs: New directory.
23815
23816 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23817
23818 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23819 not just "Quit anyway?".
23820
23821 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23822
23823 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23824 that all setup_xfails are immediately followed by clear_xfails.
23825
23826 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23827
23828 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23829 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23830 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23831 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23832 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23833 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23834 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23835 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23836 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23837 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23838 gdb.t31/chillvars.exp, lib/gdb.exp:
23839 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23840 bug-gdb@prep.ai.mit.edu.
23841
23842 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23843
23844 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23845 with 0.0, not integer 0.
23846
23847 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23848
23849 * gdb.t06/break.exp: Update for "Kill the program" message change.
23850
23851 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23852
23853 * Makefile.in (GDBFLAGS): Set to -nx.
23854 * Makefile.in (site.exp): Use GDBFLAGS.
23855
23856 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23857
23858 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23859 Makefiles.
23860 (check): depend on just-check.
23861 (just-check): added so that tests can be run without a noop
23862 build pass.
23863
23864 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23865
23866 Switch to using configure's configdirs.
23867 * Makefile.in (Makefile): add configure.in dependency.
23868 (SUBDIRS): removed redundant assignment.
23869 * configure.in: switch subdirs assignment to configdirs.
23870 * gdb.t*/configure.in: new files.
23871
23872 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23873
23874 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23875 works.
23876
23877 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23878
23879 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23880 in explicit rules. Apparently this is not supported by some makes.
23881
23882 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23883
23884 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23885
23886 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23887
23888 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23889 disappeared.
23890
23891 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23892
23893 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23894
23895 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23896
23897 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23898 watchpoint problem that is now fixed.
23899 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23900 uninitialized convenience variables.
23901 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23902 structures.
23903
23904 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23905
23906 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23907 which causes expect to get out of sync with gdb on long output
23908 from help set.
23909 * gdb.t09/corefile.exp: Make expected pattern for core file
23910 failing signal and frame output format less sun specific.
23911
23912 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23913
23914 * gdb.t31/chillvars.exp: Add and remove initial dummy
23915 breakpoint, so that symbol table is forced in.
23916 (Needed at least on Sunos4, though it seems not SVR4.)
23917 * gdb.t31/chillvars.exp: Update for changed output format.
23918
23919 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23920
23921 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23922
23923 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23924
23925 * Makefile.in: Added --srcdir when invoking runtest, removed the
23926 need for a local config file. (optional now)
23927
23928 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23929
23930 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23931 failure count used to force early termination. Add some more
23932 expected failures for gnu style demangling.
23933
23934 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23935
23936 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23937 pmi variable from gdb.t20/gdbme to get optimized away.
23938 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23939 Check for written corefile upon timeout _and_ eof.
23940
23941 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23942
23943 * config/unix-gdb.exp: Add missing return 0.
23944
23945 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23946
23947 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23948 test termination.
23949
23950 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23951
23952 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23953 disappeared.
23954
23955 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23956
23957 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23958 time as i860 support works.
23959
23960 * gdb.t15/funcargs.exp: Fix expected outputs to include
23961 "backtrace 100\r" rather than just "backtrace\r", to match last
23962 change.
23963
23964 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23965
23966 * config/udi-gdb.exp (gdb_exit): Remove close command.
23967 (gdb_target_udi): New procedure to set the UDI target.
23968 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23969 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23970 Added waits for prompts after several question responses. Added
23971 some more responses used by a29k-amd-udi-gdb.
23972 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23973 pass different arguments, restart UDI connection after program
23974 completion.
23975 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23976 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23977 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23978 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23979 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23980 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23981 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23982 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23983 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23984 after program completion.
23985 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23986 compiled with a SELECT_VECS setting.
23987 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23988 infinite recursion.
23989
23990 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23991 Added checks for COFF results, and made them expected failures for
23992 all targets. It would be better to make them expected failures
23993 for COFF targets only.
23994
23995 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23996
23997 * Makefile.in: add null dvi target, don't bother to recurse
23998 through test directories for info and install-info; rename
23999 $(datadir) to be dejagnu instead of deja-gnu
24000
24001 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24002
24003 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24004 compiler to coredump.
24005 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24006 code.
24007
24008 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24009
24010 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24011 coredump.
24012 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24013 code.
24014
24015 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24016
24017 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24018 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24019 which in a shell. Deletes xgdb when done.
24020 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24021 Tests the return from the "set height" or "set width" commands.
24022 Added a few return codes where needed.
24023
24024 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24025
24026 * Makefile.in (SUBDIRS): Add gdb.t17.
24027 * configure.in (subdirs): Add gdb.t17.
24028 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24029 files to test gdb's calling of functions in the inferior with
24030 the correct arguments and gdb's ability to retrieve any
24031 result returned.
24032
24033 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24034
24035 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24036 may be called after gdb goes away. Previous versions of expect
24037 needed these to avoid file descriptor leaks, but they cause
24038 errors with the current revision of expect.
24039 * gdb.t00/gdbvars.exp: Use -re on expected output after
24040 setting sevenbit-strings.
24041 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24042 to set sevenbit-strings consistent across tests.
24043 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24044 set sevenbit-strings consistent across tests.
24045
24046 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24047
24048 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24049 expected output to match current "expect" expectations.
24050
24051 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24052
24053 * gdb.t00/default.exp: Change expected output for default "source"
24054 command, to match new gdb behavior which requires a filename to
24055 source.
24056
24057 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24058
24059 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24060 expected fail for i486-*-* that misses the marker2 function.
24061 * gdb.t10/crossload.exp (bfddefault): Allow successful
24062 recognition of a format to pass even if no symbols are found.
24063 Explicitly catch failures where the format is not recognized
24064 or is ambiguous, and add the reason to the fail message.
24065 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24066 the cause is and invalid target and add reason to failure message.
24067 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24068 elf32-i386, elf32-sparc, and elf32-i860.
24069 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24070 Set up expected failure for 'filename'::variable scope resolution,
24071 which is now apparently broken on all targets.
24072 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24073 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24074 gdb.t23/templates.exp: Change failure for missing binfile into
24075 just a warning.
24076 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24077 references.
24078
24079 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24080
24081 * gdb.t00/default.exp: Add expected output for default "source"
24082 command, to match new gdb behavior.
24083 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24084
24085 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24086
24087 * config/*-gdb.exp: returns an error, rather than exiting on
24088 internal errors.
24089
24090 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24091
24092 * gdb.t03/gdbme.c: Add pointer to struct variable.
24093 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24094 referencing struct members.
24095
24096 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24097
24098 * configure.in (mips-idt-ecoff): New target.
24099 * config/mips-gdb.exp: New file for remote board using MIPS remote
24100 debugging protocol.
24101
24102 * Redid configuration scheme. Removed gdb.t*/configure.in.
24103 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24104 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24105 distclean targets. Built executables via .o files. Adjusted
24106 tests to account for source files in $(srcdir) rather than
24107 $(objdir).
24108 * lib/gdb.exp (runto): Don't expect () after the function name,
24109 because it may have arguments.
24110
24111 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24112
24113 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24114 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24115 expected failures for mips-idt-* and mips-sgi-*.
24116 * gdb.t00/default.exp (attach): Kill process if requested.
24117 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24118 that does not read core files.
24119 * gdb.t01/run.exp: Removed checks for exit status code.
24120 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24121 it is linked in.
24122 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24123 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24124 appropriate, rather than doing it by hand.
24125 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24126 execution.
24127 * gdb.t10/crossload.exp: Kill existing program if needed.
24128 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24129 appropriate, rather than doing it by hand. Always increase
24130 timeout for this test, not just for VxWorks.
24131
24132 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24133
24134 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24135 of Chill STRUCT types and STRUCT values.
24136 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24137 than "char".
24138 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24139 struct2): New struct definitions and initializations to test
24140 simple Chill STRUCT types.
24141
24142 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24143
24144 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24145 the null byte at the end of strings.
24146 * gdb.t00/default.exp: Make show version insensitive to copyright
24147 date.
24148 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24149 to avoid dependencies on target char signedness.
24150 * gdb.t16/printcmds.exp: Update expected results for explicitly
24151 unsigned char.
24152 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24153 now work.
24154 * gdb.t21/demangle.exp: Add many more patterns for template
24155 demangling, most of them being expected failures.
24156 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24157 string we are matching for, to match on the whole string.
24158 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24159 and fix a whole bunch that had incorrect expected output but were
24160 passing anyway because of the bug in "proc demangle".
24161 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24162 type.
24163 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24164
24165 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24166
24167 * gdb/testsuite: made modifications to testcases, etc., to allow
24168 them to work properly given the reorganization of deja-gnu and the
24169 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24170
24171 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24172
24173 * gdb/testsuite: Initial creation of gdb/testsuite.
24174 Migrated dejagnu testcases and support files for testing nm to
24175 gdb/testsuite from deja-gnu. These files were moved "as is"
24176 with no modifications. This migration is part of a major overhaul
24177 of dejagnu. The modifications to these testcases, etc., which
24178 will allow them to work with the new version of dejagnu will be
24179 made in a future update.
24180
24181 For additional changes see gdb.mi/ChangeLog-1999-2003.
24182 \f
24183 ;; Local Variables:
24184 ;; mode: change-log
24185 ;; left-margin: 8
24186 ;; fill-column: 74
24187 ;; version-control: never
24188 ;; End:
24189
24190 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24191 2003, 2004, 2005 Free Software Foundation, Inc.
24192 Copying and distribution of this file, with or without modification,
24193 are permitted provided the copyright notice and this notice are preserved.
This page took 0.601159 seconds and 4 git commands to generate.