gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 PR 12573
4 * gdb.dwarf2/dw2-skip-prologue.S: New file.
5 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7
8 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9
10 * gdb.cp/psymtab-parameter.cc: New file.
11 * gdb.cp/psymtab-parameter.exp: New file.
12
13 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 Fix a race.
16 * gdb.cp/static-print-quit.exp (print c): Split to ...
17 (print c - <return>, print c - q <return>, print c - to quit):
18 ... these. Make the testfile untested on gdb-7.1.
19
20 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
21
22 * lib/gdb.exp (exec_target_file, exec_symbol_file,
23 gdb_rename_execfile, gdb_touch_execfile): New.
24 * gdb.base/reread.exp: Use new procs to handle multiple
25 exec files.
26
27 2011-05-05 Yao Qi <yao@codesourcery.com>
28
29 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
30 (test_adr_32bit, test_pop_pc): New.
31 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
32 (test_adr_32bit, test_pop_pc): New.
33
34 2011-05-04 Joseph Myers <joseph@codesourcery.com>
35
36 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
37 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
38 targets.
39 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
40 handle targets.
41
42 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 * gdb.base/completion.exp (complete help info wat): Rename to ...
45 (complete 'help info wat'): ... here.
46 Remove all `-re ".*' and `-re "^.*' redundant regexes.
47 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
48
49 2011-05-04 Pedro Alves <pedro@codesourcery.com>
50
51 * gdb.base/completion.exp: Use gdb_test_multiple instead of
52 gdb_test and explicit $gdb_prompt/timeout matches.
53
54 2011-05-04 Yao Qi <yao@codesourcery.com>
55
56 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
57 and __thumb2__.
58
59 2011-05-03 Marek Polacek <mpolacek@redhat.com>
60
61 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
62 in place of `gdb_test "delete breakpoints"'. This eliminates two
63 testcases.
64
65 2011-05-02 Pedro Alves <pedro@codesourcery.com>
66
67 PR testsuite/12649
68 Fix races.
69
70 * gdb.base/completion.exp: Remove all sleep calls. Remove
71 unnecessary regexs. Don't explicitly expect anything after the
72 prompt. Eat the prompt if necessary.
73
74 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
75
76 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
77 accept to show the caller line again as well as the line after.
78
79 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
80
81 PR mi/12531
82
83 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
84 compile target.
85 * gdb.python/py-prettyprint.exp: Add C++ object for
86 CPLUS_FAKE_CHILD test.
87
88 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
89
90 * gdb.base/signest.exp: New file.
91 * gdb.base/signest.c: Likewise.
92
93 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
94
95 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
96 thread and breakpoint notifications.
97
98 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
99
100 * gdb.base/fortran-sym-case.c: New file.
101 * gdb.base/fortran-sym-case.exp: New file.
102 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
103 * gdb.dwarf2/dw2-case-insensitive.c: New file.
104 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
105
106 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
109 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
110 false #1', `if true else false #2' and `if true else false #3'.
111
112 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
113
114 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
115 while delivering signal.
116
117 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
118
119 MI breakpoint notifications.
120
121 * testsuite/gdb.mi/mi-cli.exp: Adust.
122 * testsuite/gdb.mi/mi2-cli.exp: Adust.
123 * testsuite/gdb.mi/mi-watch.exp: Adust.
124 * testsuite/gdb.mi/mi2-watch.exp: Adust.
125 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
126 notifications.
127
128 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 * gdb.base/gdbindex-stabs-dwarf.c: New file.
131 * gdb.base/gdbindex-stabs.c: New file.
132 * gdb.base/gdbindex-stabs.exp: New file.
133
134 2011-04-25 Yao Qi <yao@codesourcery.com>
135
136 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
137 with /*...*/.
138 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
139
140 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * gdb.python/py-value.exp (test_objfiles): Name the first test
143 `py-value in file.filename'.
144
145 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
148 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
149 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
150 !gdbserver_reconnect_p..
151 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
152
153 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
154
155 * gdb.cp/cpcompletion.exp (complete class methods)
156 (complete class methods beginning with F): Move them above runto. New
157 comment about the runto delimiter.
158
159 2011-04-20 Pedro Alves <pedro@codesourcery.com>
160
161 * gdb.base/maint.exp: Test that "maint print registers" works
162 without a running program.
163
164 2011-04-20 Marek Polacek <mpolacek@redhat.com>
165
166 * gdb.base/setshow.exp: Fix racy tests.
167 ($old_gdb_prompt): New variable.
168
169 2011-04-19 Tom Tromey <tromey@redhat.com>
170
171 * gdb.mi/mi-nsmoribund.exp:
172 * gdb.hp/gdb.objdbg/objdbg01.exp:
173 * gdb.base/structs.exp (test_struct_returns):
174 * gdb.base/call-sc.exp (test_scalar_returns):
175 * gdb.base/bigcore.exp: Remove duplicate words.
176
177 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * gdb.base/break-interp-lib.c (v, vptr): New variables.
180 * gdb.base/break-interp.exp (test_attach): New comment.
181
182 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
183
184 * gdb.threads/gcore-thread.exp ($core0file): New variable.
185 (clear __stack_user.next, clear stack_used.next)
186 (save a zeroed-threads corefile): New test.
187 Call core_load for $core0file.
188 (zeroed-threads cannot be listed): New test.
189
190 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
191
192 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
193 filename.
194 ($srcfile): Preserve the original value.
195 ($testfile): Match it the .exp filename.
196 ($corefile): New variable. Substitute it around.
197 Use clean_restart.
198 ($prev_timeout): Remove.
199 (load_core): Move core loading into this proc.
200 Fix restore of $timeout if load_core fails.
201
202 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
203
204 * gdb.base/eu-strip-infcall.c: New file.
205 * gdb.base/eu-strip-infcall.exp: New file.
206
207 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
208
209 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
210 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
211
212 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
213
214 Fix Python access to inlined frames.
215 * gdb.python/py-frame-inline.c: New file.
216 * gdb.python/py-frame-inline.exp: New file.
217
218 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
219
220 * gdb.base/gdb1090.exp: Change breakpoint location to read the
221 content of 's24' correctly (avoiding "optimized out").
222 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
223
224 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
227
228 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
229
230 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
231 expect a colon in watch -location output.
232
233 2011-04-13 Marek Polacek <mpolacek@redhat.com>
234
235 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
236 New testcase `expect response to define backtrace'. Also remove
237 redundant `default' block.
238
239 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
240
241 * gdb.python/py-prettyprint.c (struct hint_error): New.
242 (main): New variable hint_error.
243 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
244 "print hint_error".
245 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
246 (register_pretty_printers): Register it.
247
248 2011-04-04 Tom Tromey <tromey@redhat.com>
249
250 * gdb.cp/maint.exp (test_help): Update.
251 (test_namespace): Likewise.
252
253 2011-04-01 Joel Brobecker <brobecker@adacore.com>
254
255 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
256 * gdb.ada/arrayptr.exp: Add new tests.
257
258 2011-04-01 Joel Brobecker <brobecker@adacore.com>
259
260 * gdb.ada/mi_catch_ex: New testcase.
261
262 2011-04-01 Pedro Alves <pedro@codesourcery.com>
263
264 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
265 base::overload(void) method without specifying "const".
266
267 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
268
269 * gdb.arch/thumb-singlestep.S: New file.
270 * gdb.arch/thumb-singlestep.exp: Likewise.
271
272 2011-03-31 Tom Tromey <tromey@redhat.com>
273
274 * gdb.python/py-prettyprint.py (exception_flag): New global.
275 (NoStringContainerPrinter._iterator.next): Check it.
276 * gdb.python/py-prettyprint.c (main): New variable nstype2.
277 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
278
279 2011-03-29 Tom Tromey <tromey@redhat.com>
280
281 * gdb.cp/anon-struct.cc: New file.
282 * gdb.cp/anon-struct.exp: New file.
283
284 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
285
286 Test STT_GNU_IFUNC support.
287 * gdb.base/gnu-ifunc-lib.c: New file.
288 * gdb.base/gnu-ifunc.c: New file.
289 * gdb.base/gnu-ifunc.exp: New file.
290
291 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
292
293 Support a ring of related breakpoints.
294 * gdb.base/watchpoint-delete.c: New file.
295 * gdb.base/watchpoint-delete.exp: New file.
296
297 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
298
299 * gdb.ada/arrayparam.exp (print first after function call): Use
300 explicit package name. Add a comment
301 (print lasta after function call): Rename ...
302 (print last after function call): ... it and use explicit package
303 name.
304 (print length after function call): Use explicit package name.
305 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
306 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
307 (multiple matches for symbol i): Rename ...
308 (multiple matches for symbol integervar): ... it.
309 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
310 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
311
312 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
313
314 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
315 environment variable to make grep output more predictable. Move
316 all the environment setup into gdb_init so it's done once per test
317 case rather than each time we start gdb.
318
319 2011-03-24 Tom Tromey <tromey@redhat.com>
320
321 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
322 test.
323
324 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
325
326 * gdb.dwarf2/dw2-entry-value-main.c: New file.
327 * gdb.dwarf2/dw2-entry-value.S: New file.
328 * gdb.dwarf2/dw2-entry-value.exp: New file.
329
330 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
331
332 PR python/12183
333
334 * gdb.python/py-function.exp: Add GdbError tests.
335
336 2011-03-18 Pedro Alves <pedro@codesourcery.com>
337
338 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
339 (reglocal_test_func, statlocal_test_func): New functions.
340 (globals_test_func): Call new functions.
341 * gdb.trace/unavailable.exp (gdb_collect_args_test)
342 (gdb_collect_locals_test): New procedure.
343 (gdb_trace_collection_test): Call new procedures.
344
345 2011-03-18 Pedro Alves <pedro@codesourcery.com>
346
347 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
348 (test_register, test_register_unavailable): New procedures.
349 (gdb_unavailable_registers_test): New procedure.
350 (gdb_trace_collection_test): Call it.
351
352 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
353
354 PR python/12149
355
356 * gdb.python/python.exp: Add gdb.write tests.
357
358 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
359
360 * gdb.python/Makefile.in: Add py-objfile.
361 * gdb.python/py-objfile.exp: New file.
362 * gdb.python/py-objfile.c: New file.
363 * gdb.python/py-block.exp: Add is_valid tests.
364 * gdb.python/py-inferior.exp: Ditto.
365 * gdb.python/py-infthread.exp: Ditto.
366 * gdb.python/py-symbol.exp: Ditto.
367 * gdb.python/py-symtab.exp: Ditto.
368
369 2011-03-16 Keith Seitz <keiths@redhat.com>
370
371 PR c++/12273
372 * gdb.cp/cmpd-minsyms.exp: New test.
373 * gdb.cp/cmpd-minsyms.cc: New file.
374
375 PR c++/11734
376 * gdb.cp/ovsrch.exp: New test.
377 * gdb.cp/ovsrch.h: New file.
378 * gdb.cp/ovsrch1.cc: New file.
379 * gdb.cp/ovsrch2.cc: New file.
380 * gdb.cp/ovsrch3.cc: New file.
381 * gdb.cp/ovsrch4.cc: New file.
382
383 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
384
385 PR gdb/12528
386 * gdb.base/Makefile.in: Adjust EXECUTABLES.
387 * gdb.base/break-on-linker-gcd-function.exp: New test.
388 * gdb.base/break-on-linker-gcd-function.cc: New file.
389
390 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
391
392 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
393
394 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
395
396 * lib/gdb.exp (gdb_unload): Add another termination case.
397
398 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
399
400 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
401 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
402 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
403 Provide a stub byte there.
404 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
405 DW_AT_entry_pc.
406 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
407
408 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
409
410 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
411 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
412 "generic ABI, auto".
413 (altivec_abi_tests): Accept vectors returned by reference.
414
415 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
416
417 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
418
419 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
420
421 * gdb.python/py-section-script.exp: Skip test if no Python support.
422
423 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
424
425 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
426
427 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
428
429 * gdb.python/py-parameter.exp: Update tests to the new Python
430 parameter API. Add "no documentation" test. Add deprecated API
431 backward compatibility test.
432
433 2011-03-09 Tom Tromey <tromey@redhat.com>
434
435 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
436 gdb_continue_to_end.
437
438 2011-03-09 Mark Kettenis <kettenis@gnu.org>
439
440 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
441 tabs.
442
443 2011-03-09 Tom Tromey <tromey@redhat.com>
444
445 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
446 parentheses.
447 (gdb_continue_to_end): Add "allow_extra" parameter. Use
448 $command.
449 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
450 argument to gdb_continue_to_end.
451 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
452 argument to gdb_continue_to_end.
453 * gdb.cp/annota3.exp: Fix regex.
454 * gdb.cp/annota2.exp: Fix regex.
455 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
456 gdb_continue_to_end.
457 * gdb.base/call-signal-resume.exp: Revert earlier patch.
458 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
459 gdb_continue_to_end.
460
461 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
462
463 * gdb.server/ext-run.exp
464 (load new file without any gdbserver inferior): New test.
465
466 2011-03-07 Tom Tromey <tromey@redhat.com>
467
468 * Makefile.in (TAGS): Rewrite.
469
470 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 * gdb.trace/report.exp (12.1: trace report #1): New match for the
473 initial commands echo. New match for `Found trace'. Anchor all the
474 other matches. Anchor and match for `No trace frame found' the final
475 match.
476
477 2011-03-07 Tom Tromey <tromey@redhat.com>
478
479 * Makefile.in (TAGS): New target.
480
481 2011-03-07 Tom Tromey <tromey@redhat.com>
482
483 * lib/opencl.exp (skip_opencl_tests): Update for exit message
484 change.
485 * lib/mi-support.exp (mi_gdb_test): Update for exit message
486 change.
487 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
488 exit message change.
489 (skip_altivec_tests): Update for exit message change.
490 (skip_vsx_tests): Likewise.
491 (gdb_continue_to_end): Likewise. Add 'command' argument.
492 * lib/cell.exp (skip_cell_tests): Update for exit message change.
493 * gdb.threads/tls.exp: Update for exit message change.
494 * gdb.threads/thread-unwindonsignal.exp: Use
495 gdb_continue_to_end.
496 * gdb.threads/step.exp (step_it): Update for exit message change.
497 (continue_all): Likewise.
498 * gdb.threads/print-threads.exp (test_all_threads): Update for
499 exit message change.
500 * gdb.threads/interrupted-hand-call.exp: Use
501 gdb_continue_to_end.
502 * gdb.threads/execl.exp: Use gdb_continue_to_end.
503 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
504 gdb_continue_to_end.
505 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
506 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
507 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
508 * gdb.cp/method.exp: Update for exit message change.
509 * gdb.cp/mb-templates.exp: Update for exit message change.
510 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
511 * gdb.cp/annota3.exp: Update for exit message change.
512 * gdb.cp/annota2.exp: Update for exit message change.
513 * gdb.cell/fork.exp: Use gdb_continue_to_end.
514 * gdb.base/term.exp: Update for exit message change.
515 * gdb.base/step-test.exp (test_i): Update for exit message change.
516 * gdb.base/sigstep.exp (advance): Update for exit message change.
517 (advancei): Likewise.
518 * gdb.base/siginfo.exp: Update for exit message change.
519 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
520 * gdb.base/reread.exp: Use gdb_continue_to_end.
521 * gdb.base/langs.exp: Use gdb_continue_to_end.
522 * gdb.base/interrupt.exp: Update for exit message change.
523 * gdb.base/gdb1555.exp: Update for exit message change.
524 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
525 * gdb.base/ending-run.exp: Update for exit message change.
526 * gdb.base/chng-syms.exp: Update for exit message change.
527 * gdb.base/checkpoint.exp: Update for exit message change.
528 * gdb.base/catch-syscall.exp (check_for_program_end): Use
529 gdb_continue_to_end.
530 (test_catch_syscall_with_wrong_args): Likewise.
531 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
532 * gdb.base/break-interp.exp (test_ld): Update for exit message
533 change.
534 * gdb.base/bang.exp: Update for exit message change.
535 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
536 (do_call_attach_tests): Likewise.
537 * gdb.base/a2-run.exp: Update for exit message change.
538 * gdb.arch/ppc-dfp.exp: Update for exit message change.
539 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
540 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
541
542 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
543
544 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
545
546 2011-03-03 Tom Tromey <tromey@redhat.com>
547
548 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
549 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
550 * gdb.hp/gdb.aCC/configure.ac: Remove.
551 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
552 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
553 * gdb.hp/gdb.base-hp/configure.ac: Remove.
554 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
555 * gdb.hp/gdb.compat/configure (Makefile): Remove.
556 * gdb.hp/gdb.compat/configure.ac: Remove.
557 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
558 * gdb.hp/gdb.defects/configure (Makefile): Remove.
559 * gdb.hp/gdb.defects/configure.ac: Remove.
560 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
561 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
562 * gdb.hp/gdb.objdbg/configure.ac: Remove.
563 * gdb.hp/configure.ac: Remove.
564 * gdb.hp/configure: Remove.
565 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
566 substitution.
567 (Makefile): Remove rule.
568 * gdb.cell/configure.ac: Remove.
569 * gdb.cell/configure: Remove.
570 * gdb.stabs/Makefile.in (Makefile): Remove.
571 (distclean): Don't remove config.status or config.log.
572 * gdb.stabs/configure (Makefile): Remove.
573 * gdb.stabs/configure.ac: Remove.
574 * configure: Rebuild.
575 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
576 Remove stabs- and cell-specific logic. Test for existence of
577 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
578 subdirectories, gdb.cell, and and gdb.stabs.
579 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
580
581 2011-03-03 Joel Brobecker <brobecker@adacore.com>
582
583 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
584 end of buffer.
585
586 2011-03-02 Joel Brobecker <brobecker@adacore.com>
587
588 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
589 gdb_test when running a test where we expected no output back.
590
591 2011-02-28 Michael Snyder <msnyder@vmware.com>
592
593 * gdb.cp/overload.cc: Change initializer value to integer.
594
595 2011-02-27 Michael Snyder <msnyder@vmware.com>
596
597 * gdb.multi/base.exp: Add test for remove-inferiors.
598
599 2011-02-26 Joel Brobecker <brobecker@adacore.com>
600
601 * gdb.python/py-frame.exp: Simplify the initialization phase
602 using prepare_for_testing.
603
604 2011-02-25 Michael Snyder <msnyder@vmware.com>
605
606 * gdb.multi/base.exp: Add tests for info inferiors with args.
607
608 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 * gdb.dwarf2/dw2-ranges.S: Rename to ...
611 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
612 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
613 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
614 asmfile3. Comment the STABS (#3) file compilation. Compile
615 everything through assembler. Provide KFAIL for symtab/12497.
616 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
617 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
618 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
619 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
620
621 2011-02-24 Michael Snyder <msnyder@vmware.com>
622
623 * gdb.base/break.exp: Add tests for delete breakpoints using
624 convenience variables and value history references.
625
626 2011-02-24 Michael Snyder <msnyder@vmware.com>
627
628 * gdb.base/break.exp: Remove debugging 'printf' accidentally
629 left behind in previous check-in.
630
631 2011-02-23 Michael Snyder <msnyder@vmware.com>
632
633 * gdb.base/break.exp: Add tests for "info break" with arguments.
634 * gdb.trace/infotrace.exp: Update patterns for error and help.
635 * gdb.base/completion.exp: Update pattern.
636 * gdb.base/ena-dis-br.exp: Update pattern.
637 * gdb.base/help.exp: Update patterns.
638
639 2011-02-23 Michael Snyder <msnyder@vmware.com>
640
641 * gdb.base/memattr.exp: New test.
642 * gdb.base/memattr.c: Test load for memattr.exp.
643
644 2011-02-22 Doug Evans <dje@google.com>
645
646 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
647
648 2011-02-22 Michael Snyder <msnyder@vmware.com>
649
650 * Makefile.in: Make more clean.
651 * gdb.ada/Makefile.in: Ditto.
652 * gdb.arch/Makefile.in: Ditto.
653 * gdb.asm/Makefile.in: Ditto.
654 * gdb.base/Makefile.in: Ditto.
655 * gdb.cp/Makefile.in: Ditto.
656 * gdb.dwarf2/Makefile.in: Ditto.
657 * gdb.java/Makefile.in: Ditto.
658 * gdb.mi/Makefile.in: Ditto.
659 * gdb.modula2/Makefile.in: Ditto.
660 * gdb.python/Makefile.in: Ditto.
661 * gdb.server/Makefile.in: Ditto.
662 * gdb.stabs/Makefile.in: Ditto.
663 * gdb.threads/Makefile.in: Ditto.
664 * gdb.trace/Makefile.in: Ditto.
665
666 2011-02-22 Michael Snyder <msnyder@vmware.com>
667
668 * gdb.threads/thread-find.exp: Add tests for bad input to
669 info threads.
670
671 2011-02-22 Joel Brobecker <brobecker@adacore.com>
672
673 * gdb.python/py-breakpoint.exp: Fix the expected output of
674 one of the "maint info breakpoints" tests to accept the output
675 generated on platforms that do not have hardware watchpoints.
676
677 2011-02-22 Joel Brobecker <brobecker@adacore.com>
678
679 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
680 clean_restart. Be a little stricter in the expected output
681 for one of the tests. Fix a typo in one of the comments.
682
683 2011-02-22 Joel Brobecker <brobecker@adacore.com>
684
685 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
686 Delete variable binfile, no longer use. Add or modify test
687 comments to make them unique.
688
689 2011-02-21 Michael Snyder <msnyder@vmware.com>
690
691 * Makefile.in: Update for make clean.
692 * gdb.ada/Makefile.in: Ditto.
693 * gdb.arch/Makefile.in: Ditto.
694 * gdb.asm/Makefile.in: Ditto.
695 * gdb.base/Makefile.in: Ditto.
696 * gdb.cp/Makefile.in: Ditto.
697 * gdb.dwarf2/Makefile.in: Ditto.
698 * gdb.java/Makefile.in: Ditto.
699 * gdb.mi/Makefile.in: Ditto.
700 * gdb.modula2/Makefile.in: Ditto.
701 * gdb.python/Makefile.in: Ditto.
702 * gdb.server/Makefile.in: Ditto.
703 * gdb.stabs/Makefile.in: Ditto.
704 * gdb.threads/Makefile.in: Ditto.
705 * gdb.trace/Makefile.in: Ditto.
706
707 2011-02-21 Michael Snyder <msnyder@vmware.com>
708
709 * gdb.threads/thread-find.exp: Update patterns for changes in
710 output of "info threads" command.
711
712 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
713 Ulrich Weigand <uweigand@de.ibm.com>
714
715 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
716 (skip_hw_watchpoint_tests): Likewise.
717 (skip_hw_watchpoint_multi_tests): Likewise.
718
719 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
720
721 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
722 (skip_hw_watchpoint_tests): Likewise.
723 (skip_hw_watchpoint_multi_tests): Likewise.
724 (skip_hw_watchpoint_access_tests): Likewise.
725
726 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
727 * gdb.base/pr11022.exp: Likewise.
728 * gdb.base/watch-read.exp: Likewise.
729 * gdb.base/watch_thread_num.exp: Likewise.
730 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
731 * gdb.base/watchpoint-hw.exp: Likewise.
732 * gdb.base/watchpoint.exp: Likewise.
733 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
734 * gdb.threads/watchthreads-reorder.exp: Likewise.
735 * gdb.threads/watchthreads.exp: Likewise.
736 * gdb.threads/watchthreads2.exp: Likewise.
737
738 2011-02-21 Joel Brobecker <brobecker@adacore.com>
739
740 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
741 the debugger is unable to find the array bounds.
742
743 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
744
745 * gdb.cp/typedef-operator.exp: New file.
746 * gdb.cp/typedef-operator.cc: New file.
747
748 2011-02-17 Michael Snyder <msnyder@vmware.com>
749
750 * gdb.threads/thread-find.exp: Fix regular expressions.
751
752 2011-02-17 Joel Brobecker <brobecker@adacore.com>
753
754 * gdb.ada/packed_array: Expand testcase to test printing of
755 unconstrained packed array.
756
757 2011-02-17 Joel Brobecker <brobecker@adacore.com>
758
759 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
760
761 2011-02-16 Pedro Alves <pedro@codesourcery.com>
762
763 * gdb.trace/collection.c (globalarr3): New global.
764 (main): Initialize it before collecting, and and clear it
765 afterwards.
766 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
767 collecting with '{type} addr', where the addr expression is not an
768 rvalue.
769
770 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
771
772 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
773 a bool variable. Expect correct OpenCL names for vector types. Use the
774 uc3 variable name instead of referring to the uchar3 built-in type.
775 Escape the asterisk at the half pointer test.
776
777 2011-02-16 Pedro Alves <pedro@codesourcery.com>
778
779 * gdb.trace/collection.c (globalarr2): New global.
780 (main): Initialize it before collecting, and and clear it
781 afterwards.
782 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
783 collecting overlapping memory ranges.
784
785 2011-02-15 Michael Snyder <msnyder@vmware.com>
786
787 * gdb.base/default.exp: Add tests for thread commands.
788 * gdb.base/help.exp: Add tests for thread commands.
789 * gdb.threads/thread-find.exp: New test for thread find command.
790
791 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
792
793 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
794
795 2011-02-15 Yao Qi <yao@codesourcery.com>
796
797 PR tdep/12352
798 * gdb.arch/arm-disp-step.S : New test for str instruction.
799 * gdb.arch/arm-disp-step.exp : Likewise.
800
801 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
802
803 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
804 "vector_register2_vr" test strings. Test the extended floating
805 point registers (F32~F63).
806 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
807 IBM XL C compiler. Make the test program use a register provided
808 by the compiler for the lxvd2x instruction.
809
810 2011-02-14 Pedro Alves <pedro@codesourcery.com>
811
812 * gdb.trace/unavailable.cc (class Base, class Middle, class
813 Derived): New types.
814 (derived_unavail, derived_partial, derived_whole): New globals.
815 (virtual_partial): New global.
816 (virtualp): Point at virtual_partial.
817 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
818 related to unavailable vptr.
819
820 2011-02-14 Pedro Alves <pedro@codesourcery.com>
821
822 * gdb.trace/unavailable.cc (a, b, c): New globals.
823 (main): Set and clear them.
824 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
825 `a' and `c', and check that `b' isn't collected, although `a' and
826 `c' are.
827
828 2011-02-14 Pedro Alves <pedro@codesourcery.com>
829
830 * gdb.trace/unavailable.cc (struct Virtual): New.
831 (virtualp): New global pointer.
832 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
833 printing a pointer to an object whose type has a vtable, with
834 print object on.
835
836 2011-02-14 Pedro Alves <pedro@codesourcery.com>
837
838 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
839 value repeat handles unavailableness.
840
841 2011-02-14 Pedro Alves <pedro@codesourcery.com>
842
843 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
844 tests for building arrays from unavailable values, subscripting
845 non-memory rvalue unvailable arrays, and accessing fields or
846 baseclasses of non-lazy unavailable values,
847 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
848 struct types.
849 (g_smallstruct, g_smallstruct_b): New globals.
850
851 2011-02-14 Pedro Alves <pedro@codesourcery.com>
852
853 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
854
855 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
856
857 Fix const/volatile qualifiers of C++ types, PR c++/12328.
858 * gdb.cp/overload-const.exp: New file.
859 * gdb.cp/overload-const.cc: New file.
860
861 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
862
863 * gdb.opencl/callfuncs.cl: New file.
864 * gdb.opencl/callfuncs.exp: New test.
865 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
866
867 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
868
869 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
870 when computing result.
871 * gdb.arch/altivec-abi.exp: Update expected results.
872
873 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
874
875 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
876 * gdb.base/jit.exp: Likewise.
877 * gdb.base/pie-execl.exp: Likewise.
878 * gdb.base/solib-nodir.exp: Likewise.
879 * gdb.base/solib-overlap.exp: Likewise.
880
881 2011-02-07 Pedro Alves <pedro@codesourcery.com>
882
883 * gdb.trace/collection.c (global_pieces): New.
884 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
885 New procedure.
886 (gdb_trace_collection_test): Call it.
887
888 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
889
890 * gdb.python/py-evthreads.c: New file.
891 * gdb.python/py-evthreads.exp: New file.
892 * gdb.python/py-events.py: New file.
893 * gdb.python/py-events.exp: New file.
894 * gdb.python/py-events.c: New file.
895
896 2011-02-04 David Daney <ddaney@caviumnetworks.com>
897
898 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
899
900 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
901
902 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
903 gdb.base/disasm-end-cu.exp: New test for disassembling over the
904 boundary between two compilation units.
905
906 2011-02-02 Pedro Alves <pedro@codesourcery.com>
907
908 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
909 (Virtual): New structs.
910 (virtual_o, virtual_middle_b): New globals.
911 * gdb.cp/virtbase.exp: New tests.
912
913 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
914
915 * gdb.base/jit.exp: New file.
916 * gdb.base/jit-main.c: New file.
917 * gdb.base/jit-solib.c: New file.
918
919 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
920
921 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
922 proceed to initial kernel entry point.
923 * gdb.opencl/datatypes.exp: Likewise.
924 * gdb.opencl/operators.exp: Likewise.
925 * gdb.opencl/vec_comps.exp: Likewise.
926
927 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
928
929 * gdb.cp/nsnested.cc: New.
930 * gdb.cp/nsnested.exp: New.
931 * gdb.cp/nsnoimports.exp: New.
932 * gdb.cp/nsnoimports.cc: New.
933
934 2011-01-31 Joel Brobecker <brobecker@adacore.com>
935
936 * gdb.base/interact.exp: Add extra tests that verify that
937 the value of the interactive-mode setting does not change
938 after the script is sourced.
939
940 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 * gdb.cp/noparam.exp: New file.
943 * gdb.cp/noparam.cc: New file.
944
945 2011-01-28 Pedro Alves <pedro@codesourcery.com>
946
947 * gdb.trace/tfile.exp: Test that with no traceframe selected,
948 there's no stack or registers.
949
950 2011-01-26 Tom Tromey <tromey@redhat.com>
951
952 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
953 space before string output. Add test for "set print pretty off"
954 case.
955
956 2011-01-25 Pedro Alves <pedro@codesourcery.com>
957
958 * gdb.base/frame-args.exp: Adjust.
959 * gdb.dwarf2/dw2-noloc.exp: Adjust.
960 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
961 * gdb.dwarf2/pieces.exp: Adjust.
962 * gdb.opt/clobbered-registers-O2.exp: Adjust.
963 * gdb.opt/inline-locals.exp: Adjust.
964 * gdb.threads/fork-child-threads.exp: Adjust.
965
966 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
967
968 * gdb.opencl/convs_casts.cl: Move program scope variables into the
969 OpenCL kernel function. Add a comment as marker. Add address space
970 qualifiers for the remaining program scope variables.
971 * gdb.opencl/datatypes.cl: Likewise.
972 * gdb.opencl/operators.cl: Likewise.
973 * gdb.opencl/vec_comps.cl: Likewise.
974 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
975 Add breakpoint at the marker comment.
976 * gdb.opencl/datatypes.exp: Likewise.
977 * gdb.opencl/operators.exp: Likewise.
978 * gdb.opencl/vec_comps.exp: Likewise.
979
980 2011-01-24 Pedro Alves <pedro@codesourcery.com>
981
982 * gdb.base/printcmds.c (some_struct): New struct and instance.
983 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
984 procedure.
985 <global scope>: Call it.
986
987 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
988
989 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
990 argument to the gdb_compile_opencl_hostapp call.
991
992 2011-01-19 Yao Qi <yao@codesourcery.com>
993
994 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
995 positve list.
996
997 2011-01-19 Yao Qi <yao@codesourcery.com>
998
999 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1000 canonical form.
1001 Remove "xscale-*-*"
1002 * gdb.xml/tdesc-regs.exp: Likewise.
1003 * gdb.python/py-section-script.exp: Replace ARM target triplet
1004 with canonical form.
1005 Match arm*-*-symbianelf*.
1006 * gdb.base/dup-sect.exp: Likewise.
1007 * lib/dwarf.exp: New.
1008 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1009 dwarf2_support.
1010 * gdb.dwarf2/dup-psym.exp: Likewise.
1011 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1012 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1013 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1014 * gdb.dwarf2/dw2-basic.exp: Likewise.
1015 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1016 * gdb.dwarf2/dw2-const.exp: Likewise.
1017 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1018 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1019 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1020 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1021 * gdb.dwarf2/dw2-filename.exp: Likewise.
1022 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1023 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1024 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1025 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1026 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1027 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1028 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1029 * gdb.dwarf2/dw2-producer.exp: Likewise.
1030 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1031 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1032 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1033 * gdb.dwarf2/dw2-strp.exp: Likewise.
1034 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1035 * gdb.dwarf2/implptr.exp: Likewise.
1036 * gdb.dwarf2/mac-fileno.exp: Likewise.
1037 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1038 * gdb.dwarf2/pieces.exp: Likewise.
1039 * gdb.dwarf2/pr11465.exp: Likewise.
1040 * gdb.dwarf2/valop.exp: Likewise.
1041 * gdb.dwarf2/watch-notconst.exp: Likewise.
1042 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1043
1044 2011-01-19 Tom Tromey <tromey@redhat.com>
1045
1046 * gdb.python/py-infthread.exp: Add thread tests.
1047
1048 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1049
1050 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1051
1052 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1053
1054 * gdb.ada/widewide: New testcase.
1055
1056 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1057
1058 * gdb.base/interact.exp: New testcase.
1059
1060 2011-01-12 Tom Tromey <tromey@redhat.com>
1061
1062 * gdb.mi/gdb2549.exp: Update for error message changes.
1063 * gdb.mi/mi-cli.exp: Likewise.
1064 * gdb.mi/mi-disassemble.exp: Likewise.
1065 * gdb.mi/mi-pthreads.exp: Likewise.
1066 * gdb.mi/mi-regs.exp: Likewise.
1067 * gdb.mi/mi-stack.exp: Likewise.
1068 * gdb.mi/mi-var-block.exp: Likewise.
1069 * gdb.mi/mi-var-cmd.exp: Likewise.
1070 * gdb.mi/mi2-cli.exp: Likewise.
1071 * gdb.mi/mi2-disassemble.exp: Likewise.
1072 * gdb.mi/mi2-pthreads.exp: Likewise.
1073 * gdb.mi/mi2-regs.exp: Likewise.
1074 * gdb.mi/mi2-stack.exp: Likewise.
1075 * gdb.mi/mi2-var-block.exp: Likewise.
1076 * gdb.mi/mi2-var-cmd.exp: Likewise.
1077
1078 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1079 Jan Kratochvil <jan.kratochvil@redhat.com>
1080
1081 PR fortran/11104 and DWARF unbound arrays detection.
1082 * gdb.fortran/multi-dim.exp: New file.
1083 * gdb.fortran/multi-dim.f90: New file.
1084
1085 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1086
1087 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1088 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1089 add new tests for opcode dumping.
1090
1091 2011-01-11 Tom Tromey <tromey@redhat.com>
1092
1093 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1094
1095 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1096
1097 Convert hardware watchpoints to use breakpoint_ops.
1098 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1099 type is not supported.
1100 * gdb.base/foll-fork.exp: Likewise.
1101 * gdb.base/foll-vfork.exp: Likewise.
1102
1103 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1104
1105 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1106 Use load_lib gdb-python.exp.
1107 * gdb.python/python.exp: Ditto.
1108 * gdb.python/py-function.exp: Ditto.
1109
1110 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1111
1112 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1113
1114 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1115
1116 * configure: Regenerate.
1117
1118 2011-01-06 Tom Tromey <tromey@redhat.com>
1119
1120 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1121
1122 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1123
1124 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1125 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1126 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1127 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1128 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1129 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1130 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1131 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1132 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1133 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1134 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1135 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1136 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1137 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1138 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1139 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1140 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1141 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1142 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1143 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1144 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1145 gdb.ada/uninitialized_vars.exp,
1146 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1147 Simplify by using clean_restart.
1148
1149 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1150
1151 Add marker to be used as anchor for inserting breakpoints.
1152 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1153 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1154 Likewise.
1155
1156 Remove uses of gdb_start_cmd.
1157 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1158 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1159
1160 Do not run testcase if testing with GDBserver.
1161 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1162 if testing with GDBserver.
1163
1164 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1165
1166 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1167 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1168 copyright header.
1169
1170 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1171
1172 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1173 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1174 testsuite/gdb.fortran/complex.f,
1175 testsuite/gdb.fortran/derived-type.f90,
1176 testsuite/gdb.fortran/library-module-lib.f90,
1177 testsuite/gdb.fortran/library-module-main.f90,
1178 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1179 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1180 Copyright year update.
1181
1182 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1183
1184 * gdb.base/langs1.f: Add copyright header.
1185
1186 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1187
1188 * gdb.base/morestack.exp: New file.
1189 * gdb.base/morestack.c: New file.
1190
1191 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1192
1193 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1194
1195 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1196
1197 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1198 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1199
1200 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1201
1202 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1203
1204 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1205
1206 * gdb.threads/tls.exp: Fix typo.
1207
1208 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1209 * gdb.threads/execl.exp: Update.
1210
1211 2010-12-23 Yao Qi <yao@codesourcery.com>
1212
1213 * gdb.arch/arm-disp-step.exp: New.
1214 * gdb.arch/arm-disp-step.S: New.
1215
1216 2010-12-21 Tom Tromey <tromey@redhat.com>
1217
1218 * gdb.threads/execl.exp: Update.
1219 * gdb.threads/linux-dp.exp: Update.
1220 * gdb.threads/manythreads.exp: Update.
1221 * gdb.threads/tls.exp: Update.
1222
1223 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1224
1225 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1226 (NextOverThrowDerivates) <resumebpt>: New.
1227 (resumebpt_test): New.
1228 (main): Call resumebpt_test.
1229 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1230
1231 2010-12-12 Stan Shebs <stan@codesourcery.com>
1232
1233 * gdb.trace/tsv.exp: Test print command on trace state variables.
1234
1235 2010-12-09 Tom Tromey <tromey@redhat.com>
1236
1237 * gdb.base/interp.exp: Add regression test.
1238
1239 2010-12-09 Tom Tromey <tromey@redhat.com>
1240
1241 * gdb.java/jnpe.java: New file.
1242 * gdb.java/jnpe.exp: New file.
1243 * gdb.cp/nextoverthrow.exp: New file.
1244 * gdb.cp/nextoverthrow.cc: New file.
1245
1246 2010-12-07 Doug Evans <dje@google.com>
1247
1248 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1249 of data-directory.
1250 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1251 updated.
1252 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1253
1254 2010-11-29 Michael Snyder <msnyder@vmware.com>
1255
1256 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1257 * gdb.base/call-sc.exp: Ditto.
1258 * gdb.base/finish.exp: Ditto.
1259 * gdb.base/return.exp: Ditto.
1260 * gdb.base/return2.exp: Ditto.
1261
1262 2010-11-30 Doug Evans <dje@google.com>
1263
1264 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1265 (gdb_expect_list): Fix spelling errors in comments.
1266 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1267 send_gdb/gdb_expect_list where applicable.
1268 * gdb.base/call-ar-st.exp: Ditto.
1269 * gdb.base/funcargs.exp: Ditto.
1270 * gdb.base/gcore.exp: Ditto.
1271 * gdb.base/page.exp: Ditto.
1272 * gdb.base/sigaltstack.exp: Ditto.
1273 * gdb.base/siginfo.exp: Ditto.
1274 * gdb.base/sigstep.exp: Ditto.
1275 * gdb.base/trace-commands.exp: Ditto.
1276
1277 2010-11-29 Doug Evans <dje@google.com>
1278
1279 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1280 printer-name;subprinter-name.
1281
1282 2010-11-29 Tom Tromey <tromey@redhat.com>
1283
1284 * gdb.dwarf2/implptr.exp: New file.
1285 * gdb.dwarf2/implptr.c: New file.
1286 * gdb.dwarf2/implptr.S: New file.
1287
1288 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1289
1290 PR python/12199
1291
1292 * gdb.python/py-breakpoint.exp: Test the delete method.
1293
1294 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 Fix step_resume_breakpoint unsaved during an infcall.
1297 * gdb.base/step-resume-infcall.exp: New file.
1298 * gdb.base/step-resume-infcall.c: New file.
1299
1300 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1301
1302 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1303
1304 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1305
1306 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1307 on ppc64's symbols; "finish" and "return" commands must accept to
1308 show the caller line again as well as the line after.
1309 * gdb.asm/powerpc64.inc: New file.
1310
1311 2010-11-23 Doug Evans <dje@google.com>
1312
1313 * lib/gdb.exp (gdb_test_sequence): New function.
1314 (gdb_expect_list): Add verbose -log call for each pattern.
1315 * gdb.base/signals.exp (test_handle_all_print): Call it.
1316 Reduce timeout increment from 6 minutes to 1 minute.
1317 * gdb.server/ext-run.exp: Call it.
1318
1319 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1320
1321 PR python/12212
1322
1323 * gdb.python/python.exp: Check that selected_thread raises an
1324 error when no inferior is loaded.
1325
1326 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1327
1328 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1329 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1330
1331 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1332
1333 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1334 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1335
1336 2010-11-18 Doug Evans <dje@google.com>
1337
1338 * gdb.server/ext-run.exp: Fix intermittent failures.
1339
1340 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1341
1342 * gdb.stabs/gdb11479.exp: Use runto_main.
1343
1344 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1345
1346 * gdb.base/break-entry.exp: Skip if using a stub.
1347
1348 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1349
1350 * gdb.python/py-inferior.exp: Pack values in target endianness.
1351
1352 2010-11-12 Tom Tromey <tromey@redhat.com>
1353
1354 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1355 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1356 MemoryError.
1357 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1358 type.
1359 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1360 MemoryError.
1361 (test_subscript_regression): Update exception type.
1362
1363 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1364
1365 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1366 breakpoint tests.
1367
1368 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1369
1370 * gdb.base/watchpoint.exp: Test "watch -location" with an
1371 innacessible location.
1372
1373 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1374 Luis Machado <luisgpm@br.ibm.com>
1375
1376 * gdb.base/maint.exp: Expect "." prefix.
1377 * gdb.base/nodebug.exp: Expect "." Likewise.
1378 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1379 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1380 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1381 POWER server processors.
1382
1383 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1384 Luis Machado <luisgpm@br.ibm.com>
1385
1386 * gdb.base/break-entry.exp: convert entry point for
1387 ppc64 and expect leading `.' on ppc64's symbols
1388
1389 2010-11-05 Doug Evans <dje@google.com>
1390
1391 * gdb.base/help.exp: Update expected output.
1392 * gdb.python/py-param.exp: Delete, contents moved to ...
1393 * gdb.python/py-parameter.exp: ... here. New file.
1394 Add test for gdb.parameter ("directories").
1395
1396 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1397
1398 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1399 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1400 * configure: Regenerate.
1401 * gdb.opencl/Makefile.in: New File.
1402 * gdb.opencl/datatypes.exp: Likewise.
1403 * gdb.opencl/datatypes.cl: Likewise.
1404 * gdb.opencl/operators.exp: Likewise.
1405 * gdb.opencl/operators.cl: Likewise.
1406 * gdb.opencl/vec_comps.exp: Likewise.
1407 * gdb.opencl/vec_comps.cl: Likewise.
1408 * gdb.opencl/convs_casts.exp: Likewise.
1409 * gdb.opencl/convs_casts.cl: Likewise.
1410 * lib/opencl.exp: Likewise.
1411 * lib/opencl_hostapp.c: Likewise.
1412 * lib/opencl_kernel.cl: Likewise.
1413 * lib/cl_util.c: Likewise.
1414 * lib/cl_util.c: Likewise.
1415 * gdb.base/default.exp (set language): Add "opencl" to the list of
1416 languages.
1417
1418 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1419
1420 * gdb.cp/overload.exp: Added test for inheritance overload.
1421 * gdb.cp/overload.cc: Ditto.
1422 * gdb.cp/oranking.exp: Removed releveant kfails.
1423
1424 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1425 Joel Brobecker <brobecker@adacore.com>
1426
1427 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1428 check test_compiler_info.
1429
1430 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1431
1432 * gdb.base/gnu_vector.exp: Adjust expect messages.
1433
1434 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1435
1436 * gdb.base/gnu_vector.exp: Add unary operator tests.
1437
1438 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1439
1440 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1441
1442 2010-11-02 Doug Evans <dje@google.com>
1443
1444 * gdb.python/py-pp-maint.c: New file.
1445 * gdb.python/py-pp-maint.exp: New file.
1446 * gdb.python/py-pp-maint.py: New file.
1447
1448 2010-11-02 Tom Tromey <tromey@redhat.com>
1449
1450 * gdb.base/default.exp: Remove "scheme" from language list.
1451
1452 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1453
1454 Revert:
1455 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1456 * gdb.threads/sigstep-threads.exp: New file.
1457 * gdb.threads/sigstep-threads.c: New file.
1458
1459 2010-10-20 Michael Snyder <msnyder@vmware.com>
1460
1461 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1462
1463 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1464
1465 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1466 Skip test completely if gdb,no_hardware_watchpoints.
1467
1468 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1469
1470 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1471 strict, but do not check for any particular function name within libc.
1472
1473 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1474
1475 * gdb.cp/smartp.exp: New test.
1476 * gdb.cp/smartp.cc : New test.
1477
1478 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1479
1480 * gdb.cp/converts.exp: Test pointer to bool conversion.
1481 Test pointer to long conversion.
1482 * gdb.cp/oranking.exp: Removed relevant kfail.
1483
1484 2010-10-18 Tom Tromey <tromey@redhat.com>
1485
1486 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1487 argument to lazy_string.
1488 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1489 (pp_ls.to_string): Use it.
1490 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1491 Add "estring2" local.
1492
1493 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1494
1495 Fix s390x compatibility.
1496 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1497 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1498
1499 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1500
1501 * gdb.threads/sigstep-threads.exp: New file.
1502 * gdb.threads/sigstep-threads.c: New file.
1503
1504 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 * gdb.base/pie-execl.exp: New file.
1507 * gdb.base/pie-execl.c: New file.
1508
1509 2010-10-13 Doug Evans <dje@google.com>
1510 Jan Kratochvil <jan.kratochvil@redhat.com>
1511
1512 PR exp/12117
1513 * gdb.cp/ptype-cv-cp.cc: New file.
1514 * gdb.cp/ptype-cv-cp.exp: New file.
1515
1516 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1517
1518 * gdb.cp/converts.cc: New test program.
1519 * gdb.cp/converts.exp: New test.
1520 * gdb.cp/overload.exp: Added test for void* vs int*.
1521 * gdb.cp/overload.exp: Ditto.
1522 * gdb.cp/oranking.exp: Removed related kfail.
1523
1524 2010-10-13 Doug Evans <dje@google.com>
1525
1526 * lib/gdb-python.exp (gdb_check_python_config): New function.
1527 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1528 * gdb.python/lib-types.cc: New file.
1529 * gdb.python/lib-types.exp: New file.
1530
1531 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1532
1533 * gdb.python/py-error.exp: New file.
1534 * gdb.python/py-error.py: New file.
1535
1536 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1537
1538 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1539 gdb_test_multiple.
1540
1541 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1542
1543 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1544 * gdb.base/prelink.exp: Likewise.
1545 * gdb.base/solib-nodir.exp: Likewise.
1546 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1547 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1548 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1549
1550 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1551
1552 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1553 for the "info files" test to avoid timeouts on slow machines.
1554
1555 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1556
1557 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1558 (main): Make openlib dummy call.
1559
1560 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1561
1562 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1563 * break-interp.exp (reach): Move the core body ...
1564 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1565 (test_ld): Provide always real argument, even to the linker. Replace
1566 dl_main by _dl_debug_state.
1567
1568 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1569
1570 Fix results of prelinked PIEs on ppc*.
1571 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1572 Accept also DISPLACEMENT "PRESENT".
1573 (main): Replace "ZERO" displacements by "PRESENT".
1574
1575 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1576
1577 * gdb.cp/oranking.exp: New test.
1578 * gdb.cp/oranking.cc: New test program.
1579
1580 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1581
1582 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1583 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1584
1585 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1586
1587 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1588 lush, lynx) New constant.
1589 * gdb.base/constvars.exp: Test const array types.
1590 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1591
1592 2010-10-06 Doug Evans <dje@google.com>
1593
1594 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1595 of syscall staging area.
1596
1597 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1598
1599 * gdb.base/gnu_vector.c: Add variable c4.
1600 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1601 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1602
1603 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1604
1605 * gdb.arch/altivec-abi.exp: Fix a typo.
1606
1607 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1608
1609 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1610 to match a thread ID.
1611
1612 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 Fix s390x testcase compatibility.
1615 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1616
1617 2010-10-01 Doug Evans <dje@google.com>
1618
1619 * lib/gdb-python.exp: New file.
1620 * gdb.python/py-block.exp: Use it.
1621 * gdb.python/py-breakpoint.exp: Ditto.
1622 * gdb.python/py-frame.exp: Ditto.
1623 * gdb.python/py-inferior.exp: Ditto.
1624 * gdb.python/py-param.exp: Ditto.
1625 * gdb.python/py-prettyprint.exp: Ditto.
1626 * gdb.python/py-shared.exp: Ditto.
1627 * gdb.python/py-symbol.exp: Ditto.
1628 * gdb.python/py-symtab.exp: Ditto.
1629 * gdb.python/py-type.exp: Ditto.
1630 * gdb.python/py-value.exp: Ditto.
1631 * gdb.python/python.exp: Ditto.
1632
1633 2010-09-30 Tom Tromey <tromey@redhat.com>
1634
1635 * gdb.base/anon.exp: New file.
1636 * gdb.base/anon.c: New file.
1637
1638 2010-09-30 Tom Tromey <tromey@redhat.com>
1639
1640 * gdb.base/completion.exp: Test completion through anonymous
1641 union.
1642 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1643
1644 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 Fix printing parameters of inlined functions.
1647 * gdb.dwarf2/dw2-inline-param.exp: New file.
1648 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1649 * gdb.dwarf2/dw2-inline-param.S: New file.
1650
1651 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 PR corefiles/12071.
1654 * gdb.base/corefile.exp (quit with a process, no question: load core)
1655 (quit with a core file): New tests.
1656
1657 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1658
1659 Fix GDB crash on inferior calls with self-referencing classes.
1660 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1661 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1662 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1663
1664 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1665
1666 Fix lost siginfo_t for inferior calls.
1667 * gdb.base/siginfo-infcall.exp: New file.
1668 * gdb.base/siginfo-infcall.c: New file.
1669
1670 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1671
1672 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1673
1674 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1677 New test.
1678 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1679
1680 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1681
1682 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1683 type of our const type.
1684
1685 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1686
1687 * gdb.cp/pr12028.cc: New.
1688 * gdb.cp/pr12028.exp: New.
1689
1690 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1691
1692 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1693
1694 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1695 Jan Kratochvil <jan.kratochvil@redhat.com>
1696
1697 PR mi/11407
1698 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1699 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1700 * gdb.mi/dw2-ref-missing-frame.S New File.
1701 * gdb.mi/dw2-ref-missing-frame.exp New File.
1702
1703 2010-09-14 Tom Tromey <tromey@redhat.com>
1704
1705 PR symtab/8399:
1706 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1707
1708 2010-09-14 Tom Tromey <tromey@redhat.com>
1709
1710 PR exp/11803:
1711 * gdb.threads/tls.exp: Use C++.
1712 (check_thread_local): Use K::another_thread_local.
1713 * gdb.threads/tls.c (class K): New.
1714 (another_thread_local): Now a member of K.
1715 (spin): Update. No longer K&R C.
1716
1717 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1718
1719 * gdb.cp/koenig.cc: created class for testing member lookup.
1720 * gdb.cp/koenig.exp: Added test for member lookup.
1721
1722 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1723
1724 Fix false FAILs on sourcetree topdir directory containing "kill".
1725 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1726 source line matching regexp.
1727
1728 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
1730 * gdb.python/python.exp (set height 0, collect help from uiout)
1731 (verify help to uiout): New tests.
1732
1733 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1734
1735 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1736 is_lp64_target to check 64bit target.
1737
1738 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1741 (test_ld) <powerpc64-*>: New.
1742
1743 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1744
1745 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1746
1747 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1748
1749 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1750 (FunctionArg::method): New function.
1751 (empty, arg): New variables.
1752 (main): Call arg.method.
1753 * gdb.cp/templates.exp (test_template_args): New function.
1754 (do_tests): Call it.
1755
1756 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1757
1758 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1759 of "next" to proceed over pthread_exit call.
1760
1761 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1762
1763 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1764 "maint print statistics" output to prevent expect timeouts.
1765
1766 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1767
1768 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1769 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1770 (test_float_rejected): ... here.
1771 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1772 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1773 (test_float_rejected): ... here.
1774 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1775 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1776 (test_float_rejected): ... here.
1777 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1778 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1779 (test_float_rejected): ... here.
1780
1781 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1782
1783 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1784 before disabling hardware watchpoints.
1785 (test_inaccessible_watchpoint): Check that hardware watchpoints
1786 are used. Test for watchpoints on a constant address.
1787
1788 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1789
1790 * gdb.base/ui-redirect.exp: New file.
1791
1792 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 Joel Brobecker <brobecker@adacore.com>
1794
1795 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1796
1797 2010-08-31 Doug Evans <dje@google.com>
1798
1799 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1800
1801 2010-08-30 Tom Tromey <tromey@redhat.com>
1802
1803 PR python/11792:
1804 * gdb.python/py-value.exp (test_subscript_regression): Add
1805 dynamic_type test.
1806
1807 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1808
1809 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1810 instead of running to main. Do not test the main function.
1811 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1812 Add new main.
1813
1814 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1815
1816 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1817 one test.
1818
1819 2010-08-24 Doug Evans <dje@google.com>
1820
1821 PR symtab/11942
1822 * gdb.dwarf2/dw4-sig-types.cc: New file.
1823 * gdb.dwarf2/dw4-sig-types.h: New file.
1824 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1825 * gdb.dwarf2/dw4-sig-types.exp: New file.
1826
1827 2010-08-23 Tom Tromey <tromey@redhat.com>
1828
1829 PR python/11145:
1830 * gdb.python/py-value.c (Base, Derived): New types.
1831 (base): New global.
1832 * gdb.python/py-value.exp (test_subscript_regression): Add
1833 dynamic_cast test.
1834
1835 2010-08-23 Tom Tromey <tromey@redhat.com>
1836
1837 PR python/10676:
1838 * gdb.python/py-type.exp (test_fields): Add tests for type
1839 equality.
1840
1841 2010-08-23 Tom Tromey <tromey@redhat.com>
1842
1843 PR python/11915:
1844 * gdb.python/py-type.exp (test_fields): Add tests for array.
1845
1846 2010-08-23 Keith Seitz <keiths@redhat.com>
1847
1848 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1849 have any children. Create a new abbrev for it.
1850 Add missing terminal sequence to .debug_abbrev.
1851
1852 2010-08-20 Keith Seitz <keiths@redhat.com>
1853
1854 PR symtab/11465:
1855 * gdb.dwarf2/pr11465.exp: New test.
1856 * gdb.dwarf2/pr11465.S: New file.
1857 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1858 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1859
1860 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1861
1862 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1863 registers. Update data sets with the new v2_double element in the
1864 VSX register union. Add vector_register3_vr data set for the AltiVec
1865 registers. Use gdb_test_no_output instead of send_gdb.
1866
1867 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1868
1869 * gdb.python/py-shared.exp: New file, factored out from
1870 python.exp.
1871 * gdb.python/py-shared.c: New file.
1872 * gdb.python/py-shared-sl.c: New file.
1873 * gdb.python/python-1.c: New file.
1874 * gdb.python/python-sl.c: Delete.
1875 * gdb.python/python.c: Mention python-1.c.
1876 * gdb.python/python.exp: Move shared library tests to
1877 py-shared.exp.
1878 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1879 (MISCELLANEOUS): New.
1880 (clean mostlyclean): Also remove $MISCELLANEOUS.
1881
1882 2010-08-19 Doug Evans <dje@google.com>
1883
1884 PR exp/11926
1885 * gdb.base/printcmds.exp (test_float_accepted): New function.
1886 Move existing float tests there. Add tests for floats with suffixes.
1887 (test_float_rejected): New function.
1888 * gdb.java/jv-print.exp (test_float_accepted): New function.
1889 (test_float_rejected): New function.
1890 * gdb.objc/print.exp: New file.
1891 * gdb.pascal/print.exp: New file.
1892 * lib/objc.exp: New file.
1893
1894 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1895
1896 * gdb.base/default.exp (info set): Avoid full buffer error and force
1897 reading up to final gdb prompt.
1898 (show): Likewise.
1899
1900 2010-08-18 Tom Tromey <tromey@redhat.com>
1901
1902 PR symtab/11919:
1903 * gdb.base/completion.exp: Add test.
1904
1905 2010-08-18 Doug Evans <dje@google.com>
1906
1907 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1908 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1909 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1910 Simplify, early exit if runto_main fails.
1911 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1912 (set_lang_fortran): Moved to lib/fortran.exp.
1913 * gdb.fortran/types.exp: load_lib fortran.exp.
1914 (set_lang_fortran): Moved to lib/fortran.exp.
1915 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1916 * gdb.java/jprint.exp (set_lang_java): Ditto.
1917 * gdb.java/jv-exp.exp: load_lib java.exp.
1918 If set_lang_java fails, issue a warning instead of failure to be
1919 consistent with other set_lang_foo uses.
1920 (set_lang_java): Moved to lib/java.exp.
1921 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1922 If set_lang_java fails, issue a warning instead of failure to be
1923 consistent with other set_lang_foo uses.
1924 * gdb.pascal/types.exp: load_lib pascal.exp.
1925 (set_lang_pascal): Moved to lib/pascal.exp.
1926 * lib/fortran.exp: New file.
1927 * lib/java.exp (set_lang_java): New function.
1928 * lib/pascal.exp (set_lang_pascal): New function.
1929
1930 2010-08-18 Yao Qi <yao@codesourcery.com
1931
1932 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1933 func_nofb_start and func_loopfb_start, so that address of functions
1934 is equal to these labels on Thumb.
1935
1936 2010-08-18 Yao Qi <yao@codesourcery.com>
1937
1938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1939 to reflect latest c source file.
1940
1941 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.cp/infcall-dlopen.exp: New file.
1944 * gdb.cp/infcall-dlopen.cc: New file.
1945 * gdb.cp/infcall-dlopen-lib.cc: New file.
1946
1947 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1948 Pedro Alves <pedro@codesourcery.com>
1949
1950 PR breakpoints/11371
1951
1952 * gdb.base/watch-cond-infcall.exp: New file.
1953 * gdb.base/watch-cond-infcall.c: New file.
1954
1955 2010-08-16 Tom Tromey <tromey@redhat.com>
1956
1957 * gdb.base/help.exp: Update.
1958 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1959 watchpoint.
1960 (test_watch_location): New proc.
1961 (test_watchpoint_in_big_blob): Delete watchpoint.
1962 * gdb.base/watchpoint.c (func5): New function.
1963 (main): Call it.
1964
1965 2010-08-16 Doug Evans <dje@google.com>
1966
1967 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1968
1969 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1970
1971 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1972 tests.
1973
1974 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1975
1976 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1977 * gdb.base/gnu_vector.c: New File.
1978 * gdb.base/gnu_vector.exp: Likewise.
1979
1980 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1981
1982 * gdb.python/python.c: New File.
1983 * gdb.python/python-sl.c: New File.
1984 * gdb.python/python.exp: Test solib_address and decode_line
1985 * functions.
1986
1987 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1988
1989 * gdb.python/python.exp (show height, set height 10)
1990 (verify pagination beforehand, verify pagination beforehand: q)
1991 (gdb.execute does not page, verify pagination afterwards)
1992 (verify pagination afterwards: q): New.
1993
1994 2010-08-02 Doug Evans <dje@google.com>
1995
1996 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1997 because of an older gcc, change test2
1998 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1999 to unsupported.
2000
2001 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2002
2003 * gdb.base/break-always.exp: Do not expect full paths to file
2004 names.
2005 * gdb.base/commands.exp: Likewise.
2006
2007 2010-07-30 Doug Evans <dje@google.com>
2008
2009 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2010 xfail them when run with older gccs.
2011
2012 * lib/gdb.exp (build_executable): Forward "c++" option to
2013 get_compiler_info.
2014
2015 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2016 "python print ttype.template_argument(1)" and
2017 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2018 if using gcc 4.4 or earlier.
2019
2020 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2021 attach-to-debugger handling.
2022
2023 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2026 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2027 (main): Use copyreloc.
2028 * gdb.base/prelink.exp (split debug of executable)
2029 (.dynbss vs. .bss address shift): New tests.
2030
2031 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2032
2033 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2034 in gdb_test_multiple.
2035
2036 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2037
2038 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2039 environment.
2040
2041 2010-07-28 Tom Tromey <tromey@redhat.com>
2042
2043 PR python/11060:
2044 * gdb.python/py-type.c (Temargs): New template.
2045 (temvar): New variable.
2046 * gdb.python/py-type.exp (test_template): New proc.
2047
2048 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2049
2050 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2051 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2052
2053 2010-07-28 Tom Tromey <tromey@redhat.com>
2054
2055 PR c++/9946:
2056 * gdb.cp/temargs.exp: New file.
2057 * gdb.cp/temargs.cc: New file.
2058
2059 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2060
2061 * gdb.base/help.exp (help disassemble): Update the content.
2062
2063 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2064
2065 * gdb.threads/ia64-sigill.exp: New file.
2066 * gdb.threads/ia64-sigill.c: New file.
2067
2068 2010-07-27 Tom Tromey <tromey@redhat.com>
2069
2070 * gdb.opt/inline-cmds.c (ATTR): New define.
2071 (func1): Use it.
2072 (func2): Likewise.
2073 (func3): Likewise.
2074 (outer_inline1): Likewise.
2075 (outer_inline2): Likewise.
2076 * gdb.opt/inline-bt.c (ATTR): New define.
2077 (func1): Use it.
2078 (func2): Likewise.
2079 * gdb.opt/inline-locals.c (ATTR): New define.
2080 (func1): Use it.
2081 (func2): Likewise.
2082
2083 2010-07-27 Tom Tromey <tromey@redhat.com>
2084
2085 * gdb.stabs/gdb11479.c (hack): New function.
2086 (test): Use it.
2087 (test2): Use it.
2088 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2089 (int32_search_buf, int64_search_buf): No longer static.
2090 (x): Remove.
2091 * gdb.base/relocate.c (hack): New function.
2092
2093 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2094
2095 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2096 * gdb.python/py-value.c (func1): New function.
2097 (func2): Likewise.
2098
2099 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2100
2101 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2102 as not to clash with .data section.
2103
2104 2010-07-26 Jerome Guitton <guitton@adacore.com>
2105
2106 * gdb.base/code_elim.exp: New file.
2107 * gdb.base/code_elim1.c: New file.
2108 * gdb.base/code_elim2.c: New file.
2109
2110 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2111
2112 PR symtab/11827
2113
2114 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2115 (some_volatile_enum): New variable.
2116 * gdb.base/printcmds.exp (test_print_enums): New.
2117 <top level>: Call it.
2118
2119 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2120
2121 * gdb.cp/fpointer.cc: New test.
2122 * gdb.cp/fpointer.exp: New test.
2123
2124 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2125
2126 * gdb.base/solib-nodir.exp: New file.
2127 * lib/gdb.exp (runto): New case for a GDB internal error.
2128
2129 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2130 Ulrich Weigand <uweigand@de.ibm.com>
2131 Tom Tromey <tromey@redhat.com>
2132
2133 * gdb.base/charset-malloc.c: New file.
2134 * gdb.base/charset.c (malloc_stub): New prototype.
2135 (main): Call it instead of malloc itself.
2136 * gdb.base/charset.exp: Use only prepare_for_testing.
2137 (binfile): Remove the variable.
2138
2139 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2140
2141 Make core files the process_stratum.
2142 * gdb.base/corefile.exp (run: load core again)
2143 (run: sanity check we see the core file, run: with core)
2144 (run: core file is cleared, attach: load core again)
2145 (attach: sanity check we see the core file, attach: with core)
2146 (attach: core file is cleared): New tests.
2147 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2148
2149 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2150
2151 * gdb.arch/altivec-abi.exp: New tests.
2152
2153 2010-07-13 Tom Tromey <tromey@redhat.com>
2154
2155 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2156 (main): Use it.
2157 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2158
2159 2010-07-13 Tom Tromey <tromey@redhat.com>
2160
2161 * gdb.base/label.exp: New file.
2162 * gdb.base/label.c: New file.
2163
2164 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2165 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 * lib/gdb.exp (is_ilp32_target): New.
2168 (is_lp64_target): Likewise.
2169
2170 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2171 target.
2172 * gdb.arch/amd64-disp-step.exp: Likewise.
2173 * gdb.arch/amd64-dword.exp: Likewise.
2174 * gdb.arch/amd64-i386-address.exp: Likewise.
2175 * gdb.arch/amd64-word.exp: Likewise.
2176
2177 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2178 target.
2179 * gdb.arch/i386-bp_permanent.exp: Likewise.
2180 * gdb.arch/i386-byte.exp: Likewise.
2181 * gdb.arch/i386-disp-step.exp: Likewise.
2182 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2183 * gdb.arch/i386-prologue.exp: Likewise.
2184 * gdb.arch/i386-size-overlap.exp: Likewise.
2185 * gdb.arch/i386-size.exp: Likewise.
2186 * gdb.arch/i386-sse.exp: Likewise.
2187 * gdb.arch/i386-unwind.exp: Likewise.
2188 * gdb.arch/i386-word.exp: Likewise.
2189
2190 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2191 test only when building 64-bit executables. Do not hard-code
2192 -m64 option.
2193
2194 2010-07-07 Doug Evans <dje@google.com>
2195
2196 * lib/gdb.exp (gdb_test_list_exact): New function.
2197 * gdb.base/default.exp (show convenience): Call it, add tests for
2198 $_sdata = void, $_thread = 0.
2199
2200 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2201 Joel Brobecker <brobecker@adacore.com>
2202
2203 Fix re-run of PIE executable, PR shlibs/11776.
2204 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2205 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2206 and re-"run" of the inferior.
2207
2208 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 Joel Brobecker <brobecker@adacore.com>
2210
2211 Cope with missing /usr/sbin/prelink.
2212 * lib/prelink-support.exp (prelink_no):
2213 <result == 1 && $output is "no such file or directory">: New.
2214 (prelink_yes): Likewise. Return on failed prelink_no.
2215
2216 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2217 Joel Brobecker <brobecker@adacore.com>
2218
2219 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2220 build_executable by build_executable_own_libs. Replace "prelink -R"
2221 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2222 change.
2223 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2224 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2225 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2226 Replace build_executable by build_executable_own_libs's function
2227 build_executable_own_libs.
2228 (prelinkNO): Create new stub to call prelink_no.
2229 (prelinkYES): Create new stub to call prelink_yes.
2230 (test_attach): Rename calls of copy to file_copy.
2231 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2232 (copy): Move to ...
2233 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2234 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2235 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2236 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2237 special flags by gdb_compile_shlib. Replace second gdb_compile by
2238 build_executable_own_libs. Replace "prelink -R" execution by a call of
2239 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2240 a second call of prelink_yes. Replace restart commands by
2241 clean_restart.
2242 (prelink): Rename to ...
2243 (seen displacement message): ... this test. Extend its expectation
2244 strictness.
2245
2246 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2247
2248 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2249 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2250 displacement message exactly once.
2251
2252 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2253 Joel Brobecker <brobecker@adacore.com>
2254
2255 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2256 its restore after the <$relink_args != ""> loop. new comment.
2257
2258 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2259 Joel Brobecker <brobecker@adacore.com>
2260
2261 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2262 code for it. New variable relink_args.
2263 (prelinkYES): Call prelinkNO.
2264 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2265 in such case. Move the core code to ...
2266 (test_attach_gdb): ... a new function. Send GDB command "file".
2267 Extend expected "Attaching to " string.
2268
2269 2010-07-02 Tom Tromey <tromey@redhat.com>
2270
2271 * gdb.base/bitops.exp: Remove extraneous "pass".
2272
2273 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2274
2275 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2276
2277 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2278
2279 * gdb.base/help.exp: Adjust expected output.
2280
2281 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2282
2283 * gdb.base/help.exp: Adjust expected output.
2284
2285 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2286
2287 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2288 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2289 c++/11702.
2290
2291 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2292 Doug Evans <dje@google.com>
2293
2294 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2295 add .dynamic entry'.
2296
2297 2010-06-29 Doug Evans <dje@google.com>
2298
2299 Test PR c++/11702.
2300 * gdb.cp/m-static.exp: Add testcase.
2301 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2302
2303 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2304 Tom Tromey <tromey@redhat.com>
2305 Thiago Jung Bauermann <bauerman@br.ibm.com>
2306
2307 * gdb.python/py-inferior.c: New File.
2308 * gdb.python/py-infthread.c: New File.
2309 * gdb.python/py-inferior.exp: New File.
2310 * gdb.python/py-infthread.exp: New File.
2311
2312 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2315 (ptype ::C::OtherFileClass typedefs): New.
2316 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2317 (C::OtherFileClass::cOtherFileClassVar2): New.
2318 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2319 cOtherFileClassVar2.
2320 (C::cOtherFileType2, C::cOtherFileVar2): New.
2321 (C::cOtherFileVar_use): use also cOtherFileVar2.
2322 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2323
2324 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2325
2326 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2327 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2328 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2329 (print ::C::cOtherFileVar)
2330 (whatis C::OtherFileClass::cOtherFileClassType)
2331 (whatis ::C::OtherFileClass::cOtherFileClassType)
2332 (print C::OtherFileClass::cOtherFileClassVar)
2333 (print ::cOtherFileClassVar)
2334 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2335 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2336 trailing content.
2337 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2338 (C::OtherFileClass::cOtherFileClassVar)
2339 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2340 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2341
2342 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2343
2344 Test PR c++/11703 and PR gdb/1448.
2345 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2346 gdb/1448.
2347
2348 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2349
2350 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2351 (main) <rtti_data>: New.
2352 * gdb.cp/virtbase.exp (print rtti_data): New.
2353
2354 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2355 Joel Brobecker <brobecker@adacore.com>
2356
2357 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2358
2359 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2360
2361 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2362
2363 2010-06-28 Doug Evans <dje@google.com>
2364
2365 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2366
2367 2010-06-27 Doug Evans <dje@google.com>
2368
2369 * gdb.cp/m-static.exp: Update expected test output.
2370
2371 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2372
2373 * gdb.gdb/selftest.exp: Adjust expected message for
2374 capturing start-up runtime.
2375
2376 2010-06-25 Tom Tromey <tromey@redhat.com>
2377
2378 PR python/10808:
2379 * gdb.python/python.exp: Add new tests.
2380
2381 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2382
2383 * gdb.cp/operator.cc: Created an import loop.
2384 * gdb.cp/operator.exp: Added testcase for import loop.
2385
2386 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2387
2388 Test PR python/11407.
2389 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2390 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2391 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2392 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2393 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2394 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2395 binfile. Call gdb_compile with clean_restart twice.
2396 (func_nofb print, func_nofb backtrace, func_loopfb print)
2397 (func_loopfb backtrace): New.
2398
2399 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2400
2401 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2402 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2403 by a hand made one.
2404 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2405 i?86 requirement. Remove variables srcfile and binfile. New variable
2406 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2407
2408 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2409
2410 * gdb.cell/dwarfaddr.exp: New file.
2411 * gdb.cell/dwarfaddr.S: New file.
2412
2413 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2414
2415 Test PR 9436.
2416 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2417
2418 2010-06-24 Hui Zhu <teawater@gmail.com>
2419
2420 * gdb.base/eval.exp: New file.
2421
2422 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2423
2424 * gdb.cell/fork.exp: New file.
2425 * gdb.cell/fork.c: Likewise.
2426 * gdb.cell/fork-spu.c: Likewise.
2427
2428 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2429
2430 * lib/gdb.exp (banned_variables_traced): New global variable.
2431 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2432 (gdb_init): Use `trace add variable' instead of obsolete
2433 `trace variable'.
2434
2435 2010-06-21 Doug Evans <dje@google.com>
2436
2437 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2438
2439 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2440
2441 * gdb.arch/spu-ls.exp: New file.
2442 * gdb.arch/spu-ls.c: Likewise.
2443
2444 2010-06-18 Stan Shebs <stan@codesourcery.com>
2445
2446 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2447
2448 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2449
2450 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2451 * gdb.base/watch-cond.exp: Likewise.
2452 * gdb.python/py-breakpoint.exp: Likewise.
2453
2454 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2455
2456 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2457 clean_restart, make sure every test has a distinct message, and
2458 that messages don't include the executable' full path.
2459
2460 2010-06-17 Doug Evans <dje@google.com>
2461
2462 * gdb.arch/i386-size.exp: Updated expected output for
2463 DISASSEMBLY_OMIT_FNAME.
2464
2465 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2466 Sergio Durigan Junior <sergiodj@redhat.com>
2467
2468 * gdb.base/watch-notconst.c: New file.
2469 * gdb.base/watch-notconst.S: New file.
2470 * gdb.base/watch-notconst2.c: New file.
2471 * gdb.base/watch-notconst2.S: New file.
2472 * gdb.base/watch-notconst.exp: New file.
2473 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2474 (func4): Add operations on `global_ptr_ptr'.
2475 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2476 routine to test watchpoints created with a constant expression.
2477 (test_inaccessible_watchpoint): Include tests for watchpoints
2478 created with a constant expression.
2479
2480 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2481
2482 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2483 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2484 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2485 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2486 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2487 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2488 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2489 of `_start'.
2490
2491 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2492
2493 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2494 not supported on the target.
2495 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2496 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2497 * gdb.mi/mi-nsintrall.exp: Likewise.
2498 * gdb.mi/mi-nsmoribund.exp: Likewise.
2499 * gdb.mi/mi-nsthrexec.exp: Likewise.
2500
2501 2010-06-11 Stan Shebs <stan@codesourcery.com>
2502
2503 * gdb.base/permissions.exp: New file.
2504
2505 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2506
2507 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2508 does not support ELF executable class.
2509
2510 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2511
2512 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2513
2514 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2515
2516 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2517 (runto): Catch "The target does not support running in non-stop mode.".
2518
2519 2010-06-11 Michael Snyder <msnyder@vmware.com>
2520
2521 * gdb.base/setshow.exp (set language asm): Don't use
2522 gdb_test_no_output, fails on some targets.
2523
2524 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2525
2526 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2527 * gdb.cp/pr9167.exp: Likewise.
2528
2529 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2530
2531 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2532
2533 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2534
2535 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2536
2537 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2538
2539 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2540
2541 2010-06-11 Tom Tromey <tromey@redhat.com>
2542
2543 PR gdb/9977, PR exp/11636::
2544 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2545 (pieces_test_f6): Update expected output.
2546
2547 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 * gdb.base/moribund-step.exp: New.
2550
2551 2010-06-08 Michael Snyder <msnyder@vmware.com>
2552
2553 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2554 * gdb.ada/boolean_expr.exp:
2555 * gdb.ada/frame_args.exp: Ditto.
2556 * gdb.ada/lang_switch.exp: Ditto.
2557 * gdb.ada/ptype_arith_binop.exp: Ditto.
2558 * gdb.ada/ref_param.exp: Ditto.
2559 * gdb.ada/type_coercion.exp:Ditto.
2560
2561 * gdb.asm/asm-source.exp: Ditto.
2562
2563 * gdb.base/attach.exp: Ditto.
2564 * gdb.base/bitfields2.exp: Ditto.
2565 * gdb.base/call-signal-resume.exp: Ditto.
2566 * gdb.base/callfuncs.exp: Ditto.
2567 * gdb.base/commands.exp: Ditto.
2568 * gdb.base/dbx.exp: Ditto.
2569 * gdb.base/default.exp: Ditto.
2570 * gdb.base/dump.exp: Ditto.
2571 * gdb.base/exprs.exp: Ditto.
2572 * gdb.base/freebpcmd.exp: Ditto.
2573 * gdb.base/interrupt.exp: Ditto.
2574 * gdb.base/list.exp: Ditto.
2575 * gdb.base/long_long.exp: Ditto.
2576 * gdb.base/maint.exp: Ditto.
2577 * gdb.base/ptype.exp: Ditto.
2578 * gdb.base/return.exp: Ditto.
2579 * gdb.base/setshow.exp: Ditto.
2580 * gdb.base/sigbpt.exp: Ditto.
2581 * gdb.base/sigrepeat.exp: Ditto.
2582
2583 * gdb.cp/classes.exp: Ditto.
2584
2585 * gdb.dwarf2/dw2-restore.exp: Ditto.
2586
2587 * gdb.gdb/selftest.exp: Ditto.
2588
2589 * gdb.multi/base.exp: Ditto.
2590 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2591
2592 * gdb.python/py-block.exp: Ditto.
2593 * gdb.python/py-prettyprint.exp: Ditto.
2594 * gdb.python/py-template.exp: Ditto.
2595
2596 * gdb.server/ext-attach.exp: Ditto.
2597 * gdb.server/ext-run.exp: Ditto.
2598 * gdb.server/server-mon.exp: Ditto.
2599
2600 * gdb.threads/fork-thread-pending.exp: Ditto.
2601 * gdb.threads/hand-call-in-threads.exp: Ditto.
2602 * gdb.threads/interrupted-hand-call.exp: Ditto.
2603 * gdb.threads/linux-dp.exp: Ditto.
2604 * gdb.threads/manythreads.exp: Ditto.
2605 * gdb.threads/print-threads.exp: Ditto.
2606 * gdb.threads/pthreads.exp: Ditto.
2607 * gdb.threads/schedlock.exp: Ditto.
2608 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2609 * gdb.threads/threadapply.exp: Ditto.
2610
2611 2010-06-08 Michael Snyder <msnyder@vmware.com>
2612
2613 * gdb.ada/exec_changed.exp:
2614 Use ".*" instead of "" as wildcard regexp.
2615
2616 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2617 * gdb.base/call-ar-st.exp: Ditto.
2618 * gdb.base/checkpoint.exp: Ditto.
2619 * gdb.base/default.exp: Ditto.
2620 * gdb.base/dump.exp: Ditto.
2621 * gdb.base/ending-run.exp: Ditto.
2622 * gdb.base/fileio.exp: Ditto.
2623 * gdb.base/miscexprs.exp: Ditto.
2624 * gdb.base/pointers.exp: Ditto.
2625 * gdb.base/readline.exp: Ditto.
2626 * gdb.base/reread.exp: Ditto.
2627 * gdb.base/restore.exp: Ditto.
2628 * gdb.base/shlib-call.exp: Ditto.
2629 * gdb.base/valgrind-db-attach.exp: Ditto.
2630 * gdb.base/volatile.exp: Ditto.
2631 * gdb.base/watchpoints.exp: Ditto.
2632
2633 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2634
2635 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2636 * gdb.python/py-value.exp: Ditto.
2637
2638 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2639 * gdb.trace/circ.exp: Ditto.
2640 * gdb.trace/collection.exp: Ditto.
2641 * gdb.trace/packetlen.exp: Ditto.
2642 * gdb.trace/passc-dyn.exp: Ditto.
2643 * gdb.trace/report.exp: Ditto.
2644 * gdb.trace/tfile.exp: Ditto.
2645 * gdb.trace/tfind.exp: Ditto.
2646 * gdb.trace/while-dyn.exp: Ditto.
2647
2648 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2649
2650 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2651
2652 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 Test PR 10640.
2655 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2656
2657 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2658
2659 * gdb.cp/koenig.exp: Test for ADL operators.
2660 * gdb.cp/koenig.cc: Added ADL operators.
2661 * gdb.cp/operator.exp: New test.
2662 * gdb.cp/operator.cc: New test.
2663
2664 2010-06-04 Michael Snyder <msnyder@vmware.com>
2665
2666 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2667 * gdb.base/pending.exp: Ditto.
2668
2669 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2670
2671 2010-06-04 Doug Evans <dje@google.com>
2672
2673 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2674 disabled printers.
2675 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2676 (enable_lookup_function): New function.
2677
2678 2010-06-04 Tom Tromey <tromey@redhat.com>
2679
2680 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2681 of hash and id.
2682
2683 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2684
2685 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2686 newline.
2687 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2688 (empty verbose non-noisy clear, empty verbose noisy clear)
2689 (empty non-verbose noisy clear): Likewise.
2690
2691 2010-06-03 Michael Snyder <msnyder@vmware.com>
2692
2693 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2694 * gdb.base/display.exp: Ditto.
2695 * gdb.base/find.exp: Ditto.
2696 * gdb.base/ifelse.exp: Ditto.
2697 * gdb.base/multi-forks.exp: Ditto.
2698 * gdb.base/recurse.exp: Ditto.
2699 * gdb.base/setshow.exp: Ditto.
2700 * gdb.base/value-double-free.exp: Ditto.
2701 * gdb.base/watch-vfork.exp: Ditto.
2702 * gdb.base/watch_thread_num.exp: Ditto.
2703 * gdb.base/watchpoint-solib.exp: Ditto.
2704 * gdb.base/watchpoint.exp: Ditto.
2705 * gdb.base/watchpoints.exp: Ditto.
2706
2707 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2708 * gdb.cp/overload.exp: Ditto.
2709 * gdb.cp/virtfunc.exp: Ditto.
2710
2711 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2712
2713 * gdb.reverse/watch-precsave.exp:
2714 Replace gdb_test with gdb_test_no_output.
2715
2716 * gdb.threads/attach-into-signal.exp:
2717 Replace gdb_test with gdb_test_no_output.
2718 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2719 * gdb.threads/watchthreads.exp: Ditto.
2720 * gdb.threads/watchthreads2.exp: Ditto.
2721
2722 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2723 * gdb.trace/tfind.exp: Ditto.
2724
2725 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2726
2727 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2728 successful test if message is the empty string.
2729
2730 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2731
2732 * gdb.fortran/module.exp (stopped language detection): New test.
2733
2734 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2735
2736 Support DW_TAG_module as separate namespaces.
2737 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2738 gdb.fortran/library-module-lib.f90: New.
2739 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2740 (print i): Remove.
2741 (continue to breakpoint: i-is-1, print var_i value 1)
2742 (continue to breakpoint: i-is-2, print var_i value 2)
2743 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2744 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2745 (complete `modmany, complete `modmany`, complete `modmany`var)
2746 (show language, setting breakpoint at module): New tests.
2747 * gdb.fortran/module.f90 (module mod): Remove.
2748 (module mod1, module mod2, module modmany, subroutine sub1)
2749 (subroutine sub2, program module): New.
2750
2751 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
2753 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2754 (print value of rUC, print value of rI, print value of UI): ... here.
2755 * gdb.cp/anon-union.exp (pass): Rename to ...
2756 (print z 2): ... here.
2757
2758 2010-06-02 Michael Snyder <msnyder@vmware.com>
2759
2760 * gdb.trace/actions.exp: Use gdb_test_no_output.
2761 * gdb.trace/circ.exp: Ditto.
2762 * gdb.trace/packetlen.exp: Ditto.
2763 * gdb.trace/save-trace.exp: Ditto.
2764 * gdb.trace/tracecmd.exp: Ditto.
2765 * gdb.trace/tsv.exp: Ditto.
2766
2767 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2768 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2769 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2770 * gdb.threads/manythreads.exp: Ditto.
2771 * gdb.threads/print-threads.exp: Ditto.
2772 * gdb.threads/pthreads.exp: Ditto.
2773 * gdb.threads/schedlock.exp: Ditto.
2774 * gdb.threads/staticthreads.exp: Ditto.
2775 * gdb.threads/thread-specific.exp: Ditto.
2776 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2777 * gdb.threads/threadapply.exp: Ditto.
2778 * gdb.threads/watchthreads.exp: Ditto.
2779 * gdb.threads/watchthreads2.exp: Ditto.
2780
2781 * gdb.python/py-block.exp: Use gdb_test_no_output.
2782 * gdb.python/py-prettyprint.exp: Ditto.
2783 * gdb.python/py-template.exp: Ditto.
2784 * gdb.python/py-value.exp: Ditto.
2785
2786 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2787 * gdb.reverse/watch-reverse.exp: Ditto.
2788
2789 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2790 * gdb.server/ext-run.exp: Ditto.
2791
2792 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2793 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2794 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2795 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2796 * gdb.dwarf2/dw2-producer.exp: Ditto.
2797 * gdb.dwarf2/mac-fileno.exp: Ditto.
2798
2799 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2800 * gdb.gdb/selftest.exp: Ditto.
2801
2802 * gdb.multi/base.exp: Use gdb_test_no_output.
2803
2804 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2805
2806 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2809
2810 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2811
2812 * gdb.cp/class2.exp: Use gdb_test_no_output.
2813 * gdb.cp/classes.exp: Ditto.
2814 * gdb.cp/extern-c.exp: Ditto.
2815 * gdb.cp/inherit.exp: Ditto.
2816 * gdb.cp/maint.exp: Ditto.
2817 * gdb.cp/mb-inline.exp: Ditto.
2818 * gdb.cp/mb-templates.exp: Ditto.
2819 * gdb.cp/method2.exp: Ditto.
2820 * gdb.cp/misc.exp: Ditto.
2821 * gdb.cp/ovldbreak.exp: Ditto.
2822 * gdb.cp/punctuator.exp: Ditto.
2823 * gdb.cp/templates.exp: Ditto.
2824 * gdb.cp/virtbase.exp: Ditto.
2825
2826 * gdb.threads/attach-stopped.exp:
2827 Replace uses of send_gdb / gdb_expect.
2828 * gdb.threads/attachstop-mt.exp:
2829 Replace uses of send_gdb / gdb_expect.
2830 * gdb.threads/gcore-thread.exp:
2831 Replace uses of send_gdb / gdb_expect.
2832 * gdb.threads/hand-call-in-threads.exp:
2833 Replace uses of send_gdb / gdb_expect.
2834 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2835 * gdb.threads/print-threads.exp:
2836 Replace uses of send_gdb / gdb_expect.
2837 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2838 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2839 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2840
2841 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2842 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2843 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2844 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2845 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2846 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2847 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2848 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2849 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2850 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2851 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2852
2853 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2854
2855 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2856
2857 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2858
2859 * gdb.cp/koenig.exp: Added new test case.
2860 * gdb.cp/koenig.cc: Ditto.
2861
2862 2010-06-01 Michael Snyder <msnyder@vmware.com>
2863
2864 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2865 * gdb.base/arrayidx.exp: Ditto.
2866 * gdb.base/attach.exp: Ditto.
2867 * gdb.base/auxv.exp: Ditto.
2868 * gdb.base/bigcre.exp: Ditto.
2869 * gdb.base/break-always.exp: Ditto.
2870 * gdb.base/break-interp.exp: Ditto.
2871 * gdb.base/break.exp: Ditto.
2872 * gdb.base/breakpoint-shadow.exp: Ditto.
2873 * gdb.base/call-ar-st.exp: Ditto.
2874 * gdb.base/call-sc.exp: Ditto.
2875 * gdb.base/call-signal-resume.exp: Ditto.
2876 * gdb.base/callfuncs.exp: Ditto.
2877 * gdb.base/catch-syscall.exp: Ditto.
2878 * gdb.base/charset.exp: Ditto.
2879 * gdb.base/code-expr.exp: Ditto.
2880 * gdb.base/commands.exp: Ditto.
2881 * gdb.base/cond-expr.exp: Ditto.
2882 * gdb.base/condbreak.exp: Ditto.
2883 * gdb.base/cursal.exp: Ditto.
2884 * gdb.base/cvexpr.exp: Ditto.
2885 * gdb.base/default.exp: Ditto.
2886 * gdb.base/del.exp: Ditto.
2887 * gdb.base/detach.exp: Ditto.
2888 * gdb.base/display.exp: Ditto.
2889 * gdb.base/ena-dis-br.exp: Ditto.
2890 * gdb.base/eval-skip.exp: Ditto.
2891 * gdb.base/foll-fork.exp: Ditto.
2892 * gdb.base/foll-vfork.exp: Ditto.
2893 * gdb.base/frame-args.exp: Ditto.
2894 * gdb.base/funcargs.exp: Ditto.
2895 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2896 * gdb.base/gdbvars.exp: Ditto.
2897 * gdb.base/help.exp: Ditto.
2898 * gdb.base/ifelse.exp: Ditto.
2899 * gdb.base/included.exp: Ditto.
2900 * gdb.base/list.exp: Ditto.
2901 * gdb.base/macscp.exp: Ditto.
2902 * gdb.base/maint.exp: Ditto.
2903 * gdb.base/multi-fork.exp: Ditto.
2904 * gdb.base/overlays.exp: Ditto.
2905 * gdb.base/page.exp: Ditto.
2906 * gdb.base/pending.exp: Ditto.
2907 * gdb.base/pointers.exp: Ditto.
2908 * gdb.base/pr11022.exp: Ditto.
2909 * gdb.base/prelink.exp: Ditto.
2910 * gdb.base/printcmds.exp: Ditto.
2911 * gdb.base/psymtab.exp: Ditto.
2912 * gdb.base/randomize.exp: Ditto.
2913 * gdb.base/relational.exp: Ditto.
2914 * gdb.base/relocate.exp: Ditto.
2915 * gdb.base/remote.exp: Ditto.
2916 * gdb.base/sepdebug.exp: Ditto.
2917 * gdb.base/set-lang-auto.exp: Ditto.
2918 * gdb.base/setshow.exp: Ditto.
2919 * gdb.base/setvar.exp: Ditto.
2920 * gdb.base/signals.exp: Ditto.
2921 * gdb.base/signull.exp: Ditto.
2922 * gdb.base/sigstep.exp: Ditto.
2923 * gdb.base/sizeof.exp: Ditto.
2924 * gdb.base/solib-disc.exp: Ditto.
2925 * gdb.base/store.exp: Ditto.
2926 * gdb.base/structs.exp: Ditto.
2927 * gdb.base/structs2.exp: Ditto.
2928 * gdb.base/subst.exp: Ditto.
2929 * gdb.base/term.exp: Ditto.
2930 * gdb.base/trace-commands.exp: Ditto.
2931 * gdb.base/unwindonsignal.exp: Ditto.
2932 * gdb.base/valgrind-db-attach.exp: Ditto.
2933 * gdb.base/varargs.exp: Ditto.
2934 * gdb.base/watch-cond.exp: Ditto.
2935 * gdb.base/watch_thread_num.exp: Ditto.
2936 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2937 * gdb.base/watchpoint.exp: Ditto.
2938 * gdb.base/whatis-exp.exp: Ditto.
2939
2940 2010-06-01 Michael Snyder <msnyder@vmware.com>
2941
2942 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2943 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2944 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2945 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2946 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2947 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2948 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2949 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2950 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2951 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2952 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2953 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2954 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2955 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2956 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2957
2958 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2959
2960 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2961 trailing newline.
2962 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2963 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2964 (p *args): ... here and remove excessive trailing newline.
2965
2966 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2967
2968 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2969
2970 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 Accept the new Linux kernel "t (tracing stop)" string.
2973 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2974 Update comment.
2975 (state_wait) <T (tracing stop)>: New.
2976 (main): Update the state_wait expect string.
2977
2978 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2979
2980 * limits.c, limits.exp: Delete files.
2981 * Makefile.in (clean mostlyclean): Adjust.
2982 * tracecmd.exp: Adjust.
2983
2984 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2985
2986 * gdb.base/tui-layout.exp: New.
2987
2988 2010-05-28 Michael Snyder <msnyder@vmware.com>
2989
2990 * gdb.reverse/break-precsave.exp:
2991 Replace uses of send_gdb / gdb_expect.
2992 * gdb.reverse/break-reverse.exp:
2993 Replace uses of send_gdb / gdb_expect.
2994 * gdb.reverse/consecutive-precsave.exp:
2995 Replace uses of send_gdb / gdb_expect.
2996 * gdb.reverse/consecutive-reverse.exp:
2997 Replace uses of send_gdb / gdb_expect.
2998 * gdb.reverse/finish-precsave.exp:
2999 Replace uses of send_gdb / gdb_expect.
3000 * gdb.reverse/finish-reverse.exp:
3001 Replace uses of send_gdb / gdb_expect.
3002 * gdb.reverse/i386-precsave.exp:
3003 Replace uses of send_gdb / gdb_expect.
3004 * gdb.reverse/i386-reverse.exp:
3005 Replace uses of send_gdb / gdb_expect.
3006 * gdb.reverse/i386-sse-reverse.exp:
3007 Replace uses of send_gdb / gdb_expect.
3008 * gdb.reverse/i387-env-reverse.exp:
3009 Replace uses of send_gdb / gdb_expect.
3010 * gdb.reverse/i387-stack-reverse.exp:
3011 Replace uses of send_gdb / gdb_expect.
3012 * gdb.reverse/machinestate-precsave.exp:
3013 Replace uses of send_gdb / gdb_expect.
3014 * gdb.reverse/machinestate.exp:
3015 Replace uses of send_gdb / gdb_expect.
3016 * gdb.reverse/sigall-precsave.exp:
3017 Replace uses of send_gdb / gdb_expect.
3018 * gdb.reverse/sigall-reverse.exp:
3019 Replace uses of send_gdb / gdb_expect.
3020 * gdb.reverse/solib-precsave.exp:
3021 Replace uses of send_gdb / gdb_expect.
3022 * gdb.reverse/solib-reverse.exp:
3023 Replace uses of send_gdb / gdb_expect.
3024 * gdb.reverse/step-precsave.exp:
3025 Replace uses of send_gdb / gdb_expect.
3026 * gdb.reverse/step-reverse.exp:
3027 Replace uses of send_gdb / gdb_expect.
3028 * gdb.reverse/until-precsave.exp:
3029 Replace uses of send_gdb / gdb_expect.
3030 * gdb.reverse/until-reverse.exp:
3031 Replace uses of send_gdb / gdb_expect.
3032 * gdb.reverse/watch-precsave.exp:
3033 Replace uses of send_gdb / gdb_expect.
3034 * gdb.reverse/watch-reverse.exp:
3035 Replace uses of send_gdb / gdb_expect.
3036
3037 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3038
3039 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3040 excessive newline.
3041
3042 2010-05-27 Michael Snyder <msnyder@vmware.com>
3043
3044 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3045 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3046 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3047 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3048 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3049 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3050 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3051 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3052 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3053 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3054 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3055 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3056 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3057 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3058 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3059 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3060 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3061 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3062 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3063
3064 2010-05-26 Michael Snyder <msnyder@vmware.com>
3065
3066 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3067 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3068
3069 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3070 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3071 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3072
3073 * gdb.reverse/consecutive-reverse.exp:
3074 Replace uses of send_gdb / gdb_expect.
3075 * gdb.reverse/consecutive-precsave.exp:
3076 Replace uses of send_gdb / gdb_expect.
3077
3078 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3079 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3080 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3081 * gdb.mi/mi-ns-stale-regcache.exp:
3082 Replace uses of send_gdb / gdb_expect.
3083 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3084 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3085 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3086 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3087 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3088 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3089 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3090 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3091 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3092
3093 2010-05-26 Michael Snyder <msnyder@vmware.com>
3094
3095 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3096
3097 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3098
3099 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3100 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3101 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3102 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3103 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3104 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3105 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3106 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3107 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3108
3109 2010-05-25 Tom Tromey <tromey@redhat.com>
3110
3111 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3112
3113 2010-05-25 Tom Tromey <tromey@redhat.com>
3114
3115 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3116 argument order.
3117 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3118 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3119 order.
3120 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3121 order.
3122 * gdb.base/call-sc.exp (setup_kfails): Remove.
3123 (setup_compiler_kfails): Remove.
3124 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3125 argument order.
3126 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3127 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3128 (advancei): Fix setup_kfail argument order.
3129 * gdb.base/radix.exp: Fix setup_kfail argument order.
3130 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3131 order.
3132 * gdb.base/structs.exp (setup_kfails): Remove.
3133 (setup_compiler_kfails): Fix setup_kfail argument order.
3134 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3135 order.
3136 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3137 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3138 setup_kfail argument order.
3139 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3140
3141 2010-05-25 Tom Tromey <tromey@redhat.com>
3142
3143 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3144
3145 2010-05-25 Michael Snyder <msnyder@vmware.com>
3146
3147 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3148 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3149 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3150 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3151 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3152 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3153 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3154 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3155 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3156 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3157 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3158 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3159 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3160 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3161 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3162 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3163 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3164 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3165 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3166 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3167 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3168 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3169 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3170 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3171 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3172 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3173 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3174 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3175 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3176 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3177 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3178 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3179 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3180 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3181 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3182 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3183 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3184 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3185 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3186 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3187 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3188 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3189 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3190 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3191 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3192 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3193 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3194 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3195
3196 2010-05-25 Doug Evans <dje@google.com>
3197
3198 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3199 gdb.string_to_argv.
3200
3201 2010-05-21 Tom Tromey <tromey@redhat.com>
3202
3203 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3204 Call it.
3205 * gdb.dwarf2/pieces.S: Update.
3206 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3207
3208 2010-05-21 Tom Tromey <tromey@redhat.com>
3209
3210 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3211 Call it.
3212 * gdb.dwarf2/pieces.c (struct C): New.
3213 (f6): New function.
3214 * gdb.dwarf2/pieces.S: Replace.
3215
3216 2010-05-21 Tom Tromey <tromey@redhat.com>
3217
3218 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3219 Call it.
3220
3221 2010-05-21 Tom Tromey <tromey@redhat.com>
3222
3223 * gdb.dwarf2.pieces.exp: New file.
3224 * gdb.dwarf2.pieces.S: New file.
3225 * gdb.dwarf2.pieces.c: New file.
3226
3227 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3228 Joel Brobecker <brobecker@adacore.com>
3229
3230 * lib/gdb.exp (gdb_test_no_output): New function.
3231 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3232 when testing commands that should produce no output.
3233
3234 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3235
3236 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3237 parameter that we want to watch being a constant.
3238
3239 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3240
3241 * gdb.ada/cond_lang: New testcase.
3242
3243 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3244
3245 * lib/gdb.exp (banned_variables): New variable/constant.
3246 (gdb_init): Add write trace on variables listed in banned_variables.
3247 (gdb_finish): Remove write traces on variables listed in
3248 banned_variables.
3249
3250 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3251
3252 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3253 * gdb.cp/koenig.exp: Likewise.
3254
3255 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3256
3257 PR python/11482
3258
3259 * gdb.python/py-value.exp (test_value_hash): New function.
3260
3261 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3262
3263 PR exp/11530.
3264 * gdb.base/gdb11530.c: New file.
3265 * gdb.base/gdb11530.exp: New file.
3266
3267 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3268
3269 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3270 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3271
3272 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3273
3274 * gdb.cp/koenig.exp: New test.
3275 * gdb.cp/koenig.cc: New test program.
3276
3277 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3278
3279 Remove the use of prms_id and bug_id throughout the testsuite.
3280
3281 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3282
3283 PR exp/11349.
3284 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3285 use a reference local variable.
3286
3287 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3290 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3291 variable different_dir. Move debugfile into a full directory pathname
3292 under DIFFERENT_DIR.
3293 * lib/gdb.exp (separate_debug_filename): Remove.
3294 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3295 variable debug_dir and mkdir of it. Update function comments.
3296
3297 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3298
3299 PR gdb/11557
3300
3301 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3302 files.
3303
3304 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3305
3306 * gdb.python/py-param.exp: New File.
3307
3308 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3309
3310 * gdb.base/default.exp: Fix "set language" test.
3311
3312 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3313
3314 PR breakpoints/11531.
3315 * gdb.base/gdb11531.c: New file.
3316 * gdb.base/gdb11531.exp: New file.
3317
3318 2010-04-26 Tom Tromey <tromey@redhat.com>
3319
3320 * gdb.base/completion.exp: Add tests for completion and deprecated
3321 commands.
3322
3323 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3324
3325 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3326 (print /x char_array): Escape curly brackets.
3327
3328 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 Fix deadlock on looped list of loaded shared objects.
3331 * gdb.base/solib-corrupted.exp: New.
3332
3333 2010-04-23 Doug Evans <dje@google.com>
3334
3335 * gdb.python/py-section-script.c: New file.
3336 * gdb.python/py-section-script.exp: New file.
3337 * gdb.python/py-section-script.py: New file.
3338
3339 2010-04-20 Chris Moller <cmoller@redhat.com>
3340
3341 PR 10179
3342
3343 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3344 * gdb.base/pr10179-a.c:
3345 * gdb.base/pr10179-b.c:
3346 * gdb.base/pr10179.exp: New files.
3347
3348 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3349
3350 Fix crashes on dangling display expressions.
3351 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3352 is SEP.
3353 (lib_flags): Remove the "debug" keyword.
3354 (libsepdebug): New variable for iterating new loop.
3355 (save_pf_prefix): New variable wrapping the loop.
3356 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3357 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3358
3359 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3360
3361 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3362
3363 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3364
3365 PR stabs/11479.
3366 * gdb.stabs/gdb11479.exp: New file.
3367 * gdb.stabs/gdb11479.c: New file.
3368
3369 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3370
3371 * gdb.base/charset.c (Strin16, String32): New variables.
3372 * gdb.base/charset.exp (gdb_test): Test correct display
3373 of 16 or 32 bit strings.
3374
3375 2010-04-21 Chris Moller <cmoller@redhat.com>
3376
3377 PR 9167
3378 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3379 * gdb.cp/pr9167.cc: New file.
3380 * gdb.cp/pr9167.exp: New file.
3381
3382
3383 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3384
3385 PR pascal/11492.
3386 * gdb.pascal/gdb11492.pas: New file.
3387 * gdb.pascal/gdb11492.exp: New file.
3388
3389 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3390
3391 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3392
3393 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3394
3395 * gdb.ada/dyn_loc: New testcase.
3396
3397 2010-04-20 Chris Moller <cmoller@redhat.com>
3398
3399 PR 10867
3400
3401 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3402 * gdb.cp/pr10687.cc: New file.
3403 * gdb.cp/pr10687.exp: New file.
3404
3405
3406 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3407 Sergio Durigan Junior <sergiodj@redhat.com>
3408
3409 * gdb.fortran/logical.exp: New testcase.
3410 * gdb.fortran/logical.f90: New file.
3411
3412 2010-04-19 Doug Evans <dje@google.com>
3413
3414 * gdb.base/help.exp (help source): Update expected output.
3415
3416 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3417
3418 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3419 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3420 gdb_exit and return.
3421 (executable): New variable.
3422 (binfile): Use it.
3423
3424 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3425
3426 PR breakpoints/8554.
3427
3428 * gdb.trace/save-trace.exp: Adjust.
3429
3430 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3431
3432 PR corefiles/11511
3433 * gdb.arch/system-gcore.exp: New.
3434 * gdb.arch/gcore.c: Likewise.
3435
3436 2010-04-15 Doug Evans <dje@google.com>
3437
3438 * gdb.python/py-progspace.c: New file.
3439 * gdb.python/py-progspace.exp: New file.
3440
3441 * gdb.base/source.exp: Add tests for "source -s".
3442
3443 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3444
3445 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3446 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3447 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3448 * gdb.python/py-mi.exp: New test for to_string returning None.
3449
3450 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3451
3452 * gdb.python/py-breakpoint.c: Make result global.
3453
3454 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3455
3456 Fix non-GNU make compatibility.
3457 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3458
3459 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3460
3461 * gdb.python/py-breakpoint.exp: New File.
3462 * gdb.python/py-breakpoint.C: Ditto.
3463
3464 2010-04-08 Stan Shebs <stan@codesourcery.com>
3465
3466 * gdb.trace/actions.exp: Clear default-collect.
3467 * gdb.trace/save-trace.exp: Clear default-collect.
3468
3469 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3470
3471 * gdb.python/py-value: Add null string variable.
3472 (test_lazy_string): Test zero length, NULL address lazy
3473 strings.
3474
3475 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 * gdb.arch/i386-avx.c: New.
3478 * gdb.arch/i386-avx.exp: Likewise.
3479
3480 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3481
3482 2010-04-06 Doug Evans <dje@google.com>
3483
3484 * gdb.base/source-test.gdb: New file.
3485 * gdb.base/source.exp: Test source -v.
3486
3487 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3488
3489 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3490
3491 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3492
3493 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3494 within one line, unless it is followed by a double quote.
3495 * gdb.stabs/hppa.sed: Idem.
3496 * gdb.stabs/weird.def: Add char and String constants
3497 * gdb.stabs/weird.exp: Check for correct parsing of
3498 char and string constants.
3499 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3500 in .stabs to .stabx substitution.
3501
3502 2010-04-05 Stan Shebs <stan@codesourcery.com>
3503
3504 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3505 constant global.
3506 * gdb.trace/tfile.exp: Try to print them.
3507
3508 2010-04-04 Stan Shebs <stan@codesourcery.com>
3509
3510 * gdb.base/completion.exp: Update for new "info watchpoints".
3511 * gdb.base/default.exp: Ditto.
3512 * gdb.base/help.exp: Ditto.
3513 * gdb.base/watchpoint.exp: Ditto.
3514 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3515
3516 2010-04-04 Stan Shebs <stan@codesourcery.com>
3517
3518 * gdb.trace/tfile.exp: Sharpen tfind test.
3519
3520 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3521
3522 * gdb.base/break-entry.exp: New.
3523
3524 2010-04-02 Hui Zhu <teawater@gmail.com>
3525 Michael Snyder <msnyder@vmware.com>
3526
3527 * gdb.reverse/i386-sse-reverse.exp: New file.
3528 * gdb.reverse/i386-sse-reverse.c: New file.
3529
3530 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3531
3532 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3533
3534 2010-04-01 Stan Shebs <stan@codesourcery.com>
3535
3536 * gdb.trace/actions.exp: Tweak expected output.
3537 * gdb.trace/while-stepping.exp: Tweak expected output.
3538
3539 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3542
3543 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3544
3545 * gdb.base/commands.exp: Adjust.
3546 * gdb.cp/extern-c.exp: Adjust.
3547
3548 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3549
3550 * gdb.trace/collection.c (local_test_func): Define a local struct,
3551 and instanciate it.
3552
3553 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3554
3555 * gdb.trace/collection.exp (gdb_collect_args_test)
3556 (gdb_collect_argarray_test): XFAIL the tests that assume the
3557 argarray argument's elements are collected.
3558
3559 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3562 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3563
3564 2010-03-31 Stan Shebs <stan@codesourcery.com>
3565
3566 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3567 and tracepoint conditionals.
3568 (gdb_verify_tracepoints): Delete unused return.
3569
3570 2010-03-26 Keith Seitz <keiths@redhat.com>
3571
3572 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3573 appear in the output before main.
3574 Remove KFAIL for gdb/2215 aka bz 9320.
3575
3576 2010-03-30 Doug Evans <dje@google.com>
3577
3578 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3579 by dejagnu.
3580 * gdb.arch/amd64-dword.exp: Ditto.
3581
3582 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3583 match.
3584 (break printf): Ditto.
3585
3586 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3587
3588 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3589 gcc < 4.4.
3590 * gdb.cp/shadow.exp: Ditto.
3591
3592 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3593
3594 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3595 "tstart" is silent.
3596
3597 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3598
3599 * gdb.trace/collection.exp (executable): New.
3600 (binfile): Use it.
3601 (fpreg, spreg, pcreg): New.
3602 (test_register): Use gdb_test_multiple. Pass /x to print.
3603 (prepare_for_trace_test): New.
3604 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3605 (gdb_collect_args_test, gdb_collect_argstruct_test)
3606 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3607 prepare_for_trace_test.
3608 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3609 fpreg, spreg and pcreg.
3610 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3611 prepare_for_trace_test.
3612 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3613 try to detect tracing support here. Don't set breakpoints at
3614 `begin' or `end' here.
3615 <global scope>: Use clean_restart. Run to main before checking
3616 for tracing support. Check for for tracing support here.
3617
3618 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3619
3620 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3621 " as $displacement" to "seen displacement message".
3622
3623 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3624
3625 * gdb.trace/while-dyn.exp (executable): New variable.
3626 (binfile): Use it.
3627 (test_while_stepping): New function. Move most tests here. Call
3628 it once for each of the while-stepping, stepping and ws aliases.
3629
3630 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3631
3632 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3633 that do not provide the tagless_struct type name at all.
3634 (test_print_anon_union): Do not check value of uninitialized
3635 union member. Do not use cp_test_ptype_class, so we can accept
3636 "long" as well as "long int".
3637
3638 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3639
3640 * gdb.trace/tfile.c (tohex, bin2hex): New.
3641 (write_error_trace_file): Hexify error description.
3642
3643 2010-03-25 Stan Shebs <stan@codesourcery.com>
3644
3645 * gdb.trace/tfile.c: Generate an additional trace file, improve
3646 portability.
3647 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3648 files in a better way.
3649
3650 2010-03-25 Keith Seitz <keiths@redhat.com>
3651
3652 * gdb.java/jprint.exp: XFAIL printing of static class members
3653 because of GCC debuginfo problem.
3654
3655 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3656
3657 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3658
3659 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3660
3661 * gdb.base/completion.exp: Allow long instead of long int.
3662 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3663 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3664 variable p.
3665 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3666 * gdb.base/pointers.exp: Allow long instead of long int.
3667 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3668 * gdb.base/step-line.exp: Allow a directory before the source file name.
3669
3670 2010-03-24 Tom Tromey <tromey@redhat.com>
3671
3672 PR breakpoints/9352:
3673 * gdb.base/default.exp: Update.
3674 * gdb.base/commands.exp: Update.
3675 * gdb.cp/extern-c.exp: Test setting commands on multiple
3676 breakpoints at once.
3677
3678 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3679
3680 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3681 if gdb,nosignals.
3682 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3683 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3684 exited".
3685
3686 2010-03-24 Stan Shebs <stan@codesourcery.com>
3687
3688 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3689
3690 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3691
3692 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3693 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3694 argument. Handle "short" and "long".
3695 (Top level): Pass overprototyped output for old_fptr and xptr.
3696
3697 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3698
3699 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3700 format strings and add casts to avoid compiler warnings.
3701
3702 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3703
3704 * lib/trace-support.exp (gdb_trace_setactions):
3705 Don't expect whitespace after ">" prompt.
3706 * gdb.trace/actions.exp: Adjust for output changes.
3707 * gdb.trace/while-stepping.exp: Likewise.
3708
3709 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3710
3711 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3712 and r157645).
3713
3714 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3715
3716 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3717 New.
3718
3719 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3720
3721 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3722 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3723
3724 2010-03-19 Stan Shebs <stan@codesourcery.com>
3725
3726 * gdb.trace/ax.exp: New file.
3727
3728 2010-03-19 Doug Evans <dje@google.com>
3729
3730 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3731 output from gcc.
3732
3733 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3734 named /usr/sbin/prelink<foo>.
3735
3736 2010-03-18 Stan Shebs <stan@codesourcery.com>
3737
3738 * gdb.trace/circ.exp: Test circular-trace-buffer.
3739 * gdb.trace/tfile.exp: Update tstatus test.
3740
3741 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3742
3743 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3744 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3745
3746 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3747
3748 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3749
3750 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3751
3752 * gdb.base/default.exp: Adjust the expected output of the finish
3753 and until commands when the inferior is not being run.
3754
3755 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3756
3757 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3758 * gdb.cp/nsusing.exp: Ditto.
3759
3760 2010-03-15 Tom Tromey <tromey@redhat.com>
3761
3762 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3763 * gdb.cp/userdef.cc (operator==): New function.
3764 (main): New locals mem1, mem2.
3765
3766 2010-03-15 Jie Zhang <jie@codesourcery.com>
3767
3768 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3769 Declare and use new loadtimeout variable.
3770
3771 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3772
3773 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3774 Use gdb_load later.
3775
3776 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3777
3778 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3779 literal. Add missing endlines to prints to stderr.
3780
3781 2010-03-12 Tom Tromey <tromey@redhat.com>
3782
3783 PR c++/9708:
3784 * gdb.cp/m-static.exp: Add regression test.
3785 * gdb.cp/m-static.cc (method): New method.
3786 (main): Call it.
3787
3788 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3789
3790 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3791 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3792
3793 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3794
3795 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3796
3797 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3798
3799 * lib/gdb.exp (skip_stl_tests): New.
3800 (gdb_compile): Symbian needs -ldl.
3801 (shlib_target_file): New.
3802 (shlib_symbol_file): New.
3803 (gdb_load_shlibs): Use shlib_target_file.
3804 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3805 * gdb.cp/exception.exp: Use skip_stl_tests.
3806 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3807 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3808 * gdb.cp/mb-templates.exp: Ditto.
3809 * gdb.base/commands.exp: Relax regexes.
3810 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3811 shlib_target_file and shlib_symbol_file.
3812 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3813 sections.
3814 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3815 * gdb.base/solib-disc.exp: Use
3816 shlib_target_file and shlib_symbol_file.
3817 * gdb.base/unload.exp: Don't skip on symbian. Use
3818 shlib_target_file and shlib_symbol_file.
3819 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3820
3821 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3822
3823 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3824 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3825 Issue a tfind end before looking for a tracepoint frame.
3826 * gdb.trace/tfind.exp: Adjust tstatus output.
3827 Adjust disassembly output.
3828 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3829
3830 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3831
3832 * gdb.base/break-interp.exp: Create new displacement parameter value
3833 for the test_ld calls.
3834 (reach): New parameter displacement, verify its content. New push of
3835 pf_prefix "reach-$func:". Import global expect_out.
3836 (test_core): New parameter displacement, verify its content. New push
3837 of pf_prefix "core:". New command "set verbose on". Import global
3838 expect_out.
3839 (test_attach): New parameter displacement, verify its content. New
3840 push of pf_prefix "attach:". New command "set verbose on". Import
3841 global expect_out.
3842 (test_ld): New parameter displacement, pass it to the reach, test_core
3843 and test_attach calls and verify its content in the "ld.so exit" test.
3844 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3845 (prelink): Update expected text, use gdb_test.
3846
3847 2010-03-10 Doug Evans <dje@google.com>
3848
3849 * gdb.base/checkpoint.exp: Fix comment.
3850 Lengthen timeout while doing >600 checkpoints test.
3851 Rename duplicate "kill all one" test to keep test names unique.
3852
3853 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3854
3855 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3856
3857 2010-03-08 Keith Seitz <keiths@redhat.com>
3858
3859 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3860 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3861 (dm_type_long): New function.
3862 (dm_type_unsigned_short): New function.
3863 (dm_type_unsigned_long): New function.
3864 (myint): New typedef.
3865 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3866 long, unsigned shor and long, operator char*, and typedef.
3867 (test_lookup_operator_functions): Add operator char* test.
3868 (test_paddr_operator_functions): Likewise.
3869 (test_paddr_overloaded_functions): Use probe values for
3870 short, long, and unsigned short and long.
3871 (test_paddr_hairy_functions): If the demangler probe detected
3872 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3873 demangler.
3874 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3875 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3876 and "print null_pmf".
3877 Add test "ptype a.*pmf".
3878 * gdb.cp/overload.exp: Allow optional "int" to appear with
3879 "short" and "long".
3880 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3881 long expect value for men_overload1arg.
3882 Allow "int" to appear with "short" and "long".
3883 When testing "info break", add argument for main (void).
3884 Also allow "int" to appear with "short" and "long".
3885 Ditto with "unsigned" and "long long".
3886 * gdb.java/jmain.exp: Do not enclose methods names in single
3887 quotes.
3888 * gdb.java/jmisc.exp: Likewise.
3889 * gdb.java/jprint.exp: Likewise.
3890 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3891
3892 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3893 * gdb.cp/exception.exp (backtrace after first throw)
3894 (backtrace after second throw): Allow a namespace before __cxa_throw.
3895 (backtrace after first catch, backtrace after second catch): Allow
3896 a namespace before __cxa_begin_catch.
3897
3898 * gdb.cp/cpexprs.exp: New file.
3899 * gdb.cp/cpexprs.cc: New file.
3900
3901 From Daniel Jacobowitz <dan@codesourcery.com>
3902 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3903 to use string_to_regexp.
3904 (ctor, dtor): New functions. Use them to match constructor
3905 and destructor function types.
3906 (Top level): Use runto_main.
3907
3908 2010-03-05 Tom Tromey <tromey@redhat.com>
3909
3910 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3911 gdb.target_charset.
3912 (pp_ns.to_string): Likewise.
3913
3914 2010-03-04 Keith Seitz <keiths@redhat.com>
3915
3916 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3917 can be quoted. Test that both the filename and function/line
3918 portions can be quoted at the same time.
3919
3920 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3921
3922 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3923
3924 2010-03-03 Doug Evans <dje@google.com>
3925
3926 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3927 libc contains libpthread.
3928
3929 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3930 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3931 of gdb_compile. Add another pattern to match android backtrace.
3932
3933 2010-03-03 Tom Tromey <tromey@redhat.com>
3934
3935 PR gdb/11345:
3936 * gdb.base/printcmds.exp (test_printf): Add test.
3937
3938 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3939
3940 * gdb.arch/amd64-byte.exp: New.
3941 * gdb.arch/amd64-dword.exp: Likewise.
3942 * gdb.arch/amd64-pseudo.c: Likewise.
3943 * gdb.arch/amd64-word.exp: Likewise.
3944 * gdb.arch/i386-byte.exp: Likewise.
3945 * gdb.arch/i386-pseudo.c: Likewise.
3946 * gdb.arch/i386-word.exp: Likewise.
3947
3948 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3949
3950 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3951 types. Add structreg, bitfields, and flags registers.
3952 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3953 registers.
3954
3955 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3956
3957 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3958 (load_description): Set architecture if defined.
3959
3960 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3961
3962 * gdb.python/py-frame.exp: Add read_var block tests.
3963 * gdb.python/py-frame.c (block): New function.
3964
3965 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3966 Daniel Jacobowitz <dan@codesourcery.com>
3967
3968 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3969
3970 2010-02-25 David S. Miller <davem@davemloft.net>
3971
3972 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3973 fix logic for setting all_syscalls_numbers.
3974
3975 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3976
3977 * Makefile.in: Add py-block and py-symbol.
3978 * gdb.python/py-symbol.exp: New File.
3979 * gdb.python/py-symtab.exp: New File.
3980 * gdb.python/py-block.exp: New File.
3981 * gdb.python/py-symbol.c: New File.
3982 * gdb.python/py-block.c: New File.
3983
3984 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3985
3986 PR python/11314
3987 * lib/gdb.exp (skip_python_tests): New function.
3988 * gdb.python/py-cmd.exp: Use skip_python_tests.
3989 * gdb.python/py-frame.exp: Likewise.
3990 * gdb.python/py-function.exp: Likewise.
3991 * gdb.python/py-prettyprint.exp: Likewise.
3992 * gdb.python/py-template.exp: Likewise.
3993 * gdb.python/py-type.exp: Likewise.
3994 * gdb.python/py-value.exp: Likewise.
3995
3996 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3997
3998 PR9605
3999
4000 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4001
4002 2010-02-19 Tom Tromey <tromey@redhat.com>
4003
4004 PR c++/8693, PR c++/9496:
4005 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4006 regression tests.
4007
4008 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4009
4010 Fix compatibility with m68k as.
4011 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4012 Use only /* comments */.
4013
4014 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4015
4016 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4017 * configure: Regenerate.
4018
4019 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4020
4021 * gdb.python/py-type.exp: Check for Python support.
4022
4023 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4024
4025 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4026 `regsub' syntax available.
4027
4028 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4029
4030 * gdb.base/shmain.c (main): Remove printf call.
4031 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4032 * gdb.base/unload.c (main): Make format of fprintf a string
4033 literal. Add missing endlines to prints to stderr.
4034 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4035
4036 2010-02-17 Tom Tromey <tromey@redhat.com>
4037
4038 * gdb.java/jprint.java (jprint.props): New field.
4039 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4040
4041 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4042
4043 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4044 available.
4045
4046 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4047
4048 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4049 creation to support remote host testing.
4050
4051 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4052
4053 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4054 Recognize "command not found".
4055
4056 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4057
4058 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4059 single-stepping.
4060
4061 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4062
4063 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4064 if arguments are not supported.
4065
4066 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4067
4068 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4069 be const or non-const.
4070
4071 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4072
4073 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4074 mi_send_resuming_command to send -exec-continue.
4075
4076 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4077
4078 * gdb.base/list.exp (test_list_filename_and_function): Add test
4079 with single quotes.
4080 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4081 matching.
4082 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4083 Add KFAIL'd tests for PR gdb/11289.
4084
4085 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4086
4087 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4088
4089 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4090
4091 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4092 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4093 a temporary directory.
4094
4095 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4096
4097 * gdb.base/charset.exp: Use a single regular expression to match
4098 show host-charset and show target-charset output.
4099
4100 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4103 "Illegal process-id" expect string more exact.
4104 (attach to digits-starting nonsense is prohibited): New.
4105
4106 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4107
4108 * gdb.base/prelink.exp (set verbose on): New.
4109
4110 2010-02-12 Tomas Holmberg <th@virtutech.com>
4111
4112 * mi-reverse.exp: New file. Test for reverse option to the
4113 following MI commands: exec-continue, exec-finish, exec-next,
4114 exec-step, exec-next-instruction, exec-step-instruction.
4115
4116 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4117
4118 * gdb.ada/ptype_tagged_param: New testcase.
4119
4120 2010-02-08 Tom Tromey <tromey@redhat.com>
4121
4122 PR c++/8017:
4123 * gdb.cp/overload.exp: Add tests.
4124 * gdb.cp/overload.cc (struct K): New.
4125 (namespace N): New.
4126 (main): Call new functions.
4127 (K::staticoverload): Define.
4128
4129 2010-02-08 Chris Moller <moller@mollerware.com>
4130
4131 PR gdb/10728
4132 * gdb.cp/pr10728-x.h: New file.
4133 * gdb.cp/pr10728-x.cc: New file.
4134 * gdb.cp/pr10728-y.cc: New file.
4135 * gdb.cp/pr10728.exp: New file.
4136 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4137
4138 2010-02-08 Chris Moller <moller@mollerware.com>
4139
4140 PR gdb/9067
4141 * gdb.cp/pr9067.exp: New
4142 * gdb.cp/pr9067.cc: New
4143 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4144
4145 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4146
4147 * lib/gdb.exp (gdb_test_timeout): New global variable.
4148 Set it to timeout if not already set.
4149 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4150
4151 2010-02-05 Doug Evans <dje@google.com>
4152
4153 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4154 user.
4155
4156 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4157
4158 PR c++/7935:
4159 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4160
4161 2010-02-04 Tom Tromey <tromey@redhat.com>
4162
4163 * gdb.cp/virtbase.exp: Make test case names unique.
4164
4165 2010-02-02 Tom Tromey <tromey@redhat.com>
4166
4167 * gdb.cp/virtbase.exp: Add regression tests.
4168 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4169 (main): Instantiate RHC.
4170
4171 2010-02-02 Tom Tromey <tromey@redhat.com>
4172
4173 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4174 type-printing change.
4175
4176 2010-02-02 Tom Tromey <tromey@redhat.com>
4177
4178 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4179 * gdb.cp/virtbase.cc: New file.
4180 * gdb.cp/virtbase.exp: New file.
4181 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4182
4183 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 PR libc/11214:
4186 * gdb.threads/current-lwp-dead.c: Include features.h.
4187 (HAS_NOMMU): New.
4188 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4189
4190 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4191
4192 * gdb.base/symbol-without-target_section.exp,
4193 gdb.base/symbol-without-target_section.c: New.
4194
4195 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4196
4197 * gdb.base/bigcore.exp: Reset increased timeout.
4198 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4199
4200 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4201
4202 * gdb.base/gcore.exp (capture_command_output): Use
4203 gdb_test_multiple.
4204
4205 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4206
4207 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4208 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4209 (Top level): Call it.
4210
4211 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4212
4213 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4214
4215 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4216
4217 * gdb.base/call-strs.exp, gdb.base/default.exp,
4218 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4219 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4220 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4221 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4222 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4223 * gdb.base/ending-run.exp: Correct restore of timeout.
4224 * gdb.base/page.exp: Remove unnecessary timeout setting.
4225
4226 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4227
4228 * gdb.ada/rec_return: New testcase.
4229
4230 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4231
4232 * gdb.ada/call_pn: New testcase.
4233
4234 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4235
4236 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4237 (Top level): Use it to resume.
4238 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4239 the Thumb mode displaced stepping error as unsupported.
4240
4241 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4242
4243 * gdb.cp/nsusing.exp: Added more tests.
4244 * gdb.cp/nsrecurs.exp: Ditto.
4245 * gdb.cp/nsusing.cc: Added test functions.
4246 * gdb.cp/nsrecurs.cc: Ditto.
4247
4248 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4249
4250 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4251 absolute directory pathnames in gdb.sum file.
4252
4253 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4254
4255 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4256 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4257
4258 2010-01-26 Tom Tromey <tromey@redhat.com>
4259
4260 PR exp/7643:
4261 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4262 setup_kfail.
4263
4264 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4265
4266 * gdb.cp/nsrecurs.exp: New test.
4267 * gdb.cp/nsrecurs.cc: New test program.
4268 * gdb.cp/nsstress.exp: New test.
4269 * gdb.cp/nsstress.cc: New test program.
4270 * gdb.cp/nsdecl.exp: New test.
4271 * gdb.cp/nsdecl.cc: New test program.
4272
4273 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4274
4275 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4276 imported into file scope.
4277 Marked test as xfail.
4278 * gdb.cp/namespace-using.cc (marker5): New function.
4279 * gdb.cp/shadow.exp: New test.
4280 * gdb.cp/shadow.cc: New test program.
4281 * gdb.cp/nsimport.exp: New test.
4282 * gdb.cp/nsimport.cc: New test program.
4283
4284 2010-01-25 Tom Tromey <tromey@redhat.com>
4285
4286 PR gdb/11049:
4287 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4288 with "set print null-stop on".
4289
4290 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4291
4292 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4293 Adjust it for DISASSEMBLY_OMIT_FNAME.
4294
4295 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4296
4297 PR symtab/11199:
4298 * gdb.dwarf2/member-ptr-forwardref.exp,
4299 gdb.dwarf2/member-ptr-forwardref.S: New.
4300
4301 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4302
4303 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4304 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4305 thread1_tid_mutex. Remove gdbstop_mutex handling.
4306 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4307 thread2_tid_mutex. Remove gdbstop_mutex handling.
4308 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4309 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4310 pthread_cond_wait conditionalizations by while loops.
4311
4312 2010-01-20 Tom Tromey <tromey@redhat.com>
4313
4314 PR backtrace/10770:
4315 * gdb.dwarf2/pr10770.exp: New file.
4316 * gdb.dwarf2/pr10770.c: New file.
4317 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4318
4319 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4320
4321 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4322 that target was removed, and the test always runs native anyway.
4323
4324 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4325
4326 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4327 gdb.base/watchpoint-cond-gone-stripped.c: New.
4328
4329 2010-01-19 Tom Tromey <tromey@redhat.com>
4330
4331 PR c++/8000:
4332 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4333 existing tests.
4334 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4335 (main): Use AAA::SomeEnum.
4336
4337 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4338
4339 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4340 (test_ignore_count): Declare line_callme_body global.
4341 (run to breakpoint with ignore count): Use line_callme_body.
4342 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4343 (set line_main_hello, set line_main_return): Reindent.
4344 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4345 New.
4346 (continue to callee4): Use line_callee4_body.
4347 (check *stopped from CLI command): Use line_callee4_next.
4348 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4349 (set line_main_hello, set line_main_return): Reindent.
4350 (set line_callee4_head, set line_callee4_body): New.
4351 (continue to callee4): Use line_callee4_body.
4352
4353 2010-01-18 Tom Tromey <tromey@redhat.com>
4354
4355 PR c++/9680:
4356 * gdb.cp/casts.cc: Add new classes and variables.
4357 * gdb.cp/casts.exp: Test new operators.
4358
4359 2010-01-18 Tom Tromey <tromey@redhat.com>
4360 Thiago Jung Bauermann <bauerman@br.ibm.com>
4361
4362 * gdb.python/source2.py: New file.
4363 * gdb.python/source1: New file.
4364 * gdb.python/python.exp: Test "source" command.
4365
4366 2010-01-15 Stan Shebs <stan@codesourcery.com>
4367
4368 * gdb.trace/tfile.c: New file.
4369 * gdb.trace/tfile.exp: New file.
4370
4371 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4374
4375 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4376
4377 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4378
4379 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4380
4381 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4382 (libfunc): New parameter action. Implement also selectable "sleep".
4383 * gdb.base/break-interp-main.c: Include assert.h.
4384 (libfunc): New parameter action.
4385 (main): New parameters argc and argv. Assert argc. Pass argv.
4386 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4387 (test_attach): New proc.
4388 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4389 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4390
4391 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4392
4393 * gdb.base/break-interp.exp (test_core): New proc.
4394 (test_ld): Call it.
4395
4396 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4397
4398 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4399 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4400 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4401 and gdb_compile_shlib. Use new -Wl compiler options.
4402 (dl bt, main bt): New tests.
4403
4404 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4405
4406 Support PIEs with no symfile_objfile.
4407 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4408 (test_ld): New parameter trynosym.
4409 (test_ld <$trynosym>): New block.
4410
4411 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4412
4413 * gdb.base/break-interp.exp: New file.
4414
4415 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4416
4417 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4418 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4419 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4420 test.
4421 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4422 * gdb.python/py-mi.exp: Add lazy string test.
4423
4424 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4425
4426 * lib/mi-support.exp (mi_check_thread_states): Handle
4427 core number in thread listing.
4428
4429 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4430
4431 * gdb.base/maint.exp: Adjust the expected output for the
4432 "maint print type" test. Use gdb_test_multiple instead of
4433 gdb_sent/gdb_expect.
4434
4435 2010-01-11 Doug Evans <dje@google.com>
4436
4437 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4438 from gdbserver_download. All callers updated.
4439
4440 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4441
4442 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 Implement binary numbers parsing.
4445 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4446 (test_integer_literals_rejected): New binary tests.
4447
4448 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4449
4450 * gdb.cell/configure: Regenerate.
4451
4452 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4453
4454 * gdb.base/corefile.exp: Move the core finding block out and call it as
4455 core_find, new variable $corefile, replace corefile by $corefile and
4456 [file tail $corefile] for usage vs. test names resp.
4457 * lib/gdb.exp (core_find): Move it as a new function here. New
4458 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4459 $destcore. Return "" on error.
4460
4461 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4462
4463 Workaround PR binutils/10802.
4464 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4465 (twice).
4466
4467 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4468
4469 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4470
4471 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4472
4473 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4474 call, to avoid interruption.
4475
4476 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4477
4478 * gdb.stabs/weird.def (args93): New.
4479
4480 2010-01-07 Doug Evans <dje@google.com>
4481
4482 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4483
4484 2010-01-07 Tom Tromey <tromey@redhat.com>
4485
4486 * gdb.base/source.exp: Use correct line number.
4487
4488 2010-01-05 Stan Shebs <stan@codesourcery.com>
4489
4490 * gdb.trace/tracecmd.exp: Test ftrace.
4491
4492 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4493
4494 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4495
4496 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4499 "uint_for_mi_testing".
4500
4501 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4502
4503 Test indented comment in file being sourced.
4504 * gdb.base/commands.exp: Test indented comment in file being sourced.
4505
4506 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4507
4508 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4509 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4510 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4511 notice.
4512
4513 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4514
4515 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4516 notice.
4517
4518 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4519
4520 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4521 missing $after_stopped and comma (,) expectation.
4522
4523 2009-12-31 Stan Shebs <stan@codesourcery.com>
4524
4525 * gdb.trace/actions.exp: Test teval action.
4526
4527 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4528
4529 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4530 (top level): Call test_watchpoint_in_big_blob.
4531 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4532 watchpoints.
4533 (func3): Write to buf.
4534
4535 2009-12-29 Stan Shebs <stan@codesourcery.com>
4536
4537 * gdb.trace/actions.exp: Test default-collect.
4538
4539 2009-12-28 Stan Shebs <stan@codesourcery.com>
4540
4541 * gdb.trace/tsv.exp: New file.
4542 * gdb.base/completion.exp: Update ambiguous info output.
4543
4544 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4545
4546 * gdb.base/find.c (main): Reference search buffers.
4547 * gdb.base/included.c (main): Reference integer.
4548 * gdb.base/ptype.c (charfoo): Declare.
4549 (intfoo): Call charfoo.
4550 * gdb.base/scope0.c (useitp): New function.
4551 (usestatics): Use useitp.
4552 (useit): Add a type for val.
4553 * gdb.base/scope1.c (useit1): Take a pointer argument.
4554 (usestatics1): Update calls to useit1.
4555 * gdb.cp/call-c.cc: Declare foo.
4556 (main): Call foo.
4557 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4558 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4559 (main): Call C::ensureRefs and ensureOtherRefs.
4560 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4561 variables.
4562 (ensureOtherRefs): New function.
4563 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4564 * gdb.cp/templates.cc (main): Call t5i.value.
4565
4566 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4567
4568 Fix compatibility with G++-4.5.
4569 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4570 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4571 (uncaught return): Remove.
4572
4573 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4574 Phil Muldoon <pmuldoon@redhat.com>
4575
4576 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4577 (bp_location13, bp_location14, bp_location17, bp_location18)
4578 (marker3_proto, marker4_proto): New variables.
4579 (breakpoint info): Update output.
4580 (run until breakpoint at marker3, run until breakpoint at marker4): New
4581 tests.
4582
4583 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4586 Replace the printf call of Y by provided "y-set-1" label. New block
4587 for the second shared library.
4588 * gdb.base/unload.exp: Compile also the second library, call
4589 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4590 (single pending breakpoint info): Rename to ...
4591 (pending breakpoint info before run): ... this extended test.
4592 (libfile2, libname2, libsrcfile2, libsrc2)
4593 (lib_sl2): New variables.
4594 (exec_opts): Set also SHLIB_NAME2.
4595 (pending breakpoint info on first run at shrfunc1)
4596 (pending breakpoint info on second run at shrfunc1)
4597 (pending breakpoint info on second run at shrfunc2)
4598 (print y from libfile, print y from libfile2): New tests.
4599 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4600 * gdb.base/unloadshr2.c: New.
4601
4602 2009-12-22 Hui Zhu <teawater@gmail.com>
4603
4604 * gdb.reverse/sigall-reverse.exp: Adjust.
4605
4606 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4607
4608 PR gdb/10884
4609
4610 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4611 (main): Call do_bitfield_tests.
4612 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4613
4614 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4615
4616 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4617 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4618 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4619 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4620 gdb.modula2/unbounded1.c: Update copyright header.
4621
4622 2009-12-10 Chris Moller <moller@mollerware.com>
4623
4624 PR gdb/9399
4625 * gdb.cp/virtfunc2.exp: New tests
4626 * gdb.cp/virtfunc2.cc: New tests
4627 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4628
4629 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4630
4631 * gdb.reverse/i387-env-reverse.c: New file.
4632 * gdb.reverse/i387-env-reverse.exp: New file.
4633 * gdb.reverse/i387-stack-reverse.c: New file.
4634 * gdb.reverse/i387-stack-reverse.exp: New file.
4635
4636 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4637
4638 * gdb.python/py-type.exp (test_range): New test.
4639
4640 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4641
4642 PR python/10805
4643
4644 * gdb.python/py-type.exp: New file.
4645 * gdb.python/py-type.c: New file.
4646 * Makefile.in: Add py-type.
4647
4648 2009-12-03 Tom Tromey <tromey@redhat.com>
4649
4650 * gdb.python/py-value.exp (test_parse_and_eval): New
4651 function.
4652
4653 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4654
4655 PR gdb/11022
4656
4657 * gdb.base/pr11022.exp: New test.
4658 * gdb.base/pr11022.c: New test.
4659
4660 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4661
4662 Fix spurious false FAILs.
4663 * gdb.base/structs.c (chartest): New.
4664 (main): Fill-in chartest.
4665 * gdb.base/structs.exp (anychar_re, first): New.
4666 (start_structs_test): Import global anychar_re and first.
4667 New gdb_test call "set print elements 300; ${testfile}"
4668 (start_structs_test <$first>): New block.
4669 (any): Import global anychar_re. New variable ac. Use ${ac}.
4670
4671 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4672
4673 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4674
4675 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4678 Force $srcfile file.
4679 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4680
4681 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4682
4683 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4684 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4685 * gdb.threads/watchthreads-reorder.exp: Likewise.
4686
4687 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4688
4689 PR gdb/8704
4690
4691 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4692 "if", and "thread". Correct matching in the previous test.
4693
4694 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4695
4696 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4697
4698 2009-11-23 Michael Snyder <msnyder@vmware.com>
4699
4700 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4701 * gdb.reverse-watch-precsave.exp: Ditto.
4702
4703 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4704
4705 * gdb.asm/asm-source.exp: Adjust.
4706 * gdb.base/help.exp: Adjust.
4707
4708 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4709
4710 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4711 (do_syscall_tests_without_xml): Set data-directory to
4712 /the/path/to/nowhere.
4713
4714 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4715
4716 * gdb.threads/local-watch-wrong-thread.c,
4717 gdb.threads/local-watch-wrong-thread.exp: New files.
4718
4719 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4720
4721 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4722 assume new `regsub' syntax available.
4723
4724 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * gdb.base/watchpoint-hw-hit-once.exp,
4727 gdb.base/watchpoint-hw-hit-once.c: New.
4728
4729 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4730
4731 * gdb.threads/watchthreads-reorder.exp,
4732 gdb.threads/watchthreads-reorder.c: New.
4733
4734 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4735
4736 * gdb.xml/tdesc-regs.exp: Use for m68k.
4737
4738 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4739
4740 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4741
4742 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4743
4744 * lib/gdb.exp (current_target_name): New procedure.
4745 (gdb_wrapper_target): New variable.
4746 (gdb_wrapper_init): Set gdb_wrapper_target.
4747 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4748 wrapper.
4749
4750 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4751
4752 * gdb.base/remote.exp: Delete the slowest load test.
4753 Do not load with fixed packet sizes.
4754
4755 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4756
4757 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4758
4759 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4760
4761 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4762 srcfile when setting a breakpoint.
4763
4764 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4765
4766 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4767 macros.
4768
4769 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4770
4771 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4772 to be in memory.
4773 * gdb.base/display.c (force_mem): New.
4774 (do_loops): Use it. Add breakpoint comments.
4775 (do_vars): Add a breakpoint comment.
4776 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4777 line numbers.
4778
4779 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4780
4781 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4782 instead of a bare "run".
4783
4784 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4785
4786 * gdb.python/py-prettyprint.exp: Adjust.
4787
4788 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4789
4790 * lib/cell.exp (skip_cell_tests): Clean up test files before
4791 returning.
4792
4793 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4794
4795 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4796 and the breakpoint menu. Do not call perror if a prompt is seen.
4797 Consume the following GDB prompt.
4798 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4799 * gdb.cp/namespace.exp: Use gdb_test.
4800 * gdb.cp/templates.exp: Use gdb_test.
4801 (test_template_breakpoints): Use gdb_test_multiple.
4802
4803 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4804
4805 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4806 (marker4): Reference values.
4807
4808 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4809
4810 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4811 is missing.
4812
4813 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4814
4815 * gdb.base/break.c (need_malloc): New.
4816 * gdb.base/constvars.c (main): Reference crass and crisp.
4817 * gdb.base/gdb1821.c (main): Reference bar.
4818 * gdb.cp/gdb1355.cc (main): Reference s1.
4819 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4820 (main): Call them.
4821 * gdb.cp/hang2.cc (dummy2): Define.
4822 * gdb.cp/hang3.cc (dummy3): Define.
4823 * gdb.cp/m-data.cc (main): Reference shadow.
4824
4825 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4826 Nathan Froyd <froydnj@codesourcery.com>
4827
4828 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4829 remote host.
4830
4831 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4832
4833 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4834 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4835 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4836 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4837 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4838 * gdb.dwarf2/dw2-producer.exp: Likewise.
4839 * gdb.dwarf2/mac-fileno.exp: Likewise.
4840 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4841 py-prettyprint.py to the remote host.
4842 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4843
4844 2009-11-11 Keith Seitz <keiths@redhat.com>
4845
4846 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4847 use it instead of "Foo".
4848 * gdb.cp/classes.exp (do_tests): Add a test to access
4849 a method through a typedef'd class name.
4850
4851 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4852
4853 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4854 exponents.
4855 * gdb.base/pointers.exp: Likewise.
4856 * gdb.cp/ref-types.exp: Likewise.
4857
4858 2009-11-11 Keith Seitz <keiths@redhat.com>
4859
4860 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4861 new[] and delete[].
4862 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4863 "void".
4864 (probe_demangler): Remove all single-quoting of
4865 method and variable names.
4866 (info_func_regexp): Remove the word "void" from any
4867 occurrence of "(void)".
4868 (print_addr_2): Remove all single-quoting of
4869 method names.
4870 (print_addr_2_kfail): Likewise.
4871 (print_addr): Single-quote C function names before
4872 passing to print_addr_2.
4873 (test_paddr_operator_functions): Remove single-quoting
4874 for method names.
4875 Add tests for operator new[] and operator delete[].
4876
4877 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4880
4881 2009-11-09 Keith Seitz <keiths@redhat.com>
4882
4883 * gdb.cp/overload.exp: Add tests for resolving overloaded
4884 methods in expression parsing/evaluation.
4885
4886 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4887
4888 * lib/gdb.exp (default_gdb_version): Use --version instead of
4889 --command.
4890
4891 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4892
4893 * lib/gdb.exp (gdb_compile_test): New.
4894 (skip_ada_tests, skip_java_tests): New.
4895 (gdb_compile): Use gdb_compile_test for f77.
4896 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4897 * lib/java.exp (compile_java_from_source): Remove runtests check,
4898 use gdb_compile_test to record result.
4899 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4900 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4901 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4902 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4903 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4904 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4905 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4906 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4907 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4908 adjust gdb_compile invocations.
4909
4910 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4911
4912 * Makefile.in (abs_builddir): New.
4913 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4914 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4915 `$(abs_builddir)/site.exp'.
4916
4917 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4918
4919 * config/m68k-emc.exp, lib/emc-support.exp,
4920 gdb.trace/gdb_c_test.c: Delete.
4921 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4922 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4923 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4924 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4925 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4926 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4927 casing for m68k-*-elf.
4928
4929 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4930
4931 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4932 * gdb.arch/i386-prologue.exp: Likewise.
4933 * gdb.arch/i386-unwind.exp: Likewise.
4934
4935 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4936
4937 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4938
4939 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4940
4941 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4942
4943 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4944
4945 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4946
4947 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4948
4949 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4950
4951 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4952
4953 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4954 * gdb.base/sepdebug2.c: New file.
4955
4956 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4957
4958 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4959 the modified warnings for catch syscall. Verify if GDB was compiled
4960 with support for lib expat, and choose which tests to run depending
4961 on this.
4962
4963 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4964
4965 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4966 that composite commands are parsed OK. And also test
4967 that breakpoint commands do work.
4968
4969 2009-10-23 Michael Snyder <msnyder@vmware.com>
4970
4971 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4972 to allow for new disassembly style.
4973
4974 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4975
4976 * gdb.asm/asm-source.exp: Adjust.
4977
4978 2009-10-22 Michael Snyder <msnyder@vmware.com>
4979
4980 * gdb.reverse/break-precsave.exp: New test.
4981 * gdb.reverse/consecutive-precsave.exp: Ditto.
4982 * gdb.reverse/finish-precsave.exp: Ditto.
4983 * gdb.reverse/i386-precsave.exp: Ditto.
4984 * gdb.reverse/machinestate-precsave.exp: Ditto.
4985 * gdb.reverse/sigall-precsave.exp: Ditto.
4986 * gdb.reverse/solilb-precsave.exp: Ditto.
4987 * gdb.reverse/step-precsave.exp: Ditto.
4988 * gdb.reverse/until-precsave.exp: Ditto.
4989 * gdb.reverse/watch-precsave.exp: Ditto.
4990
4991 2009-10-22 Michael Snyder <msnyder@vmware.com>
4992
4993 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4994 for gdb_expect. Adjust one test's expect strings for the new
4995 format of disassemble.
4996 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4997 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4998 gdb_test_multiple.
4999 * gdb.reverse/step-reverse.exp: Delete 'return'.
5000 * gdb.reverse/until-reverse.exp: Delete blank lines.
5001 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5002
5003 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5004
5005 * gdb.base/consecutive.exp: Adjust.
5006 * gdb.base/display.exp: Likewise.
5007 * gdb.base/pc-fp.exp: Likewise.
5008 * gdb.base/sigbpt.exp: Likewise.
5009
5010 2009-10-19 Michael Snyder <msnyder@vmware.com>
5011
5012 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5013 * gdb.reverse/finish-reverse.c: Ditto.
5014 * gdb.reverse/sigall-reverse.c: Ditto.
5015 * gdb.reverse/solib-reverse.c: Ditto.
5016 * gdb.reverse/step-reverse.c: Ditto.
5017 * gdb.reverse/watch-reverse.c: Ditto.
5018
5019 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5020 Stan Shebs <stan@codesourcery.com>
5021
5022 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5023 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5024 "Executing new program".
5025 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5026 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5027 left listed after having been killed.
5028 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5029 * gdb.base/maint.exp: Adjust test.
5030
5031 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5032 * gdb.multi/Makefile.in: New.
5033 * gdb.multi/base.exp: New.
5034 * gdb.multi/goodbye.c: New.
5035 * gdb.multi/hangout.c: New.
5036 * gdb.multi/hello.c: New.
5037 * gdb.multi/bkpt-multi-exec.c: New.
5038 * gdb.multi/bkpt-multi-exec.exp: New.
5039 * gdb.multi/crashme.c: New.
5040
5041 2009-10-13 Tristan Gingold <gingold@adacore.com>
5042
5043 * gdb.base/sepdebug.exp: Check debug info are found.
5044
5045 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5046
5047 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5048 bits.
5049
5050 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5051
5052 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5053
5054 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5055
5056 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5057 of the comments.
5058
5059 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5060
5061 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5062 * gdb.base/annota3.exp: Idem.
5063 * gdb.base/maint.exp: Idem.
5064
5065 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5066
5067 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5068 to default.
5069
5070 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5071
5072 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5073 mingw and cygwin targets.
5074
5075 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5076 Pedro Alves <pedro@codesourcery.com>
5077
5078 * lib/gdb.exp (gdb_compile): Avoid adding
5079 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5080
5081 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5082
5083 * gdb.base/shr1.c: Use %p in format string.
5084 * gdb.base/unload.c: Avoid warning in fprintf.
5085 * gdb.base/watchpoint-solib.c: Idem.
5086
5087 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5088
5089 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5090 long type.
5091 (test_unlink): Correct printf string.
5092 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5093 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5094
5095 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5098 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5099 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5100
5101 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5102
5103 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5104 * gdb.objc/nondebug.exp: Likewise.
5105
5106 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5107
5108 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5109 target_info setting.
5110
5111 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5112 that detect new threads during "info threads".
5113
5114 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5115
5116 * gdb.threads/manythreads.c (main): Increase thread stack size
5117 to 2*PTHREAD_STACK_MIN.
5118 * gdb.threads/multi-create.c (main): Likewise.
5119 (create_function): Likewise.
5120
5121 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5122
5123 * gdb.base/dump.exp: Pass difference of pointer types instead
5124 of integer types as offset to restore in intarr3.srec case.
5125
5126 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5127
5128 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5129
5130 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5131
5132 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5133
5134 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5135
5136 New test for two watchpoints, with disabling of
5137 the first inserted.
5138 * testsuite/gdb.base/watchpoints.c: New file.
5139 * testsuite/gdb.base/watchpoints.exp: New file.
5140
5141 2009-09-25 Tom Tromey <tromey@redhat.com>
5142
5143 * gdb.base/charset.exp: Test utf-16 strings with Python.
5144
5145 2009-09-25 Tom Tromey <tromey@redhat.com>
5146
5147 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5148 UCS-4.
5149 * gdb.base/charset.c (utf_32_string): Rename.
5150 (init_utf32): Rename.
5151 (main): Update.
5152
5153 2009-09-22 Tom Tromey <tromey@redhat.com>
5154
5155 * gdb.python/py-function.exp: Add regression tests.
5156
5157 2009-09-21 Keith Seitz <keiths@redhat.com>
5158
5159 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5160 with invalid operator.
5161
5162 2009-09-21 Keith Seitz <keiths@redhat.com>
5163
5164 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5165 and destructor using typedef name of class.
5166 * gdb.cp/classes.cc (class Base1): Add a destructor.
5167 (base1): New typedef.
5168 (use_methods): Instanitate an object of type base1.
5169 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5170 (do_tests): Call test_template_typedef.
5171 * gdb.cp/templates.cc (Baz::~Baz): New method.
5172 (intBazOne): New typedef.
5173 (main): Instantiate intBazOne.
5174
5175 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5176
5177 PR python/10633
5178
5179 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5180 Function.
5181 (run_lang_tests): Add print elements test.
5182
5183 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5184
5185 * gdb.python/py-value.exp (test_subscript_regression): New
5186 function. Test for invalid subscripts.
5187 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5188 (ptr_ref): New function.
5189
5190 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5191
5192 * gdb.base/default.exp: Fix "show convenience".
5193
5194 2009-09-15 Tom Tromey <tromey@redhat.com>
5195
5196 * lib/mi-support.exp (mi_create_varobj): Update.
5197 (mi_create_floating_varobj): Likewise.
5198 (mi_create_dynamic_varobj): New proc.
5199 (mi_varobj_update): Update.
5200 (mi_varobj_update_with_type_change): Likewise.
5201 (mi_varobj_update_kv_helper): New proc.
5202 (mi_varobj_update_dynamic_helper): Rewrite.
5203 (mi_varobj_update_dynamic): New proc.
5204 (mi_list_varobj_children): Update.
5205 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5206 * gdb.python/python-prettyprint.py (pp_outer): New class.
5207 (pp_nullstr): Likewise.
5208 (lookup_function): Register new printers.
5209 * gdb.python/python-prettyprint.c (struct substruct): New type.
5210 (struct outerstruct): Likewise.
5211 (substruct_test): New function.
5212 (struct nullstr): New type.
5213 (string_1, string_2): New globals.
5214 (main): Add new tests.
5215 * gdb.python/python-mi.exp: Added regression tests.
5216 * gdb.mi/mi2-var-display.exp: Update.
5217 * gdb.mi/mi2-var-cmd.exp: Update.
5218 * gdb.mi/mi2-var-child.exp: Update.
5219 * gdb.mi/mi2-var-block.exp: Update.
5220 * gdb.mi/mi-var-invalidate.exp: Update.
5221 * gdb.mi/mi-var-display.exp: Update.
5222 * gdb.mi/mi-var-cmd.exp: Update.
5223 * gdb.mi/mi-var-child.exp: Update.
5224 * gdb.mi/mi-var-block.exp: Update.
5225 * gdb.mi/mi-break.exp: Update.
5226 * gdb.mi/gdb701.exp: Update.
5227
5228 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5229
5230 * Makefile.in: Inclusion of catch-syscall object.
5231 * gdb.base/catch-syscall.c: New file.
5232 * gdb.base/catch-syscall.exp: New file.
5233
5234 2009-09-12 Michael Snyder <msnyder@vmware.com>
5235
5236 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5237 that can support reverse debuggnig.
5238
5239 2009-09-11 Tom Tromey <tromey@redhat.com>
5240
5241 * gdb.dwarf2/valop.S: New file.
5242 * gdb.dwarf2/valop.exp: New file.
5243
5244 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5245
5246 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5247
5248 2009-09-10 Doug Evans <dje@google.com>
5249
5250 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5251 Add $gdb_prompt to second breakpoint regexp.
5252
5253 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5254
5255 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5256 names, add missing ones.
5257 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5258 * gdb.python/py-frame.c: Rename from python-frame.c.
5259 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5260 testfile name.
5261 * gdb.python/py-function.exp: Rename from python-function.exp.
5262 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5263 testfile name.
5264 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5265 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5266 Adjust testfile name.
5267 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5268 * gdb.python/py-template.cc: Rename from python-template.cc.
5269 * gdb.python/py-template.exp: Rename from python-template.exp.
5270 Adjust testfile name.
5271 * gdb.python/py-value.c: Rename from python-value.c.
5272 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5273 testfile name.
5274
5275 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5278 $bpt2address.
5279 (Second breakpoint address is valid on ia64)
5280 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5281
5282 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5283
5284 * gdb.base/ending-run.exp: Restrict regular expression matching
5285 line number to require closing brace following.
5286
5287 2009-09-03 Doug Evans <dje@google.com>
5288
5289 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5290
5291 2009-09-02 Tom Tromey <tromey@redhat.com>
5292
5293 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5294
5295 2009-09-02 Tom Tromey <tromey@redhat.com>
5296
5297 * gdb.dwarf2/callframecfa.exp: New file.
5298 * gdb.dwarf2/callframecfa.S: New file.
5299
5300 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5301
5302 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5303 gdb.base/solib-overlap-main.c: New.
5304
5305 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5306
5307 PR gdb/10565
5308
5309 * gdb.base/bitfields.c (struct container, container): New.
5310 (main): Initialize it and call break5.
5311 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5312
5313 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5314
5315 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5316 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5317
5318 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5319
5320 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5321
5322 2009-08-26 Michael Snyder <msnyder@vmware.com>
5323
5324 * gdb.base/i386-reverse.c: New file.
5325 * gdb.base/i386-reverse.exp: New file.
5326 * gdb.base/Makefile.in: Add new files to be removed.
5327
5328 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5329
5330 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5331 environment-pwd for remote host.
5332 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5333
5334 2009-08-24 Keith Seitz <keiths@redhat.com>
5335
5336 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5337 Add two new C++ completer tests which limit the output to a
5338 given class.
5339
5340 2009-08-24 Michael Snyder <msnyder@vmware.com>
5341
5342 * gdb.base/del.exp: Fix typo in comment.
5343 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5344
5345 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5346
5347 * configure: Regenerate.
5348 * gdb.hp/configure: Likewise.
5349 * gdb.hp/gdb.aCC/configure: Likewise.
5350 * gdb.hp/gdb.base-hp/configure: Likewise.
5351 * gdb.hp/gdb.compat/configure: Likewise.
5352 * gdb.hp/gdb.defects/configure: Likewise.
5353 * gdb.hp/gdb.objdbg/configure: Likewise.
5354 * gdb.stabs/configure: Likewise.
5355
5356 2009-08-19 Doug Evans <dje@google.com>
5357
5358 * gdb.base/gdbvars.c: New file.
5359 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5360
5361 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5362
5363 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5364 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5365
5366 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5367
5368 * gdb.base/default.exp: Adjust "set language test": it's now an
5369 enum command. Larger help string moved to "help set language".
5370 * gdb.base/help.exp: Adjust "help set language" expected output,
5371 now lists all known languages.
5372
5373 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5374
5375 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5376 all frame arguments.
5377 * gdb.arch/altivec-regs.exp: Likewise.
5378
5379 2009-08-07 Tom Tromey <tromey@redhat.com>
5380
5381 * gdb.base/setshow.exp: Add tests for changes to set language, set
5382 check range, and set check type.
5383
5384 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5385
5386 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5387 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5388 Call it.
5389
5390 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5391
5392 * configure.ac: Run gdb.cell tests when appropriate.
5393 * configure: Regenerate.
5394 * lib/cell.exp: New file.
5395 * gdb.cell: New directory.
5396 * gdb.cell/configure.ac: New file.
5397 * gdb.cell/configure: New file.
5398 * gdb.cell/Makefile.in: New file.
5399 * gdb.cell/arch.exp: New file.
5400 * gdb.cell/break.c: New file.
5401 * gdb.cell/break.exp: New file.
5402 * gdb.cell/break-spu.c: New file.
5403 * gdb.cell/bt.c: New file.
5404 * gdb.cell/bt2-spu.c: New file.
5405 * gdb.cell/bt-spu.c: New file.
5406 * gdb.cell/bt.exp: New file.
5407 * gdb.cell/coremaker.c: New file.
5408 * gdb.cell/coremaker-spu.c: New file.
5409 * gdb.cell/core.exp: New file.
5410 * gdb.cell/gcore.exp: New file.
5411 * gdb.cell/data.c: New file.
5412 * gdb.cell/data.exp: New file.
5413 * gdb.cell/data-spu.c: New file.
5414 * gdb.cell/ea-cache.exp: New file.
5415 * gdb.cell/ea-cache.c: New file.
5416 * gdb.cell/ea-cache-spu.c: New file.
5417 * gdb.cell/ea-standalone.c: New file.
5418 * gdb.cell/ea-standalone.exp: New file.
5419 * gdb.cell/ea-test.c: New file.
5420 * gdb.cell/ea-test.exp: New file.
5421 * gdb.cell/f-regs.exp: New file.
5422 * gdb.cell/mem-access.c: New file.
5423 * gdb.cell/mem-access.exp: New file.
5424 * gdb.cell/mem-access-spu.c: New file.
5425 * gdb.cell/ptype.exp: New file.
5426 * gdb.cell/registers.exp: New file.
5427 * gdb.cell/size.c: New file.
5428 * gdb.cell/sizeof.exp: New file.
5429 * gdb.cell/size-spu.c: New file.
5430 * gdb.cell/solib.exp: New file.
5431 * gdb.cell/solib-symbol.exp: New file.
5432
5433 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5434
5435 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5436
5437 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5438
5439 * gdb.base/float.exp: Handle VFP registers.
5440
5441 2009-07-14 Michael Snyder <msnyder@vmware.com>
5442
5443 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5444 to bring gdb to the beginning of the calling line.
5445
5446 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5447 confusing the i386 epilogue unwinder.
5448
5449 2009-07-14 Stan Shebs <stan@codesourcery.com>
5450
5451 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5452
5453 2009-07-14 Michael Snyder <msnyder@vmware.com>
5454
5455 * gdb.reverse/step-reverse.exp (stepi into function call):
5456 Call instruction may not be first instruction in the line.
5457 (reverse stepi from a function call): Used wrong line number.
5458
5459 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5460
5461 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5462
5463 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5464
5465 Fix gdb.base/macscp.exp when using custom inputrc.
5466 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5467 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5468 env(TERM) set.
5469 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5470 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5471
5472 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5473
5474 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5475 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5476 Change the compilation target to match the testcase name.
5477 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5478 testcase name.
5479 * a2-run.exp: Use for setup prepare_for_testing. Change the
5480 compilation target to match the testcase name.
5481 * gdb.base/commands.exp: Likewise.
5482 * gdb.base/finish.exp: Likewise.
5483 * gdb.base/float.exp: Likewise.
5484 * gdb.base/info-target.exp: Likewise.
5485 * gdb.base/relational.exp: Likewise.
5486 * gdb.base/term.exp: Likewise.
5487 * gdb.base/until.exp: Likewise.
5488 * gdb.base/volatile.exp: Likewise.
5489 * gdb.base/whatis-exp.exp: Likewise.
5490
5491 2009-07-11 Hui Zhu <teawater@gmail.com>
5492
5493 * gdb.base/help.exp (disassemble): Update expected help text.
5494
5495 2009-07-09 Tom Tromey <tromey@redhat.com>
5496
5497 * lib/gdb.exp: Handle TRANSCRIPT.
5498 (remote_spawn, remote_close, send_gdb): New procs.
5499
5500 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5501
5502 * gdb.python/python-prettyprint.c: Add counted null string
5503 structure.
5504 * gdb.python/python-prettyprint.exp: Print null string. Test for
5505 embedded nulls.
5506 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5507 * gdb.python/python-value.exp (test_value_in_inferior): Add
5508 variable length string fetch tests.
5509 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5510
5511 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5512
5513 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5514
5515 2009-07-07 Tom Tromey <tromey@redhat.com>
5516
5517 * gdb.base/call-rt-st.exp: Update for change to escape output.
5518 * gdb.base/callfuncs.exp: Likewise.
5519 * gdb.base/charset.exp: Likewise.
5520 * gdb.base/constvars.exp: Likewise.
5521 * gdb.base/long_long.exp: Likewise.
5522 * gdb.base/pointers.exp: Likewise.
5523 * gdb.base/printcmds.exp: Likewise.
5524 * gdb.base/setvar.exp: Likewise.
5525 * gdb.base/store.exp: Likewise.
5526 * gdb.cp/ref-types.exp: Likewise.
5527 * gdb.mi/mi-var-child.exp: Likewise.
5528 * gdb.mi/mi-var-display.exp: Likewise.
5529 * gdb.mi/mi2-var-display.exp: Likewise.
5530 * gdb.base/charset.exp: Test octal escape sequence length.
5531 Update for change to escape output.
5532
5533 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5534
5535 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5536
5537 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5538
5539 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5540
5541 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5542
5543 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5544 gdbserver increasing $portnum if "Can't bind address" has been seen.
5545
5546 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5547
5548 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5549 mingw32ce.
5550
5551 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5552
5553 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5554 VFP format.
5555
5556 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5557
5558 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5559 linux. Adjust to use "inferior", "info inferiors", "detach
5560 inferior" and "kill inferior" instead of "restart", "info fork",
5561 "detach fork" and "delete fork".
5562 * gdb.base/ending-run.exp: Spell out "info".
5563 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5564 the "kill" command.
5565
5566 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5567
5568 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5569 change to prefix TLS offset in hex with 0x.
5570
5571 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5572
5573 * gdb.base/default.exp: Update test case for "x" changes.
5574
5575 2009-07-01 Tristan Gingold <gingold@adacore.com>
5576
5577 * gdb.base/bigcore.exp: Make darwin untested.
5578
5579 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5580
5581 * gdb.base/completion.exp (directory completion): Create the directory.
5582 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5583 escapeuniquesub.
5584 (directory completion 2): Expect now ${escapeuniquesub}.
5585 (Glob remaining of directory test): Remove one excessive newline.
5586 Expect the real output.
5587
5588 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5589
5590 Fix `make check//%' target after `make check' has been ran.
5591 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5592 a mkdir call.
5593 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5594 (%/.dir): Remove.
5595
5596 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5597
5598 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5599 the expected result record.
5600
5601 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 Remove racy FAILs relying just on the timeouts.
5604 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5605 (annotation_level 2): Remove racy FAILs.
5606
5607 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5608
5609 gdb/10275
5610 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5611
5612 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5613
5614 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5615
5616 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5617
5618 * gdb.mi/mi-stack.exp: Testing symbolic options
5619 to -stack-list-locals and -stack-list-arguments.
5620
5621 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5622
5623 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5624
5625 2009-06-29 Tom Tromey <tromey@redhat.com>
5626
5627 * dg-extract-results.sh: New file.
5628 * Makefile.in (FORCE_PARALLEL): New variable.
5629 (CHECK_TARGET): New conditional variable.
5630 (check): Use CHECK_TARGET.
5631 (DO_RUNTEST): New variable.
5632 (check-single): New target.
5633 (TEST_DIRS): New variable.
5634 (TEST_TARGETS): Likewise.
5635 (check-parallel): New target.
5636 (check-gdb.%): New pattern.
5637 (BASE1_FILES): New variable.
5638 (BASE2_FILES): Likewise.
5639 (check-gdb.base%): New pattern.
5640 (%/.dir): New pattern.
5641 * configure: Rebuild.
5642 * aclocal.m4 (AM_CONDITIONAL): New defun.
5643 * configure.ac: Check whether user is using GNU make.
5644 (GMAKE): New conditional.
5645
5646 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5647
5648 * gdb.cp/namespace-nested-import.cc: New test.
5649 * gdb.cp/namespace-nested-import.exp: New test.
5650
5651 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5652
5653 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5654 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5655 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5656 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5657 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5658 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5659 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5660 gdb.opt/inline-markers.c: New files.
5661 * lib/gdb.exp (skip_inline_frame_tests): New function.
5662 (skip_inline_var_tests): New function.
5663
5664 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5665
5666 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5667 backtrace.
5668
5669 2009-06-27 Michael Snyder <msnyder@vmware.com>
5670
5671 * gdb.reverse: New directory.
5672 * gdb.reverse/break-reverse.c: New test.
5673 * gdb.reverse/break-reverse.exp: New test.
5674 * gdb.reverse/consecutive-reverse.c: New test.
5675 * gdb.reverse/consecutive-reverse.exp: New test.
5676 * gdb.reverse/finish-reverse.c: New test.
5677 * gdb.reverse/finish-reverse.exp: New test.
5678 * gdb.reverse/machinestate.c: New test.
5679 * gdb.reverse/ms1.c: New test.
5680 * gdb.reverse/machinestate.exp: New test.
5681 * gdb.reverse/Makefile.in: New file.
5682 * gdb.reverse/shr2.c: New test.
5683 * gdb.reverse/solib-reverse.c: New test.
5684 * gdb.reverse/solib-reverse.exp: New test.
5685 * gdb.reverse/step-reverse.c: New test.
5686 * gdb.reverse/step-reverse.exp: New test.
5687 * gdb.reverse/until-reverse.c: New test.
5688 * gdb.reverse/ur1.c: New test.
5689 * gdb.reverse/until-reverse.exp: New test.
5690 * gdb.reverse/watch-reverse.c: New test.
5691 * gdb.reverse/watch-reverse.exp: New test.
5692 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5693 * configure: Regenerate.
5694
5695 2009-06-26 Doug Evans <dje@google.com>
5696
5697 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5698
5699 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5700
5701 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5702 windows problem for 'file delete $binfile'.
5703
5704 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5705
5706 * gdb.cp/namespace-using.exp: New test.
5707 * gdb.cp/namespace-using.cc: New test.
5708
5709 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5710
5711 * gdb.ada/variant_record_packed_array: New testcase.
5712
5713 2009-06-23 Tom Tromey <tromey@redhat.com>
5714
5715 * gdb.base/charset.exp (test_combination): Regression test.
5716 * gdb.base/charset.c (my_wchar_t): New typedef.
5717 (myvar): New global.
5718 (main): Set myvar.
5719
5720 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5721
5722 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5723 target.
5724
5725 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5726
5727 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5728
5729 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5730
5731 * gdb.mi/gdb680.exp: Update test for error message.
5732
5733 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5734
5735 * gdb.base/annota1.exp: Allow multiple occurrences of the
5736 frames-invalid annotation.
5737 * gdb.cp/annota2.exp: Likewise.
5738
5739 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5740
5741 * gdb.cp/gdb2495.cc: New file.
5742 * gdb.cp/gdb2495.exp: New file.
5743
5744 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5745
5746 Report error on GDB crash during runto.
5747 * lib/gdb.exp (runto <eof>): New.
5748
5749 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5750
5751 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5752 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5753 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5754 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5755 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5756 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5757 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5758 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5759 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5760 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5761 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5762 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5763 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5764 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5765 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5766 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5767 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5768 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5769 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5770 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5771 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5772 gdb.trace/passcount.exp, gdb.trace/report.exp,
5773 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5774 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5775 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5776 executable.
5777
5778 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5779
5780 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5781 defined before referencing it.
5782
5783 2009-06-03 Doug Evans <dje@google.com>
5784
5785 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5786 * gdb.arch/i386-see.c: Ditto.
5787
5788 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5789
5790 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5791 (check_macro): Return 1 if undefined.
5792 If first test fails, check if macro debug information is available,
5793 and report unsupported test if no macro information is found.
5794
5795 2009-05-29 Doug Evans <dje@google.com>
5796
5797 * gdb.threads/hand-call-in-threads.exp: New.
5798 * gdb.threads/hand-call-in-threads.c: New.
5799
5800 2009-05-29 Michael Snyder <msnyder@vmware.com>
5801
5802 * gdb.base/break-always.exp: Change "1" to "on".
5803 Add confirmation check.
5804
5805 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5806
5807 * gdb.threads/threxit-hop-specific.c: New.
5808 * gdb.threads/threxit-hop-specific.exp: New.
5809 * gdb.threads/thread-execl.c: New.
5810 * gdb.threads/thread-execl.exp: New.
5811
5812 2009-05-27 Tom Tromey <tromey@redhat.com>
5813 Thiago Jung Bauermann <bauerman@br.ibm.com>
5814
5815 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5816 (mi_child_regexp): Likewise.
5817 (mi_list_varobj_children_range): Likewise.
5818 (mi_get_features): Likewise.
5819 (mi_list_varobj_children): Rewrite.
5820 * gdb.python/python-mi.exp: New file.
5821
5822 2009-05-27 Tom Tromey <tromey@redhat.com>
5823 Thiago Jung Bauermann <bauerman@br.ibm.com>
5824 Phil Muldoon <pmuldoon@redhat.com>
5825 Paul Pluzhnikov <ppluzhnikov@google.com>
5826
5827 * gdb.python/python-prettyprint.exp: New file.
5828 * gdb.python/python-prettyprint.c: New file.
5829 * gdb.python/python-prettyprint.py: New file.
5830 * gdb.base/display.exp: print/r is now valid.
5831
5832 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5833 Tom Tromey <tromey@redhat.com>
5834 Pedro Alves <pedro@codesourcery.com>
5835 Paul Pluzhnikov <ppluzhnikov@google.com>
5836
5837 * gdb.python/python-template.exp: New file.
5838 * gdb.python/python-template.cc: New file.
5839 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5840 tests.
5841 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5842 Call it.
5843 (test_value_after_death): New proc.
5844 * gdb.python/python-value.c (PTR): New typedef.
5845 (main): New variable 'x'.
5846
5847 2009-05-27 Tom Tromey <tromey@redhat.com>
5848
5849 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5850 tests.
5851 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5852 Call it.
5853
5854 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5855
5856 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5857
5858 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5859
5860 * gdb.threads/fork-thread-pending.c: New.
5861 * gdb.threads/fork-thread-pending.exp: New.
5862
5863 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5864
5865 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5866 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5867
5868 2009-05-18 Jon Beniston <jon@beniston.com>
5869
5870 * gdb.asm/asm-source.exp: Add lm32 target.
5871
5872 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5873
5874 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5875 `gdb_get_line_number'. Call `callee' in both parent and child.
5876 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5877 `gdb_get_line_number' instead of hardcoding line numbers.
5878 (catch_fork_unpatch_child): New procedure to test detaching
5879 breakpoints from child fork.
5880 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5881 hardcoding line numbers.
5882 (do_fork_tests): Run `catch_fork_unpatch_child'.
5883
5884 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5885
5886 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5887 of structure type enters or leaves the scope, it
5888 is reported by -var-update.
5889
5890 2009-05-11 Doug Evans <dje@sebabeach.org>
5891
5892 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5893 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5894 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5895
5896 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5899
5900 2009-04-30 Doug Evans <dje@google.com>
5901
5902 * gdb.threads/watchthreads2.exp: New testcase.
5903 * gdb.threads/watchthreads2.c: New testcase.
5904
5905 2009-04-29 Doug Evans <dje@google.com>
5906
5907 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5908 * gdb.cp/mb-ctor.cc: Ditto.
5909 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5910 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5911 * gdb.cp/mb-inline1.cc: Call it.
5912 * gdb.cp/mb-inline2.cc: Ditto.
5913 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5914 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5915
5916 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5917
5918 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5919 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5920 Replace all uses of `decimal' by `nonzero'.
5921 (info macro FROM_COMMANDLINE): New test.
5922
5923 2009-04-27 Tom Tromey <tromey@redhat.com>
5924
5925 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5926
5927 2009-04-27 Doug Evans <dje@google.com>
5928
5929 * gdb.threads/watchthreads.c (main): Initialize args before starting
5930 the threads. Plus formatting cleanup.
5931 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5932 biased scheduling of one thread.
5933
5934 2009-04-27 Jerome Guitton <guitton@adacore.com>
5935
5936 * gdb.cp/templates.cc (GetMax): New template.
5937 (main): Declare two instances of GetMax.
5938 * gdb.cp/templates.exp: Add new test.
5939
5940 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5941
5942 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5943
5944 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5945
5946 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5947
5948 2009-04-15 Tom Tromey <tromey@redhat.com>
5949
5950 * gdb.base/charset.exp: Add regression test.
5951
5952 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5953
5954 * gdb.base/exe-lock.exp: New testcase.
5955
5956 2009-04-13 Tom Tromey <tromey@redhat.com>
5957
5958 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5959 operator on Frame.
5960
5961 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5962
5963 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5964 * gdb.server/ext-attach.exp: Likewise.
5965
5966 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5967
5968 Eliminate some sleep usage.
5969
5970 * gdb.mi/basics.c (do_nothing): New.
5971 (main): Use do_nothing instead of printf, so that
5972 not to introduce race condition between output of
5973 inferiour and output of gdb. Do not use sleep as it
5974 is not generally available on embedded targets.
5975
5976 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5977
5978 * gdb.server/ext-attach.exp: Expect an optional process id after
5979 "Detached from remote process".
5980
5981 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5982
5983 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5984 gdb.dwarf2/dw2-unresolved.exp: New.
5985
5986 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5987
5988 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5989 mi_run_to_main.
5990
5991 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5992
5993 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5994 mi_run_to_main. Skip thread exit test on remote targets.
5995 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5996 mi_run_to_main.
5997 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5998 mi_run_to_main.
5999 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6000 when expecting ^connected. Detect when the target doesn't support
6001 non-stop mode.
6002 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6003 supported. Return -1 on error, 0 on success.
6004 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6005 (mi_runto): Return mi_runto_helper's result explicitly.
6006
6007 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6008
6009 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6010
6011 2009-04-01 Tom Tromey <tromey@redhat.com>
6012
6013 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6014 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6015 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6016 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6017
6018 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6019 Jan Kratochvil <jan.kratochvil@redhat.com>
6020
6021 PR gdb/931
6022 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6023 output.
6024 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6025 for gdb/931.
6026 * dw2-strp.S (DW_AT_language): Change to C++.
6027 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6028
6029 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6030
6031 * gdb.ada/tasks: New testcase.
6032
6033 2009-03-30 Stan Shebs <stan@codesourcery.com>
6034
6035 * gdb.trace/actions.exp: Update to match new info trace format.
6036 * gdb.trace/deltrace.exp: Ditto.
6037 * gdb.trace/infotrace.exp: Ditto.
6038 * gdb.trace/passcount.exp: Ditto.
6039 * gdb.trace/save-trace.exp: Ditto.
6040 * gdb.trace/while-stepping.exp: Ditto.
6041 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6042
6043 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6044
6045 * gdb.python/python-frame.c: New file.
6046 * gdb.python/python-frame.exp: New file.
6047
6048 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6049
6050 * gdb.python/python-value.exp: Add tests for the address
6051 attribute.
6052
6053 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6054
6055 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6056
6057 2009-03-26 Doug Evans <dje@google.com>
6058
6059 * gdb.mi/mi-nonstop-exit.exp: New file.
6060 * gdb.mi/non-stop-exit.c: New file.
6061
6062 2009-03-26 Tom Tromey <tromey@redhat.com>
6063
6064 Update for change to prologue skipping:
6065 * gdb.mi/mi2-simplerun.exp: Update.
6066 * gdb.mi/mi2-break.exp: Update.
6067 * gdb.mi/mi-simplerun.exp: Update.
6068 * gdb.mi/mi-break.exp: Update.
6069 * gdb.base/ending-run.exp: Update.
6070
6071 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6072
6073 * gdb.python/python-value.exp (test_value_in_inferior): Test
6074 gdb.Value.is_optimized_out attribute.
6075
6076 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6077
6078 * gdb.dwarf2/dw2-noloc-main.c: New file.
6079 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6080 (.text): Remove.
6081 (.data): New.
6082 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6083 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6084 (DW_TAG_subprogram func_cu1, noloc): Remove.
6085 (main): New.
6086 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6087 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6088 (file_symbols): New procedure.
6089
6090 2009-03-25 Tom Tromey <tromey@redhat.com>
6091
6092 * gdb.base/charset.exp (valid_target_charset): New proc.
6093 Use it to skip tests on invalid charsets.
6094
6095 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6096
6097 * gdb.base/completion.exp: Add a test for directory completion.
6098
6099 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6100
6101 Fix a racy FAIL.
6102 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6103 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6104
6105 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6106
6107 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6108 * gdb.python/python-function.exp: Add test for function returning
6109 a GDB value.
6110
6111 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6112
6113 * gdb.python/python-function.exp: New file.
6114
6115 2009-03-20 Tom Tromey <tromey@redhat.com>
6116
6117 * gdb.base/store.exp: Update for change to escape output.
6118 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6119 to escape output.
6120 * gdb.base/pointers.exp: Update for change to escape output.
6121 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6122 to escape output.
6123 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6124 escape output.
6125 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6126 to escape output.
6127 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6128 escape output.
6129 * gdb.base/setvar.exp: Update for change to escape output.
6130 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6131 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6132 to escape output.
6133 (test_print_string_constants): Likewise.
6134 * gdb.base/charset.exp (valid_host_charset): Check size of
6135 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6136 cases. Handle "auto"-related output.
6137 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6138 (uvar, Uvar): New globals.
6139
6140 2009-03-19 Jerome Guitton <guitton@adacore.com>
6141
6142 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6143 deltas.
6144 * gdb.ada/fixed_points.exp: Ditto.
6145
6146 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6147
6148 * return-nodebug.c: Don't include stdio.h.
6149 (init): Delete.
6150 (func): Delete definition and provide extern declaration.
6151 (t): New.
6152 (main): Don't call printf. Call func and store its result in t.
6153 * return-nodebug1.c: New.
6154 * return-nodebug.exp: Don't expect stdio output. Instead, print
6155 the global variable t. Drop printf formatters and cast types from
6156 foreach loop. Don't use prepare_for_testing. Compile
6157 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6158 define FORMAT or CAST.
6159
6160 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6161
6162 * gdb.base/solib-display.exp: Disable test for remote targers.
6163
6164 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6167
6168 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Fix a racy FAIL.
6171 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6172 code from `follow parent, print pids'.
6173 (`follow child, print pids', `follow parent, print pids'): Call it.
6174 Replace `gdb_test "break..."' by gdb_breakpoint.
6175
6176 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6177
6178 * gdb.mi/mi-cli.exp: Adjust for output difference in
6179 sync and async modes.
6180
6181 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6182
6183 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6184 that was checked in by mistake. Remove loading of ada.exp, since
6185 this is not necessary in this case.
6186
6187 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6188
6189 * gdb.ada/ptype_arith_binop.exp: New testcase.
6190
6191 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6192
6193 * gdb.ada/mod_from_name: New testcase.
6194
6195 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6196
6197 * gdb.ada/tick_last_segv: New testcase.
6198
6199 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6200
6201 * gdb.mi/mi-cli.exp: Remove debug print.
6202
6203 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6204
6205 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6206 include the token in ^running and frame info in *stopped.
6207
6208 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6209
6210 * solib-display.exp: New file.
6211 * solib-display-main.c: New file.
6212 * solib-display-lib.c: New file.
6213
6214 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6215
6216 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6217
6218 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6219
6220 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6221 (list_and_check_macro): Use more specific test name.
6222 (next to definition): Make the test names unique.
6223
6224 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6225
6226 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6227
6228 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6229
6230 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6231 notifications.
6232 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6233 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6234 * lib/mi-support.exp (library_loaded_re): New.
6235 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6236
6237 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6238
6239 * gdb.gdb/observer.exp: Use test_notification observer, not
6240 normal_stop, everywhere.
6241 (test_normal_stop_notifications): Rename to...
6242 (test_notifications): ...this.
6243 (test_observer_normal_stop): Rename to...
6244 (test_observer): ...this.
6245
6246 2009-02-16 Doug Evans <dje@google.com>
6247
6248 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6249 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6250 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6251 (test_prefixed_syscall,test_int3): New tests.
6252 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6253 (test_prefixed_syscall,test_int3): New tests.
6254
6255 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6256
6257 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6258 (mi_expect_interrupt): Likewise.
6259 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6260 response.
6261
6262 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6263
6264 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6265 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6266 Replace calls to get_valueofx by get_hexadecimal_valueof.
6267
6268 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6269
6270 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6271 (get_integer_valueof): New procedure.
6272 (get_sizeof): Use new get_integer_value_of.
6273 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6274 by get_integer_valueof.
6275
6276 2009-02-13 Tom Tromey <tromey@redhat.com>
6277
6278 * gdb.base/remote.exp (get_sizeof): Remove.
6279 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6280 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6281 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6282 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6283 (get_sizeof): Likewise.
6284
6285 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6286
6287 PR fortran/9806
6288 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6289
6290 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6291
6292 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6293
6294 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6295
6296 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6297
6298 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6299
6300 * gdb.python/python-cmd.exp: New file.
6301
6302 2009-02-06 Tristan Gingold <gingold@adacore.com>
6303
6304 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6305
6306 2009-02-05 Tristan Gingold <gingold@adacore.com>
6307
6308 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6309 pointer is dereferenced and use this signal name in regexp.
6310 * gdb.base/signull.exp: Ditto.
6311 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6312 * gdb.base/signull.c (main): Ditto.
6313
6314 2009-02-04 Tom Tromey <tromey@redhat.com>
6315 Thiago Jung Bauermann <bauerman@br.ibm.com>
6316
6317 * gdb.python/python-value.exp: Use `gdb.history' instead of
6318 `gdb.value_from_history'.
6319 (test_value_numeric_ops): Add test for conversion of enum constant.
6320 * gdb.python/python-value.c (enum e): New type.
6321 (evalue): New global.
6322 (main): Use argv.
6323
6324 2009-02-04 Jerome Guitton <guitton@adacore.com>
6325
6326 * gdb.ada/uninitialized_vars: New test program.
6327 * gdb.ada/uninitialized_vars.exp: New testcase.
6328
6329 2009-02-02 Tom Tromey <tromey@redhat.com>
6330
6331 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6332 * gdb.cp/pr2489.cc: Rename...
6333 * gdb.cp/pr9594.cc: ... to this.
6334
6335 2009-02-02 Tom Tromey <tromey@redhat.com>
6336
6337 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6338 * gdb.cp/pr2489.cc: New file.
6339 * gdb.cp/cpcompletion.exp: New file.
6340
6341 2009-02-02 Tom Tromey <tromey@redhat.com>
6342
6343 PR exp/9059:
6344 * gdb.cp/call-c.exp: Add regression test.
6345 * gdb.cp/call-c.cc (FooHandle): New typedef.
6346 (main): New variable 'handle'.
6347
6348 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6349
6350 * lib/mi-support.exp (et_mi_thread_list)
6351 (check_mi_and_console_threads): Adjust for current thread in
6352 -thread-list-ids output.
6353
6354 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6355
6356 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6357 Call it.
6358
6359 2009-01-28 Doug Evans <dje@google.com>
6360
6361 * gdb.arch/amd64-disp-step.S: New file.
6362 * gdb.arch/amd64-disp-step.exp: New file.
6363 * gdb.arch/i386-disp-step.S: New file.
6364 * gdb.arch/i386-disp-step.exp: New file.
6365
6366 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6367
6368 * gdb.base/find.exp: Set newline variable
6369 using quotes instead of braces to fix cygwin failures.
6370
6371 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6372
6373 * gdb.base/radix.exp: Add tests to ensure that that set
6374 input-radix 0 and set output-radix 0 are really rejected.
6375
6376 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6377
6378 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6379 copyright years.
6380
6381 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6382
6383 PR gdb/9664:
6384 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6385
6386 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6387
6388 PR c++/9631:
6389 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6390
6391 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6392
6393 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6394 binfile definition to fix Windows OS failure.
6395
6396 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6397
6398 PR gdb/9346
6399 * gdb.base/interrupt.c (sigint_handler): New.
6400 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6401 on error.
6402 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6403 Test "signal SIGINT".
6404
6405 2009-01-19 Doug Evans <dje@google.com>
6406
6407 * gdb.base/break.exp: Update expected gdb output.
6408 * gdb.base/sepdebug.exp: Ditto.
6409 * gdb.mi/mi-syn-frame.exp: Ditto.
6410 * gdb.mi/mi2-syn-frame.exp: Ditto.
6411 * gdb.base/call-signal-resume.exp: New file.
6412 * gdb.base/call-signals.c: New file.
6413 * gdb.base/unwindonsignal.exp: New file.
6414 * gdb.base/unwindonsignal.c: New file.
6415 * gdb.threads/interrupted-hand-call.exp: New file.
6416 * gdb.threads/interrupted-hand-call.c: New file.
6417 * gdb.threads/thread-unwindonsignal.exp: New file.
6418
6419 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6420
6421 * gdb.base/define.exp: Test defining and hooking prefix commands.
6422 * gdb.python/python.exp: Update test for "show user" output.
6423
6424 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6425
6426 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6427 now the output exactly, using less wildcards. Expect also the output
6428 of gfortran-4.3. Update for the f-valprint.c modification from
6429 2008-04-22.
6430 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6431 Remove gdb_test test names where matching the command.
6432
6433 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6434
6435 PR breakpoints/9681:
6436 * gdb.base/watchpoint.exp: Add regression test.
6437
6438 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6439
6440 * gdb.threads/attach-into-signal.exp: Don't use
6441 gdb_suppress_entire_file.
6442 * gdb.threads/attach-stopped.exp: Ditto.
6443 * gdb.threads/attachstop-mt.exp: Ditto.
6444
6445 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6446
6447 PR gdb/8812:
6448 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6449
6450 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6451
6452 PR gdb/7536:
6453 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6454 and unsupported output radices are really rejected.
6455
6456 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6459
6460 2008-12-22 Tom Tromey <tromey@redhat.com>
6461
6462 * gdb.cp/punctuator.exp: New file.
6463
6464 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6465
6466 * gdb.base/completion.exp (Completing non-existing component): New test.
6467
6468 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6469
6470 Fix for PR gdb/8648.
6471 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6472 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6473 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6474 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6475
6476 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6479
6480 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6481
6482 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6483 compiler actually generate code at the expected line number.
6484
6485 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6486
6487 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6488
6489 2008-12-12 Tom Tromey <tromey@redhat.com>
6490
6491 * gdb.base/commands.exp (redefine_hook_test): New proc.
6492 Call it.
6493
6494 2008-12-11 Tom Tromey <tromey@redhat.com>
6495
6496 * gdb.base/macscp.exp: New regression test.
6497
6498 2008-12-11 Tom Tromey <tromey@redhat.com>
6499
6500 * gdb.base/macscp.exp: Print "address.addr".
6501 * gdb.base/macscp1.c (struct outer): New struct.
6502 (address): New global.
6503
6504 2008-12-09 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6507 Call it.
6508
6509 2008-12-04 Doug Evans <dje@google.com>
6510
6511 * gdb.server/ext-run.exp: Relax regexp for init program.
6512
6513 2008-12-03 Tristan Gingold <gingold@adacore.com>
6514
6515 * gdb.base/macscp.exp: Generate an object file during compilation
6516 to work around Darwin dsymutil limitations.
6517
6518 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6519
6520 Test resolving external references to TLS variables.
6521 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6522 FILE2_THREAD_LOCAL.
6523 (testfile2, srcfile2): New variables.
6524 * gdb.threads/tls.c (file2_thread_local)
6525 (function_referencing_file2_thread_local): New.
6526 * gdb.threads/tls2.c: New file.
6527
6528 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6531 rather than integer, as integer might not be big enough when
6532 on 64bit targets.
6533
6534 2008-11-27 Jerome Guitton <guitton@adacore.com>
6535
6536 * gdb.cp/formatted-ref.exp: Add equality test.
6537 * gdb.ada/formatted_ref.exp: Ditto.
6538
6539 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6540
6541 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6542 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6543
6544 2008-11-20 Andreas Schwab <schwab@suse.de>
6545
6546 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6547 matching syscall entry point.
6548 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6549 (tcatch_vfork_then_child_follow): Likewise. Finish through
6550 vfork even if we stopped at the syscall trampoline.
6551
6552 2008-11-20 Doug Evans <dje@google.com>
6553
6554 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6555
6556 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6557
6558 * gdb.arch/ppc-dfp.exp: New file.
6559 * gdb.arch/ppc-dfp.c: New file.
6560
6561 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6562
6563 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6564
6565 2008-11-17 Doug Evans <dje@google.com>
6566
6567 * gdb.mi/mi-syn-frame.exp: Update expected output.
6568 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6569
6570 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6571
6572 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6573 "thread N" results in =thread-selected.
6574 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6575 (mi_send_resuming_command_raw): Be prepared for
6576 =thread-selected.
6577
6578 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6579
6580 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6581 * lib/mi-support.exp: Likewise.
6582
6583 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6584
6585 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6586 commands from the expected output for "help catch".
6587
6588 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6589
6590 * gdb.ada/int_deref.exp: New testcase.
6591
6592 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6593
6594 * gdb.mi/gdb2549.exp: New file.
6595
6596 2008-11-11 Doug Evans <dje@google.com>
6597
6598 * gdb.base/callexit.exp: New file.
6599 * gdb.base/callexit.c: New file.
6600
6601 2008-11-10 Doug Evans <dje@google.com>
6602
6603 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6604 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6605 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6606 (default_gdb_start,default_gdb_exit): Ditto.
6607 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6608 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6609 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6610 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6611 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6612 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6613
6614 2008-11-03 Andreas Schwab <schwab@suse.de>
6615
6616 * gdb.base/hashline2.exp: Fix typo.
6617 * gdb.base/hashline3.exp: Likewise.
6618
6619 2008-10-30 Tom Tromey <tromey@redhat.com>
6620
6621 * gdb.base/pointers.exp: Add test.
6622 * gdb.base/pointers.c (k, S): New typedefs.
6623 (instance): New global.
6624
6625 2008-10-30 Andreas Schwab <schwab@suse.de>
6626
6627 * gdb.base/args.exp: Add tests for newlines.
6628
6629 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6630
6631 gdb.base/foll-exec.exp: Update the expected output of a couple
6632 of "info breakpoints" tests.
6633
6634 2008-10-28 Tom Tromey <tromey@redhat.com>
6635
6636 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6637
6638 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6639
6640 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6641 gdb_start_cmd.
6642 Use runto_main before any test that requires execution.
6643
6644 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6645
6646 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6647 instead of SIGINT.
6648
6649 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6650
6651 * gdb.base/completion.exp: Update expected output following
6652 the addition of the "info tasks" command.
6653
6654 2008-10-22 Tom Tromey <tromey@redhat.com>
6655
6656 * gdb.base/exprs.exp (test_expr): Add test for string
6657 concatenation.
6658
6659 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6660
6661 * configure.ac: Output gdb.python/Makefile.
6662 * configure: Regenerate.
6663 * gdb.python/Makefile.in: New.
6664
6665 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6666
6667 * gdb.base/foll-fork.exp: Adjust the expected output to match
6668 the new description for fork/vfork catchpoints in the "info
6669 breakpoints" output.
6670
6671 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6672
6673 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6674
6675 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6676
6677 * gdb.python/python-value.c: New file.
6678 * gdb.python/python-value.exp: New file.
6679
6680 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6681
6682 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6683
6684 2008-10-15 Denis Pilat <denis.pilat@st.com>
6685
6686 * gdb.cp/mb-ctor.exp: Fix a typo.
6687
6688 2008-10-09 Tom Tromey <tromey@redhat.com>
6689
6690 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6691 'fprintf' and 'stderr'.
6692
6693 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6694
6695 * gdb.ada/ref_tick_size.exp: New testcase.
6696
6697 2008-10-06 Doug Evans <dje@google.com>
6698
6699 * gdb.dwarf2/dw2-cu-size.exp: New file.
6700 * gdb.dwarf2/dw2-cu-size.S: New file.
6701
6702 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6703 .Ltype_int for clarity.
6704
6705 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6706
6707 PR gdb/2384:
6708 * gdb.cp/gdb2384.exp: Extended to test more cases.
6709 * gdb.cp/gdb2384.cc: Likewise.
6710 * gdb.cp/gdb2384-base.h: Likewise.
6711 * gdb.cp/gdb2384-base.cc: Likewise.
6712
6713 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6714
6715 * gdb.base/maint.exp (maint print type): Remove printing
6716 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6717
6718 2008-09-30 Tom Tromey <tromey@redhat.com>
6719
6720 * gdb.base/macscp.exp: Add completion tests.
6721 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6722 (TWENTY_THREE): Likewise.
6723 (FORTY_EIGHT): Likewise.
6724
6725 2008-09-30 Tom Tromey <tromey@redhat.com>
6726
6727 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6728 everywhere.
6729 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6730
6731 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6732
6733 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6734 testcase is derived from. Fix racy dependency on an expected PID
6735 number. No longer support the testcase on Linux kernel 2.4.x.
6736
6737 2008-09-27 Tom Tromey <tromey@redhat.com>
6738
6739 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6740 and varargs.
6741
6742 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6743
6744 * lib/mi-support.exp (mi_expect_interrupt): New.
6745 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6746 from gdb.mi/mi-nonstop.exp.
6747 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6748 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6749 lib/mi-support.exp.
6750 Use mi_check_thread_states throughout. Avoid ".*" and do not
6751 require an anchor after -exec-run.
6752
6753 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6754
6755 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6756 stop is pending. Avoid ".*" when two stops are pending.
6757 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6758 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6759 newlines in fullnames.
6760 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6761 (mi_expect_stop): Update comments. Only anchor in sync mode.
6762 Do not match newlines.
6763 (mi_send_resuming_command_raw): Always return status.
6764 (mi_get_stop_line): Do not match more than one line by accident.
6765 Only anchor in sync mode.
6766 (mi_run_inline_test): If -exec-next fails, give up.
6767
6768 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6769
6770 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6771 on SPU.
6772
6773 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6774
6775 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6776
6777 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6778
6779 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6780 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6781 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6782 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6783 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6784 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6785 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6786 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6787 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6788 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6789 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6790 Include the "= " sequence in the expected output of print tests.
6791
6792 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6793
6794 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6795 description for boolean types.
6796
6797 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6798
6799 * gdb.base/hook-stop-continue.c: New.
6800 * gdb.base/hook-stop-continue.exp: New.
6801
6802 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6803
6804 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6805
6806 2008-09-08 Jerome Guitton <guitton@adacore.com>
6807
6808 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6809 (stack_check_probe_2, stack_check_probe_loop_1)
6810 (stack_check_probe_loop_2): New functions.
6811 (main): Add call to these new functions.
6812 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6813 functions, check that the breakpoint is inserted at the appropriate
6814 location.
6815 (insert_breakpoint): Slightly refine this procedure so that it can
6816 be called several times in the test.
6817
6818 2008-09-08 Jerome Guitton <guitton@adacore.com>
6819
6820 * gdb.base/stack-checking.c: New file.
6821 * gdb.base/stack-checking.exp: New file.
6822
6823 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6824
6825 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6826 * gdb.arch/altivec-regs.exp: Likewise.
6827 * gdb.arch/vsx-regs.exp: Likewise.
6828
6829 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6830
6831 * gdb.arch/ppc-fp.exp: New file.
6832 * gdb.arch/ppc-fp.c: New file.
6833
6834 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6835
6836 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6837 lest gcc-4.3.1 optimizes the whole thing away.
6838
6839 2008-09-04 Michael Snyder <msnyder@vmware.com>
6840
6841 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6842 as "at" (for non-debug functions such as _start).
6843
6844 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6845
6846 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6847 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6848 software watchpoints.
6849 * gdb.base/watch_thread_num.exp: Likewise.
6850
6851 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6852
6853 * gdb.arch/i386-bp_permanent.exp: New test.
6854
6855 2008-08-24 Tom Tromey <tromey@redhat.com>
6856
6857 * gdb.base/maint.exp: Update "maint print type".
6858
6859 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6860
6861 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6862 support. Adjust the order of "*running" notifications.
6863 * gdb.mi/non-stop.c: Don't cast from int to void* and
6864 back.
6865
6866 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6867
6868 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6869 expect to find it in the "info frame" output.
6870
6871 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * gdb.base/interp.exp: Always consume both prompts.
6874
6875 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6876
6877 * gdb.base/pending.exp: Test pending breakpoints without symbols
6878 loaded.
6879
6880 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6881
6882 * lib/mi-support.exp (mi_expect_stop): Produce
6883 more details on failures.
6884 * gdb.mi/mi-nonstop.exp: New.
6885 * gdb.mi/non-stop.c: New.
6886
6887 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6888
6889 * gdb.mi/mi-async.exp: Use 'set target-async'.
6890 * lib/mi-support.exp: Use 'set/show target-async'.
6891
6892 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6893
6894 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6895
6896 2008-08-17 Tom Tromey <tromey@redhat.com>
6897
6898 * gdb.base/help.exp (help catch): Rewrite.
6899
6900 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6901
6902 * gdb.base/define.exp: Test indented command documentation.
6903 * gdb.python/python.exp: Test indented multi-line command.
6904
6905 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6906
6907 * testsuite/gdb.arch/vsx-regs.c: New source file.
6908 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6909 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6910
6911 2008-08-14 Tom Tromey <tromey@redhat.com>
6912
6913 * gdb.base/macscp.exp: Add regression test for "macro define" or
6914 "macro undef" with no arguments.
6915
6916 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6917
6918 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6919
6920 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6921
6922 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6923
6924 2008-08-06 Tom Tromey <tromey@redhat.com>
6925
6926 * gdb.python/python.exp: New file.
6927
6928 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 Fix for PR gdb/1543.
6931 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6932 $LOCATION.
6933 (location): New variable.
6934 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6935 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6936 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6937 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6938 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6939 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6940 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6941 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6942 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6943 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6944 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6945 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6946 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6947 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6948 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6949 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6950 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6951 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6952 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6953 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6954 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6955 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6956 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6957 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6958 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6959 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6960 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6961 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6962 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6963 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6964 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6965 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6966 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6967 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6968 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6969 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6970 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6971 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6972 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6973 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6974 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6975 gdb.base/type-opaque.exp, gdb.base/until.exp,
6976 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6977 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6978 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6979 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6980 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6981 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6982 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6983 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6984 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6985 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6986 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6987 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6988 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6989 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6990 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6991 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6992 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6993 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6994 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6995 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6996 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6997 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6998 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6999 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7000 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7001 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7002 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7003 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7004 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7005 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7006 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7007 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7008 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7009 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7010 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7011 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7012 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7013 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7014 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7015 to bug-gdb@prep.ai.mit.edu .
7016
7017 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7018
7019 * lib/mi-support.exp (mi_load_shlibs): New.
7020 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7021
7022 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7023
7024 * lib/mi-support.exp (get_mi_thread_list)
7025 (check_mi_and_console_threads): New, moved from ...
7026 * gdb.mi/mi-pthread.exp: ...here.
7027 * gdb.mi/gdb669.exp (get_mi_thread_list)
7028 (check_mi_and_console_threads): Delete.
7029 * gdb.mi/mi2-pthread.exp: Likewise.
7030
7031 2008-07-28 Tom Tromey <tromey@redhat.com>
7032
7033 * Makefile.in (just-check): Remove. Move body to...
7034 (check): ... here.
7035
7036 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7037
7038 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7039 Add a test for duplicated SIGINTs.
7040
7041 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7042
7043 * gdb.threads/schedlock.exp (get_args): Update to work for any
7044 value of NUM.
7045 (Top level): Report the number of threads that did not resume.
7046
7047 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7048
7049 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7050
7051 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7052
7053 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7054 non-MI prompt.
7055
7056 2008-07-26 Tom Tromey <tromey@redhat.com>
7057
7058 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7059 (function_struct, function_struct_ptr): New globals.
7060 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7061 function pointer in a struct.
7062
7063 2008-07-26 Tom Tromey <tromey@redhat.com>
7064
7065 * gdb.base/macscp.exp: Add test for macro lexing bug.
7066
7067 2008-07-18 Tom Tromey <tromey@redhat.com>
7068
7069 * gdb.base/macscp.exp: Add macro tests.
7070
7071 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7072
7073 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7074
7075 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7076
7077 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7078
7079 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7080
7081 * gdb.cp/class2.exp: fix for failure on spu-elf
7082
7083 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7084
7085 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7086
7087 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7090
7091 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7092
7093 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7094
7095 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7096
7097 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7098 of regexp to account for changes made to GDB in the printing of
7099 byte vectors.
7100
7101 2008-07-11 Tom Tromey <tromey@redhat.com>
7102
7103 * gdb.base/completion.exp: Add 'help' completion test.
7104
7105 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7106
7107 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7108
7109 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7110
7111 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7112
7113 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7114
7115 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7116
7117 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7118
7119 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7120
7121 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7122
7123 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7124
7125 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7126
7127 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7128 previous commit. Add a comment.
7129
7130 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7131
7132 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7133
7134 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7135
7136 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7137
7138 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7139
7140 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7141 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7142 compiling an executable, link in an object that forces unbuffered
7143 output.
7144 * lib/set_unbuffered_mode.c: New file.
7145
7146 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7149
7150 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7151
7152 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7153 mi_expect_stop.
7154 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7155 Demand that *running is output.
7156 (detect_async): Perform checking every time.
7157 (mi_send_resuming_command): Extract everything into...
7158 (mi_send_resuming_command_raw): ...this.
7159 (mi_expect_stop): Don't accept any output before *stopped.
7160
7161 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7162
7163 Robustify mi-simplerun.
7164 * gdb.mi/basics.c (main): Add a call to sleep.
7165 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7166 * gdb.mi/mi2-cli.exp: Likewise.
7167 * gdb.mi/mi-break.exp: Likewise.
7168
7169 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7170
7171 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7172
7173 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7174
7175 * gdb.mi/mi-console.exp: Adjust.
7176 * gdb.mi/mi-syn-frame.exp: Adjust.
7177 * gdb.mi/mi2-console.exp: Adjust.
7178 * gdb.mi/mi2-syn-frame.exp: Adjust.
7179 * lib/mi-support.exp (mi_run_cmd): Adjust.
7180 (mi_send_resuming_command): Adjust.
7181
7182 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7183
7184 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7185 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7186 testing of stopped.
7187 * gdb.mi/mi2-syn-frame.exp: Likewise.
7188 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7189 (async, detect_async): New.
7190 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7191 depending on if we're running in sync or async mode.
7192
7193 2008-06-09 Tom Tromey <tromey@redhat.com>
7194
7195 * gdb.base/completion.exp: New tests for field name completion
7196 with spaces, and field name completion with '->'.
7197
7198 2008-06-06 Tom Tromey <tromey@redhat.com>
7199
7200 * gdb.base/break1.c (struct some_struct): New struct.
7201 (values): New global.
7202 * gdb.base/completion.exp: Add field name completion test.
7203
7204 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7205
7206 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7207 to pointer.
7208 * gdb.cp/call-c.cc: Likewise.
7209
7210 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7211
7212 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7213 annotation.
7214
7215 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7216 Pedro Alves <pedro@codesourcery.com>
7217
7218 * gdb.threads/execl.c, gdb.threads/execl1.c,
7219 gdb.threads/execl.exp: New tests.
7220
7221 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7222 Daniel Jacobowitz <dan@codesourcery.com>
7223
7224 * gdb.cp/exception.exp: Activate test, make it work with pending
7225 catchpoints.
7226
7227 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7228
7229 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7230
7231 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7232
7233 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7234 now printed.
7235 * gdb.mi/mi2-var-cmd.exp: Likewise.
7236
7237 2008-05-27 Andreas Schwab <schwab@suse.de>
7238
7239 * gdb.base/frame-args.exp: Handle arguments that are optimized
7240 out.
7241
7242 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7243
7244 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7245 quiet for ppc32 and group options into a single variable.
7246
7247 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7248
7249 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7250 of zero-size elements.
7251 * gdb.ada/null_array.exp: Test printing this new array.
7252
7253 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7254
7255 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7256
7257 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7258
7259 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7260 of the "finish" command.
7261
7262 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7263
7264 * gdb.base/annota1.exp: Test for new annotation.
7265
7266 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7267
7268 * gdb.base/fixsection.exp: New file.
7269 * gdb.base/fixsection0.c: New file.
7270 * gdb.base/fixsection1.c: New file.
7271
7272 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7273
7274 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7275 * gdb.base/annota3.exp: Likewise.
7276
7277 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7278
7279 * gdb.base/watch_thread_num.exp: Don't run tests that require
7280 watchpoints if the target doesn't support them.
7281
7282 2008-05-12 Doug Evans <dje@google.com>
7283
7284 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7285
7286 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7287
7288 * gdb.ada/assign_1.exp: New testcase.
7289
7290 2008-05-09 Doug Evans <dje@google.com>
7291
7292 * gdb.base/find.exp: New file.
7293 * gdb.base/find.c: New file.
7294
7295 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7296
7297 * gdb.base/commands.exp (watchpoint_command_test): Handle
7298 gdb,no_hardware_watchpoints.
7299 * gdb.base/float.exp: Allow ARM targets without floating point.
7300 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7301
7302 2008-05-06 Jerome Guitton <guitton@adacore.com>
7303 Joel Brobecker <brobecker@adacore.com>
7304
7305 * gdb.ada/lang_switch: New test program.
7306 * gdb.ada/lang_switch.exp: New testcase.
7307
7308 2008-05-05 Doug Evans <dje@google.com>
7309
7310 * gdb.base/help.exp (disassemble): Update expected help text.
7311
7312 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7313
7314 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7315
7316 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7317
7318 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7319 different times.
7320
7321 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7324 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7325 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7326 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7327
7328 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7329
7330 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7331 notification to appear.
7332
7333 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7334
7335 * gdb.base/fullname.c: New file.
7336 * gdb.base/fullname.exp: New file.
7337 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7338
7339 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7340
7341 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7342 expressions with macros.
7343
7344 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7345
7346 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7347
7348 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7349
7350 * gdb.base/completion.exp: Handle lack of other symbols beginning
7351 with "a".
7352
7353 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7354
7355 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7356
7357 * gdb.asm/asmsrc1.s: Add scratch space.
7358
7359 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7360 Daniel Jacobowitz <dan@codesourcery.com>
7361
7362 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7363 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7364 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7365
7366 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7367
7368 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7369
7370 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7371
7372 * gdb.base/info-target.exp: New testcase.
7373
7374 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7375
7376 * gdb.cp/hang.exp: Use .cc instead of .C.
7377 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7378 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7379
7380 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7381
7382 * gdb.base/gdb1250.exp: Remove perror.
7383 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7384
7385 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7386
7387 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7388 .2byte.
7389
7390 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7391
7392 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7393 (maybe_kfail): New.
7394
7395 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7396
7397 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7398
7399 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7400
7401 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7402 * gdb.mi/mi2-syn-frame.exp: Likewise.
7403 * lib/mi-support.exp: Likewise.
7404
7405 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7406
7407 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7408 to specify regexp for the location to stop at.
7409 * gdb.base/break-always.c: New.
7410 * gdb.base/break-always.exp: New.
7411
7412 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7413
7414 * lib/mi-support.exp (mi_runto_helper): Adjust
7415 for the original-location field.
7416 (mi_create_breakpoint, mi_list_breakpoints): New.
7417 * gdb.mi/mi-break.exp: Adjust.
7418 * gdb.mi/mi2-break.exp: Adjust.
7419 * gdb.mi/mi-pending.exp: Adjust.
7420 * gdb.mi/mi-simplerun.exp: Adjust.
7421 * gdb.mi/mi2-simplerun.exp: Adjust.
7422 * gdb.mi/mi-syn-frame.exp: Adjust.
7423 * gdb.mi/mi2-syn-frame.exp: Adjust.
7424 * gdb.mi/mi-until.exp: Adjust.
7425 * gdb.mi/mi2-until.exp: Adjust.
7426 * gdb.mi/mi-var-display.exp: Adjust.
7427 * gdb.mi/mi2-var-display.exp: Adjust.
7428 * gdb.mi/mi-watch.exp: Adjust.
7429 * gdb.mi/mi2-watch.exp: Adjust.
7430
7431 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7432
7433 * aclocal.m4: Add override.m4.
7434 * configure: Regenerate.
7435
7436 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7437
7438 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7439 '-var-update --all-values' reports new value even the type
7440 of a variable object has changed.
7441
7442 2008-04-18 Craig Silverstein <csilvers@google.com>
7443
7444 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7445 files.
7446
7447 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7448
7449 * gdb.ada/atomic_enum: New test program.
7450 * gdb.ada/atomic_enum.exp: New testcase.
7451
7452 2008-04-17 Doug Evans <dje@google.com>
7453
7454 * gdb.opt/Makefile.in: Fix whitespace.
7455
7456 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7457
7458 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7459
7460 2008-04-17 Doug Evans <dje@google.com>
7461
7462 * gdb.base/hashline1.exp: New testcase.
7463 * gdb.base/hashline2.exp: New testcase.
7464 * gdb.base/hashline2.exp: New testcase.
7465
7466 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7467
7468 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7469
7470 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7471
7472 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7473 temporary breakpoint to match "Temporary breakpoint".
7474 * gdb.base/break.exp (delete_breakpoints): Likewise.
7475 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7476 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7477 * gdb.base/display.exp: Likewise.
7478 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7479 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7480 * gdb.base/restore.exp (restore_tests): Likewise.
7481 * gdb.base/sepdebug.exp: Likewise.
7482 * gdb.base/watchpoint.exp: Likewise.
7483 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7484 * gdb.mi/mi-pending.exp: Likewise.
7485 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7486 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7487 * gdb.mi/mi-var-cmd.exp: Likewise.
7488 * gdb.mi/mi-var-display.exp: Likewise.
7489 * gdb.mi/mi2-cli.exp: Likewise.
7490 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7491 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7492 * gdb.mi/mi2-var-display.exp: Likewise.
7493 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7494 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7495 new "disp" field.
7496 (mi_expect_stop): Move after_reason argument to be really after
7497 reason. This is to support fix for PR2424.
7498
7499 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7502
7503 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7504
7505 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7506 field. Add more floating varobj tests.
7507 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7508 field.
7509 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7510 (main): Call do_at_tests.
7511 * lib/mi-support.exp (mi_create_floating_varobj)
7512 (mi_varobj_update_with_type_change): New.
7513
7514 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7515
7516 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7517 option of -var-evaluate-expression.
7518 * gdb.mi/mi2-var-display.exp: Likewise.
7519
7520 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7521
7522 Introduce test setup helpers.
7523 * lib/gdb.exp (build_executable, clean_restart)
7524 (prepare_for_testing): New.
7525 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7526 * gdb.base/return.exp: Likewise.
7527 * gdb.base/ending-run.exp: Likewise.
7528
7529 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7530
7531 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7532 Interface (MI) responses.
7533
7534 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7535
7536 * gdb.cp/breakpoint.cc: New code to test conditions involving
7537 member variables.
7538 * gdb.cp/breakpoint.exp: Test condition involving member
7539 variables.
7540
7541 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7542
7543 * lib/mi-support.exp (mi_expect_stop): New.
7544 (mi_run_cmd): Change the
7545 token. Use mi_send_resuming_command, use
7546 mi_expect_stop.
7547 (mi_execute_to_helper): Rename to mi_execute_to.
7548 (mi_send_resuming_command): Add more error patterns.
7549 (mi_wait_for_stop): Renamed to...
7550 (mi_get_stop_line): ...this.
7551 (mi_run_inline_test): Adjust.
7552
7553 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7554 * gdb.mi/mi-console.exp: Likewise.
7555 * gdb.mi/mi-pending.exp: Likewise.
7556 * gdb.mi/mi-simplerun.exp: Likewise.
7557 * gdb.mi/mi-stack.exp: Likewise.
7558 * gdb.mi/mi-stepi.exp: Likewise.
7559 * gdb.mi/mi-syn-frame.exp: Add comment.
7560 * gdb.mi/mi-until.exp: Likewise.
7561 * gdb.mi/mi-var-display.exp: Likewise.
7562 * gdb.mi/mi-watch.exp: Likewise.
7563 * gdb.mi/mi2-cli.exp: Likewise.
7564 * gdb.mi/mi2-console.exp: Likewise.
7565 * gdb.mi/mi2-simplerun.exp: Likewise.
7566 * gdb.mi/mi2-stack.exp: Likewise.
7567 * gdb.mi/mi2-stepi.exp: Likewise.
7568 * gdb.mi/mi2-until.exp: Likewise.
7569 * gdb.mi/mi2-var-display.exp: Likewise.
7570 * gdb.mi/mi2-watch.exp: Likewise.
7571
7572 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7573
7574 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7575
7576 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7577
7578 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7579
7580 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7581 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7582 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7583 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7584 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7585 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7586 expect an mi error duplicated in stderr.
7587
7588 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7589
7590 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7591 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7592 Add a couple of tests that verify the behavior when the new setting
7593 is set to "cancel" and "all".
7594 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7595 "ask" before we start the testing.
7596
7597 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7598
7599 * gdb.cp/casts.cc: Add class reference variables.
7600 * gdb.cp/casts.exp: New test cases for up/down casting references.
7601
7602 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7603
7604 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7605 instead of beginning to make an extra test pass.
7606 * gdb.mi/mi2-var-display.exp: Likewise.
7607
7608 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7609
7610 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7611
7612 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7613 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7614
7615 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7616 value. Add xfail for older kernels.
7617
7618 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7619
7620 Bring mi-support in line with gdb.exp.
7621 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7622 (mi_gdb_start): New function.
7623
7624 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7625
7626 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7627
7628 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7629
7630 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7631 * gdb.mi/mi2-var-display.exp: Likewise.
7632
7633 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7634
7635 * lib/mi-support.exp (mi_create_varobj_checked): New.
7636 (mi_list_varobj_children): Allow to check for a
7637 value.
7638 (mi_list_array_varobj_children): New.
7639
7640 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7641 and mi_list_varobj_children, as opposed to hardcoding
7642 expected strings.
7643 * gdb.mi/gdb701.exp: Likewise.
7644 * gdb.mi/gdb792.exp: Likewise.
7645 * gdb.mi/mi-var-block.exp: Likewise.
7646 * gdb.mi/mi-var-cmd.exp: Likewise.
7647 * gdb.mi/mi-var-invalidate.exp: Likewise.
7648 * gdb.mi/mi2-var-block.exp: Likewise.
7649 * gdb.mi/mi2-var-child.exp: Likewise.
7650 * gdb.mi/mi2-var-cmd.exp: Likewise.
7651 * gdb.mi/mi2-var-display.exp: Likewise.
7652
7653 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7654
7655 Fix random false FAILs on i386.
7656 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7657
7658 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7659
7660 PR gdb/544
7661 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7662
7663 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7664
7665 PR gdb/544
7666 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7667
7668 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7669
7670 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7671 fixed PR gdb/544.
7672
7673 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7674
7675 * gdb.threads/fork-child-threads.exp: Test next over fork.
7676
7677 2008-03-21 Chris Demetriou <cgd@google.com>
7678
7679 * gdb.base/break.exp (rbreak junk): New test for rbreak
7680 "Junk at end of arguments" issue.
7681
7682 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7683
7684 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7685 *& to work on created array elements.
7686 (Top level): Test print $pc with a file. Test string operations
7687 without a target.
7688 * gdb.base/ptype.exp: Do not expect *& to work on created array
7689 elements.
7690
7691 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7692
7693 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7694 gdb.threads/staticthreads.exp: Update exit query.
7695
7696 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7697
7698 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7699
7700 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7701
7702 * gdb.base/watchpoint.c (global_ptr, func4): New.
7703 (main): Call func4.
7704 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7705 (test_inaccessible_watchpoint): New.
7706
7707 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7708
7709 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7710 select the largest.
7711
7712 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7713
7714 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7715 frames-invalid annotations.
7716
7717 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7718
7719 * gdb.base/assign.exp: avoid same output for different tests.
7720
7721 2008-02-27 Doug Evans <dje@google.com>
7722
7723 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7724 for bug 1738.
7725 (breakpoint_to_handler_entry): Ditto.
7726
7727 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7728
7729 * gdb.base/ending-run.exp: Use the first line of code inside
7730 function body to test breakpoints.
7731 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7732 location where the breakpoint is inserted when using the line
7733 where a function is declared. Fix typo in the description of
7734 one of the tests.
7735 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7736
7737 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7738
7739 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7740 tests.
7741
7742 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7743
7744 * gdb.base/args.exp: avoid same output for tests
7745 with single quotes.
7746
7747 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7748
7749 * gdb.base/annota1.exp: Adjust for 'info break'
7750 format changes.
7751 * gdb.base/annota3.exp: Likewise.
7752 * gdb.base/break.exp: Likewise.
7753 * gdb.base/condbreak.exp: Likewise.
7754 * gdb.base/pending.exp: Likewise.
7755 * gdb.base/sepdebug.exp: Likewise.
7756 * gdb.base/unload.exp: Likewise.
7757 * gdb.cp/ovldbreak.exp: Likewise.
7758 * gdb.mi/mi-pending.exp: Likewise.
7759
7760 2008-02-07 Doug Evans <dje@google.com>
7761
7762 * gdb.cp/mb-inline.exp: New.
7763 * gdb.cp/mb-inline.h: New.
7764 * gdb.cp/mb-inline1.cc: New.
7765 * gdb.cp/mb-inline2.cc: New.
7766
7767 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7768
7769 * gdb.pascal/floats.pas: New test program.
7770 * gdb.pascal/floats.exp: New testcase.
7771
7772 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7773
7774 * gdb.base/callfuncs.c (t_float_many_args): New function.
7775 (t_double_many_args): New function.
7776 * gdb.base/callfuncs.exp: Add tests for exceeding float
7777 and double parameters passed through the stack.
7778
7779 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7780
7781 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7782 gdb.ada/complete/foo.adb: New files.
7783 * gdb.ada/complete.exp: New testcase.
7784
7785 2008-02-03 Doug Evans <dje@google.com>
7786
7787 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7788
7789 * gdb.cp/gdb2384.exp: New file.
7790 * gdb.cp/gdb2384.cc: New file.
7791 * gdb.cp/gdb2384-base.h: New file.
7792 * gdb.cp/gdb2384-base.cc: New file.
7793
7794 2008-02-02 Doug Evans <dje@google.com>
7795
7796 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7797
7798 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.ada/sym_print_name: New test program.
7801 * gdb.ada/sym_print_name.exp: New testcase.
7802
7803 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7804
7805 * gdb.ada/nested/hello.adb: New file.
7806 * gdb.ada/nested.exp: New testcase.
7807 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7808
7809 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7810
7811 * gdb.mi/basic.c (return_1): New function.
7812 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7813 don't cause future evaluations of function to report
7814 creation of internal breakpoints.
7815
7816 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7817
7818 * gdb.mi/mi-break.exp (test_error): New.
7819 Call it.
7820
7821 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7822
7823 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7824 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7825
7826 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7827
7828 * gdb.pascal/integers.pas: New test program.
7829 * gdb.pascal/integers.exp: New testcase.
7830
7831 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7832
7833 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7834
7835 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7836
7837 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7838 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7839
7840 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7841
7842 * gdb.ada/formatted_ref: New test program.
7843 * gdb.ada/formatted_ref.exp: New testcase.
7844
7845 * gdb.cp/formatted-ref.cc: New file.
7846 * gdb.cp/formatted-ref.exp: New testcase.
7847
7848 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7849
7850 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7851
7852 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7853
7854 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7855 (test_file_list_exec_source_file): Update to new macro-info field.
7856
7857 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7858
7859 * gdb.ada/exprs: New test program.
7860 * gdb.ada/exprs.exp: New testcase.
7861
7862 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7863
7864 * dfp-test.c (DELTA, DELTA_B): New definitions.
7865 (double_val1, double_val2, double_val3, double_val4, double_val5,
7866 double_val6, double_val7, double_val8, double_val9, double_val10,
7867 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7868 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7869 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7870 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7871 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7872 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7873 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7874 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7875 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7876 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7877 dec128_val16): New global variables.
7878 (decimal_dec128_align): New function.
7879 (decimal_mixed): Likewise.
7880 (decimal_many_args_dec32): Likewise.
7881 (decimal_many_args_dec64): Likewise.
7882 (decimal_many_args_dec128): Likewise.
7883 (decimal_many_args_mixed): Likewise.
7884 * dfp-test.exp: Add tests calling new inferior functions.
7885
7886 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7887
7888 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7889 gdb.server/ext-run.exp: New files.
7890 * lib/gdbserver-support.exp (gdbserver_download): New.
7891 (gdbserver_start): New. Update gdbserver expected
7892 output.
7893 (gdbserver_spawn): Use them.
7894 (gdbserver_start_extended): New.
7895
7896 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7897
7898 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7899 Run on GNU/Linux.
7900 (do_exec_tests): Check for systems which do not support catchpoints.
7901 Do not match START.
7902 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7903 Run on GNU/Linux. Enable verbose output.
7904 (check_fork_catchpoints): New.
7905 (explicit_fork_child_follow, catch_fork_child_follow)
7906 (tcatch_fork_parent_follow): Update expected messages.
7907 (do_fork_tests): Use check_fork_catchpoints.
7908 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7909 Run on GNU/Linux. Enable verbose output.
7910 (check_vfork_catchpoints): New.
7911 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7912 expected messages.
7913 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7914
7915 2008-01-29 Jim Blandy <jimb@red-bean.com>
7916
7917 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7918 host' errors.
7919 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7920
7921 2008-01-29 Jim Blandy <jimb@red-bean.com>
7922
7923 * gdb.threads/sigthread.c: Use barriers to ensure that
7924 child_thread and child_thread_two are always initialized before we
7925 start to use them.
7926
7927 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7928
7929 * gdb.base/watchpoint-solib.exp: New.
7930 * gdb.base/watchpoint-solib.c: New.
7931 * gdb.base/watchpoint-solib-shr.c: New.
7932
7933 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7934
7935 * gdb.base/gdb1056.exp: Add unsigned integer test.
7936
7937 2008-01-28 Doug Evans <dje@google.com>
7938
7939 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7940
7941 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7942
7943 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7944
7945 * gdb.base/expand-psymtabs.exp: Doc fix.
7946
7947 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7948
7949 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7950
7951 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7952
7953 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7954 -var-set-format.
7955
7956 2008-01-23 Chris Demetriou <cgd@google.com>
7957
7958 * gdb.threads/thread_events.c: New testcase source file.
7959 * gdb.threads/thread_events.exp: New testcase expect file.
7960
7961 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7962
7963 * lib/gdb.exp: Add the variable octal.
7964
7965 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7966 -var-set-format.
7967
7968 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7969 Vladimir Prus <vladimir@codesourcery.com>
7970
7971 * gdb.base/float.exp: Allow missing floating point for m68k and
7972 PowerPC.
7973
7974 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7975
7976 * gdb.mi/basics.c: Setup for testing breakpoints
7977 ignore count.
7978 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7979 * gdb.mi/mi-cli.exp: Adjust.
7980 * gdb.mi/mi2-cli.exp: Adjust.
7981
7982 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7983
7984 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7985 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7986 with dummy_ptr's address.
7987 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7988 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7989 all targets.
7990 * gdb.mi/mi2-var-child.exp: Likewise.
7991
7992 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7993
7994 * gdb.ada/null_array: New test program.
7995 * gdb.ada/null_array.exp: New testcase.
7996
7997 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7998
7999 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8000 with required float modifiers.
8001
8002 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.ada/funcall_param: New test program.
8005 * gdb.ada/funcall_param.exp: New testcase.
8006
8007 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8008
8009 * gdb.ada/arrayparam: New test program.
8010 * gdb.ada/arrayparam.exp: New testcase.
8011
8012 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8013
8014 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8015 landed. Should also fix random failures in the test following it.
8016
8017 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8018
8019 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8020 for expressions with decimal float values.
8021 (test_dfp_conversions): New function to test casts to and from
8022 decimal float types.
8023 Call test_dfp_conversions.
8024 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8025 elements.
8026 (main): Initialize ds.float4 and ds.double8 elements.
8027 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8028 string to new error message.
8029 (d64_set_tests): Likewise.
8030 (d128_set_tests): Likewise.
8031 Add tests for expressions with decimal float variables. Add tests for
8032 conversions to and from decimal float types.
8033
8034 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8037 * gdb.ada/packed_tagged.exp: New testcase.
8038
8039 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8040
8041 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8042 gdb.ada/homonym/homonym_main.adb: New files.
8043 * gdb.ada/homonym.exp: New testcase.
8044
8045 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8046
8047 * gdb.ada/packed_array.exp: Add testing of references to
8048 a packed array.
8049
8050 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8051
8052 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8053 New files.
8054 * gdb.ada/type_coercion.exp: New testcase.
8055
8056 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8057
8058 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8059 gdb.ada/tagged/foo.adb: New file.
8060 * gdb.ada/tagged.exp: New testcase.
8061
8062 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8063
8064 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8065 gdb.ada/ptype_field/foo.adb: New files.
8066 * gdb.ada/ptype_field.exp: New testcase.
8067
8068 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8069
8070 * gdb.ada/print_pc.exp: New testcase.
8071
8072 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8073
8074 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8075 gdb.ada/taft_type/p.adb: New files.
8076 * gdb.ada/taft_type.exp: New testcase.
8077
8078 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8079
8080 * gdb.ada/array_bounds/bar.adb: New file.
8081 * gdb.ada/array_bounds.exp: New testcase.
8082
8083 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8084
8085 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8086 gdb.ada/arrayptr/foo.adb: New files.
8087 * gdb.ada/arrayptr.exp: New testcase.
8088
8089 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8090
8091 * gdb.base/set-lang-auto.exp: New testcase.
8092
8093 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8094
8095 * gdb.ada/fun_addr/foo.adb: New file.
8096 * gdb.ada/fun_addr.exp: New testcase.
8097
8098 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8099
8100 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8101 New files
8102
8103 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8104
8105 * array_subscript_addr/p.adb: New file.
8106 * array_subscript_addr.exp: New testcase.
8107
8108 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8109
8110 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8111 New files.
8112 * gdb.ada/str_cmp_ref.exp: New testcase.
8113
8114 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8115
8116 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8117 gdb.ada/fun_in_declare/foo.adb: New files.
8118 * gdb.ada/fun_in_declare.exp: New testcase.
8119
8120 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8121
8122 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8123 gdb.ada/ref_param/pck.ads: New files.
8124 * gdb.ada/ref_param.exp: New testcase.
8125
8126 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8127
8128 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8129 gdb.ada/interface/foo.adb: New files.
8130 * gdb.ada/interface.exp: New testcase.
8131
8132 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8133
8134 * gdb.base/multi-forks.exp: Consume all output from child
8135 processes before proceeding to next test.
8136
8137 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8138
8139 * configure: Regenerated.
8140
8141 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8142
8143 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8144 gdb.ada/fixed_cmp/fixed.adb: New files.
8145 * gdb.ada/fixed_cmp.exp: New testcase.
8146
8147 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8148
8149 * gdb.ada/boolean_expr.exp: New testcase.
8150
8151 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8152
8153 * gdb.base/multi-forks.exp: Doc fix.
8154
8155 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8156
8157 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8158 * gdb.ada/char_param.exp: Do not compile our test program with
8159 -gnata, this is unnecessary.
8160 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8161
8162 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8163
8164 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8165 gdb.ada/print_chars/foo.adb: New files.
8166 * gdb.ada/print_chars.exp: New testcase.
8167
8168 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8169
8170 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8171 gdb.ada/char_param/foo.adb: New files.
8172 * gdb.ada/char_param.exp: New testcase.
8173
8174 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8175
8176 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8177 hard-coding source line numbers into the test.
8178 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8179 gdb_get_line_number to find.
8180
8181 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8182
8183 * gdb.base/ptype.c (highest): New struct type.
8184 (the_highest): New variable of that type.
8185 (main): Add dummy assignment to a field of variable the_highest.
8186 * gdb.base/ptype.exp: Test type printing of our new variable.
8187
8188 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8189
8190 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8191 and record first explicitly generated thread number.
8192 Use that thread number for thread specific watchpoint test.
8193 Add iteration number to repetitive tests.
8194
8195 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8196 Jim Blandy <jimb@codesourcery.com>
8197
8198 * gdb.base/expand-psymtabs.c: New testcase
8199 source file.
8200 * gdb.base/expand-psymtabs.exp: New testcase
8201 expect file.
8202
8203 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8204
8205 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8206 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8207
8208 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8209
8210 * gdb.ada/frame_args/foo.adb: New file.
8211 * gdb.ada/frame_args/pck.ads: New file.
8212 * gdb.ada/frame_args/pck.adb: New file.
8213 * gdb.ada/frame_args.exp: New testcase.
8214
8215 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8216
8217 * gdb.base/frame-args.c: New file.
8218 * gdb.base/frame-args.exp: New testcase.
8219
8220 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8221 Joseph Myers <joseph@codesourcery.com>
8222
8223 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8224
8225 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8226
8227 * gdb.mi/mi-pending.exp: New.
8228 * gdb.mi/mi-pending.c: New.
8229 * gdb.mi/mi-pendshr.c: New.
8230
8231 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8232
8233 * gdb.base/default.exp: Update expected output for 'info catch'.
8234
8235 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8236
8237 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8238 must be set to binary.
8239
8240 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8241
8242 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8243
8244 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8245
8246 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8247 gdb.mi/mi-file-transfer.exp: New.
8248
8249 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8250
8251 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8252
8253 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8254
8255 * gdb.trace/backtrace.exp: Fix a typo.
8256 * gdb.trace/circ.exp: Likewise.
8257 * gdb.trace/collection.exp: Likewise.
8258 * gdb.trace/limits.exp: Likewise.
8259 * gdb.trace/report.exp: Likewise.
8260 * gdb.trace/tfind.exp: Likewise.
8261 * gdb.trace/while-dyn.exp: Likewise.
8262
8263 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8264
8265 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8266 objects of pointers that can't be dereferenced are now
8267 "noneditable".
8268
8269 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8270
8271 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8272 (target_cpu): Remove.
8273
8274 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8275
8276 * gdb.base/ending-run.exp: Expect the list of cleared
8277 breakpoint to come in natural order, not the reversed one.
8278
8279 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8280
8281 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8282 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8283
8284 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8285
8286 * gdb.base/printcmds.exp: New function
8287 test_printf_with_dfp.
8288
8289 2007-11-02 Doug Evans <dje@google.com>
8290
8291 * gdb.disasm/t01_mov.s: Remove carriage returns.
8292 * gdb.disasm/t02_mova.s: Ditto.
8293 * gdb.disasm/t03_add.s: Ditto.
8294 * gdb.disasm/t04_sub.s: Ditto.
8295 * gdb.disasm/t05_cmp.s: Ditto.
8296 * gdb.disasm/t06_ari2.s: Ditto.
8297 * gdb.disasm/t07_ari3.s: Ditto.
8298 * gdb.disasm/t08_or.s: Ditto.
8299 * gdb.disasm/t09_xor.s: Ditto.
8300 * gdb.disasm/t10_and.s: Ditto.
8301 * gdb.disasm/t11_logs.s: Ditto.
8302 * gdb.disasm/t12_bit.s: Ditto.
8303 * gdb.disasm/t13_otr.s: Ditto.
8304
8305 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8306
8307 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8308
8309 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8310
8311 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8312 provide DFP support.
8313
8314 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8315
8316 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8317 Test "set powerpc vector-abi". Skip auto-detection tests for old
8318 toolchains.
8319
8320 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8321
8322 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8323 with [string compare].
8324
8325 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8326
8327 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8328 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8329
8330 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8331
8332 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8333 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8334 * gdb.opt/Makefile.in: New makefile.
8335 * Makefile.in: Create new directory "gdb.opt".
8336 * configure.ac: Add "gdb.opt" directory.
8337 * configure: Regenerated.
8338
8339 2007-10-25 Doug Evans <dje@google.com>
8340
8341 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8342 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8343
8344 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8345 Thiago Jung Bauermann <bauerman@br.ibm.com>
8346
8347 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8348 Floating Point expressions.
8349 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8350 Floating Point variables.
8351 * gdb.base/dfp-test.c: new file containing program with Decimal
8352 Floating variables, used by gdb.base/dfp-test.exp.
8353
8354 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8355
8356 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8357
8358 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8359
8360 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8361 compiling test case with GCC.
8362 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8363
8364 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8365
8366 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8367 format changes.
8368
8369 2007-10-18 Michael Snyder <msnyder@specifix.com>
8370
8371 * gdb.base/dbx.exp: Add missing "-re " operator.
8372
8373 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8374
8375 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8376 * configure.ac: Removed trailing spaces after backslash.
8377 * gdb.modula2: New directory.
8378 * gdb.modula2/Makefile.in: New file.
8379 * gdb.modula2/unbounded-array.exp: New file.
8380 * gdb.modula2/unbounded1.c: New file.
8381
8382 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8383
8384 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8385
8386 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8387
8388 * gdb.base/sigstep.c (main): Add checks for
8389 return values for setitimer call.
8390 Call setitimer again with itimer = ITIMER_REAL
8391 if first call to setitimer fails.
8392
8393 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8394
8395 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8396 of $timeout.
8397
8398 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8399
8400 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8401
8402 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8403
8404 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8405 of gdb_expect call, to avoid interruption.
8406
8407 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8408
8409 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8410 (v_unsigned_long_long, v_long_long_array)
8411 (v_signed_long_long_array, v_unsigned_long_long_array)
8412 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8413 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8414 [!NO_LONG_LONG]: New.
8415 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8416 v_long_long_member.
8417
8418 (v_long_long_func, v_signed_long_long_func)
8419 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8420 (main) [!NO_LONG_LONG]: Initialize long long variants.
8421
8422 * gdb.base/whatis.exp: If board file requests no_long_long, build
8423 test with NO_LONG_LONG defined. Test long long, signed long long,
8424 and unsigned long long variants but only if board file doesn't
8425 disable it.
8426
8427 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8428 Daniel Jacobowitz <dan@codesourcery.com>
8429
8430 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8431 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8432 * configure: Regenerated.
8433 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8434 gdb.pascal/types.exp, lib/pascal.exp: New files.
8435
8436 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8437
8438 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8439 call.
8440 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8441 to return to the call.
8442 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8443 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8444 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8445 * gdb.mi/mi-until.exp (test_until): Likewise.
8446 * gdb.mi/mi2-until.exp (test_until): Likewise.
8447
8448 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8449
8450 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8451 two-char array.
8452 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8453
8454 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8455
8456 * gdb.threads/watchthreads.c (thread_function): Sleep between
8457 iterations.
8458 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8459 at once for S/390. Generate matching fails and passes.
8460
8461 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8462
8463 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8464 the 'struct_declarations' variable to zeros.
8465
8466 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8467
8468 * gdb.cp/mb-ctor.cc: New.
8469 * gdb.cp/mb-ctor.exp: New.
8470 * gdb.cp/mb-templates.cc: New.
8471 * gdb.cp/mb-templates.exp: New.
8472
8473 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8474
8475 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8476
8477 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8478
8479 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8480 targets.
8481 * configure: Regenerate.
8482
8483 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8484
8485 * gdb.base/annota1.exp: Adjust for 'info break'
8486 format changes.
8487 * gdb.base/annota3.exp: Likewise.
8488 * gdb.base/break.exp: Likewise.
8489 * gdb.base/condbreak.exp: Likewise.
8490 * gdb.base/pending.exp: Likewise.
8491 * gdb.base/sepdebug.exp: Likewise.
8492 * gdb.base/unload.exp: Likewise.
8493 * gdb.base/ovldbreak.exp: Likewise.
8494
8495 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8496
8497 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8498 messages.
8499 * gdb.base/chng-syms.exp: Likewise.
8500 * gdb.base/unload.exp: Likewise.
8501
8502 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8503
8504 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8505
8506 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8507
8508 * schedlock.c (NUM): Change to 1.
8509 (main): Use args[0] for the main thread.
8510 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8511 regardless of the number of threads.
8512
8513 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8514
8515 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8516 type down.
8517 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8518 test.
8519 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8520 watchpoint type down.
8521 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8522 test.
8523
8524 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8525
8526 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8527 Move all the tests here and run them twice, once using software
8528 watchpoints and once using hardware watchpoints.
8529 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8530
8531 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8532
8533 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8534 test.
8535
8536 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8537
8538 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8539 build-id.
8540
8541 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8542 know about $ORIGIN. Calculate output dir from $dest instead of
8543 using ${objdir}/{$subdir}.
8544
8545 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8546
8547 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8548 gcore, before continuing with the test.
8549
8550 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8551
8552 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8553 * gdb.mi/mi-watch.exp: Likewise.
8554
8555 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8556 Jim Blandy <jimb@codesourcery.com>
8557
8558 * gdb.arch/i386-sse.exp: Do not expect character constants.
8559 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8560 * gdb.base/display.exp: Allow print/s.
8561 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8562 and unsigned char array changes.
8563
8564 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8565
8566 * gdb.base/display.exp: Add tests for printf %p.
8567
8568 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8569
8570 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8571 the dll name to unicode.
8572
8573 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8574
8575 * gdb.base/default.exp (show version): Update the version text.
8576 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8577
8578 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8579
8580 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8581 New files.
8582
8583 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8584
8585 * lib/gdb.exp (build_id_debug_filename_get): New function.
8586 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8587 Remove the generate DEBUG file for the future testcase runs.
8588 New testcase for the NT_GNU_BUILD_ID retrieval.
8589 Move the final testing step to ...
8590 (test_different_dir): ... a new function.
8591 New parameter XFAIL to XFAIL all the tests performed.
8592 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8593 New parameter TYPE to PF_PREFIX all the tests performed.
8594
8595 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8596
8597 * gdb.mi/mi-var-cp.cc (path_expression): New
8598 function.
8599 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8600
8601 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8602
8603 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8604 to fit into SPU Local Store memory.
8605
8606 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8607
8608 * gdb.base/default.exp: Adjust the expected output of "info
8609 warranty" after the switch to GPLv3.
8610
8611 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8612
8613 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8614 to 30000 (from 20000).
8615
8616 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8617
8618 Switch the license of all .exp files to GPLv3.
8619 Switch the license of all .f and .f90 files to GPLv3.
8620 Switch the license of all .s and .S files to GPLv3.
8621
8622 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8623
8624 * configure.ac: Switch license to GPLv3.
8625
8626 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8627
8628 Switch the licensing to GPLv3 for all .ads and .adb files.
8629
8630 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8631
8632 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8633 and t_int_double.
8634 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8635
8636 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8637
8638 * gdb.base/step-line.c: Switch license to GPL version 3, and
8639 update copyright year.
8640 * gdb.base/step-line.inp: Likewise.
8641
8642 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8643
8644 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8645 changes inside gdb1555.c.
8646 * gdb.base/pending.exp: Likewise.
8647
8648 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8649
8650 * config/default.exp: New file.
8651
8652 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8653
8654 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8655 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8656
8657 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8658
8659 * gdb.base/dump.exp: Force the correct endianness for binary
8660 formats not carrying this information.
8661
8662 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8663
8664 * gdb.threads/staticthreads.exp: Match .*sem_post.
8665
8666 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8667
8668 * gdb.base/readline.exp (operate_and_get_next): Match the final
8669 prompt.
8670
8671 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8672
8673 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8674 to restarting SID.
8675
8676 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8677
8678 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8679 prior to `gdb_start'.
8680
8681 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8682
8683 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8684 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8685 Remove call to gdb_unload.
8686
8687 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8688 Daniel Jacobowitz <dan@codesourcery.com>
8689
8690 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8691 for __WIN32__.
8692 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8693 * gdb.base/unload.exp: Use shared library test routines.
8694
8695 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8696
8697 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8698 * gdb.base/solib-symbol-lib.c: Likewise.
8699 * gdb.base/solib-symbol-main.c: Likewise.
8700
8701 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8702
8703 * config/gdbserver.exp (gdb_reconnect): New.
8704 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8705 gdb.base/solib-disc.exp: New files.
8706 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8707 remote debugging".
8708 (gdb_compile): Add shlib_load flag.
8709 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8710 port.
8711 (gdbserver_reconnect): New.
8712
8713 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8714 Daniel Jacobowitz <dan@codesourcery.com>
8715
8716 * gdb.base/annota3.exp: Test for if construct.
8717
8718 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8719
8720 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8721
8722 2007-06-21 Chris Dearman <chris@mips.com>
8723 Maciej W. Rozycki <macro@mips.com>
8724
8725 * gdb.base/display.exp: Allow a newline after display/i.
8726 * gdb.base/pc-fp.exp: Likewise.
8727 * gdb.base/sigbpt.exp: Likewise.
8728
8729 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8730
8731 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8732 required features to be included.
8733
8734 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8735
8736 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8737 in info threads output.
8738
8739 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8740 Markus Deuling <deuling@de.ibm.com>
8741
8742 * gdb.arch/spu-info.exp: New testcase.
8743 * gdb.arch/spu-info.c: New file.
8744
8745 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8746
8747 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8748 tpcs_offset. Restore lr after the call.
8749 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8750
8751 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8754 (gdbserver_run): Kill any running gdbserver.
8755 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8756
8757 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8758
8759 * gdb.base/sigbpt.exp: Preset segv_addr.
8760
8761 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8762
8763 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8764 (gdb_compile_shlib): Likewise.
8765 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8766 (default_gdb_init): Clear cleanfiles.
8767 (gdb_finish): Delete recorded cleanfiles.
8768 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8769
8770 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8771 Do not use isnative.
8772 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8773 gdb.base/so-impl-ld.exp: Likewise.
8774 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8775 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8776 gdb_compile.
8777
8778 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8779
8780 * config/unknown.exp: Remove.
8781
8782 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8783
8784 * gdb.base/info-proc.exp: Check is_remote.
8785
8786 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8787
8788 * gdb.base/gcore.exp: Initialize variable core_supported.
8789
8790 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8791
8792 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8793
8794 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8795
8796 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8797 * gdb.threads/print-threads.exp (test_all_threads): Allow
8798 negative and hexadecimal thread IDs.
8799
8800 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8801
8802 * gdb.java/jprint.java (public): Avoid invalid call to static
8803 method.
8804
8805 2007-05-14 Denis Pilat <denis.pilat@st.com>
8806
8807 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8808 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8809 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8810 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8811 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8812
8813 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8814
8815 * gdb.base/overlays.exp: Add support for targets with only code
8816 overlay support, not data overlay. Support spu-*-* target in
8817 this mode.
8818 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8819 * gdb.base/spu.ld: New file.
8820
8821 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8822
8823 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8824
8825 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8826
8827 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8828
8829 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8830
8831 * gdb.java/jmain.exp: Handle demangled names with and without method
8832 signatures.
8833
8834 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8835
8836 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8837 (have_a_very_merry_interrupt): Remove calls to puts.
8838 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8839 inferior output.
8840 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8841 test names.
8842
8843 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8844 Daniel Jacobowitz <dan@codesourcery.com>
8845
8846 * gdb.base/auxv.exp (core_works): Also check is_remote.
8847 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8848
8849 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8850
8851 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8852 message, not the undefined 'module' variable.
8853 * gdb.base/siginfo.exp: Likewise.
8854 * gdb.base/sigstep.exp: Likewise.
8855 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8856 serialport.
8857 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8858
8859 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8860
8861 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8862 target sim fails. Return 0 otherwise.
8863 (gdb_load): Return prematurely if gdb_target_sim fails.
8864
8865 2007-04-16 Denis Pilat <denis.pilat@st.com>
8866
8867 * gdb.base/setshow.exp: Reset height after having set it to 100.
8868
8869 2007-04-16 Denis Pilat <denis.pilat@st.com>
8870
8871 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8872
8873 2007-04-16 Denis Pilat <denis.pilat@st.com>
8874
8875 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8876
8877 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8878
8879 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8880 tests. Run the frozen varobjs test.
8881 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8882 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8883
8884 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8885
8886 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8887 gdb.base/type-opaque.exp: New files.
8888
8889 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8890
8891 * gdb.mi/mi-var-child.c
8892 (do_children_tests): User char[2] instead of
8893 char so that automatic printing of pointers to char
8894 don't give unpredicable result.
8895 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8896 local variables.
8897 * gdb.mi/mi-var-child.exp: Step to right line
8898 of do_children_tests.
8899 * gdb.mi/mi2-var-child.exp: Likewise.
8900 * gdb.mi/mi-var-cmd.exp: Step to right line of
8901 do_locals_tests.
8902 (do_children_tests): User char[2] instead of
8903 char so that automatic printing of pointers to char
8904 don't give unpredicable result.
8905 * gdb.mi/mi2-var-cmd.exp: Likewise.
8906 * lib/mi-support.exp (mi_continue_to_line):
8907 Pass test name to mi_wait_for_stop.
8908
8909 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8910
8911 * gdb.asm/asm-source.exp: Remove d10v case.
8912 * lib/gdb.exp (skip_cplus_tests): Likewise.
8913 * gdb.asm/d10v.inc: Deleted.
8914
8915 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8916
8917 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8918
8919 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8920
8921 * config/netware.exp: Delete file.
8922
8923 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8924
8925 * gdb.dwarf2/dw2-noloc.S: New file.
8926 * gdb.dwarf2/dw2-noloc.exp: New file.
8927
8928 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8929
8930 * gdb.cp/method2.cc: New test.
8931 * gdb.cp/method2.exp: New test.
8932 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8933
8934 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8935
8936 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8937
8938 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8939
8940 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8941
8942 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8943
8944 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8945 (gdb_load): Delete, replace with...
8946 (gdb_reload): ...this.
8947 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8948 * gdb.server/server-mon.exp: Likewise.
8949 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8950 (gdb_start_cmd): New.
8951 (gdb_file_cmd): Save the last loaded file.
8952 (gdb_reload): New.
8953 (gdb_gnu_strip_debug): Use transform.
8954 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8955 support here. Use new $last_loaded_file. Check mtime.
8956 (gdb_target_cmd): Handle ObjC failure case.
8957 (infer_host_exec): Delete.
8958 (gdbserver_load): Rename to...
8959 (gdbserver_run): ...this. Simplify.
8960 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8961 (mi_gdb_load): Move most contents to a new function...
8962 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8963 (mi_run_cmd): Use mi_gdb_target_load.
8964 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8965 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8966 Use gdb_run_cmd.
8967 * gdb.base/charsign.exp: Remove incorrect comment.
8968 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8969 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8970 gdb.base/start.exp: Use gdb_start_cmd.
8971
8972 2007-03-23 Nigel Stephens <nigel@mips.com>
8973 Maciej W. Rozycki <macro@mips.com>
8974
8975 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8976 * gdb.base/signull.exp: Similarly.
8977
8978 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8979
8980 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8981 messages available to test cases (like chng-sym.exp).
8982
8983 2007-03-14 Andreas Schwab <schwab@suse.de>
8984
8985 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8986 format changes.
8987
8988 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8989
8990 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8991 (optimized_1): New.
8992 (main): Call optimized_1.
8993 (gdb2029): Correct typos. Call gdb2029_marker.
8994 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8995 for gdb2029.
8996
8997 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8998
8999 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9000 as tabs. Remove redundant test pattern.
9001
9002 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9003
9004 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9005 for /a format output.
9006
9007 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9008
9009 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9010 collect output incrementally.
9011
9012 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9013
9014 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9015 for -var-create lpcharacter test.
9016 * gdb.mi/mi2-var-cmd.exp: Likewise.
9017
9018 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9019
9020 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9021 pass on targets where address zero is readable.
9022
9023 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9024
9025 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9026 just a single architecture.
9027
9028 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9029
9030 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9031 (fetch_all_registers): New function, uses gdb_test_multiple and
9032 exp_continue to fetch inferior output line-by-line.
9033 Replace all uses of do_get_all_registers by fetch_all_registers.
9034
9035 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9036
9037 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9038 in target_info.
9039
9040 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9041
9042 * gdb.threads/manythreads.exp: Use $message string for
9043 consistancy; add a default (timeout) case.
9044
9045 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9046
9047 * gdb.base/watchpoint.exp: Fix truncated comment.
9048
9049 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9050
9051 * Makefile.in: Remove spurious single-quotes from sed command.
9052
9053 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9054
9055 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9056 func.
9057 * gdb.mi/mi2-var-cmd.exp: Likewise.
9058
9059 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9060
9061 * gdb.dwarf2/dw2-producer.S: New file.
9062 * gdb.dwarf2/dw2-producer.exp: New testcase.
9063
9064 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9065
9066 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9067 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9068 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9069 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9070 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9071 Revert tests to use mi_gdb_test and include value field in output
9072 of -var-create.
9073
9074 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9075
9076 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9077
9078 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9079
9080 * gdb.base/maint.exp: Remove full paths from test names.
9081 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9082 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9083
9084 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9085
9086 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9087
9088 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9089
9090 * gdb.server/server-mon.exp: New test.
9091
9092 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9093
9094 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9095
9096 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9097
9098 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9099 register capitalization.
9100
9101 2007-02-13 Denis Pilat <denis.pilat@st.com>
9102
9103 * gdb.mi/mi-var-invalidate.exp: New file.
9104
9105 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9106
9107 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9108
9109 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9110
9111 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9112
9113 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9114
9115 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9116 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9117
9118 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9119
9120 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9121 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9122 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9123 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9124 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9125 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9126 Update tests to include value field in output of -var-create.
9127
9128 2007-02-08 Andreas Schwab <schwab@suse.de>
9129
9130 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9131
9132 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9133
9134 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9135 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9136
9137 2007-02-02 Denis Pilat <denis.pilat@st.com>
9138
9139 * gdb.threads/threadapply.exp: check that frame is not changed by
9140 the thread apply all command.
9141
9142 2007-01-31 Andreas Schwab <schwab@suse.de>
9143
9144 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9145
9146 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9147 in the dwarf sections.
9148 * gdb.dwarf2/mac-fileno.S: Likewise.
9149
9150 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9151 bspstore register on ia64.
9152
9153 2007-01-29 Andreas Schwab <schwab@suse.de>
9154
9155 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9156 "frame-begin" annotation.
9157
9158 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9159 number of "frames-invalid" annotations.
9160
9161 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9162
9163 * gdb.base/commands.exp: Call if_commands_test.
9164 (gdb_test_no_prompt, if_commands_test): New.
9165
9166 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9167
9168 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9169
9170 2007-01-27 Andreas Schwab <schwab@suse.de>
9171
9172 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9173 .short/.int/.quad in the dwarf sections.
9174 * gdb.dwarf2/dw2-intercu.S: Likewise.
9175 * gdb.dwarf2/dw2-intermix.S: Likewise.
9176
9177 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9178
9179 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9180 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9181 array.
9182 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9183 * gdb.base/setvar.exp: Likewise.
9184
9185 2007-01-26 Andreas Schwab <schwab@suse.de>
9186
9187 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9188 test.
9189
9190 * gdb.base/multi-forks.exp ("restart $i"): Also match
9191 __kernel_syscall_via_break.
9192
9193 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9194
9195 * lib/mi-support.exp (mi_delete_varobj): New.
9196 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9197 testcase.
9198 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9199 (main): Call the above.
9200 (reference_update_test, base_in_reference_test)
9201 (reference_to_pointer): Delete the created varobjs.
9202
9203 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9204
9205 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9206 * configure: Regenerated.
9207 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9208 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9209 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9210 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9211 * lib/gdb.exp (gdb_skip_xml_test): New function.
9212
9213 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9214
9215 * gdb.base/sigrepeat.exp: Correct error message.
9216
9217 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9218 Daniel Jacobowitz <dan@codesourcery.com>
9219
9220 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9221 gdb.arch/i386-gnu-cfi-asm.S: New files.
9222
9223 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 * lib/gdb.exp: Abort on missing `site.exp'.
9226
9227 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9228 Daniel Jacobowitz <dan@codesourcery.com>
9229
9230 * gdb.base/included.c, gdb.base/included.exp,
9231 gdb.base/included.h: New files.
9232
9233 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9234
9235 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9236 (maximize_rlimit): Reduce limits on 64-bit systems.
9237
9238 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9239
9240 From Marcus Deuling <deuling@de.ibm.com>:
9241 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9242 every case.
9243
9244 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9245
9246 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9247 (test_path_specification): Use objdir instead of srcdir to always
9248 get an absolute filename.
9249
9250 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9251
9252 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9253
9254 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9255
9256 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9257 Make sure the variable we're using is in scope.
9258 (reference_to_pointer): Likewise.
9259
9260 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9261
9262 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9263 has no debug information.
9264
9265 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9266
9267 * gdb.base/annota1.exp: Remove extra send_gdb.
9268
9269 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9270
9271 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9272
9273 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9274
9275 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9276
9277 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9278 Daniel Jacobowitz <dan@codesourcery.com>
9279
9280 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9281 lcharacter or linteger change. Correct duplicated test name.
9282 * gdb.mi/mi2-var-cmd.exp: Likewise.
9283
9284 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9285
9286 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9287
9288 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9289
9290 * gdb.base/nofield.c: New file.
9291 * gdb.base/nofield.exp: New testcase.
9292
9293 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9294
9295 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9296
9297 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9298 test.
9299
9300 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9301
9302 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9303
9304 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9305
9306 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9307 when continuing.
9308
9309 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9310
9311 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9312 Expect ".exe" extension.
9313
9314 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9315
9316 * gdb.base/charset.exp: Add explicit filename to break.
9317 * gdb.base/dbx.exp: Add explicit filename to breaks.
9318
9319 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9320
9321 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9322 * gdb.mi/mi2-file.exp: Likewise.
9323
9324 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9325
9326 Implement specification of MI tests as comments
9327 in C and C++ sources.
9328 * lib/mi-support.exp (mi_autotest_data): New variable.
9329 (mi_autotest_source): New variable.
9330 (count_newlines, mi_prepare_inline_tests)
9331 (mi_get_inline_test, mi_continue_to_line)
9332 (mi_run_inline_test, mi_tbreak)
9333 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9334 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9335 Run inline tests.
9336 * gdb.mi/mi-var-cp.cc: Define tests here.
9337
9338 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9339
9340 Simplify usage of mi_continue_to.
9341 * lib/mi-support.exp (mi_runto_helper): Renamed
9342 from mi_runto, added new parameter 'run_or_continue'.
9343 (mi_runto): Use mi_runto_helper.
9344 (mi_continue_to): Accept just function name as parameter.
9345 Use mi_runto_helper.
9346 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9347 * gdb.mi/mi2-var-cmd.exp: Likewise.
9348
9349 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9350
9351 Make this testcase a bit more realistic. The current code
9352 is too simplistic, and allows the compiler to optimize out
9353 some of the entities we need for this testcase.
9354 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9355 (Do_Nothing): Add extra parameter.
9356 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9357 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9358 by using a variable of type Void_Star.
9359
9360 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9361
9362 * gdb.ada/catch_ex/foo.adb: New file.
9363 * gdb.ada/catch_ex.exp: New testcase.
9364
9365 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9366
9367 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9368 pass --image-base to linker.
9369
9370 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9371 Daniel Jacobowitz <dan@codesourcery.com>
9372
9373 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9374 secondary prompts.
9375
9376 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9377
9378 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9379 output. Test the types of members and member pointers.
9380 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9381 gdb/2092.
9382 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9383 statement. Enable for GCC. Update expected output for some tests
9384 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9385 layout.
9386 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9387 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9388 (Diamond::vget_base): New.
9389 (main): Add new tests.
9390 * gdb.cp/printmethod.exp: Update expected output for member functions.
9391 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9392 print pEe->D::vg().
9393
9394 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9395
9396 * gdb.threads/tls.exp: Allow stops in sem_post.
9397
9398 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9399
9400 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9401 * gdb.base/annota3.exp: Likewise.
9402 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9403 again (instead of timing out).
9404 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9405 GCC bug 26475.
9406 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9407 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9408 test from jmisc1.exp.
9409 * gdb.java/jmisc1.exp: Delete.
9410 * gdb.java/jprint.exp: Adjust to work with method signatures including
9411 return types.
9412 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9413 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9414 * lib/java.exp (compile_java_from_source): Pass the correct type
9415 to target_compile.
9416
9417 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9418
9419 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9420 (stack_align_edx): New function.
9421 (stack_align_eax): New function.
9422 (main): Add calls to stack_align_edx and stack_align_eax.
9423 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9424 Add testing for the cases where the register used during a stack
9425 realignment is edx. Same for eax.
9426
9427 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9428
9429 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9430 and generic PE targets.
9431
9432 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9433
9434 * gdb.ada/array_return.exp: Update copyright date list.
9435
9436 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9437
9438 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9439 (Create_Small_Float_Vector): New function.
9440 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9441 function body.
9442 * gdb.ada/array_return/p.adb: Use new type and function from
9443 package Pck.
9444 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9445 able to print the value returned by a function returning an
9446 array of float.
9447
9448 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9449
9450 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9451 The associated tests should be PASSing.
9452
9453 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9454
9455 Test for base in references.
9456 * gdb.mi/mi-var-cp.cc: Add test code.
9457 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9458 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9459 * gdb.mi/mi2-watch.exp: Likewise.
9460 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9461 (mi_list_varobj_children): New function.
9462
9463 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9464
9465 * lib/mi-support.exp
9466 (mi_runto): Accept "()" after function name.
9467 (mi_create_varobj): New function.
9468 (mi_varobj_update): New function.
9469 (mi_Check_varobj_value): New function.
9470 * gdb.mi/mi-var-cp.exp: New file.
9471 * gdb.mi/mi-var-cp.cc: New file.
9472
9473 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9474
9475 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9476 gdb.base/weaklib2.c: New files.
9477
9478 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9479
9480 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9481 info. Adjust test names.
9482
9483 * gdb.base/break.c (main): Move position of malloc.
9484 * gdb.base/break.exp: Revert mistaken checkin.
9485
9486 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9487
9488 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9489 assignement of arrays and function pointers.
9490 * gdb.mi/var-cmd.c: Add declaration necessary for above
9491 tests.
9492
9493 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9494
9495 * gdb.base/break.c (main): Call malloc.
9496
9497 * gdb.threads/linux-dp.exp: Read thread table before and after
9498 creating each philosopher and verify it.
9499
9500 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9501 Paul Brook <paul@codesourcery.com>
9502 Daniel Jacobowitz <dan@codesourcery.com>
9503
9504 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9505 main to remove duplication. Add start function of the form
9506 '_*start[1-9]*'. Add RVDS start function.
9507
9508 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9509
9510 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9511
9512 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9513
9514 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9515 * gdb.asm/spu.inc: New file.
9516 * gdb.base/term.exp: Disable if [target_info exists noargs].
9517 * gdb.gdb/complaints.exp: Disable if ![isnative].
9518 * gdb.gdb/selftest.exp: Likewise.
9519 * gdb.gdb/observer.exp: Likewise.
9520 * gdb.gdb/xfullpath.exp: Likewise.
9521 * gdb.base/attach.exp: Disable on SPU target.
9522 * gdb.cp/bs145503.exp: Likewise.
9523 * gdb.cp/exception.exp: Likewise.
9524 * gdb.cp/userdef.exp: Likewise.
9525
9526 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9527
9528 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9529
9530 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9531
9532 * gdb.base/completion.exp: Fix completion tests for
9533 'info' and 'info '.
9534 * gdb.base/help.exp (help_test_raw, test_class_help)
9535 (test_prefix_command_help): Move...
9536 * lib/gdb.exp: Here.
9537 * gdb.base/main.exp: Adjust.
9538 * gdb.cp/maint.exp: Adjust.
9539 * gdb.trace/tracecmd.exp: Use test_help_class.
9540
9541 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9542
9543 * gdb.stabs/weird.exp (print_weird_var): Use
9544 gdb_test_multiple instead of gdb_expect.
9545
9546 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9547
9548 * gdb.base/help.exp (help_test_raw): New.
9549 (test_class_help): New.
9550 (test_prefix_command_help): New.
9551 Adjust testcases.
9552
9553 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9554
9555 * gdb.base/constvars.c (main): Write to crass and crips, so that
9556 they are allocated by the compiler.
9557
9558 2006-10-27 Andreas Schwab <schwab@suse.de>
9559
9560 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9561 "detach-fork".
9562
9563 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9564
9565 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9566 of patterns.
9567
9568 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9569
9570 * gdb.base/sepdebug.exp: Remove debug format test.
9571 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9572 Handle no-symtab.
9573 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9574
9575 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9576
9577 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9578 int to pointer or pointer to int.
9579 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9580
9581 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9582
9583 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9584
9585 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9586
9587 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9588
9589 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9590
9591 PR c++/2116
9592 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9593
9594 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9595
9596 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9597 the corresponding bug has been fixed in GDB (PR/2018).
9598
9599 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9600
9601 * gdb.base/subst.exp: New testcase.
9602
9603 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9604
9605 * gdb.ada/array_return/pck.ads: Add copyright notice.
9606 * gdb.ada/array_return/pck.adb: Likewise.
9607 * gdb.ada/array_return/p.adb: Likewise.
9608 * gdb.ada/exec_changed/first.adb: Likewise.
9609 * gdb.ada/exec_changed/second.adb: Likewise.
9610
9611 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9612
9613 * gdb.ada/watch_arg/watch.adb: New file.
9614 * gdb.ada/watch_arg.exp: New testcase.
9615
9616 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9617
9618 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9619 via string_to_regexp.
9620 * gdb.mi/mi2-basics.exp: Likewise.
9621
9622 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9623
9624 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9625 Remove unused / obsolete files.
9626
9627 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9628
9629 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9630
9631 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9632
9633 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9634 HIGH_FRAME argument to -stack-list-arguments can be larger than
9635 the number of frames.
9636
9637 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9638
9639 * gdb.base/args.c (main): Add breakpoint marker.
9640 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9641 really test empty arguments.
9642 (args_load): Delete.
9643 (args_test): New.
9644
9645 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9646
9647 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9648 check for one file.
9649
9650 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9651
9652 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9653 HIGH_FRAME argument to -stack-list-locals can be larger than
9654 the number of frames.
9655
9656 2006-08-18 Fred Fish <fnf@specifix.com>
9657
9658 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9659 '$' in front of skip_vmx_tests_saved when setting that.
9660
9661 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9662
9663 * gdb.base/trace-commands.exp: New file.
9664
9665 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9666 Daniel Jacobowitz <dan@codesourcery.com>
9667
9668 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9669 expected output of the backtrace commands.
9670
9671 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9672
9673 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9674 untested followed by return combination.
9675 * gdb.arch/altivec-regs.exp: Likewise.
9676 * gdb.arch/e500-abi.exp: Likewise.
9677 * gdb.arch/e500-regs.exp: Likewise.
9678 * gdb.arch/gdb1291.exp: Likewise.
9679 * gdb.arch/gdb1431.exp: Likewise.
9680 * gdb.arch/gdb1558.exp: Likewise.
9681 * gdb.arch/i386-prologue.exp: Likewise.
9682 * gdb.arch/i386-unwind.exp: Likewise.
9683 * gdb.asm/asm-source.exp: Likewise.
9684 * gdb.base/a2-run.exp: Likewise.
9685 * gdb.base/advance.exp: Likewise.
9686 * gdb.base/all-bin.exp: Likewise.
9687 * gdb.base/annota1.exp: Likewise.
9688 * gdb.base/annota3.exp: Likewise.
9689 * gdb.base/args.exp: Likewise.
9690 * gdb.base/arithmet.exp: Likewise.
9691 * gdb.base/assign.exp: Likewise.
9692 * gdb.base/async.exp: Likewise.
9693 * gdb.base/attach.exp: Likewise.
9694 * gdb.base/bang.exp: Likewise.
9695 * gdb.base/bigcore.exp: Likewise.
9696 * gdb.base/bitfields.exp: Likewise.
9697 * gdb.base/bitfields2.exp: Likewise.
9698 * gdb.base/break.exp: Likewise.
9699 * gdb.base/call-sc.exp: Likewise.
9700 * gdb.base/call-strs.exp: Likewise.
9701 * gdb.base/callfuncs.exp: Likewise.
9702 * gdb.base/checkpoint.exp: Likewise.
9703 * gdb.base/chng-syms.exp: Likewise.
9704 * gdb.base/code-expr.exp: Likewise.
9705 * gdb.base/commands.exp: Likewise.
9706 * gdb.base/completion.exp: Likewise.
9707 * gdb.base/cond-expr.exp: Likewise.
9708 * gdb.base/condbreak.exp: Likewise.
9709 * gdb.base/consecutive.exp: Likewise.
9710 * gdb.base/constvars.exp: Likewise.
9711 * gdb.base/corefile.exp: Likewise.
9712 * gdb.base/cvexpr.exp: Likewise.
9713 * gdb.base/dbx.exp: Likewise.
9714 * gdb.base/define.exp: Likewise.
9715 * gdb.base/detach.exp: Likewise.
9716 * gdb.base/display.exp: Likewise.
9717 * gdb.base/dump.exp: Likewise.
9718 * gdb.base/ena-dis-br.exp: Likewise.
9719 * gdb.base/ending-run.exp: Likewise.
9720 * gdb.base/environ.exp: Likewise.
9721 * gdb.base/eval-skip.exp: Likewise.
9722 * gdb.base/exprs.exp: Likewise.
9723 * gdb.base/fileio.exp: Likewise.
9724 * gdb.base/finish.exp: Likewise.
9725 * gdb.base/float.exp: Likewise.
9726 * gdb.base/foll-exec.exp: Likewise.
9727 * gdb.base/foll-fork.exp: Likewise.
9728 * gdb.base/foll-vfork.exp: Likewise.
9729 * gdb.base/freebpcmd.exp: Likewise.
9730 * gdb.base/funcargs.exp: Likewise.
9731 * gdb.base/gcore.exp: Likewise.
9732 * gdb.base/gdb1090.exp: Likewise.
9733 * gdb.base/gdb1250.exp: Likewise.
9734 * gdb.base/huge.exp: Likewise.
9735 * gdb.base/info-proc.exp: Likewise.
9736 * gdb.base/interrupt.exp: Likewise.
9737 * gdb.base/jump.exp: Likewise.
9738 * gdb.base/langs.exp: Likewise.
9739 * gdb.base/lineinc.exp: Likewise.
9740 * gdb.base/list.exp: Likewise.
9741 * gdb.base/logical.exp: Likewise.
9742 * gdb.base/long_long.exp: Likewise.
9743 * gdb.base/macscp.exp: Likewise.
9744 * gdb.base/maint.exp: Likewise.
9745 * gdb.base/mips_pro.exp: Likewise.
9746 * gdb.base/miscexprs.exp: Likewise.
9747 * gdb.base/multi-forks.exp: Likewise.
9748 * gdb.base/opaque.exp: Likewise.
9749 * gdb.base/overlays.exp: Likewise.
9750 * gdb.base/pc-fp.exp: Likewise.
9751 * gdb.base/pointers.exp: Likewise.
9752 * gdb.base/printcmds.exp: Likewise.
9753 * gdb.base/psymtab.exp: Likewise.
9754 * gdb.base/ptype.exp: Likewise.
9755 * gdb.base/recurse.exp: Likewise.
9756 * gdb.base/relational.exp: Likewise.
9757 * gdb.base/relocate.exp: Likewise.
9758 * gdb.base/remote.exp: Likewise.
9759 * gdb.base/reread.exp: Likewise.
9760 * gdb.base/restore.exp: Likewise.
9761 * gdb.base/return.exp: Likewise.
9762 * gdb.base/return2.exp: Likewise.
9763 * gdb.base/scope.exp: Likewise.
9764 * gdb.base/sect-cmd.exp: Likewise.
9765 * gdb.base/sep.exp: Likewise.
9766 * gdb.base/sepdebug.exp: Likewise.
9767 * gdb.base/setshow.exp: Likewise.
9768 * gdb.base/setvar.exp: Likewise.
9769 * gdb.base/sigall.exp: Likewise.
9770 * gdb.base/sigbpt.exp: Likewise.
9771 * gdb.base/signals.exp: Likewise.
9772 * gdb.base/signull.exp: Likewise.
9773 * gdb.base/sizeof.exp: Likewise.
9774 * gdb.base/solib.exp: Likewise.
9775 * gdb.base/step-line.exp: Likewise.
9776 * gdb.base/step-test.exp: Likewise.
9777 * gdb.base/structs.exp: Likewise.
9778 * gdb.base/structs2.exp: Likewise.
9779 * gdb.base/term.exp: Likewise.
9780 * gdb.base/twice.exp: Likewise.
9781 * gdb.base/until.exp: Likewise.
9782 * gdb.base/varargs.exp: Likewise.
9783 * gdb.base/volatile.exp: Likewise.
9784 * gdb.base/watchpoint.exp: Likewise.
9785 * gdb.base/whatis-exp.exp: Likewise.
9786 * gdb.base/whatis.exp: Likewise.
9787 * gdb.cp/ambiguous.exp: Likewise.
9788 * gdb.cp/annota2.exp: Likewise.
9789 * gdb.cp/annota3.exp: Likewise.
9790 * gdb.cp/bool.exp: Likewise.
9791 * gdb.cp/breakpoint.exp: Likewise.
9792 * gdb.cp/casts.exp: Likewise.
9793 * gdb.cp/class2.exp: Likewise.
9794 * gdb.cp/classes.exp: Likewise.
9795 * gdb.cp/cplusfuncs.exp: Likewise.
9796 * gdb.cp/ctti.exp: Likewise.
9797 * gdb.cp/derivation.exp: Likewise.
9798 * gdb.cp/exception.exp: Likewise.
9799 * gdb.cp/gdb1355.exp: Likewise.
9800 * gdb.cp/hang.exp: Likewise.
9801 * gdb.cp/inherit.exp: Likewise.
9802 * gdb.cp/local.exp: Likewise.
9803 * gdb.cp/m-data.exp: Likewise.
9804 * gdb.cp/m-static.exp: Likewise.
9805 * gdb.cp/member-ptr.exp: Likewise.
9806 * gdb.cp/method.exp: Likewise.
9807 * gdb.cp/misc.exp: Likewise.
9808 * gdb.cp/namespace.exp: Likewise.
9809 * gdb.cp/overload.exp: Likewise.
9810 * gdb.cp/ovldbreak.exp: Likewise.
9811 * gdb.cp/pr-1023.exp: Likewise.
9812 * gdb.cp/pr-1210.exp: Likewise.
9813 * gdb.cp/pr-574.exp: Likewise.
9814 * gdb.cp/printmethod.exp: Likewise.
9815 * gdb.cp/psmang.exp: Likewise.
9816 * gdb.cp/ref-params.exp: Likewise.
9817 * gdb.cp/ref-types.exp: Likewise.
9818 * gdb.cp/rtti.exp: Likewise.
9819 * gdb.cp/templates.exp: Likewise.
9820 * gdb.cp/try_catch.exp: Likewise.
9821 * gdb.cp/userdef.exp: Likewise.
9822 * gdb.cp/virtfunc.exp: Likewise.
9823 * gdb.disasm/am33.exp: Likewise.
9824 * gdb.disasm/h8300s.exp: Likewise.
9825 * gdb.disasm/mn10300.exp: Likewise.
9826 * gdb.disasm/sh3.exp: Likewise.
9827 * gdb.disasm/t01_mov.exp: Likewise.
9828 * gdb.disasm/t02_mova.exp: Likewise.
9829 * gdb.disasm/t03_add.exp: Likewise.
9830 * gdb.disasm/t04_sub.exp: Likewise.
9831 * gdb.disasm/t05_cmp.exp: Likewise.
9832 * gdb.disasm/t06_ari2.exp: Likewise.
9833 * gdb.disasm/t07_ari3.exp: Likewise.
9834 * gdb.disasm/t08_or.exp: Likewise.
9835 * gdb.disasm/t09_xor.exp: Likewise.
9836 * gdb.disasm/t10_and.exp: Likewise.
9837 * gdb.disasm/t11_logs.exp: Likewise.
9838 * gdb.disasm/t12_bit.exp: Likewise.
9839 * gdb.disasm/t13_otr.exp: Likewise.
9840 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9841 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9842 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9843 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9844 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9845 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9846 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9847 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9848 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9849 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9850 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9851 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9852 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9853 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9854 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9855 * gdb.mi/gdb701.exp: Likewise.
9856 * gdb.mi/gdb792.exp: Likewise.
9857 * gdb.mi/mi-basics.exp: Likewise.
9858 * gdb.mi/mi-break.exp: Likewise.
9859 * gdb.mi/mi-cli.exp: Likewise.
9860 * gdb.mi/mi-console.exp: Likewise.
9861 * gdb.mi/mi-disassemble.exp: Likewise.
9862 * gdb.mi/mi-eval.exp: Likewise.
9863 * gdb.mi/mi-file.exp: Likewise.
9864 * gdb.mi/mi-read-memory.exp: Likewise.
9865 * gdb.mi/mi-regs.exp: Likewise.
9866 * gdb.mi/mi-return.exp: Likewise.
9867 * gdb.mi/mi-simplerun.exp: Likewise.
9868 * gdb.mi/mi-stack.exp: Likewise.
9869 * gdb.mi/mi-stepi.exp: Likewise.
9870 * gdb.mi/mi-syn-frame.exp: Likewise.
9871 * gdb.mi/mi-until.exp: Likewise.
9872 * gdb.mi/mi-var-block.exp: Likewise.
9873 * gdb.mi/mi-var-child.exp: Likewise.
9874 * gdb.mi/mi-var-cmd.exp: Likewise.
9875 * gdb.mi/mi-var-display.exp: Likewise.
9876 * gdb.mi/mi-watch.exp: Likewise.
9877 * gdb.mi/mi2-basics.exp: Likewise.
9878 * gdb.mi/mi2-break.exp: Likewise.
9879 * gdb.mi/mi2-cli.exp: Likewise.
9880 * gdb.mi/mi2-console.exp: Likewise.
9881 * gdb.mi/mi2-disassemble.exp: Likewise.
9882 * gdb.mi/mi2-eval.exp: Likewise.
9883 * gdb.mi/mi2-file.exp: Likewise.
9884 * gdb.mi/mi2-read-memory.exp: Likewise.
9885 * gdb.mi/mi2-regs.exp: Likewise.
9886 * gdb.mi/mi2-return.exp: Likewise.
9887 * gdb.mi/mi2-simplerun.exp: Likewise.
9888 * gdb.mi/mi2-stack.exp: Likewise.
9889 * gdb.mi/mi2-stepi.exp: Likewise.
9890 * gdb.mi/mi2-syn-frame.exp: Likewise.
9891 * gdb.mi/mi2-until.exp: Likewise.
9892 * gdb.mi/mi2-var-block.exp: Likewise.
9893 * gdb.mi/mi2-var-child.exp: Likewise.
9894 * gdb.mi/mi2-var-cmd.exp: Likewise.
9895 * gdb.mi/mi2-var-display.exp: Likewise.
9896 * gdb.mi/mi2-watch.exp: Likewise.
9897 * gdb.stabs/exclfwd.exp: Likewise.
9898 * gdb.stabs/weird.exp: Likewise.
9899 * gdb.threads/gcore-thread.exp: Likewise.
9900 * gdb.trace/actions.exp: Likewise.
9901 * gdb.trace/backtrace.exp: Likewise.
9902 * gdb.trace/circ.exp: Likewise.
9903 * gdb.trace/collection.exp: Likewise.
9904 * gdb.trace/deltrace.exp: Likewise.
9905 * gdb.trace/infotrace.exp: Likewise.
9906 * gdb.trace/limits.exp: Likewise.
9907 * gdb.trace/packetlen.exp: Likewise.
9908 * gdb.trace/passc-dyn.exp: Likewise.
9909 * gdb.trace/passcount.exp: Likewise.
9910 * gdb.trace/report.exp: Likewise.
9911 * gdb.trace/save-trace.exp: Likewise.
9912 * gdb.trace/tfind.exp: Likewise.
9913 * gdb.trace/tracecmd.exp: Likewise.
9914 * gdb.trace/while-dyn.exp: Likewise.
9915 * gdb.trace/while-stepping.exp: Likewise.
9916
9917 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9918
9919 * gdb.base/step-bt.c: New file.
9920 * gdb.base/step-bt.exp: New testcase.
9921
9922 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9923
9924 * config/monitor.exp (gdb_load): Remove support for obsolete
9925 download-write-size.
9926 * gdb.base/remote.exp: Likewise. Update all callers of
9927 gdb_timed_load.
9928
9929 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9930
9931 * cursal.exp: Pass binfile to gdb_load.
9932
9933 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9934
9935 * gdb.base/cursal.exp: Add "" to gdb_load call.
9936
9937 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9938
9939 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9940 NetBSD/ELF targets.
9941
9942 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9943
9944 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9945 operator*.
9946
9947 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.base/completion.exp: Update for change in "file" behavior.
9950 * gdb.stabs/weird.exp: Likewise.
9951 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9952 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9953
9954 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9955
9956 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9957 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9958
9959 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9960
9961 * gdb.base/default.exp: Update source command error message.
9962 * gdb.base/help.exp: Update 'help source' message.
9963
9964 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9965
9966 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9967 test.
9968
9969 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9970
9971 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9972
9973 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9974
9975 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9976
9977 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9978
9979 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9980
9981 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9982
9983 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9984 *-*-openbsd* from targets for wich we expect ARM FPA floating
9985 point format.
9986
9987 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9988
9989 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9990
9991 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9992
9993 * gdb.base/annota3.exp: Expect frame-begin annotation.
9994
9995 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9996
9997 * gdb.base/help.exp: Adjust "help unset" test to accept
9998 any list of unset commands.
9999
10000 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10001 Daniel Jacobowitz <dan@codesourcery.com>
10002
10003 * gdb.cp/ref-params.exp: New test.
10004 * gdb.cp/ref-params.cc: New source file.
10005 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10006
10007 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10008
10009 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10010 spaces/tabs in regular expressions since they might not be there.
10011
10012 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10013
10014 * gdb.base/ifelse.exp: New file.
10015
10016 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10017
10018 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10019 line.
10020 * gdb.base/huge.exp: Loop over compilation to find a size that
10021 is acceptable.
10022 * gdb.base/remote.exp: Correct expected strings.
10023 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10024
10025 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10026
10027 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10028
10029 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10030
10031 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10032 native.
10033
10034 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10035
10036 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10037 enable stabs testing.
10038
10039 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10040
10041 * gdb.base/auxv.exp: Intercept undefined command messages before
10042 gdb_test_multiple does.
10043
10044 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10045
10046 * Makefile.in (host_alias): Remove.
10047 (target_alias): Use @target_noncanonical@.
10048 (site.exp): Don't set host_alias.
10049 * aclocal.m4: Remove contents. Include acx.m4.
10050 * configure: Regenerated.
10051 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10052
10053 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10054
10055 * lib/gdb.exp (gdb_load_cmd): New.
10056
10057 * gdb.base/fileio.c: Add system(NULL) test.
10058 * gdb.base/fileio.exp: Check it.
10059
10060 * gdb.base/break.c: Add 10a breakpoint at }
10061 * gdb.base/break.exp: Add test for breakpoint at }
10062 * gdb.cp/anon-union.cc: Add code at end of function.
10063 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10064 * gdb.mi/var-cmd.c: Add code at end of function.
10065 * gdb.mi/mi-var-display.exp: Adjust end of next.
10066 * gdb.mi/mi2-var-display.exp: Likewise.
10067 * gdb.base/fileio.c: Add stop function and insert calls at
10068 stopping places.
10069 * gdb.base/fileio.exp: Breakpoint stop function and remove
10070 explicit line number references.
10071
10072 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10073
10074 * gdb.base/del.exp (test_delete_alias): New function.
10075 Now check that both "del" and "d" work as aliases for "delete".
10076
10077 2006-05-18 Fred Fish <fnf@specifix.com>
10078
10079 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10080 required. Check for spurious output after program exits normally.
10081
10082 2006-05-17 Fred Fish <fnf@specifix.com>
10083
10084 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10085 gdb_load, so it works in the simulator.
10086
10087 2006-05-11 Fred Fish <fnf@specifix.com>
10088
10089 * gdb.base/bang.exp: Ignore unexpected output between the
10090 "program exited normally" and the gdb prompt, as many other
10091 tests do.
10092
10093 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10094
10095 * gdb.base/help.exp: Make "delete checkpoint" part option for
10096 "help d" and "help delete" tests.
10097
10098 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10099
10100 * gdb.mi/mi-basics.exp: Add missing serial number to
10101 expected output in some mi_gdb_test statements.
10102 * gdb.mi/mi2-basics.exp: Likewise.
10103
10104 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10105
10106 * gdb.base/del.c: New file.
10107 * gdb.base/del.exp: New testcase.
10108
10109 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10110
10111 * gdb.base/break.exp: Do not assume a breakpoint on
10112 main will actually be in $srcfile when optimizing.
10113 * gdb.base/savedregs.exp: Do not require that the dummy
10114 frame location match up to a symbol and source file location.
10115 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10116 will get printed without a mi_cmd_data_list_register_values prefix.
10117 (*-data-list-register-*): Correct regular expressions to expect the new
10118 pseudo d? floating point registers.
10119 * gdb.mi/mi2-regs.exp: Likewise.
10120
10121 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10122
10123 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10124 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10125 is allocated by the compiler.
10126 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10127 anons, e, anone to force their allocation by the compiler.
10128
10129 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10130
10131 * gdb.base/help.exp: Update expected text for help d and
10132 help delete.
10133
10134 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10135
10136 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10137 NetBSD/ELF targets.
10138
10139 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10140
10141 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10142 single-step breakpoint fails; make this a KFAIL on
10143 sparc*-*-openbsd*.
10144 * gdb.base/siginfo.exp: Likewise.
10145 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10146
10147 2006-04-26 Michael Snyder <msnyder@redhat.com>
10148
10149 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10150 which may have to consume output from other forks.
10151 Add tests to make sure that "delete fork" succeeded.
10152
10153 2006-04-20 Michael Snyder <msnyder@redhat.com>
10154
10155 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10156 Add support for the Renesas M32C and M16C.
10157
10158 * gdb.asm/asm-source.exp: Add m32c target.
10159 * gdb.asm/m32c.inc: Support for m32c target.
10160
10161 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10162
10163 * gdb.base/commands.exp (recursive_source_test): New test.
10164
10165 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10166
10167 * gdb.base/float.exp: Add pattern for sparc targets.
10168
10169 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 * gdb.base/commands.exp (stray_arg0_test): New test.
10172
10173 2006-03-30 Paul Brook <paul@codesourcery.com>
10174
10175 * gdb.mi/mi-until.exp: kfail broken until command.
10176 * gdb.mi/mi2-until.exp: Ditto.
10177
10178 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10179
10180 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10181
10182 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10183
10184 * gdb.base/prelink.exp: Anchor tested-for regular expression
10185 on gdb prompt.
10186
10187 2006-03-07 Paul Brook <paul@codesourcery.com>
10188
10189 * gdb.base/assign.exp: Correct fail message.
10190
10191 2006-03-07 Paul Brook <paul@codesourcery.com>
10192
10193 * lib/compiler.c: Extract armcc version number.
10194 * lib/compiler.cc: Ditto.
10195
10196 2006-03-07 Paul Brook <paul@codesourcery.com>
10197
10198 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10199 additional_flags=-w.
10200 * gdb.arch/altivec-regs.exp: Ditto.
10201 * gdb.arch/e500-abi.exp: Ditto.
10202 * gdb.arch/e500-regs.exp: Ditto.
10203 * gdb.base/all-bin.exp: Ditto.
10204 * gdb.base/annota1.exp: Ditto.
10205 * gdb.base/annota3.exp: Ditto.
10206 * gdb.base/args.exp: Ditto.
10207 * gdb.base/arithmet.exp: Ditto.
10208 * gdb.base/assign.exp: Ditto.
10209 * gdb.base/async.exp: Ditto.
10210 * gdb.base/bang.exp: Ditto.
10211 * gdb.base/break.exp: Ditto.
10212 * gdb.base/call-rt-st.exp: Ditto.
10213 * gdb.base/completion.exp: Ditto.
10214 * gdb.base/cond-expr.exp: Ditto.
10215 * gdb.base/condbreak.exp: Ditto.
10216 * gdb.base/consecutive.exp: Ditto.
10217 * gdb.base/define.exp: Ditto.
10218 * gdb.base/display.exp: Ditto.
10219 * gdb.base/ena-dis-br.exp: Ditto.
10220 * gdb.base/environ.exp: Ditto.
10221 * gdb.base/eval-skip.exp: Ditto.
10222 * gdb.base/info-proc.exp: Ditto.
10223 * gdb.base/jump.exp: Ditto.
10224 * gdb.base/logical.exp: Ditto.
10225 * gdb.base/long_long.exp: Ditto.
10226 * gdb.base/maint.exp: Ditto.
10227 * gdb.base/miscexprs.exp: Ditto.
10228 * gdb.base/pc-fp.exp: Ditto.
10229 * gdb.base/pointers.exp: Ditto.
10230 * gdb.base/relational.exp: Ditto.
10231 * gdb.base/reread.exp: Ditto.
10232 * gdb.base/sect-cmd.exp: Ditto.
10233 * gdb.base/sep.exp: Ditto.
10234 * gdb.base/sepdebug.exp: Ditto.
10235 * gdb.base/until.exp: Ditto.
10236 * gdb.base/whatis-exp.exp: Ditto.
10237 * gdb.cp/annota2.exp: Ditto.
10238 * gdb.cp/annota3.exp: Ditto.
10239 * gdb.trace/actions.exp: Ditto.
10240 * gdb.trace/backtrace.exp: Ditto.
10241 * gdb.trace/circ.exp: Ditto.
10242 * gdb.trace/collection.exp: Ditto.
10243 * gdb.trace/deltrace.exp: Ditto.
10244 * gdb.trace/infotrace.exp: Ditto.
10245 * gdb.trace/limits.exp: Ditto.
10246 * gdb.trace/packetlen.exp: Ditto.
10247 * gdb.trace/passc-dyn.exp: Ditto.
10248 * gdb.trace/passcount.exp: Ditto.
10249 * gdb.trace/report.exp: Ditto.
10250 * gdb.trace/save-trace.exp: Ditto.
10251 * gdb.trace/tfind.exp: Ditto.
10252 * gdb.trace/tracecmd.exp: Ditto.
10253 * gdb.trace/while-dyn.exp: Ditto.
10254 * gdb.trace/while-stepping.exp: Ditto.
10255 * lib/gdb.exp: Ditto.
10256 (gdb_compile): Handle nowarning option.
10257
10258 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10259
10260 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10261 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10262 Rename executable to prelinkt. Don't re-prelink if we didn't
10263 get a core file. Test prelink -u exit status to tell whether
10264 prelinking failed. Use gdb_test_multiple.
10265
10266 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10267
10268 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10269 (do_tests): Call it.
10270
10271 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10272
10273 * gdb.base/prelink.exp: New test.
10274 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10275
10276 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10277
10278 * gdb.fortran/derived-type.f90: New file.
10279 * gdb.fortran/derived-type.exp: New testcase.
10280
10281 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10282
10283 * gdb.base/default.exp: Allow ';' as a directory separator.
10284
10285 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10286
10287 * gdb.base/help.exp (help add-symbol-file): Update.
10288
10289 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10290
10291 * gdb.base/help.exp (help load): Update expected results.
10292
10293 2006-02-19 Fred Fish <fnf@specifix.com>
10294
10295 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10296 specifix hex value as part of results.
10297 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10298
10299 2006-02-16 Fred Fish <fnf@specifix.com>
10300
10301 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10302 ushort_addr, and slong_addr, so the typedefs are not optimized
10303 away.
10304 * gdb.base/whatis.exp: Add tests using type name for struct type,
10305 union type, enum type, and typedef.
10306
10307 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10308
10309 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10310
10311 2006-02-13 Jim Blandy <jimb@redhat.com>
10312
10313 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10314 case where it takes two "next" commands to skip past the init
10315 call.
10316
10317 2006-02-12 Fred Fish <fnf@specifix.com>
10318
10319 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10320 to handle cases where it takes two "next" commands to skip
10321 past the init call.
10322
10323 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10324
10325 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10326 on hppa32 targets.
10327
10328 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10329
10330 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10331 field.
10332
10333 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10334
10335 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10336
10337 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10338
10339 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10340 files.
10341
10342 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10343
10344 * gdb.cp/maint.exp: Set complaints to a positive value.
10345
10346 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10347
10348 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10349 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10350 function name.
10351
10352 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10353
10354 * gdb.base/checkpoint.c: Update copyright notice. Include
10355 <stdlib.h>.
10356
10357 2006-01-04 Jim Blandy <jimb@redhat.com>
10358
10359 * gdb.asm/asm-source.exp: Independently provide default values for
10360 asm-flags and debug-flags. Use 'string equal' to do the
10361 comparison, not the implicit expr's '==' operator. Remove
10362 now-unneeded assignments to asm-flags. In h8300 case, place
10363 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10364
10365 2006-01-04 Michael Snyder <msnyder@redhat.com>
10366
10367 * gdb.base/checkpoint.c: New file.
10368 * gdb.base/checkpoint.exp: New file.
10369 * gdb.base/multi-fork.c: New file.
10370 * gdb.base/multi-fork.exp: New file.
10371 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10372
10373 2006-01-04 Fred Fish <fnf@specifix.com>
10374
10375 * gdb.base/ptype.c (foo): Add typedef.
10376 (intfoo): Add function.
10377 * gdb.base/ptype1.c: New file.
10378 * gdb.base/ptype.exp: Handle compilation and linking with two
10379 source files. Test that proper type for "foo" is found based
10380 on source context rather than first match found in symtabs.
10381
10382 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10383
10384 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10385 * gdb.asm/openbsd.inc: Indent commands.
10386
10387 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10388
10389 * gdb.base/freebpcmd.exp: Increase timeout.
10390
10391 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10392
10393 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10394
10395 * gdb.base/default.exp: Update check for "show version".
10396
10397 2005-12-09 Randolph Chung <tausq@debian.org>
10398
10399 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10400 * gdb.asm/pa64.inc: New file.
10401
10402 2005-12-09 Randolph Chung <tausq@debian.org>
10403
10404 * gdb.asm/common.inc: Indent commands.
10405 * gdb.asm/asmsrc1.s: Likewise.
10406 * gdb.asm/asmsrc2.s: Likewise.
10407
10408 2005-12-09 Randolph Chung <tausq@debian.org>
10409
10410 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10411 (get_addr_of_sym): Remove duplicate print.
10412 (gen_core): xfail hppa*-*-hpux*, update expected output.
10413 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10414 * gdb.arch/pa64-nullify.s: New file.
10415
10416 2005-12-09 Randolph Chung <tausq@debian.org>
10417
10418 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10419
10420 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10421
10422 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10423 code generation for these functions.
10424 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10425 error message.
10426
10427 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10428
10429 * gdb.base/help.exp (help b, help br, help bre, help brea)
10430 (help break): Update the expected message.
10431
10432 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10433
10434 * gdb.asm/m68hc11.inc: Setup the data section.
10435 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10436 script for this test.
10437 (m6812-*-*): Likewise.
10438
10439 2005-11-09 Randolph Chung <tausq@debian.org>
10440
10441 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10442
10443 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10444
10445 * gdb.base/break.exp: Fix a comment typo.
10446
10447 2005-11-03 Jim Blandy <jimb@redhat.com>
10448
10449 Checked in by Elena Zannoni <ezannoni@redhat.com>
10450
10451 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10452
10453 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10454
10455 * gdb.arch/gdb1558.c: Include stdio.h.
10456
10457 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10458
10459 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10460
10461 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10462
10463 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10464
10465 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10466
10467 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10468 vscr" tests to better match output.
10469
10470 2005-10-12 Jim Blandy <jimb@redhat.com>
10471
10472 * gdb.base/structs.exp (any): New function.
10473 (test_struct_returns): Don't make any assumptions at all about
10474 what value the function returns when GDB can't set the return
10475 value.
10476
10477 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10478
10479 * gdb.ada/arrayidx/p.adb: New file.
10480 * gdb.ada/arrayidx.exp: New testcase
10481
10482 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10483
10484 * gdb.ada/array_return/pck.ads: New file.
10485 * gdb.ada/array_return/pck.adb: New file.
10486 * gdb.ada/array_return/p.adb: New file.
10487 * gdb.ada/array_return.exp: New testcase.
10488
10489 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10490
10491 * gdb.base/arrayidx.c: New file.
10492 * gdb.base/arrayidx.exp: New testcase.
10493
10494 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10495
10496 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10497 frames-invalid and breakpoints-invalid are no longer generated
10498 with level 3 so don't expect them in the output.
10499
10500 2005-09-27 Bob Rossi <bob@brasko.net>
10501
10502 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10503 from test. Escape the | in mi_gdb_test call.
10504 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10505 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10506 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10507 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10508 expected regex's in mi_gdb_test calls.
10509 * lib/mi-support.exp: Remove arbitrary .* from tests.
10510 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10511 Fully anchor GDB/MI expected results in mi_gdb_test.
10512 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10513 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10514
10515 2005-09-26 Paul Brook <paul@codesourcery.com>
10516
10517 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10518
10519 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10520
10521 * bfp-test.c: New file.
10522 * bfp-test.exp: New testcase.
10523
10524 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10525
10526 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10527 of subarray and substring variable.
10528 * gdb.fortran/subarray.f: New source file for the test of subarray
10529 and substring variable evaluation.
10530 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10531 of string constant.
10532
10533 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10534
10535 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10536 copyright dates.
10537
10538 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10539
10540 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10541 powerpc altivec' test with an almost identical 'info vector' test.
10542
10543 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10544
10545 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10546 vscr" tests to match output.
10547
10548 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10549
10550 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10551 output.
10552
10553 2005-09-11 Bob Rossi <bob@brasko.net>
10554
10555 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10556 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10557 commands that return an MI output command and an asyncronous MI output
10558 command.
10559 * gdb.mi/mi-console.exp: Ditto.
10560
10561 2005-09-11 Bob Rossi <bob@brasko.net>
10562
10563 * gdb.mi/mi-var-child.c: Include <string.h>.
10564
10565 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10566
10567 * killed.exp: Correct gdb_expect syntax.
10568
10569 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10570
10571 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10572
10573 2005-08-02 Bob Rossi <bob@brasko.net>
10574
10575 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10576 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10577 Change tests to inferior-tty-set/show.
10578 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10579 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10580 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10581 inferior. Use mi_gdb_test to get GDB and Inferior output.
10582 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10583 descriptor.
10584 (mi_inferior_tty_name): Add inferior PTY file name.
10585 (mi_gdb_start): Add INFERIOR_PTY parameter.
10586 (mi_gdb_test): Add IPATTERN parameter.
10587
10588 2005-08-02 Bob Rossi <bob@brasko.net>
10589
10590 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10591 parameter to mi_gdb_test.
10592 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10593
10594 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10595
10596 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10597 struct_declarations.
10598 * gdb.mi/mi-var-child.exp: Step over the initialization of
10599 struct_declarations.
10600
10601 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10602
10603 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10604 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10605 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10606 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10607 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10608 file.
10609
10610 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10611
10612 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10613 (do_children_tests): Assign values to the extra elements.
10614
10615 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10616 them for tests for "-var-update --no-values" and
10617 "-var-update --all-values".
10618 Add test for "-var-list-children --simple-values".
10619
10620 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10621
10622 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10623 "-stack-list-locals --simple-values" Improve doc strings and
10624 comments.
10625
10626 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10627
10628 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10629 *-*-openbsd*.
10630 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10631
10632 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10633 sigaltsatck'.
10634
10635 2005-07-14 Bob Rossi <bob@brasko.net>
10636
10637 * gdb.base/default.exp (tty): Changed output of command.
10638 * gdb.base/help.exp (help tty): Ditto.
10639
10640 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10641
10642 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10643
10644 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10645
10646 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10647 -stack-select-frame without arguments.
10648 (test_stack_frame_listing): Add test for newly implemented command
10649 -stack-info-frame.
10650
10651 2005-07-06 Bob Rossi <bob@brasko.net>
10652
10653 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10654 command.
10655 (Copyright): Update copyright.
10656
10657 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10658
10659 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10660 tests to evaluate exponentiation expression.
10661
10662 2005-06-29 Andreas Schwab <schwab@suse.de>
10663
10664 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10665 main to avoid warnings.
10666
10667 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10668
10669 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10670
10671 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10672 -stack-select-frame without arguments.
10673 (test_stack_frame_listing): Add test for newly implemented command
10674 -stack-info-frame.
10675
10676 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10677
10678 * gdb.fortran/array-element.f: New file.
10679 * gdb.fortran/array-element.exp: New testcase.
10680
10681 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10682
10683 * gdb.base/bigcore.exp: Correct checks for systems which can
10684 not dump a large core file.
10685
10686 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10687
10688 * gdb.base/relocate.c: Add a copyright notice.
10689 (dummy): Remove.
10690 * gdb.base/relocate.exp: Test printing the values of variables
10691 from a relocatable file.
10692
10693 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10694
10695 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10696 excess MI output after an error.
10697
10698 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10699
10700 * gdb.arch/alpha-step.c: New file.
10701 * gdb.arch/alpha-step.exp: New testcase.
10702
10703 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10704 Dennis Brueni <dennis@slickedit.com>
10705
10706 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10707 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10708 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10709 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10710 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10711 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10712 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10713
10714 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10715 Wu Zhou <woodzltc@cn.ibm.com>
10716
10717 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10718 IBM's xlc compiler.
10719 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10720 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10721
10722 2005-05-13 Jim Blandy <jimb@redhat.com>
10723
10724 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10725 calling gdb_suppress_entire_file.
10726 * gdb.base/charset.exp: Same.
10727 * gdb.base/call-rt-st.exp: Same.
10728
10729 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10730
10731 * lib/gdb.exp (fullname_syntax): Added global regex.
10732 (fullname_syntax_POSIX): Ditto.
10733 (fullname_syntax_UNC): Ditto.
10734 (fullname_syntax_DOS_CASE): Ditto.
10735 (fullname_syntax_DOS): Ditto.
10736 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10737 fullname_syntax variable to scope and use it.
10738 (test_file_list_exec_source_files): Ditto.
10739 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10740
10741 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10742
10743 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10744
10745 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10746
10747 * lib/gdb.exp (skip_altivec_tests): New function, based on
10748 check_vmx_hw_available from the GCC testsuite.
10749 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10750 * lib/gdb.arch/altivec-regs.exp: Likewise.
10751
10752 2005-05-02 Jim Blandy <jimb@redhat.com>
10753
10754 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10755 calling gdb_suppress_entire_file.
10756
10757 2005-04-30 Randolph Chung <tausq@debian.org>
10758
10759 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10760 Slightly relax "sem_post" name checking.
10761
10762 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10763
10764 * gdb.base/unload.exp: Use new shared library infrastructure.
10765
10766 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10767
10768 * gdb.base/so-impl-ld.exp: Use new shared library
10769 infrastructure.
10770
10771 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10772
10773 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10774 * gdb.asm/h8300.inc: New file.
10775
10776 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10777
10778 * gdb.base/shlib-call.exp: Change to use new shared library
10779 infrastructure.
10780
10781 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10782
10783 * gdb.base/pending.exp: Change to use new shared library
10784 infrastructure.
10785
10786 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10787
10788 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10789 use test_compiler_info instead of gcc_compiled, and update copyright.
10790
10791 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10792
10793 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10794 shared objects being adjusted and update copyright years.
10795
10796 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10797
10798 * ChangeLog: Correct some 2003-01-13 dates.
10799 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10800 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10801 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10802 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10803 gdb.trace/tfind.exp: Update copyright years.
10804
10805 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10806 Daniel Jacobowitz <dan@codesourcery.com>
10807
10808 * lib/gdb.exp (gdb_compile): Handle shlib=.
10809 (gdb_compile_shlib): New function.
10810
10811 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10812
10813 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10814
10815 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10816
10817 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10818 gdb.server.
10819 * configure.ac: Likewise.
10820 * configure: Regenerated.
10821 * gdb.gdbserver/Makefile.in: Moved to...
10822 * gdb.server/Makefile.in: ... here.
10823 * gdb.gdbserver/server.c: Moved to...
10824 * gdb.server/server.c: ... here.
10825 * gdb.gdbserver/server-run.exp: Moved to...
10826 * gdb.server/server-run.exp: ... here.
10827
10828 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10829
10830 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10831 * configure.ac: Create gdb.gdbserver/Makefile.
10832 * configure: Regenerated.
10833 * lib/gdbserver-support.exp: New file, derived from
10834 config/gdbserver.exp.
10835 * config/gdbserver.exp: Use gdbserver-support.exp.
10836 * gdb.gdbserver/Makefile.in: New file.
10837 * gdb.gdbserver/server.c: New file.
10838 * gdb.gdbserver/server-run.exp: New file.
10839
10840 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10841
10842 * lib/gdb.exp (test_compiler_info): Return compiler_info
10843 if no arguments are given.
10844
10845 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10846
10847 * gdb.arch/altivec-abi.exp: Check for compiler and set
10848 use altivec' flag accordingly.
10849 * gdb.arch/altivec-regs.exp: Likewise.
10850
10851 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10852
10853 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10854
10855 2005-03-27 Andreas Schwab <schwab@suse.de>
10856
10857 * gdb.base/bigcore.c (main): Add missing mode argument in open
10858 call.
10859
10860 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10861
10862 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10863 downloads.
10864 * config/gdbserver.exp (gdb_load): Likewise.
10865
10866 2005-03-14 Paul Brook <paul@codesourcery.com>
10867
10868 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10869 targets.
10870
10871 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10872
10873 * gdb.dwarf2/dup-psym.S: New file.
10874 * gdb.dwarf2/dup-psym.exp: New testcase.
10875
10876 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10877
10878 * gdb.ada/exec_changed/first.adb: New file.
10879 * gdb.ada/exec_changed/second.adb: New file.
10880 * gdb.ada/exec_changed.exp: New testcase.
10881
10882 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10883
10884 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10885 (A2): New class.
10886 (main): Test operator+.
10887 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10888 breakpoint test.
10889
10890 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10891 * gdb.base/signull.exp: Disable if gdb,nosignals.
10892 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10893 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10894 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10895 * gdb.mi/mi2-console.exp: Likewise.
10896 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10897 continue output at start.
10898 (gdb_collect_locals_test): Robustify regexp.
10899 * gdb.trace/passc-dyn.exp: Fix comment typo.
10900 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10901
10902 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10903
10904 * gdb.asm/asm-source.exp: Add iq2000 case.
10905 * gdb.asm/iq2000.inc: New file.
10906
10907 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10908
10909 * gdb.base/command.exp: Change hardcoded value to regular expression.
10910 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10911
10912 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10913
10914 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10915 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10916 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10917 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10918 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10919
10920 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10921
10922 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10923 changes.
10924
10925 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10926
10927 * lib/compiler.c: Add test for IBM's xlc compiler.
10928 * lib/compiler.cc: Likewise.
10929
10930 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10931
10932 * gdb.ada/fixed_points.exp: Create compilation object directory
10933 before running the test.
10934 * gdb.ada/null_record.exp: Likewise.
10935 * gdb.ada/packed_array.exp: Likewise.
10936 * gdb.ada/start.exp: Likewise.
10937
10938 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10939
10940 * gdb.ada/packed_array/pa.adb: New file.
10941 * gdb.ada/packed_array.exp: New testcase.
10942
10943 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10944
10945 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10946 files.
10947
10948 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10949 on *-*-openbsd*. Correctly match whitespace in regukar
10950 expressions.
10951
10952 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10953
10954 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10955 PR exp/1821
10956 * gdb.base/gdb1821.c: New test file.
10957 * gdb.base/gdb1821.exp: New test file.
10958
10959 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10960
10961 * gdb.base/start.c: New file.
10962 * gdb.base/start.exp: New testcase.
10963
10964 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10965
10966 * gdb.ada/start/dummy.adb: New file.
10967 * gdb.ada/start.exp: New testcase.
10968
10969 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10970
10971 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10972 for printing symbols and statistics.
10973 Add test for using relative pathnames in "maint print msymbols" test.
10974 Mark "maint info sections DATA" XFAIL on Cygwin.
10975 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10976 tests.
10977
10978 2005-02-09 Andreas Schwab <schwab@suse.de>
10979
10980 Committed by Andrew Cagney <cagney@gnu.org>
10981 * gdb.base/remotetimeout.exp: New file.
10982
10983 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10984
10985 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10986
10987 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10988
10989 * gdb.ada/gnat_ada.gpr: New file.
10990 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10991 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10992 * configure.ac: No longer generate gnat_ada.gpr.
10993 * configure: Regenerate.
10994 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10995 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10996 * gdb.ada/null_record/bar.ads: Likewise.
10997 * gdb.ada/null_record/bar.adb: Likewise.
10998 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10999 * gdb.ada/null_record.exp (testdir): New variable.
11000 (testfile): executable is now in testdir subdirectory.
11001 (srcfile): Use full path to the main compilation unit.
11002 * gdb.ada/fixed_points.exp: Same changes as above.
11003
11004 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11005
11006 * gdb.base/interp.exp: New test.
11007
11008 2005-01-24 Andrew Cagney <cagney@gnu.org>
11009
11010 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11011
11012 2005-01-19 Andrew Cagney <cagney@gnu.org>
11013
11014 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11015 configure.ac not configure.in.
11016
11017 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11018 of powerpc*-*-*.
11019 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11020 * gdb.base/list.exp (test_list_function)
11021 (test_list_filename_and_function): Ditto.
11022 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11023
11024 2005-01-16 Andrew Cagney <cagney@gnu.org>
11025
11026 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11027
11028 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11029
11030 2005-01-14 Andrew Cagney <cagney@gnu.org>
11031
11032 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11033 * gdb.mi/mi2-var-cmd.exp: Ditto.
11034
11035 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11036
11037 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11038
11039 2005-01-07 Andrew Cagney <cagney@gnu.org>
11040
11041 * configure.ac: Rename configure.in, require autoconf 2.59.
11042 * configure: Re-generate.
11043 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11044 * gdb.stabs/configure: Re-generate.
11045 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11046 * gdb.hp/configure: Re-generate.
11047 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11048 autoconf 2.59.
11049 * gdb.hp/gdb.objdbg/configure: Re-generate.
11050 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11051 autoconf 2.59.
11052 * gdb.hp/gdb.defects/configure: Re-generate.
11053 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11054 autoconf 2.59.
11055 * gdb.hp/gdb.compat/configure: Re-generate.
11056 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11057 autoconf 2.59.
11058 * gdb.hp/gdb.base-hp/configure: Re-generate.
11059 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11060 autoconf 2.59.
11061 * gdb.hp/gdb.aCC/configure: Re-generate.
11062
11063 2004-12-15 Jim Blandy <jimb@redhat.com>
11064
11065 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11066 under NPTL when there is debugging info available for libpthread.
11067
11068 2004-12-13 Jerome Guitton <guitton@gnat.com>
11069
11070 * gdb.ada/fixed_points.c: New file.
11071 * gdb.ada/fixed_points.exp: New file.
11072
11073 2004-12-03 Randolph Chung <tausq@debian.org>
11074
11075 * gdb.arch/pa-nullify.exp: New file.
11076 * gdb.arch/pa-nullify.s: New file.
11077
11078 2004-11-30 Randolph Chung <tausq@debian.org>
11079
11080 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11081 instead of "tbug". Fix regexp to work properly with gdb_test.
11082
11083 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11084
11085 * gdb.base/bitfields2.exp: New test.
11086 * gdb.base/bitfields2.c: New file.
11087
11088 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11089
11090 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11091
11092 2004-11-16 Randolph Chung <tausq@debian.org>
11093
11094 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11095
11096 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11097
11098 * gdb.threads/threadapply.exp: Correct "macro details" test.
11099
11100 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11101
11102 * gdb.threads/threadapply.exp: New test.
11103 * gdb.threads/threadapply.c: New file.
11104
11105 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11106
11107 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11108 frames.
11109
11110 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11111
11112 * gdb.base/cursal.exp: New file.
11113 * gdb.base/cursal.c: New file.
11114
11115 2004-11-03 Andrew Cagney <cagney@gnu.org>
11116
11117 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11118
11119 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11120
11121 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11122 NetBSD/ELF targets.
11123
11124 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11125
11126 * gdb.threads/bp_in_thread.c: New file, copied from
11127 pthread_cond_wait.c.
11128 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11129 file, rather than reusing the .c file from another testcase.
11130
11131 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11132
11133 * gdb.ada/null_record.exp: Check where we stopped after
11134 sending the start command, instead of where the associated
11135 temporary breakpoint was inserted.
11136
11137 2004-10-14 Andrew Cagney <cagney@gnu.org>
11138
11139 * gdb.mi/gdb701.c (main): Return 0.
11140
11141 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11142
11143 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11144
11145 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11146
11147 * gdb.threads/schedlock.c: Add comment markers to use to find
11148 line numbers.
11149 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11150 comments.
11151 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11152 breakpoint lines.
11153
11154 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11155
11156 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11157
11158 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11159
11160 * configure.in: Add gdb.dwarf2.
11161 * configure: Regenerated.
11162 * Makefile.in: Add gdb.dwarf2.
11163 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11164 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11165 gdb.dwarf2/file1.txt: New files.
11166
11167 2004-10-11 Orjan Friberg <orjanf@axis.com>
11168
11169 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11170 of "run", since the latter doesn't work with remote targets. Adjust
11171 the breakpoint numbering accordingly.
11172 * gdb.threads/pthread_cond_wait.exp: Ditto.
11173
11174 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11175
11176 * gdb.base/overlays.exp: Update copyright years.
11177
11178 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11179
11180 * gdb.base/overlays.exp: Disable if target is Linux.
11181
11182 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11183
11184 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11185
11186 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11187
11188 * gdb.asm/asm-source.exp: Add m32r-linux target.
11189 * gdb.asm/m32r-linux.inc: New file.
11190
11191 2004-09-24 Andrew Cagney <cagney@redhat.com>
11192 David Anderson <anderson@redhat.com>
11193
11194 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11195 command fails, assume things will work.
11196 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11197 (_GNU_SOURCE): Define.
11198 (print_unsigned, print_hex): Change parameter to "long long".
11199 (print_byte_count): New function, use to print byte counts.
11200 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11201 O_LARGEFILE.
11202 (main): Compute an upper bound on a corefile in max_core_size.
11203 Limit memory chunk size to max_core_size. Limit total memory
11204 allocated to max_core_size.
11205
11206 2004-09-23 Andrew Cagney <cagney@gnu.org>
11207
11208 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11209 from a separate process with code that creates a corefile by
11210 making the inferior dump core.
11211
11212 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11213
11214 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11215 block.
11216
11217 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11218
11219 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11220 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11221 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11222 Likewise.
11223
11224 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11225
11226 * gdb.java/jprint.exp: New test case for java inferior call.
11227 * gdb.java/jprint.java: Ditto.
11228
11229 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11230
11231 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11232
11233 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11234
11235 * gdb.threads/killed.c: Include <stdlib.h>.
11236 * gdb.threads/pthreads.c: Likewise.
11237
11238 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11239
11240 * gdb.threads/killed.c: Add copyright notice.
11241
11242 2004-09-10 Jason Molenda (jmolenda@apple.com)
11243
11244 * gdb.base/define.exp: Two new tests to verify zero space chars
11245 after 'if' and 'while' commands in a user-defined command is correctly
11246 parsed.
11247
11248 2004-09-08 Andrew Cagney <cagney@gnu.org>
11249
11250 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11251 delivery test with duplicate at end of file.
11252
11253 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11254
11255 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11256
11257 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11258
11259 * config/hppro.exp: Removed.
11260
11261 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11262
11263 * config/sparclet.exp: Removed.
11264
11265 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11266
11267 * config/udi.exp: Removed.
11268
11269 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11270
11271 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11272 of "exp_continue".
11273 (advancei): Likewise.
11274
11275 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11276
11277 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11278
11279 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11280
11281 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11282 to check for nodebug in executable.
11283 * gdb.gdb/observer.exp (setup_test): Likewise.
11284 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11285 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11286
11287 2004-09-01 Andrew Cagney <cagney@gnu.org>
11288
11289 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11290 files.
11291
11292 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11293
11294 * gdb.base/unload.exp: Fix expected warning message to match
11295 latest format.
11296
11297 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11298
11299 * gdb.base/call-rt-st.exp: Fix typos.
11300
11301 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11302
11303 * gdb.threads/thread_check.exp: New testcase.
11304 * gdb.threads/thread_check.c: New testcase.
11305
11306 2004-08-31 Andrew Cagney <cagney@gnu.org>
11307
11308 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11309 (skip_to_handler_entry): New procedures. Test stepping into a
11310 handler when the breakpoint is at the handler's entry point.
11311
11312 2004-08-30 Andrew Cagney <cagney@gnu.org>
11313
11314 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11315 gdb/1757.
11316
11317 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11318
11319 With code from Manoj Iyer <manjo@austin.ibm.com>:
11320 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11321 return value. Add an arm for "no debugging symbols found".
11322 Change a stray "error" to "perror".
11323 (gdb_run_cmd): Adapt to new return value.
11324 * gdb.base/remote.exp: Adapt to new return value.
11325 * gdb.gdb/complaints.exp: Likewise.
11326 * gdb.gdb/observer.exp: Likewise.
11327 * gdb.gdb/selftest.exp: Likewise.
11328 * gdb.gdb/xfullpath.exp: Likewise.
11329
11330 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11331
11332 * gdb.threads/bp_in_thread.exp: New testcase.
11333
11334 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11335
11336 Fix PR testsuite/1735.
11337 * gdb.threads/schedlock.c (thread_function): Add a cast
11338 to suppress a gcc warning.
11339 * gdb.threads/thread-specific.c (thread_function): Likewise.
11340
11341 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11342
11343 * gdb.base/unload.c: Include <stdlib.h>.
11344
11345 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11346
11347 From Paul Gilliam <pgilliam@us.ibm.com>:
11348 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11349 synchronized after the "return".
11350
11351 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11352
11353 * gdb.mi/basics.c: Include <stdio.h>.
11354 * gdb.mi/pthreads.c: Include <stdlib.h>.
11355 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11356
11357 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11358
11359 * gdb.threads/schedlock.c: Add copyright notice.
11360
11361 2004-08-25 Andrew Cagney <cagney@gnu.org>
11362
11363 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11364 (skip_over_handler, breakpoint_over_hander): New test procedures.
11365 (advance, advancei): Add a proper prefix, do not use
11366 rerun_to_main.
11367 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11368
11369 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11370
11371 * gdb.mi/basics.c: Add copyright notice.
11372 * gdb.mi/var-cmd.c: Add copyright notice.
11373
11374 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11375
11376 * lib/gdb.exp: Remove signed_keyword_not_used.
11377 * lib/compiler.c: Likewise.
11378 * lib/compiler.cc: Likewise.
11379
11380 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11381
11382 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11383 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11384
11385 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11386
11387 * gdb.base/whatis.c: Add copyright notice.
11388
11389 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11390
11391 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11392 it to skip the breakpoints encoded in the inline assembly.
11393
11394 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11395
11396 * Makefile.in: Add gdb.fortran.
11397
11398 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11399
11400 * gdb.base/call-sc.exp (test_scalar_returns):
11401 Fix cut-and-paste glitch in "Make fun return now".
11402
11403 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11404
11405 * configure.in: Add gdb.fortran.
11406 * configure: Regenerate.
11407 * gdb.fortran/Makefile.in: New file.
11408 * lib/gdb.exp (skip_fortran_tests): New procedure.
11409
11410 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11411
11412 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11413 reference to bug-gnu@prep.ai.mit.edu.
11414 * gdb.mi/mi-var-child.exp: Likewise.
11415 * gdb.mi/mi-var-cmd.exp: Likewise.
11416 * gdb.mi/mi-var-display.exp: Likewise.
11417 * gdb.mi/mi2-var-block.exp: Likewise.
11418 * gdb.mi/mi2-var-child.exp: Likewise.
11419 * gdb.mi/mi2-var-cmd.exp: Likewise.
11420 * gdb.mi/mi2-var-display.exp: Likewise.
11421
11422 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11423
11424 * gdb.base/unload.c (main): Make local variable msg const.
11425
11426 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11427
11428 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11429 to bug-gnu@prep.ai.mit.edu.
11430 * gdb.mi/mi-disassemble.exp: Likewise.
11431 * gdb.mi/mi-eval.exp: Likewise.
11432 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11433 default line number.
11434 * gdb.mi/mi-return.exp: Likewise.
11435 * gdb.mi/mi-simplerun.exp: Likewise.
11436 * gdb.mi/mi-stack.exp: Likewise.
11437 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11438 number with explicit range test.
11439 * gdb.mi/mi-watch.exp: Likewise.
11440 * gdb.mi/mi2-break.exp: Likewise.
11441 * gdb.mi/mi2-cli.exp: Likewise.
11442 * gdb.mi/mi2-disassemble.exp: Likewise.
11443 * gdb.mi/mi2-eval.exp: Likewise.
11444 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11445 default line number.
11446 * gdb.mi/mi2-return.exp: Likewise.
11447 * gdb.mi/mi2-simplerun.exp: Likewise.
11448 * gdb.mi/mi2-stack.exp: Likewise.
11449 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11450 number with explicit range test.
11451 * gdb.mi/mi2-watch.exp: Likewise.
11452
11453 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11454
11455 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11456 * gdb.cp/m-static.exp: Likewise.
11457 * gdb.cp/rtti.exp: Likewise.
11458
11459 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11460
11461 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11462
11463 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11464
11465 * ChangeLog: Prefix Local Variables with semi-colons and indent
11466 the reference to older ChangeLog files, to fix fontification in
11467 Emacs.
11468
11469 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11470
11471 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11472 * gdb.mi/mi2-break.exp: Likewise.
11473
11474 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11475
11476 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11477
11478 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11479
11480 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11481
11482 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11483
11484 * gdb.cp/classes.exp: Remove unused declarations. Just let
11485 test names default instead of providing special names. Remove
11486 extraneous demangler test.
11487
11488 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11489
11490 * gdb.base/unload.exp: New test for breakpoints in dynamically
11491 loaded libraries.
11492 * gdb.base/unload.c: Ditto.
11493 * gdb.base/unloadshr.c: Ditto.
11494
11495 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11496
11497 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11498 cp_test_ptype_class.
11499 (test_enums): Likewise.
11500
11501 2004-08-10 Andrew Cagney <cagney@gnu.org>
11502
11503 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11504 files.
11505
11506 2004-08-10 Andrew Cagney <cagney@gnu.org>
11507
11508 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11509 init_malloc call.
11510
11511 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11512
11513 * ChangeLog: Add copyright notice. The notice is copied
11514 from emacs 21.3 top level ChangeLog.
11515
11516 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11517
11518 * lib/cp-support.exp: New file.
11519 * lib/cp-support.exp (cp_test_type_class): New function.
11520 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11521 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11522 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11523 cp_test_ptype_class.
11524
11525 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11526
11527 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11528 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11529 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11530 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11531 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11532 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11533 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11534 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11535 gdb.mi/mi2-watch.exp: Update copyright years.
11536
11537 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11538
11539 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11540
11541 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11542
11543 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11544 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11545 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11546 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11547 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11548 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11549 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11550 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11551 gdb.mi/mi-watch.exp: Update copyright years.
11552
11553 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11554
11555 PR gdb/1738
11556 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11557 from a breakpoint with a pending signal.
11558
11559 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11560
11561 PR gdb/1736
11562 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11563 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11564 the prompt.
11565 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11566
11567 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11568
11569 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11570
11571 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11572
11573 PR gdb/1736
11574 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11575 for i?86-*-linux*.
11576
11577 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11578
11579 * gdb.arch/i386-prologue.exp: Compile without debug information.
11580
11581 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11582
11583 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11584 rather than asking gdb to search.
11585
11586 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11587
11588 * gdb.base/gcore.c: Include <string.h>.
11589
11590 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11591
11592 * gdb.base/gcore.c: Add copyright notice.
11593
11594 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11595
11596 * gdb.base/freebpcmd.c: Include <stdio.h>.
11597 * gdb.base/long_long.c: Include <string.h>.
11598 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11599 * gdb.base/siginfo.c: Include <string.h>.
11600 * gdb.base/sigstep.c: Include <string.h>.
11601
11602 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11603
11604 * gdb.base/complex.c: Include <stdlib.h>.
11605
11606 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11607
11608 * gdb.base/complex.c: Add copyright notice.
11609
11610 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11611
11612 * gdb.base/charset.c: Include <stdlib.h>.
11613
11614 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11615
11616 * gdb.base/auxv.c: Include <stdlib.h>.
11617
11618 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11619
11620 * gdb.base/auxv.c: Add copyright notice.
11621
11622 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11623
11624 * gdb.base/coremaker.c: Add copyright notice.
11625 * gdb.base/coremaker2.c: Add copyright notice.
11626
11627 2004-08-04 Andrew Cagney <cagney@gnu.org>
11628
11629 * gdb.base/store.exp: Update copyright.
11630 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11631 names, do not import gdb_prompt.
11632
11633 2004-08-01 Andrew Cagney <cagney@gnu.org>
11634
11635 Fix PR testsuite/1729.
11636 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11637 not use capture_value with value 4.
11638 (capture_value): Add optional test name parameter.
11639 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11640 the prefix, pass to capture_value.
11641
11642 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11643
11644 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11645 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11646 (main): Call new function.
11647
11648 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11649
11650 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11651
11652 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11653
11654 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11655
11656 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11657
11658 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11659 Accept more values of vtbl pointer. Remove some messages
11660 about "obsolete gcc or gdb".
11661
11662 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11663
11664 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11665
11666 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11667
11668 * gdb.base/asm-source.exp: Properly convert target board
11669 debug flags from gcc format to binutils format.
11670
11671 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11672
11673 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11674 gdb1718". PR backtrace/1718 partially fixed.
11675
11676 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11677
11678 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11679
11680 2004-07-26 Nick Clifton <nickc@redhat.com>
11681
11682 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11683 good default value for a specific architecture is available then
11684 set it to that value. Otherwise default to the -gstabs switch.
11685 Remove the -g... switches from the asm-flags variable. Allow the
11686 target board info to override the value if it wants to. Pass the
11687 switch on the assembler command line.
11688
11689 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11690
11691 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11692 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11693 (main): Call new function.
11694
11695 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11696
11697 Test for PR exp/1715.
11698 * gdb.base/radix.exp: Refactor common procedures. Make all
11699 test names unique. Change XFAIL to KFAIL.
11700
11701 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11702
11703 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11704 * gdb.ada/gnat_ada.gin: ... to here.
11705 * configure.in: Use gnat_ada.gin.
11706 * configure: Regenerate.
11707
11708 2004-07-20 Andrew Cagney <cagney@gnu.org>
11709
11710 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11711 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11712 XFAILs. Clean up test messages and comments. Check backtraces.
11713 Delete re-sync code.
11714
11715 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11716
11717 Fix PR cli/740.
11718 * gdb.base/annota1.exp: Honor gdb,nosignals.
11719 * gdb.base/annota3.exp: Likewise.
11720
11721 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11722
11723 * lib/java.exp: Update copyright notice.
11724
11725 2004-07-19 Andrew Cagney <cagney@gnu.org>
11726
11727 * gdb.base/selftest.exp: Copy file from here ...
11728 * gdb.gdb/selftest.exp: ... to here.
11729
11730 2004-07-16 Andrew Cagney <cagney@redhat.com>
11731
11732 * lib/insight-support.exp: Delete file.
11733 * lib/java.exp (java_init): Fix copyright.
11734
11735 2004-07-16 Andrew Cagney <cagney@gnu.org>
11736
11737 * gdb.base/restore.c: Append "prologue" to comments marking the a
11738 function's prologue.
11739 * gdb.base/restore.exp: Update copyright, re-indent.
11740 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11741 callerN" prefix where needed. Update patterns that match a
11742 function's prologue.
11743
11744 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11745
11746 * gdb.base/restore.c: Add copyright notice.
11747
11748 2004-07-16 Andrew Cagney <cagney@gnu.org>
11749
11750 * gdb.base/logical.exp: Update copyright.
11751 (evaluate): New procedure. Use to re-implement tests using
11752 several tables.
11753
11754 2004-07-14 Martin Hunt <hunt@redhat.com>
11755
11756 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11757 which fixes some problems where init.tcl was not found.
11758
11759 2004-07-13 Andrew Cagney <cagney@gnu.org>
11760
11761 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11762 (check_sizeof, check_valueof): Do not include the output in the
11763 test name. Use gdb_test.
11764 (get_valueof): Use gdb_test_multiple.
11765
11766 * gdb.base/step-test.exp: Update copyright. Use
11767 gdb_test_multiple. Ensure that test names do not include
11768 architecture dependent output.
11769
11770 * gdb.gdb/observer.exp: Update copyright.
11771 (setup_test): Use gdb_test_multiple.
11772 (attach_first_observer, attach_second_observer)
11773 (attach_third_observer, detach_first_observer)
11774 (detach_second_observer, detach_third_observer)
11775 (reset_counters, check_counters): Make $message a prefix.
11776 (test_normal_stop_notifications): Add "args" parameter - a list of
11777 init functions to be called. Make $message a prefix,
11778 (test_observer_normal_stop): Change the message prefixes so that
11779 they are unique, pass the attach / detach procedures to
11780 test_normal_stop_notifications.
11781
11782 * gdb.base/signull.exp (test_segv): Prefix all tests with
11783 "${name}". Clean up test messages.
11784
11785 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11786
11787 * gdb.base/ena-dis-br.exp: Update copyright.
11788 (break_at): New function. Replace send_gdb with gdb_test,
11789 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11790 ignore count, not stopped at bpt", with KFAIL.
11791
11792 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11793
11794 * gdb.base/attach.exp: Remove cleanupfile handling.
11795
11796 2004-07-12 Andrew Cagney <cagney@gnu.org>
11797
11798 * gdb.base/annota1.exp: Cleanup corefile test name.
11799 * gdb.base/annota3.exp: Ditto.
11800
11801 2004-07-12 Andrew Cagney <cagney@gnu.org>
11802
11803 * gdb.base/signals.exp: Clean up copyright, re-indent.
11804
11805 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11806 gdb_test and gdb_test_multiple.
11807
11808 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11809
11810 * gdb.java/jmain.exp: Fix expected line number for main to
11811 break at. Set XFAIL for break at main test since gcj does not
11812 provide line number info for first statement in main.
11813
11814 2004-07-08 Andrew Cagney <cagney@gnu.org>
11815
11816 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11817
11818 * gdb.base/sigbpt.exp: Make the common part of each test name a
11819 prefix instead of suffix.
11820
11821 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11822
11823 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11824 test from test_tbreak_creation_and_listing to
11825 test_file_list_exec_source_file
11826 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11827 Changed name of test from test_tbreak_creation_and_listing to
11828 test_file_list_exec_source_file
11829
11830 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11831
11832 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11833 the jmisc() constructor instead of <init>.
11834 * gdb.java/jmisc1.exp: Ditto.
11835
11836 2004-07-07 Andrew Cagney <cagney@gnu.org>
11837
11838 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11839 corrupting the PC.
11840
11841 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11842
11843 * gdb.cp/templates.exp: Accept whitespace change in demangler
11844 output.
11845
11846 2004-07-06 Andrew Cagney <cagney@gnu.org>
11847
11848 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11849
11850 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11851
11852 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11853 * lib/compiler.cc: Likewise.
11854
11855 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11856
11857 * lib/compiler.cc: Work around string preprocessing problem
11858 with old hp c++ compiler.
11859 * lib/compiler.c: Likewise.
11860
11861 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11862
11863 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11864 directives to conditionalize symbol prefixing.
11865 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11866 additional_flags handling. Add underscore prefix for Cygwin.
11867 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11868 conditionalize symbol prefixing.
11869 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11870 additional_flags handling. Add underscore prefix for Cygwin.
11871
11872 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11873
11874 * gdb.base/bigcore.exp: Skip test on Cygwin.
11875
11876 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11877
11878 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11879 formats for "info register". Use gdb_test_multiple. Fix
11880 the "invalid register" test.
11881
11882 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11883
11884 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11885 PID for Cygwin. Add Cygwin specific strings to check for in some
11886 tests.
11887 (do_attach_tests): Add a test for user interaction when attaching
11888 to a process with no matching symbol table already loaded.
11889
11890 2004-06-26 Andrew Cagney <cagney@gnu.org>
11891
11892 Test PR java/1567 and PR java/1565.
11893 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11894 * gdb.java/jmisc2.exp: Delete file.
11895
11896 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11897
11898 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11899
11900 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11901
11902 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11903 attach process.
11904
11905 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11906
11907 * gdb.cp/pr-1553.exp: Remove.
11908
11909 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11910
11911 * gdb.cp/pr-1553.cc: Remove.
11912 * gdb.cp/pr-1553.exp: Disable this test.
11913
11914 2004-06-20 Jim Blandy <jimb@redhat.com>
11915
11916 Fix PR testsuite/1680.
11917 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11918 regular expressions.
11919
11920 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11921
11922 Fix PR testsuite/1679.
11923 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11924 Issue an UNSUPPORTED result instead.
11925
11926 2004-06-18 Jim Blandy <jimb@redhat.com>
11927
11928 * gdb.base/charset.exp: Only send a control-C if we see a new
11929 prompt and incomplete command.
11930
11931 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11932
11933 * gdb.cp/pr-574.cc: Add copyright notice.
11934
11935 2004-06-17 Jim Blandy <jimb@redhat.com>
11936
11937 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11938 cases where the regexp has no groups; this grabs random text from
11939 the previous test suite, whatever that was.
11940
11941 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11942
11943 * gdb.cp/printmethod.cc: Add copyright notice.
11944
11945 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11946
11947 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11948
11949 2004-06-16 Andrew Cagney <cagney@gnu.org>
11950
11951 * gdb.base/signull.c: Update copyright. Include <string.h>.
11952 (bowler): Replace data_pointer with data_read
11953 and data_write cases. Add code_descriptor case.
11954 (zero, desc): New array and pointer.
11955 (data, code): Change to simple pointers.
11956 * gdb.base/signull.exp: Fix probe pattern matching a function
11957 descriptor SIGSEGV. Replace data_pointer with data_read and
11958 data_write tests.
11959
11960 2004-06-16 Andrew Cagney <cagney@gnu.org>
11961
11962 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11963
11964 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11965
11966 * gdb.base/long_long.c: Add copyright notice.
11967
11968 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11969
11970 * gdb.base/long_long.exp: Remove reference to
11971 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11972 to gdb_breakpoint and gdb_continue_to_breakpoint.
11973
11974 2004-06-14 Jim Blandy <jimb@redhat.com>
11975
11976 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11977 endian case.
11978
11979 2004-06-14 Andrew Cagney <cagney@gnu.org>
11980
11981 * gdb.base/gcore.exp (capture_command_output): Delete the always
11982 passing tests containing inferior values.
11983 * gdb.base/ending-run.exp: Do not include the breakpoint address
11984 in the test message. Update copyright.
11985 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11986 size in the test name, use gdb_test_multiple. Update copyright.
11987
11988 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11989
11990 * gdb.cp/ref-types.cc: Add copyright notice.
11991
11992 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11993
11994 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11995 hp_aCC_compiler.
11996 * lib/compiler.cc: Likewise.
11997 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11998 'set' commands. Log diagnostics for other lines. Set
11999 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12000
12001 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12002
12003 * gdb.cp/try_catch.cc: Add copyright notice.
12004
12005 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12006
12007 * gdb.cp/userdef.cc: Add copyright notice.
12008
12009 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12010
12011 * gdb.cp/virtfunc.cc: Add copyright notice.
12012
12013 2004-06-11 Randolph Chung <tausq@debian.org>
12014
12015 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12016 problem.
12017
12018 2004-06-10 Andrew Cagney <cagney@gnu.org>
12019
12020 * lib/compiler.cc, lib/compiler.c: Append either
12021 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12022 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12023 instead of gcc-3-3.
12024
12025 2004-06-09 Andrew Cagney <cagney@gnu.org>
12026
12027 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12028 gdb/1455, bug is specific to "long long" and "double".
12029
12030 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12031 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12032 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12033 fixed.
12034
12035 2004-06-09 Andrew Cagney <cagney@gnu.org>
12036
12037 * gdb.base/structs.exp (test_struct_returns): Replace
12038 "return_value_unknown" and "finish_value_unknown" by
12039 "return_value_known" and "finish_value_known". Instead of
12040 "return_value_unknown" iff "finish_value_unknown", check
12041 "return_value_known" implies "finish_value_known".
12042
12043 2004-06-08 Martin Hunt <hunt@redhat.com>
12044
12045 * gdb.base/float.exp: Add pattern for mips targets.
12046
12047 2004-06-08 Randolph Chung <tausq@debian.org>
12048
12049 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12050 message for unknown architectures more clear.
12051
12052 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12053
12054 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12055 start the execution of the program.
12056
12057 2004-06-07 Jim Blandy <jimb@redhat.com>
12058
12059 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12060 * gdb.arch/i386-cpuid.h: New helper file.
12061
12062 2004-06-07 Randolph Chung <tausq@debian.org>
12063
12064 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12065 has started.
12066
12067 2004-06-04 Roland McGrath <roland@redhat.com>
12068
12069 Fix PR gdb/1647.
12070 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12071 differently to be robust to output buffering differences.
12072
12073 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12074
12075 * gdb.threads/pthreads.exp: Update copyright years.
12076 (check_control_c): Change asynchronous 'after' to synchronous.
12077
12078 2004-06-04 Roland McGrath <roland@redhat.com>
12079
12080 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12081 next gdb prompt.
12082
12083 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12084
12085 Fix PR gdb/1636.
12086 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12087 calls to synchronous.
12088
12089 2004-05-26 Jim Blandy <jimb@redhat.com>
12090
12091 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12092
12093 2004-05-24 Randolph Chung <tausq@debian.org>
12094
12095 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12096 * gdb.asm/pa.inc: New file.
12097
12098 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12099
12100 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12101
12102 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12103 Daniel Jacobowitz <drow@mvista.com>
12104
12105 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12106 GDB prompt.
12107
12108 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12109
12110 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12111 setjmp/longjmp. Use sigaction instead of signal.
12112
12113 2004-05-19 J. Brobecker <brobecker@gnat.com>
12114 Michael Snyder <msnyder@redhat.com>
12115
12116 * gdb.threads/pthread_cond_wait.c: New file.
12117 * gdb.threads/pthread_cond_wait.exp: New testcase.
12118
12119 2004-05-13 Andrew Cagney <cagney@redhat.com>
12120
12121 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12122 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12123
12124 2004-05-11 Andrew Cagney <cagney@redhat.com>
12125
12126 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12127 fixed but revealed gdb/1639.
12128
12129 2004-05-10 Andrew Cagney <cagney@redhat.com>
12130
12131 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12132 func1" and "next to 2nd alarm", kernel bug avoided.
12133
12134 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12135
12136 PR external/1568
12137 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12138 XFAIL if it is smaller than bytes_allocated.
12139 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12140 (main): Make chunks_allocated unsigned. Correct comment.
12141
12142 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12143
12144 * gdb.arch/powerpc-aix-prologue.c: New file.
12145 * gdb.arch/powerpc-aix-prologue.exp: New file.
12146
12147 2004-05-07 Jim Blandy <jimb@redhat.com>
12148
12149 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12150 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12151
12152 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12153
12154 * gdb.base/sep.exp: No longer setup_kfail when the program was
12155 built with dwarf2.
12156
12157 2004-05-05 Jim Ingham <jingham@apple.com>
12158
12159 * gdb.base/pending.exp: Make sure pending breakpoints
12160 preserve the ignore count.
12161
12162 2004-04-27 Jerome Guitton <guitton@gnat.com>
12163
12164 * i386-prologue.exp: Add testcase for jump instruction as first
12165 instruction of the real code.
12166 * i386-prologue.c (jump_at_beginning): New function.
12167
12168 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12169
12170 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12171 x86_64-*-*.
12172
12173 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12174
12175 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12176 i*86-*-*.
12177
12178 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12179
12180 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12181 expression that checks the return type.
12182
12183 2004-04-23 Andrew Cagney <cagney@redhat.com>
12184
12185 * gdb.base/call-sc.exp: New test of scalar call/return values.
12186 * gdb.base/call-sc.c: Ditto.
12187
12188 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12189
12190 * gdb.threads/manythreads.c: Reduce thread stack size.
12191
12192 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12193
12194 * gdb.threads/manythreads.c: Add copyright notice.
12195
12196 2004-04-23 Andrew Cagney <cagney@redhat.com>
12197
12198 * gdb.base/siginfo.exp: Better handle step out of signal.
12199 * gdb.base/sigstep.exp: Ditto.
12200
12201 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12202 Daniel Jacobowitz <drow@mvista.com>
12203
12204 * gdb.threads/manythreads.c: New testcase.
12205 * gdb.threads/manythreads.exp: Ditto.
12206
12207 2004-04-22 Jim Blandy <jimb@redhat.com>
12208
12209 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12210 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12211
12212 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12213
12214 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12215
12216 2004-04-21 Andrew Cagney <cagney@redhat.com>
12217
12218 * gdb.base/sigstep.c: New file.
12219 * gdb.base/sigstep.exp: New file.
12220
12221 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12222
12223 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12224 call to observer_notify_normal_stop.
12225
12226 2004-04-15 Andrew Cagney <cagney@redhat.com>
12227
12228 * gdb.base/siginfo.c: New file.
12229 * gdb.base/siginfo.exp: New file.
12230
12231 2004-04-12 J. Brobecker <brobecker@gnat.com>
12232
12233 * gdb.base/sep.exp: Fix typo in comment.
12234
12235 2004-04-12 J. Brobecker <brobecker@gnat.com>
12236
12237 * gdb.base/sep.c: New file.
12238 * gdb.base/sep-proc.c: New file.
12239 * gdb.base/sep.exp: New testcase.
12240
12241 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12242
12243 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12244 support.
12245
12246 2004-04-05 Andrew Cagney <cagney@redhat.com>
12247
12248 * gdb.base/sigaltstack.c: New file.
12249 * gdb.base/sigaltstack.exp: New file.
12250
12251 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12252
12253 * gdb.base/foll-fork.exp: Update the expected output for
12254 "help set follow-fork-mode", to match a change that was made
12255 to the help of this variable on 2004-01-13.
12256
12257 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12258
12259 * lib/ada.exp: Add copyright notice.
12260 * bar.ads: Likewise.
12261 * bar.adb: Likewise.
12262 * null_record.adb: Likewise.
12263 * null_record.exp: Likewise.
12264 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12265
12266 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12267
12268 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12269 * configure: Regenerate.
12270
12271 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12272
12273 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12274 to build the application. Remove the message printed when in
12275 verbose mode, redundant with the UNSUPPORTED message above.
12276
12277 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12278
12279 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12280 * gdb.ada (null_record.exp): New testcase.
12281
12282 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12283
12284 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12285
12286 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12287
12288 * gdb.ada: New subdirectory.
12289 * gdb.ada/Makefile.in: New file.
12290 * gdb.ada/gnat_ada.gpr.in: New file.
12291
12292 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12293
12294 * lib/ada.exp: New file.
12295
12296 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12297
12298 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12299 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12300
12301 2004-03-22 Andrew Cagney <cagney@redhat.com>
12302
12303 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12304 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12305 Problem identified by Ulrich Weigand.
12306
12307 2004-03-17 David Carlton <carlton@kealia.com>
12308
12309 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12310 PR c++/826.
12311
12312 2004-03-16 Roland McGrath <roland@redhat.com>
12313
12314 * gdb.base/auxv.exp: New file.
12315 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12316
12317 2004-03-12 David Carlton <carlton@kealia.com>
12318
12319 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12320 * gdb.cp/pr-1553.cc: Ditto.
12321 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12322 pass branch.
12323
12324 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * gdb.cp/templates.exp: Accept more template types.
12327
12328 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12329
12330 From Corinna Vinschen with modifications.
12331 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12332 local variable obj_with_enum.
12333 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12334 results with obj_with_enum.
12335
12336 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12337
12338 * gdb.cp/classes.cc: New file, copied from misc.cc.
12339 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12340
12341 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12342
12343 * gdb.cp/misc.cc: Add copyright notice.
12344
12345 2004-03-05 David Carlton <carlton@kealia.com>
12346
12347 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12348 * gdb.cp/rtti.h: Update copyright.
12349 (namespace n2::n3): New.
12350 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12351 (n2::n3::func3): New.
12352 (main): Call n2::n3::func3.
12353 * gdb.cp/rtti2.cc: Update copyright.
12354 (n2::create3): New.
12355
12356 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12357
12358 * gdb.asm/openbsd.inc: Fix typo.
12359
12360 2004-03-03 Fred Fish <fnf@redhat.com>
12361
12362 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12363 "val" instead of unused "size". Update copyright year.
12364
12365 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12366
12367 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12368 to use unsigned char.
12369 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12370 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12371
12372 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12373
12374 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12375 line of output.
12376
12377 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12378
12379 * gdb.base/relocate.c (dummy): Initialize.
12380
12381 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12382
12383 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12384 a breakpoint at exit.
12385
12386 2004-02-27 Fred Fish <fnf@redhat.com>
12387
12388 * gdb.base/chng-syms.exp: Add expect condition to match failing
12389 case that isn't a timeout.
12390
12391 2004-02-27 Andrew Cagney <cagney@redhat.com>
12392
12393 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12394 support.
12395
12396 2004-02-26 Fred Fish <fnf@redhat.com>
12397
12398 * gdb.arch/gdb1431.c: Remove.
12399 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12400 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12401 of "until" incorrectly.
12402
12403 2004-02-26 J. Brobecker <brobecker@gnat.com>
12404
12405 * gdb.cp/class2.cc (empty): New class.
12406 (refer): New function.
12407 (main): Declare an object of type empty and use it.
12408 * gdb.cp/class2.exp: Print the value of an object of type empty.
12409
12410 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12411
12412 * gdb.base/langs.exp: Update query string to match the
12413 new nquery format used for pending breakpoints.
12414
12415 2004-02-26 Andrew Cagney <cagney@redhat.com>
12416
12417 Fix PR i18n/1570.
12418 * gdb.base/charset.c: Update copyright notice.
12419 (main, init_string): Remove the escape character '\e' tests.
12420 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12421 * gdb.base/charset.exp (valid_host_charset): Ditto.
12422 * gdb.base/setvar.exp: Ditto.
12423
12424 2004-02-24 Andrew Cagney <cagney@redhat.com>
12425
12426 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12427 mmapped data in core file" PASS and FAIL messages consistent.
12428
12429 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12430 setting a breakpoint. Work around PR java/1565.
12431
12432 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12433
12434 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12435 new nquery format.
12436 * gdb.base/pending.exp: Ditto.
12437
12438 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12439
12440 * configure.in: Run stabs tests on *BSD.
12441 * configure: Regenerated.
12442
12443 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12444
12445 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12446
12447 2004-02-20 Fred Fish <fnf@redhat.com>
12448
12449 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12450 blank in test for "returns short", for consistency with other
12451 "returns xxx" tests. Update copyright year.
12452
12453 2004-02-19 Fred Fish <fnf@redhat.com>
12454
12455 New testcase for PR breakpoint/1558.
12456 * gdb.arch/gdb1558.exp: New file.
12457 * gdb.arch/gdb1558.c: New file.
12458
12459 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12460
12461 * gdb.base/nodebug.exp: Fix typo.
12462
12463 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12464
12465 Committed by Jim Blandy <jimb@redhat.com>.
12466
12467 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12468
12469 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12470
12471 * gdb.base/float.exp: Support s390*-*-* targets.
12472
12473 2004-02-17 Adam Fedor <fedor@gnu.org>
12474
12475 * gdb.base/gdb1555.exp: New file.
12476 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12477
12478 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12479
12480 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12481
12482 2004-02-16 Fred Fish <fnf@redhat.com>
12483
12484 * gdb.arch/gdb1291.c: Remove
12485 * gdb.arch/gdb1291.s: New test input file.
12486 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12487 fail. Test for correct result, known incorrect result, other
12488 failures and timeouts.
12489
12490 2004-02-16 Andrew Cagney <cagney@redhat.com>
12491
12492 * gdb.base/bigcore.exp: New file.
12493 * gdb.base/bigcore.c: New file.
12494
12495 2004-02-13 Andrew Cagney <cagney@redhat.com>
12496
12497 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12498 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12499 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12500 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12501 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12502 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12503 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12504 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12505 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12506 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12507
12508 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12509
12510 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12511 executed is an alloc instruction.
12512
12513 2004-02-11 David Carlton <carlton@kealia.com>
12514
12515 * gdb.cp/breakpoint.exp: New.
12516 * gdb.cp/breakpoint.cc: New.
12517
12518 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12519
12520 Partial fix for PR gdb/1543.
12521 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12522 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12523 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12524 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12525 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12526 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12527 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12528 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12529 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12530 to bug-gdb@prep.ai.mit.edu .
12531 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12532 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12533 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12534 Likewise.
12535
12536 2004-02-10 Andrew Cagney <cagney@redhat.com>
12537
12538 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12539 using gdb_internal_error_resync.
12540
12541 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12542
12543 * gdb.threads/thread-specific.exp: Stop early if no threads are
12544 found.
12545
12546 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12547
12548 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12549
12550 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12551
12552 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12553 breakpoints.
12554
12555 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12556
12557 * config/sim.exp (gdb_load): Handle $arg == "".
12558 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12559 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12560
12561 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12562
12563 * gdb.base/maint.exp: Update test to reflect
12564 obstack changes.
12565
12566 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12567
12568 * gdb.base/pendshr.c (pendfunc): New function that calls
12569 pendfunc1.
12570 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12571
12572 2004-02-04 Fred Fish <fnf@redhat.com>
12573
12574 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12575 function symbols and update copyright years.
12576 * gdb.arch/gdb1291.c: Ditto.
12577
12578 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12579
12580 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12581
12582 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12583
12584 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12585
12586 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12587
12588 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12589
12590 2004-02-02 Fred Fish <fnf@redhat.com>
12591
12592 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12593 remote targets. Update copyright years.
12594
12595 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12596
12597 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12598 support.
12599 * gdb.base/langs.exp: Fix test which attempts to create
12600 breakpoint on non-existent function to handle new pending
12601 support.
12602 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12603 a breakpoint.
12604 * gdb.base/pending.exp: New test.
12605 * gdb.base/pending.c: New file.
12606 * gdb.base/pendshr.c: Ditto.
12607
12608 2004-02-02 David Carlton <carlton@kealia.com>
12609
12610 * gdb.cp/overload.exp: Add overloadNamespace tests.
12611 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12612 (overloadNamespace, XXX): New.
12613 (main): Call XXX::marker2.
12614
12615 2004-02-01 Fred Fish <fnf@redhat.com>
12616
12617 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12618 * gdb.base/finish.exp: Ditto.
12619 * gdb.base/gcore.exp: Ditto.
12620 * gdb.base/huge.exp: Ditto.
12621 * gdb.base/info-proc.exp: Ditto.
12622 * gdb.base/return2.exp: Ditto.
12623 * gdb.threads/gcore-thread.exp: Ditto.
12624
12625 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12626
12627 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12628
12629 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12630
12631 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12632 that opening the file succeeds on OpenBSD.
12633
12634 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12635
12636 * gdb.threads/thread-specific.c: New file.
12637 * gdb.threads/threads-specific.exp: New test script.
12638 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12639 to expect_out.
12640
12641 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12642
12643 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12644 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12645 only on the "print_small_structs from print_long_arg_list" test.
12646
12647 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12648
12649 * gdb.base/completion.exp: Kill a stray backslash.
12650
12651 From Jim Ingham <jingham@apple.com>:
12652 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12653 agrees with the result from sending a tab.
12654
12655 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12656
12657 * gdb.base/chng-syms.exp: Remove stray newline.
12658
12659 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12660
12661 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12662 *-*-openbsd*.
12663 * gdb.asm/openbsd.inc: New file.
12664
12665 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12666
12667 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12668 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12669 *-*solaris2*. Remove commented out default settings for
12670 asm-flags. Replace gdb_compile with target_link.
12671
12672 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12673
12674 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12675 for all tests. Remove old hp-ux and cygnus xfail cases.
12676
12677 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12678
12679 * gdb.base/chng-syms.exp: New file.
12680 * gdb.base/chng-syms.c: New file.
12681
12682 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12683
12684 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12685 Provide arms for current output in all my configurations.
12686
12687 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12688
12689 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12690 * lib/compiler.cc: Likewise.
12691 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12692 get the right preprocessor. Eval the output directly. Remove
12693 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12694 hp_f77_compiler and hp_f90_compiler completely.
12695 (gdb_preprocess): Delete.
12696 (get_compiler): Delete.
12697
12698 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12699
12700 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12701 <string.h>.
12702
12703 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12704
12705 * gdb.mi/mi-stack.exp: Update copyright.
12706
12707 2004-01-23 David Carlton <carlton@kealia.com>
12708
12709 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12710 test for cp_lookup_transparent_type.
12711 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12712 call them.
12713
12714 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12715
12716 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12717 after -var-update.
12718
12719 2004-01-23 David Carlton <carlton@kealia.com>
12720
12721 * gdb.cp/namespace.cc (C::ensureRefs): New.
12722 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12723
12724 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12725
12726 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12727 case "-stack-list-locals 2".
12728 * gdb.mi/mi-var-child.exp: Test for case
12729 "-var-list-children --all-values NAME".
12730
12731 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12732
12733 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12734
12735 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12736
12737 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12738 used with gdb_test_multiple.
12739
12740 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12741 read at address 0. This fixes PR testsuite/1504.
12742
12743 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12744
12745 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12746 Remove downloading, guessing the host executable, the calls to
12747 gdb_file_cmd and gdb_target_cmd, and "load" support.
12748 (infer_host_exec): New function broken out from gdb_load.
12749 (gdb_load): New wrapper for gdbserver_gdb_load.
12750 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12751 gdb_target_cmd. Use -target-select.
12752 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12753 Download binaries to the host. Clear last_mi_remote_file when
12754 we load a new binary.
12755 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12756 call gdbserver_gdb_load and mi_gdb_target_cmd.
12757
12758 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12759
12760 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12761 type patterns.
12762
12763 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12764
12765 * gdb.cp/templates.exp: Fix typo in test name of
12766 "print Foo<volatile char*>::foo".
12767
12768 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12769
12770 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12771
12772 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12773
12774 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12775 (clean mostlyclean): Remove empty rm.
12776
12777 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12778
12779 * gdb.base/setvar.exp: Add copyright years.
12780
12781 2004-01-14 David Carlton <carlton@bactrian.org>
12782
12783 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12784 PR c++/1511 and update coment.
12785 * gdb.cp/templates.exp: Update patterns to match current output.
12786 If changes involve something other than whitespace, KFAIL
12787 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12788
12789 2004-01-14 David Carlton <carlton@kealia.com>
12790
12791 * gdb.cp/namespace.exp: Add tests involving classes defined within
12792 namespaces.
12793 * gdb.cp/namespace.cc (C::CClass): New.
12794 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12795
12796 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12797
12798 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12799 what debug info we have. Print a better message if something goes
12800 wrong while producing the separate debug info file.
12801
12802 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12803
12804 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12805
12806 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12807
12808 * gdb.base/callfuncs.c: Add copyright notice.
12809
12810 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12811
12812 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12813 inheritance. PR gdb/1498, PR gcc/13539.
12814
12815 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12816
12817 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12818 test specific name.
12819 * gdb.mi/gdb669.exp: Ditto.
12820 * gdb.mi/mi-pthreads.exp: Ditto.
12821 * gdb.mi/mi1-pthreads.exp: Ditto.
12822 * gdb.mi/mi2-pthreads.exp: Ditto.
12823
12824 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12825
12826 * gdb.cp/member-ptr.cc: Add copyright notice.
12827
12828 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12829
12830 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12831 some patterns for recent versions of gcc and hpacc. Delete
12832 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12833 Delete tests that access a NULL pointer-to-member-data. This
12834 script is still disabled for gcc.
12835
12836 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12837
12838 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12839 escaped correctly.
12840
12841 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12842
12843 * gdb.base/sepdebug.exp: New file.
12844 * gdb.base/sepdebug.c: New file.
12845 * lib/gdb.exp (separate_debug_filename): New procedure.
12846 (gdb_gnu_strip_debug): New procedure.
12847
12848 2004-01-12 Andrew Cagney <cagney@redhat.com>
12849
12850 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12851 * gdb.mi/ChangeLog-1999-2003: New file.
12852
12853 2004-01-12 Andrew Cagney <cagney@redhat.com>
12854
12855 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12856 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12857 or EEXIST", treat EBUSY as an XFAIL.
12858
12859 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12860
12861 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12862 hp_cc_compiler.
12863
12864 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12865
12866 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12867 decorations.
12868
12869 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12870
12871 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12872 and "(aCC)" decorations. Remove obsolete doco about old
12873 test results.
12874
12875 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12876
12877 * gdb.cp/exception.exp: Fix typo in doco.
12878
12879 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12880
12881 * gdb.base/gdb1476.exp: Fix typo.
12882
12883 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12884
12885 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12886 file.
12887
12888 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12889
12890 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12891 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12892 Use gdb_compile. Remove restriction on gcc. Add some patterns
12893 for recent version of gdb. Delete second half, which was a copy
12894 of the first half with different build flags. This test is
12895 still disabled because it is still not ready for production.
12896
12897 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12898
12899 * gdb.cp/exception.cc: Add copyright notice.
12900 * gdb.cp/exception.exp: Add a notice that this file is broken
12901 because of line number changes caused by addition of copyright
12902 notice.
12903
12904 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12905
12906 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12907 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12908
12909 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12910
12911 * gdb.cp/classes.exp: Accept gnu abi 2.
12912 * gdb.cp/derivation.exp: Likewise.
12913 * gdb.cp/overload.exp: Likewise.
12914 * gdb.cp/virtfunc.exp: Likewise.
12915
12916 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12917
12918 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12919 semicolon after end of function.
12920
12921 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12922
12923 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12924 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12925 boilerplate code for compiling and running the program under
12926 test. Add some string method tests.
12927
12928 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12929
12930 * gdb.cp/bs15503.cc: Add copyright notice.
12931 * gdb.cp/bs15503.exp: Adjust line number.
12932
12933 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12934
12935 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12936 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12937
12938 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12939
12940 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12941 hp_cc_compiler.
12942
12943 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12944
12945 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12946 * gdb.cp/ctti.exp: Use the marker instead of "next".
12947 With gcc, run further before bailing.
12948
12949 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12950
12951 * gdb.cp/cttiadd.cc: Add copyright notice.
12952 * gdb.cp/cttiadd1.cc: Likewise.
12953 * gdb.cp/cttiadd2.cc: Likewise.
12954 * gdb.cp/cttiadd3.cc: Likewise.
12955
12956 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12957
12958 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12959 Use gdb_test, gdb_test_multiple. Use floating-point values that
12960 have exact representations in IEEE-ish formats.
12961
12962 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12963
12964 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12965 compilers. Delete duplicate call to get_compiler_info.
12966 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12967 * gdb.base/volatile.exp: Likewise.
12968
12969 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12970
12971 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12972 memory at address 0.
12973
12974 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12975
12976 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12977 to test for hp-ux assembler. Fix copyright years.
12978
12979 2004-01-07 Andrew Cagney <cagney@redhat.com>
12980
12981 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12982
12983 2004-01-07 Andrew Cagney <cagney@redhat.com>
12984
12985 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12986 when creating the read-only file. From analysis by Roland McGrath
12987 and Elena Zannoni.
12988
12989 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12990
12991 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12992
12993 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12994
12995 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12996 data pointers.
12997
12998 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12999
13000 * gdb.cp/m-static.exp: Compile one source file at a time.
13001 Delete unused call to get_compiler_info.
13002
13003 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13004
13005 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13006 * gdb.base/call-rt-st.exp: Likewise.
13007 * gdb.base/nodebug.exp: Likewise.
13008 * gdb.base/volatile.exp: Likewise.
13009 * gdb.cp/ref-types.exp: Likewise.
13010 * gdb.cp/templates.exp: Likewise.
13011
13012 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13013
13014 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13015
13016 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13017
13018 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13019 hppa*-hp-hpux*.
13020
13021 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13022
13023 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13024 x86_64-*-*.
13025
13026 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13027 sparc64-*-* and sparc*-solaris2*.
13028
13029 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13030
13031 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13032 return ${tests}" test. The ${tests} already mentions the
13033 filename.
13034
13035 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13036
13037 * gdb.cp/local.exp: Accept gcc abi 2.
13038
13039 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13040
13041 * gdb.cp/templates.exp: Accept gcc abi 2.
13042
13043 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13044
13045 * lib/compiler.cc: Remove supports_template_debugging.
13046 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13047
13048 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13049
13050 * gdb.cp/namespace.exp: Accept gcc abi 2.
13051
13052 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13053
13054 * gdb.cp/method.exp: Accept gcc abi 2.
13055
13056 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13057
13058 * gdb.cp/classes.exp: Generate identical results as old version.
13059 * gdb.cp/derivation.exp: Likewise.
13060 * gdb.cp/overload.exp: Likewise.
13061 * gdb.cp/virtfunc.exp: Likewise.
13062
13063 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13064
13065 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13066 mysterious bug with sourceware version of expect.
13067
13068 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13069
13070 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13071 current versions of gcc, including gcc abi 2. Remove gratuitous
13072 restart of test program. Use gdb_test_multiple and gdb_test for
13073 all tests. Add patterns to xfail missing "const" in "const char *"
13074 and kfail PR gdb/1155.
13075
13076 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13077
13078 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13079 current versions of gcc, including gcc abi 2. Remove gratuitous
13080 restart of test program. Use gdb_test_multiple and gdb_test for
13081 all tests. Add patterns to kfail PR gdb/1498.
13082
13083 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13084
13085 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13086 current versions of gcc, including gcc abi 2. Use "breakpoint"
13087 and "continue" instead of restarting the target program. Use
13088 gdb_test_multiple and gdb_test for all tests.
13089
13090 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13091
13092 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13093 for *-*-solaris2*.
13094
13095 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13096
13097 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13098 current versions of gcc, including gcc abi 2. Use "breakpoint"
13099 and "continue" instead of restarting the target program several
13100 times. Use gdb_test_multiple and gdb_test for all tests.
13101
13102 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13103
13104 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13105 source files.
13106
13107 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13108
13109 * gdb.base/environ.exp: Handle compiling test case from multiple
13110 source files.
13111
13112 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13113
13114 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13115
13116 2003-12-17 Jim Blandy <jimb@redhat.com>
13117
13118 * gdb.base/freebpcmd.c: Add copyright notice.
13119
13120 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13121
13122 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13123
13124 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13125
13126 2003-12-13 Jim Blandy <jimb@redhat.com>
13127
13128 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13129
13130 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13131
13132 * gdb.asm/frv.inc: New file.
13133 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13134
13135 2003-12-09 Fred Fish <fnf@redhat.com>
13136
13137 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13138 functions to break1.c and leave prototypes behind. Add more
13139 "set breakpoint NN here" comments.
13140 * gdb.base/break1.c: New file.
13141
13142 * gdb.base/break.exp: Handle compiling test case from multiple
13143 source files and change source file references as needed.
13144 * gdb.base/completion.exp: Ditto.
13145 * gdb.base/condbreak.exp: Ditto.
13146 * gdb.base/define.exp: Ditto.
13147 * gdb.base/ena-dis-br.exp: Ditto.
13148 * gdb.base/info-proc.exp: Ditto.
13149 * gdb.base/maint.exp: Ditto.
13150 * gdb.base/until.exp: Ditto.
13151
13152 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13153 hardcoded line numbers.
13154 * gdb.base/define.exp: Ditto.
13155 * gdb.base/ena-dis-br.exp: Ditto.
13156 * gdb.base/maint.exp: Ditto.
13157 * gdb.base/until.exp: Ditto.
13158
13159 * gdb.base/completion.exp: Use "break1" for completion tests since
13160 "break" is no longer a unique prefix.
13161
13162 2003-12-06 Andrew Cagney <cagney@redhat.com>
13163
13164 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13165 "return_value_unimplemented". When an unimplemented struct return
13166 architecture, report incorrect values as a KFAIL
13167
13168 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13169
13170 * gdb.cp/rtti.exp: Accept new wording of warning from
13171 cp_lookup_rtti_type.
13172
13173 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13174
13175 Partial fix for PR testsuite/1456.
13176 * gdb.base/scope.exp (test_at_main): Replace references to
13177 gcc_compiled with calls to test_compiler_info.
13178 (test_at_foo): Likewise.
13179 (test_at_bar): Likewise.
13180
13181 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13182
13183 Partial fix for PR testsuite/1456.
13184 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13185 to test_compiler_info.
13186
13187 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13188
13189 * gdb.base/so-impl-ld.exp: Update copyright notice.
13190
13191 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13192
13193 Partial fix for PR testsuite/1456.
13194 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13195 to test_compiler_info.
13196
13197 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13198
13199 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13200 from current versions of gdb. Clean up regular expressions.
13201 Delete redundant timeout case.
13202
13203 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13204
13205 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13206 from current versions of gdb. Clean up regular expressions.
13207 Delete redundant timeout case.
13208
13209 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13210
13211 Partial fix for PR testsuite/1456.
13212 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13213 gcc_compiled with call to test_compiler_info.
13214
13215 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13216
13217 Partial fix for PR testsuite/1456.
13218 * gdb.base/list.exp (test_list_function): Delete unused declaration
13219 of gcc_compiled.
13220
13221 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13222
13223 Partial fix for PR testsuite/1456.
13224 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13225 call to test_compiler_info.
13226
13227 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13228
13229 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13230 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13231 it to create the appropriate note.inc.
13232 * gdb.asm/asmsrc1.s: Include "note.inc".
13233 * gdb.asm/netbsd.inc: New file.
13234 * gdb.asm/empty.inc: New file.
13235
13236 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13237
13238 Partial fix for PR testsuite/1456.
13239 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13240 calls to test_compiler_info.
13241
13242 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13243
13244 Partial fix for PR testsuite/1456.
13245 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13246 calls to test_compiler_info.
13247
13248 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13249
13250 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13251 pattern for the KFAILs.
13252
13253 2003-11-25 Adam Fedor <fedor@gnu.org>
13254
13255 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13256 * gdb.objc/objcdecode.m: New file.
13257
13258 2003-11-25 Adam Fedor <fedor@gnu.org>
13259
13260 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13261 * gdb.objc/nondebug.m: New file.
13262
13263 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13264
13265 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13266 NetBSD as it does on FreeBSD. Modelled on a similar change by
13267 Mark Kettenis on 2003-05-30.
13268 (link-flags): Set to "--entry _start" regardless of target.
13269 Special linker flags are to be appended to $link-flags.
13270 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13271
13272 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13273
13274 * gdb.cp/method.exp: Accept output of new demangler.
13275
13276 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13277
13278 * gdb/class2.exp: New file.
13279 * gdb/class2.cc: New file.
13280
13281 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13282
13283 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13284 of new demangler.
13285
13286 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13287
13288 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13289 of gdb_test "run".
13290
13291 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13292
13293 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13294 "continue" into "run".
13295
13296 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13297
13298 Partial fix for PR testsuite/1456.
13299 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13300 call to test_compiler_info.
13301 * gdb.cp/ctti.exp: Likewise.
13302 * gdb.cp/derivation.exp: Likewise.
13303 * gdb.cp/member-ptr.exp: Likewise.
13304 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13305 reference to gcc_compiled.
13306
13307 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13308
13309 Fix PR testsuite/1463.
13310 * gdb.base/structs.exp (start_structs_test): Call
13311 get_debug_format before using the debug format.
13312
13313 2003-11-22 Andrew Cagney <cagney@redhat.com>
13314
13315 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13316 * gdb.base/structs.exp: Use gdb_test_multiple.
13317
13318 2003-11-20 Andrew Cagney <cagney@redhat.com>
13319
13320 * gdb.base/structs.exp: Handle and recover from internal errors.
13321 Replace "foo${n}" with "foo<n>" in test messages.
13322
13323 * gdb.base/structs.exp: Update copyright. Rewrite.
13324 * gdb.base/structs.c: Update copyright. Rewrite.
13325
13326 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13327 resync count exceeded.
13328
13329 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13330 from the internal error.
13331 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13332 Original from Jim Blandy.
13333 (gdb_test_multiple): Use gdb_internal_error_resync.
13334
13335 2003-11-19 Andrew Cagney <cagney@redhat.com>
13336
13337 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13338 KFAIL.
13339
13340 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13341
13342 New testcase for PR backtrace/1435.
13343 * gdb.arch/i386-unwind.exp: New file.
13344 * gdb.arch/i386-unwind.c: New file.
13345
13346 2003-11-17 Andrew Cagney <cagney@redhat.com>
13347
13348 * lib/gdb.exp (compiler_info): New global.
13349 (test_compiler_info): New function.
13350 (get_compiler_info): Set compiler_info.
13351 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13352 "compiler_info" to gcc-<major>-<minor>.
13353
13354 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13355
13356 * gdb.trace/configure: Remove.
13357
13358 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13359
13360 * gdb.base/break.c: Add comments to aid finding line numbers for
13361 breakpoints.
13362 * gdb.base/break.exp: Remove all references to explicit line
13363 numbers.
13364
13365 2003-11-11 Nick Clifton <nickc@redhat.com>
13366
13367 * gdb.base/shreloc.exp: Do not run for targets which do not
13368 support shared objects.
13369
13370 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13371
13372 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13373 Don't run tests if nofileio flag is given.
13374
13375 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13376
13377 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13378 as well as 'Watchpoint'.
13379
13380 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13381
13382 Reported by Jim Ingham <jingham@apple.com>:
13383 * gdb.base/annota1.exp: Match at least one occurrence of the
13384 signal handler annotation.
13385
13386 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13387
13388 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13389 as well as 'Watchpoint'.
13390
13391 2003-11-05 Michael Chastain <mec@shout.net>
13392
13393 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13394
13395 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13396
13397 * gdb.arch/gdb1291.c: New test file.
13398 * gdb.arch/gdb1291.exp: New test script.
13399 * gdb.arch/gdb1431.c: New test file.
13400 * gdb.arch/gdb1431.exp: New test script.
13401
13402 2003-10-22 Michael Chastain <mec@shout.net>
13403
13404 * gdb.mi/pthreads.c: Add copyright notice.
13405
13406 2003-10-22 Michael Chastain <mec@shout.net>
13407
13408 * gdb.threads/pthreads.c: Add copyright notice.
13409
13410 2003-10-20 Michael Chastain <mec@shout.net>
13411
13412 * gdb.base/gdb1056.exp: New test script.
13413
13414 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13415
13416 * gdb.threads/killed.exp: Use gdb_run_cmd.
13417
13418 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13419
13420 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13421 create a core file.
13422 * gdb.threads/gcore-thread.exp: Likewise.
13423
13424 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13425
13426 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13427 type, based on char type.
13428 (struct bit_flags_short_t): New bitfield type, based on short type.
13429 (init_bit_flags_char): New fuction.
13430 (init_bit_flags_short): Ditto.
13431 (print_bit_flags_char): Ditto.
13432 (print_bit_flags_short): Ditto.
13433 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13434
13435 2003-10-11 Michael Chastain <mec@shout.net>
13436
13437 * gdb.base/call-rt-st.exp: Update copyright year.
13438
13439 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13440
13441 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13442 * gdb.disasm/sh3.s: Ditto.
13443
13444 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13445
13446 * gdb.threads/switch-threads.exp: New test.
13447 * gdb.threads/switch-threads.c: New source file.
13448
13449 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13450
13451 * gdb.base/ending-run.exp: Add sh specific case.
13452
13453 2003-10-06 Andrew Cagney <cagney@redhat.com>
13454
13455 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13456 * gdb.disasm/mn10200.exp: Delete obsolete file.
13457
13458 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13459
13460 * ChangeLog: Correct an entry command.exp -> commands.exp.
13461 * gdb.base/commands.exp (bp_deleted_in_command_test)
13462 (temporary_breakpoint_commands): Check noargs.
13463
13464 2003-09-25 David Carlton <carlton@kealia.com>
13465
13466 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13467 of some print tests, where appropriate. Add tests for C::D::cd,
13468 E::ce, F::cXfX, G::XgX.
13469 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13470
13471 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13472
13473 * lib/java.exp (java_init): Import target_alias before using it.
13474
13475 2003-09-25 David Carlton <carlton@kealia.com>
13476
13477 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13478
13479 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13480
13481 * gdb.base/selftest.exp: Accomodate more instruction reordering
13482 weirdness.
13483
13484 2003-09-17 Michael Chastain <mec@shout.net>
13485
13486 * gdb.cp/gdb1355.exp: New file.
13487 * gdb.cp/gdb1355.c: New file.
13488
13489 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13490
13491 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13492 * gdb.asm/sh.inc: New file.
13493
13494 2003-09-11 David Carlton <carlton@kealia.com>
13495
13496 * gdb.cp/namespace.exp: Add tests for namespace types.
13497 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13498 (test_namespace): New.
13499
13500 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13501
13502 * gdb.base/relocate.exp: Handle new gdb output at startup.
13503 * gdb.stabs/weird.exp: Ditto.
13504
13505 2003-09-08 Michael Chastain <mec@shout.net>
13506
13507 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13508
13509 2003-09-07 Michael Chastain <mec@shout.net>
13510
13511 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13512 'parse error'.
13513
13514 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13515
13516 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13517
13518 2003-08-30 Michael Chastain <mec@shout.net>
13519
13520 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13521 * gdb.gdb/observer.exp: Ditto.
13522 * gdb.gdb/xfullpath.exp: Ditto.
13523
13524 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13525
13526 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13527 *-*-*bsd*.
13528
13529 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13530
13531 * gdb.base/dump.exp: Skip for ia64.
13532
13533 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13534
13535 * gdb.asm/asm-source.exp: Add ia64 support.
13536 * gdb.asm/ia64.inc: New file.
13537
13538 2003-08-22 Michael Chastain <mec@shout.net>
13539
13540 * gdb.cp: New directory.
13541 * gdb.cp/*: Copy from gdb.c++/*.
13542 * gdb.c++/*: Remove.
13543 * Makefile.in: Change gdb.c++ to gdb.cp.
13544 * configure.in: Ditto.
13545 * configure: Regnerate.
13546
13547 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13548
13549 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13550 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13551
13552 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13553
13554 * mi-var-display.exp (-var-list-children weird): Accept function
13555 pointers with argument types.
13556 * mi1-var-display.exp (-var-list-children weird): Likewise.
13557 * mi2-var-display.exp (-var-list-children weird): Likewise.
13558
13559 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13560
13561 * gdb.base/annota3.exp: Add missing newline.
13562
13563 2003-08-06 Michael Chastain <mec@shout.net>
13564
13565 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13566
13567 2003-08-12 Michael Snyder <msnyder@redhat.com>
13568
13569 * gdb.base/float.exp: Add test for SH.
13570
13571 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13572
13573 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13574
13575 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13576
13577 * gdb.base/completion.exp: Remove reduntant completion test
13578 on filename.
13579
13580 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13581
13582 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13583 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13584 gdb.trace/save-trace.exp: Make sure that full pathnames are
13585 escaped correctly.
13586
13587 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13588
13589 * configure.in: Don't generate config.h from config.hin.
13590 * configure: Regenerate.
13591 * config.hin: Remove file.
13592 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13593 * gdb.threads/pthreads.c: Ditto.
13594
13595 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13596
13597 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13598 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13599 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13600 Replace ld24 with seth/add3.
13601
13602 2003-08-02 Andrew Cagney <cagney@redhat.com>
13603
13604 * gdb.base/annota3.exp: New file.
13605 * gdb.base/annota3.c: New file.
13606 * gdb.c++/annota3.exp: New file.
13607 * gdb.c++/annota3.cc: New file.
13608
13609 2003-07-29 Michael Chastain <mec@shout.net>
13610
13611 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13612 actually failed.
13613 (do_pass): Likewise.
13614 * gdb.threads/tls.exp: Always initialize no_of_threads.
13615
13616 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13617
13618 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13619 pattern.
13620 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13621 * gdb.threads/tls.exp: Recognize one case of the host library not
13622 supporting TLS.
13623
13624 2003-07-27 Andrew Cagney <cagney@redhat.com>
13625
13626 * gdb.base/fileio.exp: Use SH when running commands using
13627 remote_exec.
13628
13629 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13630
13631 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13632 * gdb.base/relocate.c (dummy): New padding array.
13633
13634 2003-07-22 Michael Snyder <msnyder@redhat.com>
13635
13636 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13637
13638 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13639 patterns to be more general, accepting old and new output.
13640 Some output chars (such as '+') also must be quoted.
13641 Some addresses are displayed numerically instead of
13642 symbolically.
13643
13644 2003-07-23 Michael Snyder <msnyder@redhat.com>
13645
13646 * gdb.base/return2.exp: Don't test long-long return.
13647
13648 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13649 * gdb.disasm/t01_mov.exp: Ditto.
13650 * gdb.disasm/t02_mova.s: Ditto.
13651 * gdb.disasm/t02_mova.exp: Ditto.
13652 * gdb.disasm/t03_add.s: Ditto.
13653 * gdb.disasm/t03_add.exp: Ditto.
13654 * gdb.disasm/t04_sub.s: Ditto.
13655 * gdb.disasm/t04_sub.exp: Ditto.
13656 * gdb.disasm/t05_cmp.s: Ditto.
13657 * gdb.disasm/t05_cmp.exp: Ditto.
13658 * gdb.disasm/t06_ari2.s: Ditto.
13659 * gdb.disasm/t06_ari2.exp: Ditto.
13660 * gdb.disasm/t07_ari3.s: Ditto.
13661 * gdb.disasm/t07_ari3.exp: Ditto.
13662 * gdb.disasm/t08_or.s: Ditto.
13663 * gdb.disasm/t08_or.exp: Ditto.
13664 * gdb.disasm/t09_xor.s: Ditto.
13665 * gdb.disasm/t09_xor.exp: Ditto.
13666 * gdb.disasm/t10_and.s: Ditto.
13667 * gdb.disasm/t10_and.exp: Ditto.
13668 * gdb.disasm/t11_logs.s: Ditto.
13669 * gdb.disasm/t11_logs.exp: Ditto.
13670 * gdb.disasm/t12_bit.s: Ditto.
13671 * gdb.disasm/t12_bit.exp: Ditto.
13672 * gdb.disasm/t13_otr.s: Ditto.
13673 * gdb.disasm/t13_otr.exp: Ditto.
13674
13675 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13676
13677 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13678
13679 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13680
13681 * gdb.threads/tls.c : New file.
13682 * gdb.threads/tls.exp : New file.
13683 * gdb.threads/tls-main.c : New file.
13684 * gdb.threads/tls-shared.c : New file.
13685 * gdb.threads/tls-shared.exp : New file.
13686
13687 2003-07-22 Andreas Schwab <schwab@suse.de>
13688
13689 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13690
13691 2003-07-20 Andreas Schwab <schwab@suse.de>
13692
13693 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13694 due to insn reordering.
13695
13696 2003-07-15 Andrew Cagney <cagney@redhat.com>
13697
13698 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13699
13700 2003-07-15 Michael Chastain <mec@shout.net>
13701
13702 * gdb.base/gdb1250.exp: New file.
13703 * gdb.base/gdb1250.c: New file.
13704
13705 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13706
13707 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13708 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13709
13710 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13711
13712 * gdb.threads/tls.c: New file.
13713 * gdb.threads/tls.exp: New file.
13714 * gdb.threads/tls-main.c: New file.
13715 * gdb.threads/tls-shared.c: New file.
13716 * gdb.threads/tls-shared.exp: New file.
13717
13718 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13719
13720 * gdb.base/annota1.exp: Make sure that we properly escape the
13721 full path of the source file. Xfail more permissive patterns,
13722 due to a compiler debug info problem.
13723
13724 2003-07-07 Andreas Schwab <schwab@suse.de>
13725
13726 * gdb.asm/m68k.inc: New file.
13727 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13728
13729 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13730 arguments"): Also match negative number.
13731
13732 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13733
13734 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13735
13736 * gdb.base/store.c (charest): New typedef.
13737 (add_char): Rename to add_charest, update.
13738 (wack_char): Rename to wack_charest, update types. Return l + r
13739 to keep r live across the call.
13740 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13741 (wack_double, wack_doublest): Return l + r to keep r live across
13742 the call.
13743 * gdb.base/store.exp: Accomodate store.c changes.
13744
13745 2003-06-30 David Carlton <carlton@kealia.com>
13746
13747 * gdb.c++/maint.exp (test_invalid_name): New.
13748 (test_first_component): Add tests for invalid names.
13749
13750 2003-06-29 Michael Chastain <mec@shout.net>
13751
13752 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13753 output of '<VTT for class>' for virtual base classes.
13754
13755 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13756
13757 * gdb.base/completion.exp: Tab-complete "complet" instead of
13758 "compl".
13759 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13760
13761 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13762
13763 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13764 * gdb.base/volatile.exp: Likewise.
13765
13766 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13767
13768 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13769 gdb/1265.
13770
13771 2003-06-28 Michael Chastain <mec@shout.net>
13772 Daniel Jacobowitz <drow@mvista.com>
13773
13774 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13775 initial line count of 'captured_main' from 26 to 32.
13776 (test_with_self): Allow xmalloc call to be interleaved with the
13777 preceding two lines.
13778
13779 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13780
13781 * gdb.base/bang.exp: New testcase.
13782
13783 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13784
13785 * gdb.base/langs.exp: Add some tests for the "minimal" language
13786 support.
13787
13788 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13789
13790 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13791 the testcase.
13792
13793 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13794
13795 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13796 offset.
13797
13798 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13799
13800 * gdb.c++/pr-1210.cc: New file.
13801 * gdb.c++/pr-1210.exp: New file.
13802
13803 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13804
13805 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13806 000-exec-continue.
13807
13808 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13809
13810 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13811 on *-*-*bsd* instead of *-*-freebsd*.
13812
13813 2003-06-14 Andrew Cagney <cagney@redhat.com>
13814
13815 * gdb.base/store.exp: Test longest and doublest. Test all
13816 parameters. Weaken return statement match.
13817 * gdb.base/store.c: Add longest and doublest - aka long long and
13818 long double functions. Put all parameters into local register
13819 variables. Use negative values.
13820
13821 2003-06-14 Andrew Cagney <cagney@redhat.com>
13822
13823 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13824 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13825 exit status.
13826 * gdb.base/fileio.exp: Disable target when nointerrupts and
13827 noinferiorio, instead of limiting it to remote. Use remote_exec
13828 instead of system.
13829
13830 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13831
13832 * gdb.base/float.exp: Add ia64 support.
13833
13834 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13835
13836 * gdb.base/fileio.exp: Run only on remote targets.
13837
13838 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13839
13840 * gdb.base/fileio.c: New file, testing File-I/O.
13841 * gdb.base/fileio.exp: Ditto.
13842
13843 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13844
13845 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13846 shared objects after relocation at load time (gdb PR/1132).
13847 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13848 as above, part of the shared object relocation test.
13849
13850 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13851
13852 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13853 fully filled history list.
13854 * gdb.base/gdb_history: New file.
13855
13856 * gdb.base/signals.exp: XFAIL "continue to func1" on
13857 i*86-*-freebsd*.
13858
13859 * gdb.base/attach.exp: When trying to attach to a nonexistent
13860 process, make it possible to specify the PID based on the target,
13861 and do so for *-*-freebsd*.
13862
13863 2003-06-02 Richard Henderson <rth@redhat.com>
13864
13865 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13866
13867 2003-06-02 Richard Henderson <rth@redhat.com>
13868
13869 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13870
13871 2003-06-02 Richard Henderson <rth@redhat.com>
13872
13873 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13874
13875 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13876
13877 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13878 of globalvar.
13879
13880 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13881
13882 * gdb.asm/asm-source.exp: Check for memory read errors in
13883 disassembler test on *BSD too.
13884
13885 2003-06-01 Richard Henderson <rth@redhat.com>
13886
13887 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13888 for .frame.
13889 (gdbasm_call): Lose ldgp.
13890 (gdbasm_startup): Add frame information.
13891 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13892
13893 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13894
13895 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13896 i?86-*-*.
13897
13898 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13899
13900 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13901 FreeBSD.
13902
13903 2003-05-29 Richard Henderson <rth@redhat.com>
13904
13905 * gdb.asm/alpha.inc: New file.
13906 * gdb.asm/asm-source.exp: Use it.
13907
13908 2003-05-29 Jim Blandy <jimb@redhat.com>
13909
13910 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13911 'core.PID'.
13912
13913 2003-05-22 Jim Blandy <jimb@redhat.com>
13914
13915 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13916 backtrace.
13917
13918 2003-05-20 David Carlton <carlton@math.stanford.edu>
13919
13920 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13921 this time.
13922
13923 2003-05-19 David Carlton <carlton@bactrian.org>
13924
13925 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13926 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13927
13928 2003-05-19 David Carlton <carlton@bactrian.org>
13929
13930 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13931 namespace tests.
13932 Bump copyright date.
13933 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13934 (main): Call C::D::marker2.
13935 * gdb.c++/namespace1.cc: New file.
13936
13937 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13938
13939 Roland McGrath <roland@redhat.com>
13940 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13941 there is no manager thread.
13942
13943 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13944
13945 * gdb.threads/schedlock.exp: Remove assumption that all threads
13946 will run in a particular small time slice. Also ensure we break
13947 in one of the child threads rather than the main thread.
13948
13949 2003-05-07 Jim Blandy <jimb@redhat.com>
13950
13951 Add support for assembly source testing on the s390x.
13952 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13953 architecture.
13954 * gdb.asm/s390x.inc: New file.
13955
13956 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13957 succession of 'if' statements.
13958
13959 2003-05-05 Andrew Cagney <cagney@redhat.com>
13960
13961 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13962
13963 2003-05-05 Andrew Cagney <cagney@redhat.com>
13964
13965 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13966 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13967
13968 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13969
13970 * gdb.base/charset.exp: Update based on new behavior of set/show
13971 charset commands.
13972
13973 2003-05-01 Andrew Cagney <cagney@redhat.com>
13974
13975 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13976 variable do not give memory errors.
13977
13978 2003-04-30 Adam Fedor <fedor@gnu.org>
13979
13980 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13981 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13982 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13983 gdb.objc/basicclass.m: : New files
13984
13985 * lib/gdb.exp (gdb_compile_objc): New procedure.
13986
13987 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13988
13989 * gdb.base/signals.exp: Make backtrace tests more specific.
13990
13991 2003-04-23 David Carlton <carlton@bactrian.org>
13992
13993 * gdb.c++/maint.exp (test_first_component): Add tests for
13994 'operator' in more locations.
13995
13996 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13997
13998 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13999
14000 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14001
14002 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14003 func marke' instead. Update test name.
14004
14005 2003-04-15 David Carlton <carlton@math.stanford.edu>
14006
14007 * gdb.c++/maint.exp: New file.
14008
14009 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14010
14011 * gdb.threads/schedlock.c: Change type of thread function argument
14012 to long, to avoid warnings on 64-bit platforms.
14013
14014 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14015
14016 * gdb.base/attach.exp: Add new message from ptrace in case of
14017 attaching to nonexistent process.
14018
14019 2003-04-11 Jim Blandy <jimb@redhat.com>
14020
14021 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14022 gdb.c++/userdef.cc: Place comments on the lines to which the
14023 marker function might return.
14024 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14025 gdb.c++/userdef.exp: Look for those comments to check that we've
14026 returned to the right place, instead of checking line numbers.
14027
14028 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14029
14030 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14031 match on sourcefile name, instead of directory name.
14032
14033 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14034
14035 * gdb.base/completion.exp: Use string_to_regexp to match the
14036 working directory name.
14037
14038 2003-04-09 Jim Blandy <jimb@redhat.com>
14039
14040 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14041 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14042 after an inferior function call, report the failure, but allow the
14043 test to continue.
14044
14045 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14046
14047 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14048 with -DPROTOTYPES.
14049
14050 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14051
14052 * gdb.base/break.exp: Revert last patch.
14053
14054 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14055
14056 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14057 with -DPROTOTYPES.
14058
14059 2003-04-02 Andrew Cagney <cagney@redhat.com>
14060
14061 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14062 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14063 matching directories by the name breakpoint.
14064 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14065 Make "continue to marker1" consistent.
14066 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14067 message consistent.
14068 * lib/gdb.exp: Put "the program is no longer running", and "the
14069 program exited" in parenthesis.
14070 * lib/mi-support.exp: Ditto.
14071
14072 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14073
14074 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14075
14076 2003-03-29 Andrew Cagney <cagney@redhat.com>
14077
14078 * gdb.base/sizeof.c (main): Print the value of '\377'.
14079 * gdb.base/sizeof.exp: Check the sign of '\377'.
14080
14081 2003-03-27 Michael Chastain <mec@shout.net>
14082
14083 * gdb.base/gdb1090.exp: New file.
14084 * gdb.base/gdb1090.cc: New file.
14085
14086 2003-03-27 J. Brobecker <brobecker@gnat.com>
14087
14088 * gdb.gdb/observer.exp: New regression test.
14089
14090 2003-03-27 Michael Chastain <mec@shout.net>
14091
14092 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14093 * gdb.base/ptype.exp: Likewise.
14094
14095 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14096
14097 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14098
14099 2003-03-26 Michael Chastain <mec@shout.net>
14100
14101 * gdb.base/ptype.exp: Actually use some typedef'd types.
14102
14103 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14104
14105 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14106 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14107
14108 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14109
14110 * gdb.base/default.exp: Fix regular expression.
14111
14112 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14113
14114 * gdb.base/args.exp: Fix regular expression.
14115
14116 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14117
14118 * gdb.base/help.exp: Allow Win32 child process.
14119
14120 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14121
14122 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14123 when stepping out of main().
14124
14125 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14126
14127 * gdb.base/default.exp: Check for win32 specific message when calling
14128 "run" without executable.
14129
14130 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14131
14132 * gdb.base/args.exp: Expect .exe in output.
14133
14134 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14135
14136 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14137 Cygwin native.
14138
14139 2003-03-17 Andrew Cagney <cagney@redhat.com>
14140
14141 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14142 vector registes.
14143 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14144 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14145
14146 2003-03-17 David Carlton <carlton@math.stanford.edu>
14147
14148 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14149 test, for PR breakpoints/38.
14150 Call test_watchpoint_and_breakpoint.
14151 * gdb.base/watchpoint.c (func3): New function.
14152 (main): Call func3.
14153
14154 2003-03-04 David Carlton <carlton@math.stanford.edu>
14155
14156 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14157 Garply<Garply<char> >:: garply".
14158 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14159 with respect to PR c++/1111; note also PR c++/1113.
14160 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14161 respect to PR c++/1062.
14162 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14163
14164 2003-03-03 David Carlton <carlton@math.stanford.edu>
14165
14166 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14167 with respect to PR c++/57.
14168 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14169 c++/826.
14170 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14171 respect to PR c++/57.
14172
14173 2003-03-03 David Carlton <carlton@math.stanford.edu>
14174
14175 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14176 respect to PR c++/33 into FAILs.
14177
14178 2003-03-03 Michael Chastain <mec@shout.net>
14179
14180 * configure.in: Update copyright years.
14181
14182 2003-03-03 Michael Chastain <mec@shout.net>
14183
14184 * Makefile.in: Update copyright years.
14185
14186 2003-02-28 David Carlton <carlton@math.stanford.edu>
14187
14188 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14189 print class instead of struct and/or superfluous protection
14190 specifiers, as long as the resulting output is equivalent to the
14191 source code.
14192 Delete FIXME from end of messages on tests that don't need
14193 fixing.
14194
14195 2003-02-28 David Carlton <carlton@math.stanford.edu>
14196
14197 * gdb.c++/templates.exp (do_tests): Allow const in the two
14198 Foo<volatile char *>::foo tests.
14199
14200 2003-02-27 Michael Snyder <msnyder@redhat.com>
14201
14202 * gdb.base/restore.c (main): Return zero, so exit code
14203 will be consistant.
14204
14205 2003-02-26 David Carlton <carlton@math.stanford.edu>
14206
14207 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14208 char *>::foo" test with respect to PR c++/33. Create a new test
14209 which is identical to that one except that it doesn't put the
14210 space between the "char" and the "*"; KFAIL it, too.
14211
14212 2003-02-26 David Carlton <carlton@math.stanford.edu>
14213
14214 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14215 template types into either PASSes or KFAILs (corresponding to PR
14216 c++/57). Tweak indentation. Update copyright.
14217
14218 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14219
14220 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14221
14222 2003-02-13 Michael Chastain <mec@shout.net>
14223
14224 * gdb.base/exprs.exp: Remove i960 remnants.
14225 * gdb.base/funcargs.exp: Likewise.
14226 * gdb.base/list.exp: Likewise.
14227 * gdb.base/ptype.exp: Likewise.
14228
14229 2003-02-14 David Carlton <carlton@math.stanford.edu>
14230
14231 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14232 pEe->D::vg()" from XFAIL to KFAIL.
14233
14234 2003-02-13 Jason Molenda (jmolenda@apple.com)
14235
14236 * gdb.base/maint.exp: Update maint print statistics regexp to include
14237 new entries.
14238
14239 2003-02-13 Michael Chastain <mec@shout.net>
14240
14241 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14242
14243 2003-02-12 Michael Chastain <mec@shout.net>
14244
14245 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14246 * gdb.c++/inherit.exp: Likewise.
14247 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14248 * gdb.c++/templates.exp: Likewise.
14249 * gdb.c++/virtfunc.exp: Likewise.
14250
14251 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14252
14253 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14254 why the code is written that way.
14255
14256 2003-02-05 Michael Chastain <mec@shout.net>
14257
14258 * gdb.base/dump.exp: Add missing copyright line.
14259
14260 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14261
14262 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14263 at the beginning so the breakpoint doesn't get set on the loop.
14264
14265 2003-02-05 Michael Chastain <mec@shout.net>
14266
14267 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14268 output for configurations with gcc 2.95.3.
14269
14270 2003-02-05 Keith Seitz <keiths@redhat.com>
14271 Andrew Cagney <ac131313@redhat.com>
14272
14273 * gdb.mi/mi-cli.exp: New file.
14274
14275 2003-02-04 Michael Chastain <mec@shout.net>
14276
14277 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14278 Call perror and then continue.
14279
14280 2003-02-03 Michael Chastain <mec@shout.net>
14281
14282 * gdb.c++/pr-1023.cc: New file.
14283 * gdb.c++/pr-1023.exp: New file.
14284
14285 2003-02-05 Jim Blandy <jimb@redhat.com>
14286
14287 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14288 it's local to foobar. Check for it there, and check that it's not
14289 present in main.
14290 * gdb.c++/local.cc (marker2): New function.
14291 (foobar): Call marker1.
14292 (main): Call marker2 instead of marker1.
14293
14294 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14295
14296 * gdb.disasm/mn10200.exp: Obsolete file.
14297 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14298 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14299 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14300
14301 2003-02-04 David Carlton <carlton@math.stanford.edu>
14302
14303 * gdb.c++/overload.exp: Test intToChar(1).
14304 * gdb.c++/overload.cc (intToChar): New.
14305 (main): Call intToChar.
14306
14307 2003-02-03 David Carlton <carlton@math.stanford.edu>
14308
14309 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14310 'might_kfail' arg.
14311 KFAIL some of the continue_to_bp_overloaded calls, according to
14312 PR c++/1025.
14313
14314 2003-02-01 Michael Chastain <mec@shout.net>
14315
14316 * gdb.base/advance.c (marker1): New marker function.
14317 * gdb.base/advance.exp: When the 'advance' command lands on the
14318 return breakpoint, it can legitimately stop on either the
14319 current line or the next line. Accommodate both outcomes.
14320 * gdb.base/until.exp: Likewise.
14321
14322 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14323
14324 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14325 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14326 now a list, not a tuple.
14327 * gdb.mi/mi-var-display.exp: Ditto.
14328 * gdb.mi/gdb792.exp: Ditto.
14329
14330 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14331
14332 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14333 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14334 stack backtraces.
14335 * gdb.mi/mi-syn-frame.c: Part of same.
14336
14337 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14338
14339 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14340 gdb.mi/mi1-pthreads.exp: Return instead of calling
14341 gdb_suppress_entire_file.
14342
14343 2003-02-01 Mark Salter <msalter@redhat.com>
14344
14345 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14346
14347 2003-01-31 Mark Salter <msalter@redhat.com>
14348
14349 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14350 Support empty arg.
14351
14352 2003-01-30 Michael Chastain <mec@shout.net>
14353
14354 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14355 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14356 has been fixed in gdb/readline on 2003-01-09.
14357
14358 2003-01-29 Michael Snyder <msnyder@redhat.com>
14359
14360 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14361 * gdb.base/display.exp: Allow for leading underscore in symbol.
14362 * gdb.base/args.exp: Skip if target does not support args passing.
14363
14364 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14365
14366 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14367 gdb_test. Accept a list of expect arguments as the third
14368 parameter.
14369 (gdb_test): Use it.
14370
14371 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14372
14373 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14374 allow for different test tree configurations. Update some
14375 tescases accordingly.
14376 * gdb.arch/altivec-regs.exp: Ditto.
14377 * gdb.asm/asm-source.exp: Ditto.
14378 * gdb.base/advance.exp: Ditto.
14379 * gdb.base/display.exp: Ditto.
14380 * gdb.base/long_long.exp: Ditto.
14381 * gdb.base/mips_pro.exp: Ditto.
14382 * gdb.base/overlays.exp: Ditto.
14383 * gdb.base/relocate.exp: Ditto.
14384 * gdb.base/setshow.exp: Ditto.
14385 * gdb.base/step-line.exp: Ditto.
14386 * gdb.base/step-test.exp: Ditto.
14387 * gdb.base/until.exp: Ditto.
14388 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14389
14390 2003-01-17 David Carlton <carlton@math.stanford.edu>
14391
14392 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14393 corresponding to PR c++/945.
14394 Update copyright.
14395
14396 2003-01-17 David Carlton <carlton@math.stanford.edu>
14397
14398 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14399 corresponding to PR c++/68.
14400
14401 2003-01-17 David Carlton <carlton@math.stanford.edu>
14402
14403 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14404 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14405 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14406
14407 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14408
14409 * gdb.base/break.exp: Fix change of default location, because of
14410 removal of until tests.
14411 * gdb.base/help.exp: Update test for new 'until' help message.
14412 Add test for help on 'advance'.
14413 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14414
14415 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14416
14417 * gdb.base/default.exp: Adapt "info float" test for recent changes
14418 to that command. Add test for "info vector".
14419 * gdb.base/float.exp: New file. Add test for "info float" that
14420 resembles the old test in gdb.base/default.exp.
14421
14422 2003-01-15 David Carlton <carlton@math.stanford.edu>
14423
14424 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14425
14426 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14427
14428 * gdb.base/break.exp: Move the tests of until command from here...
14429 * gdb.base/until.exp: ... to here. New file. Add other tests.
14430 * gdb.base/advance.c: New file.
14431 * gdb.base/advance.exp: New file.
14432
14433 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14434
14435 * gdb.base/args.c: New file.
14436 * gdb.base/args.exp: New file.
14437
14438 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14439
14440 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14441
14442 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14443
14444 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14445
14446 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14447
14448 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14449 dates.
14450
14451 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14452
14453 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14454
14455 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14456
14457 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14458 (ptype &*"foo").
14459 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14460
14461 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14462
14463 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14464 * gdb.mi/mi1-console.exp: Likewise.
14465
14466 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14467
14468 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14469 * gdb.mi/mi1-console.exp: Likewise.
14470
14471 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14472
14473 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14474
14475 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14476
14477 * gdb.base/detach.exp: New test.
14478
14479 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14480
14481 * Makefile.in (ALL_SUBDIRS): New variable.
14482 (subdirs, clean, distclean): Use it.
14483 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14484 regenerating Makefile, since it is generated from the top level.
14485 * gdb.asm/Makefile.in: Likewise.
14486 * gdb.base/Makefile.in: Likewise.
14487 * gdb.c++/Makefile.in: Likewise.
14488 * gdb.disasm/Makefile.in: Likewise.
14489 * gdb.java/Makefile.in: Likewise.
14490 * gdb.mi/Makefile.in: Likewise.
14491 * gdb.threads/Makefile.in: Likewise.
14492 * gdb.trace/Makefile.in: Likewise.
14493
14494 2003-01-09 David Carlton <carlton@math.stanford.edu>
14495
14496 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14497 Add copyright year 2003.
14498
14499 2003-01-06 Michael Chastain <mec@shout.net>
14500
14501 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14502 When selecting a thread, 'line' and 'file' are optional.
14503 * gdb.mi/mi1-pthreads.exp: Likewise.
14504
14505 2003-01-06 Andreas Schwab <schwab@suse.de>
14506
14507 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14508 failures.
14509
14510 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14511
14512 Fix PR gdb/844
14513 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14514 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14515
14516 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14517 instead of calling gdb_suppress_entire_file.
14518 * gdb.threads/print-threads.exp: Likewise.
14519 * gdb.threads/schedlock.exp: Likewise.
14520
14521 * gdb.threads/killed.exp: Return instead of calling
14522 gdb_suppress_entire_file.
14523 * gdb.threads/linux-dp.exp: Likewise.
14524 * gdb.threads/pthreads.exp: Likewise.
14525
14526 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14527
14528 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14529 stabs.
14530 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14531 * gdb.base/whatis.exp: Always allow (void) after function names.
14532
14533 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14534
14535 * gdb.c++/casts.exp: Correct regexp.
14536
14537 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14538
14539 * configure.in: Call AC_CONFIG_HEADER. Don't call
14540 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14541 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14542 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14543 aforementioned directories in the AC_OUPUT call.
14544 * config.hin: New file.
14545 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14546 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14547 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14548 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14549 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14550 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14551 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14552 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14553 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14554 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14555 gdb.threads/configure.in, gdb.threads/configure,
14556 gdb.threads/config.in, gdb.trace/configure.in,
14557 gdb.trace/configure: Removed.
14558
14559 2003-01-03 Michael Chastain <mec@shout.net>
14560
14561 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14562 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14563
14564 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14565
14566 * gdb.base/store.exp: Fix regular expressions.
14567
14568 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14569
14570 * configure.in: Rewrite.
14571 * configure: Regenerated.
14572
14573 2003-01-03 David Carlton <carlton@math.stanford.edu>
14574
14575 * gdb.base/psymtab.exp: New file.
14576 * gdb.base/psymtab1.c: Ditto.
14577 * gdb.base/psymtab2.c: Ditto.
14578
14579 2002-12-23 Adam Fedor <fedor@gnu.org>
14580
14581 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14582
14583 2002-12-23 David Carlton <carlton@math.stanford.edu>
14584
14585 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14586 and current_directory initialization.
14587
14588 2002-12-22 Jim Blandy <jimb@redhat.com>
14589
14590 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14591 rather than as part of the output file name.
14592
14593 * gdb.base/attach.exp: There's no need to copy the test program to
14594 /tmp; that was only ever necessary on HP/UX, and this test is
14595 entirely disabled there anyway.
14596
14597 2002-12-21 Jim Blandy <jimb@redhat.com>
14598
14599 * gdb.c++/psmang.exp: Doc fix.
14600
14601 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14602 test.
14603
14604 2002-12-20 David Carlton <carlton@math.stanford.edu>
14605
14606 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14607
14608 2002-12-18 Michael Chastain <mec@shout.net>
14609
14610 * gdb.c++/annota2.exp: Add copyright year 2002.
14611
14612 2002-12-17 David Carlton <carlton@math.stanford.edu>
14613
14614 * gdb.c++/try_catch.cc: Add marker comments.
14615 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14616 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14617 * gdb.c++/m-static.cc: Ditto.
14618 * gdb.c++/m-static1.cc: Ditto.
14619 * gdb.c++/try_catch.cc: Ditto.
14620
14621 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14622
14623 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14624 to see whether we are using the new -environment-directory
14625 command which resets via -r or the old version of the command
14626 which may prompt the user. Part of fix for gdb/741.
14627
14628 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14629
14630 * gdb.fortran/types.exp: Update obsolete comment.
14631 * gdb.fortran/exprs.exp: Ditto.
14632 * lib/gdb.exp: Delete obsolete code.
14633 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14634 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14635 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14636 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14637 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14638 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14639 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14640 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14641 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14642 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14643 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14644 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14645 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14646 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14647 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14648 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14649 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14650 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14651 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14652 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14653 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14654 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14655 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14656 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14657 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14658 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14659 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14660 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14661 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14662 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14663 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14664 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14665 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14666 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14667 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14668 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14669 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14670
14671 2002-12-11 David Carlton <carlton@math.stanford.edu>
14672
14673 * gdb.c++/m-data.exp: Add test for members that shadow global
14674 variables: see PR gdb/804.
14675 * gdb.c++/m-data.cc: Ditto.
14676
14677 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14678
14679 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14680
14681 2002-12-06 David Carlton <carlton@math.stanford.edu>
14682
14683 * gdb.base/store.c: Don't declare functions static.
14684
14685 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14686
14687 * gdb.base/store.exp, gdb.base/store.c: New files.
14688
14689 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14690
14691 * gdb.base/selftest.exp: Update for current gdb.
14692
14693 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14694
14695 * gdb.base/maint.exp: Only dump symbols from one source file
14696 or objfile.
14697
14698 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14699
14700 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14701 function call.
14702
14703 2002-11-25 Jim Blandy <jimb@redhat.com>
14704
14705 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14706 function appearing in error message.
14707
14708 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14709
14710 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14711
14712 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14713
14714 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14715 for mi1 and current mi is in correct format. New mi startup message
14716 should be in mi console format. This is part of fix for PR gdb/604.
14717
14718 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14719
14720 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14721 which explicitly prints the zero offset as "+0".
14722
14723 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14724
14725 * gdb.threads/schedlock.c (args): Make unsigned.
14726
14727 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14728
14729 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14730 numbers. Allow "foo2|selected stack frame".
14731 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14732 * gdb.asm/asmsrc2.s: Likewise.
14733 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14734 comments.
14735 * gdb.asm/mips.inc: New file.
14736
14737 2002-10-18 Adam Fedor <fedor@gnu.org>
14738
14739 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14740 * gdb.base/help.exp: Likewise.
14741
14742 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14743
14744 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14745 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14746
14747 2002-10-02 Jim Blandy <jimb@redhat.com>
14748
14749 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14750
14751 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14752
14753 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14754 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14755 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14756 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14757 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14758 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14759 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14760
14761 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14762
14763 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14764 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14765 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14766 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14767 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14768 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14769 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14770
14771 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14772
14773 * gdb.base/annota1.exp (info break): Make directory components of
14774 path optional since not all compilers emit this debug information.
14775
14776 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14777 step ends up stepping out of the function instead of stopping on
14778 the epilogue.
14779
14780 2002-09-26 Keith Seitz <keiths@redhat.com>
14781
14782 * lib/insight-support.exp (gdbtk_start): Figure out where
14783 the insight executable is based on where gdb is. Use this
14784 executable to start insight instead of gdb.
14785
14786 2002-09-25 Andrew Cagney <cagney@redhat.com>
14787
14788 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14789
14790 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14791
14792 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14793 test_isolated_complaints.
14794 (test_empty_complaint): New function.
14795 (test_empty_complaints): New function. Check no output when no
14796 complaints.
14797
14798 2002-09-19 Jim Blandy <jimb@redhat.com>
14799
14800 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14801
14802 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14803
14804 * gdb.gdb/complaints.exp: New file.
14805
14806 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14807
14808 * gdb.base/maint.exp: Check `help maint internal-warning'.
14809
14810 2002-09-18 David Carlton <carlton@math.stanford.edu>
14811
14812 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14813 numbers, and replace them by a single breakpoint after the
14814 constructors are all finished.
14815 Add test 4.
14816 * gdb.c++/m-static.cc: Add test 4.
14817 * gdb.c++/m-static.h: New file.
14818 * gdb.c++/m-static1.cc: New file.
14819
14820 * gdb.c++/printmethod.exp: New file.
14821 * gdb.c++/printmethod.cc: New file.
14822
14823 * gdb.c++/pr-574.exp: New file.
14824 * gdb.c++/pr-574.cc: New file.
14825
14826 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14827
14828 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14829 embedded targets which never actually exit.
14830
14831 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14832
14833 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14834 "don't step after run" as unresolved or unsupported, instead of xfail.
14835
14836 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14837
14838 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14839 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14840 Add newline to expected string in "step out of main (status wrapper)"
14841 case.
14842
14843 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14844
14845 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14846 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14847
14848 2002-09-17 Tom Tromey <tromey@redhat.com>
14849
14850 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14851 \000, not \0, in double-quoted string.
14852
14853 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14854
14855 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14856 string after running the commands execution on breakpoint tests.
14857
14858 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14859
14860 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14861
14862 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14863
14864 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14865
14866 2002-09-10 Keith Seitz <keiths@redhat.com>
14867
14868 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14869 runto proc.
14870 (mi_run_to_main): Use mi_runto.
14871 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14872
14873 2002-09-10 Keith Seitz <keiths@redhat.com>
14874
14875 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14876 regexp for stopping at main. Could have multiple event notifications.
14877 Don't assume that main was declared with no parameters.
14878 (mi_next): Use mi_step_to.
14879 (mi_step): Use mi_next_to.
14880
14881 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14882
14883 * gdb.base/default.exp: Fix expected string in `info float' test.
14884
14885 2002-09-09 Ben Elliston <bje@redhat.com>
14886
14887 * config/mips.exp: Update comments.
14888 * config/mips-idt.exp: Likewise.
14889 * config/nind.exp: Likewise.
14890 * config/slite.exp: Likewise.
14891 * config/sparclet.exp: Likewise.
14892 * config/udi.exp: Likewise.
14893 * config/vx.exp: Likewise.
14894 * config/vxworks29k.exp: Likewise.
14895
14896 2002-09-05 Jim Blandy <jimb@redhat.com>
14897
14898 * gdb.threads/killed.exp: Fix test failure message.
14899
14900 2002-09-04 Keith Seitz <keiths@redhat.com>
14901
14902 * lib/mi-support.exp: Update copyright.
14903 (mi_gdb_test): Increase the priority of the expected pattern
14904 so that it matches gdb_test.
14905
14906 2002-09-03 Keith Seitz <keiths@redhat.com>
14907
14908 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14909 Use integer comparison instead of string comparison for testing
14910 whether binary was built.
14911
14912 2002-09-03 Jim Blandy <jimb@redhat.com>
14913
14914 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14915
14916 2002-08-29 Jim Blandy <jimb@redhat.com>
14917
14918 * gdb.threads/pthreads.exp: Move the portable thread compilation
14919 code into a function in lib/gdb.exp, and call that from here.
14920 * lib/gdb.exp (gdb_compile_pthreads): New function.
14921
14922 2002-08-29 Keith Seitz <keiths@redhat.com>
14923
14924 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14925 expect_out so that callers can get at it.
14926
14927 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14928
14929 * gdb.threads/print-threads.c: New file.
14930 * gdb.threads/print-threads.exp: New file.
14931 * gdb.threads/schedlock.c: New file.
14932 * gdb.threads/schedlock.exp: New file.
14933
14934 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14935
14936 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14937 not altivec.c.
14938
14939 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14940
14941 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14942 targets. The problem should be fixed now.
14943
14944 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14945
14946 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14947 2002-07-24 change that removes final dots from error messages.
14948
14949 2002-08-13 Tom Tromey <tromey@redhat.com>
14950
14951 * gdb.base/readline.exp: New file.
14952
14953 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14954
14955 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14956 supress message.
14957
14958 2002-08-01 Andrew Cagney <cagney@redhat.com>
14959
14960 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14961 CHILL_FOR_TARGET and CHILL_LIB.
14962 * configure.in (configdirs): Remove gdb.chill.
14963 * configure: Regenerate.
14964 * lib/gdb.exp: Obsolete references to chill.
14965 * gdb.fortran/types.exp: Ditto.
14966 * gdb.fortran/exprs.exp: Ditto.
14967
14968 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14969
14970 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14971 set Irix-specific compile and link flags.
14972
14973 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14974
14975 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14976 source files. The ``-o'' option doesn't work with the ``-E'' option
14977 when using the Irix compiler.
14978
14979 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14980
14981 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14982 Improve support for reusing an exec file. Copy exec file
14983 to target, and run gdbserver on the target instead of on the host.
14984
14985 2002-07-18 Jim Blandy <jimb@redhat.com>
14986
14987 * gdb.base/ending-run.exp: Don't expect to see the program end in
14988 some orderly fashion when we're running on a real stand-alone
14989 board.
14990
14991 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14992 targets that don't support interrupts.
14993
14994 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14995
14996 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14997 systems.
14998 Move comments in expect statements to inside the actions, so that they
14999 don't get matched against.
15000
15001 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15002
15003 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15004 function when asleep" test.
15005
15006 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15007
15008 * gdb.base/page.exp: Rewrite to handle problems with very long
15009 `info set' output. Update copyright.
15010
15011 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15012
15013 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15014 gdb.threads-hp.
15015 * gdb.hp/configure: Regenerate.
15016 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15017 * gdb.hp/gdb.threads-hp/configure: Delete file.
15018 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15019
15020 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15021
15022 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15023 setlocale, bindtextdomain and textdomain.
15024
15025 2002-06-11 Jim Blandy <jimb@redhat.com>
15026
15027 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15028 preprocessor macro information is present.
15029
15030 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15031 tests.
15032
15033 2002-06-06 Michael Snyder <msnyder@redhat.com>
15034
15035 * gdb.base/overlays.exp: Record addresses of overlay
15036 functions in TCL variables rather than in GDB variables,
15037 to avoid having GDB convert them to pointers (with loss
15038 of information).
15039
15040 * gdb.base/d10v.ld: Merge in several years worth of
15041 default linker script changes.
15042 * gdb.base/long_long.exp: Add check for sizeof (long double).
15043
15044 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15045
15046 * gdb.asm/asm-source.exp: Add x86-64 target.
15047 * gdb.asm/x86_64.inc: New.
15048
15049 2002-05-30 Michael Chastain <mec@shout.net>
15050
15051 From Benjamin Kosnik <bkoz@redhat.com>:
15052 * gdb.c++/m-static.cc: New file.
15053 * gdb.c++/m-static.exp: New file.
15054
15055 2002-05-28 Michael Snyder <msnyder@redhat.com>
15056
15057 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15058 precision.
15059
15060 2002-05-27 Michael Chastain <mec@shout.net>
15061
15062 From Benjamin Kosnik <bkoz@redhat.com>:
15063 * gdb.c++/m-data.cc: New file.
15064 * gdb.c++/m-data.exp: New file.
15065
15066 2002-05-27 Michael Chastain <mec@shout.net>
15067
15068 From Benjamin Kosnik <bkoz@redhat.com>:
15069 * gdb.c++/try_catch.cc: New file.
15070 * gdb.c++/try_catch.exp: New file.
15071
15072 2002-05-27 Michael Chastain <mec@shout.net>
15073
15074 * gdb.c++/local.exp: Accept more nested types in output.
15075
15076 2002-05-26 Michael Chastain <mec@shout.net>
15077
15078 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15079
15080 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15081
15082 * lib/gdb.exp (gdb_wrapper_init): Just because
15083 gdb_wrapper_file exists, this does not mean that the file
15084 should not be rebuilt. That is what gdb_wrapper_initialized
15085 is for.
15086 (default_gdb_init): Reset gdb_wrapper_initialized.
15087
15088 2002-05-23 Michael Snyder <msnyder@redhat.com>
15089
15090 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15091 the precision of the floating point test results.
15092 * gdb.base/call-rt-st.exp: Ditto.
15093
15094 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15095 * gdb.base/call-rt-st.exp: Ditto.
15096
15097 2002-05-19 Michael Chastain <mec@shout.net>
15098
15099 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15100
15101 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15102
15103 * configure.in (configdirs): Add gdb.arch.
15104 * configure: Regenerate.
15105
15106 2002-05-17 Jim Blandy <jimb@redhat.com>
15107
15108 * gdb.base/completion.exp: Recognize the more detailed error
15109 messages produced by the macro expander's lexical analyzer.
15110
15111 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15112
15113 * gdb.arch/altivec-abi.c: New file.
15114 * gdb.arch/altivec-abi.exp: New file.
15115 * gdb.arch/altivec-regs.c: New file.
15116 * gdb.arch/altivec-regs.exp: New file.
15117
15118 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15119
15120 * gdb.base/maint.exp (maint print type): Update for new type
15121 structure.
15122
15123 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15124
15125 * gdb.arch: New directory.
15126 * gdb.arch/configure.in: New file.
15127 * gdb.arch/configure: New file.
15128 * gdb.arch/Makefile.in: New file.
15129
15130 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15131
15132 * gdb.asm/asm-source.exp: Add v850 as supported target.
15133 * gdb.asm/v850.inc: New file.
15134
15135 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15136
15137 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15138
15139 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15140
15141 * gdb.base/break.exp: Check 'break "marker2"'.
15142
15143 2002-05-10 Michael Snyder <msnyder@redhat.com>
15144
15145 * gdb.base/long_long.exp: Fix typo.
15146
15147 2002-05-10 Jim Blandy <jimb@redhat.com>
15148
15149 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15150 a bug.
15151
15152 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15153 Recognize more detailed error message produced by the macro
15154 expander's lexical analyzer.
15155 * lib/gdb.exp (test_print_reject): Same.
15156
15157 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15158
15159 * gdb.c++/method.exp: Fix typo.
15160
15161 2002-05-08 Michael Snyder <msnyder@redhat.com>
15162
15163 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15164 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15165 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15166 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15167 Add iftarget clause for strongarm.
15168
15169 2002-05-06 Michael Snyder <msnyder@redhat.com>
15170
15171 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15172 (gdb_continue_to_end): Accept output from status wrapper.
15173 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15174 Clean up fail messages to match pass messages.
15175
15176 Enable the "needs_status_wrapper" testsuite feature.
15177 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15178 (gdb_compile): Conditionally call gdb_wrapper_init.
15179 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15180 * gdb.c++/method.exp: Recognize output from status wrapper.
15181
15182 2002-05-06 Ben Elliston <bje@redhat.com>
15183 From Graydon Hoare <graydon@redhat.com>
15184
15185 * config/sid.exp: Include support for "rawsid" protocol.
15186
15187 2002-05-03 Jim Blandy <jimb@redhat.com>
15188
15189 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15190 * gdb.c++/hang3.C: New file.
15191
15192 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15193
15194 * gdb.base/default.exp: Remove obsolete code.
15195 * gdb.c++/misc.exp: Ditto. Update copyright.
15196 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15197 * gdb.base/whatis.exp: Ditto. Update copyright.
15198 * gdb.base/scope.exp: Ditto. Update copyright.
15199 * gdb.base/ptype.exp: Ditto. Update copyright.
15200 * gdb.base/printcmds.exp: Ditto. Update copyright.
15201 * gdb.base/opaque.exp: Ditto. Update copyright.
15202 * gdb.base/list.exp: Ditto.
15203 * gdb.base/funcargs.exp: Ditto. Update copyright.
15204 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15205 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15206 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15207 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15208 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15209 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15210
15211 2002-05-02 Michael Snyder <msnyder@redhat.com>
15212
15213 * gdb.base/watchpoint.exp: Add xscale target.
15214 * gdb.base/long_long.exp: Add xscale target.
15215 * gdb.base/default.exp: Add xscale target.
15216
15217 2002-05-01 Jim Blandy <jimb@redhat.com>
15218
15219 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15220 gdb.c++/hang.exp: New test.
15221
15222 2002-05-01 Fred Fish <fnf@redhat.com>
15223
15224 * gdb.base/completion.exp: Handle completions of "./Make" for
15225 more than one completion possibility, as is the case when we
15226 build and test in the source tree.
15227
15228 2002-04-29 Anthony Green <green@redhat.com>
15229
15230 * gdb.java/jmisc1.exp: New file.
15231 * gdb.java/jmisc2.exp: New file.
15232
15233 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15234
15235 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15236
15237 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15238
15239 * gdb.base/help.exp: Change 'help status' to allow for target
15240 dependent output differences.
15241
15242 2002-04-22 Michael Chastain <mec@shout.net>
15243
15244 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15245
15246 2002-04-22 Michael Chastain <mec@shout.net>
15247
15248 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15249
15250 2002-04-17 David S. Miller <davem@redhat.com>
15251
15252 * gdb.asm/sparc64.inc: New file.
15253 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15254
15255 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15256
15257 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15258 instruction file directly into the build tree. Clean up at end of
15259 test.
15260
15261 2002-04-18 David S. Miller <davem@redhat.com>
15262
15263 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15264 handle 64-bit platforms correctly.
15265 * gdb.base/maint.exp: Likewise.
15266
15267 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15268
15269 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15270 ``-fpic'' when compiling files comprising a shared library, but
15271 it does need additional linker flags in order to find shared
15272 libraries at run time.
15273
15274 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15275
15276 * gdb.base/cvexpr.c (use): New function.
15277 (main): Invoke use() on all global variables to prevent
15278 some linkers from deleting these otherwise unused symbols.
15279
15280 2002-04-17 Michael Chastain <mec@shout.net>
15281 From David S. Miller <davem@redhat.com>
15282
15283 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15284 handle 64-bit platforms correctly.
15285
15286 2002-04-12 Michael Snyder <msnyder@redhat.com>
15287 From Jim Blandy <jimb@redhat.com>
15288 * gdb.base/foo.c (foox): Remove section attribute; the linker
15289 script can handle this instead.
15290 * gdb.base/bar.c (barx): Same.
15291 * gdb.base/baz.c (bazx): Same.
15292 * gdb.base/grbx.c (grbxx): Same.
15293
15294 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15295 manager doesn't automatically unmap overlays unnecessarily.
15296
15297 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15298
15299 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15300 stepping out of main.
15301
15302 2002-04-09 Michael Chastain <mec@shout.net>
15303
15304 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15305 scope so that the nested scope tests will make sense.
15306 * gdb.c++/local.exp: Write patterns that actually work with gcc
15307 (the HP patterns "were never known to work with gcc").
15308 Keep the old aCC patterns too.
15309
15310 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15311
15312 * gdb.base/attach.exp: Correct target board test.
15313
15314 2002-04-08 Michael Chastain <mec@shout.net>
15315
15316 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15317 in a const method. Add some xfail and fail cases for configurations
15318 that do not emit the "const ...".
15319
15320 2002-04-07 Michael Chastain <mec@shout.net>
15321
15322 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15323 Accept "A * const" and "const A * const" as type of "this".
15324 Fix spelling of getFunky throughout. Make messages uniform.
15325
15326 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15327
15328 Work around for PR gdb/285:
15329 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15330
15331 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15332
15333 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15334 instructions file at run time instead of configure time.
15335 Sometimes we run the test in a directory that is not the one we
15336 configured in.
15337 * gdb.asm/configure.in: Delete creation of symlink.
15338 * gdb.asm/configure: Regenerate.
15339
15340 2002-04-05 J. Brobecker <brobecker@gnat.com>
15341
15342 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15343 xfullpath () function.
15344
15345 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15346
15347 * gdb.asm/Makefile.in: Correct dependencies.
15348
15349 * gdb.asm/powerpc.inc: New file.
15350 * gdb.asm/asm-source.exp: Add PowerPC.
15351 * gdb.asm/configure.in: Likewise.
15352 * gdb.asm/configure: Regenerated.
15353
15354 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15355
15356 * gdb.base/relocate.exp: New file.
15357 * gdb.base/relocate.c: New file.
15358
15359 2002-04-04 Fred Fish <fnf@redhat.com>
15360
15361 * gdb.base/step-test.exp: Update comment regarding stopping in
15362 memcpy/bcopy calls inserted as part of the compiler runtime.
15363
15364 2002-04-04 Michael Snyder <msnyder@redhat.com>
15365
15366 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15367
15368 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15369
15370 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15371 (gdb_expect): Remove $notransfer hack.
15372
15373 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15374
15375 * gdb.c++/classes.exp ("calling method for small class"): Match
15376 updated register output.
15377
15378 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15379
15380 Fix PR gdb/452
15381 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15382 when finished. Make gdb_file_cmd send "exec-file" when
15383 appropriate.
15384
15385 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15386
15387 * gdb.base/attach.exp: Remove extra setup_xfail.
15388
15389 2002-03-26 Michael Snyder <msnyder@redhat.com>
15390
15391 * gdb.base/default.exp: Add tests for dump, append, and restore.
15392 * gdb.base/help.exp: Add tests for dump, append, and restore.
15393 * gdb.base/dump.exp: New file, test dump, append and restore.
15394 * gdb.base/dump.c: New file.
15395
15396 2002-03-27 Michael Snyder <msnyder@redhat.com>
15397
15398 * gdb.base/help.exp: Modify expect strings to reflect
15399 clean-ups in help messages.
15400
15401 2002-03-26 Fred Fish <fnf@redhat.com>
15402
15403 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15404 have debugging info for those functions and the compiler uses them
15405 internally to copy structs around.
15406
15407 2002-03-26 Fred Fish <fnf@redhat.com>
15408
15409 * gdb.base/list.exp: Revert the change made yesterday and add note
15410 about why we don't list the default lines for remote targets.
15411
15412 2002-03-25 Michael Snyder <msnyder@redhat.com>
15413
15414 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15415
15416 2002-03-25 Fred Fish <fnf@redhat.com>
15417
15418 * gdb.base/list.exp: This test works on remote targets so remove
15419 the short circuit for remote targets. Update copyright.
15420
15421 2002-03-25 Fred Fish <fnf@redhat.com>
15422
15423 * gdb.base/attach.exp: Fix logic error that was suppressing this
15424 test for all non hppa*-*-hpux* targets, instead of the hp target.
15425 Move comments closer to the suppression point. Also now need to
15426 check that we are running natively.
15427
15428 2002-03-22 Michael Snyder <msnyder@redhat.com>
15429
15430 * gdb.base/default.exp: Add test for gcore. Update copyright.
15431 * gdb.base/help.exp: Add test for gcore. Update copyright.
15432
15433 2002-03-06 Fred Fish <fnf@redhat.com>
15434
15435 * gdb.base/funcargs.c: Remove extraneous ';' character.
15436 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15437
15438 2002-03-04 Michael Chastain <mec@shout.net>
15439
15440 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15441 accommodate gcc v3 function signature.
15442 * gdb.mi/mi0-var-cmd-exp: Ditto.
15443
15444 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15445
15446 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15447 ``GNU/Linux'' or ``Linux kernel''
15448 * testsuite/gdb.threads/pthreads.c: Ditto.
15449
15450 2002-02-24 Michael Chastain <mec@shout.net>
15451
15452 * gdb.threads/pthreads.c (thread1): Add a return statement.
15453 (thread2): Likewise.
15454 (foo): Likewise.
15455
15456 2002-02-23 Michael Chastain <mec@shout.net>
15457
15458 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15459 to placate gcc.
15460
15461 2002-02-23 Michael Chastain <mec@shout.net>
15462
15463 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15464 test "ptype bint". The test passes on all my stabs configurations.
15465
15466 2002-02-21 Jim Blandy <jimb@redhat.com>
15467
15468 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15469 filename at a time, and watch for the ones we want to see.
15470
15471 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15472 types of pointers to prototyped functions.
15473
15474 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15475
15476 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15477 signed, unsigned and straight char.
15478 (padding_char, padding_short, padding_int, padding_long,
15479 padding_long_long, padding_float, padding_double,
15480 padding_long_double): New global variables.
15481 (fill, fill_structs): New functions.
15482
15483 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15484 for correctly sized writes. Update copyright.
15485 (get_valueof): New procedure.
15486 (get_sizeof): Call get_valueof.
15487 (check_valueof): New procedure.
15488 (check_padding): New procedure.
15489
15490 2002-02-20 Michael Chastain <mec@shout.net>
15491
15492 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15493 to setup_xfail. Document some of the remaining calls.
15494
15495 2002-02-18 Michael Chastain <mec@shout.net>
15496
15497 * gdb.c++/userdef.exp: Update copyright year.
15498
15499 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15500
15501 * gdb.c++/userdef.exp: Test overloaded operators properly.
15502 Remove xfails.
15503
15504 2002-02-14 Michael Snyder <msnyder@redhat.com>
15505
15506 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15507
15508 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15509
15510 * gdb.base/a2-run.exp: Check for a remote target properly.
15511 * gdb.base/annota1.exp: Likewise.
15512 * gdb.base/list.exp: Likewise.
15513 * gdb.base/reread.exp: Likewise.
15514 * gdb.base/scope.exp: Likewise.
15515 * gdb.base/shlib-call.exp: Likewise.
15516 * gdb.base/term.exp: Likewise.
15517 * gdb.c++/annota2.exp: Likewise.
15518
15519 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15520
15521 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15522
15523 2002-02-10 Michael Chastain <mec@shout.net>
15524
15525 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15526 (call_after_alloca): Ditto.
15527
15528 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15529
15530 * gdb.base/ending-run.exp: Guard "cont" test with
15531 gdb_skip_stdio_test.
15532
15533 2002-02-06 Jim Blandy <jimb@redhat.com>
15534
15535 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15536 from here...
15537 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15538 To here. Disable this test on non-HP platforms. Add big comment.
15539
15540 2002-02-04 Michael Snyder <msnyder@redhat.com>
15541
15542 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15543 other than d10v and m32r.
15544
15545 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15546
15547 * gdb.base/default.exp: Rewrite test patterns to reduce time
15548 taken to match them.
15549
15550 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15551
15552 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15553 Allow a start function above main.
15554 * gdb.threads/linux-dp.exp: Fix copyright date.
15555
15556 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15557
15558 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15559 (check_philosopher_stack): Check for manager thread before checking
15560 for a just-starting thread.
15561
15562 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15563
15564 From Neil Booth <neil@daikokuya.demon.co.uk>:
15565 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15566 warnings.
15567
15568 2002-01-21 Fred Fish <fnf@redhat.com>
15569
15570 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15571 not caller.
15572
15573 2002-01-21 Jim Blandy <jimb@redhat.com>
15574
15575 * gdb.base/reread.exp: Check that GDB properly re-reads the
15576 executable file when it changes while no inferior is running.
15577
15578 2002-01-21 Fred Fish <fnf@redhat.com>
15579
15580 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15581 optionally accept the "shlib events" variation.
15582
15583 2002-01-21 Jim Blandy <jimb@redhat.com>
15584
15585 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15586 call `fflush' after every `printf', so that the output is produced
15587 at predictable points, regardless of whatever buffering does (or
15588 doesn't) take place.
15589 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15590 at different points.
15591
15592 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15593
15594 * gdb.c++/inherit.exp: Update copyright years.
15595 * gdb.c++/method.exp: Likewise.
15596
15597 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15598
15599 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15600 artificial methods/arguments.
15601 * gdb.c++/derivation.exp: Likewise.
15602 * gdb.c++/inherit.exp: Likewise.
15603 * gdb.c++/method.exp: Likewise.
15604 * gdb.c++/virtfunc.exp: Likewise.
15605
15606 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15607
15608 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15609 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15610 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15611 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15612 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15613 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15614
15615 2002-01-17 Jim Blandy <jimb@redhat.com>
15616
15617 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15618 anchoring the pattern matching the entry point symbol's name.
15619
15620 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15621
15622 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15623 continue/quit query. Update copyright.
15624
15625 2002-01-14 Michael Snyder <msnyder@redhat.com>
15626
15627 * gdb.base/gcore.exp: Remove extra debugging output.
15628
15629 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15630
15631 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15632 for slightly dubious v2 mangled string.
15633
15634 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15635
15636 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15637
15638 2002-01-10 Jason Merrill <jason@redhat.com>
15639
15640 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15641
15642 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15643 constructors.
15644 * gdb.c++/derivation.exp: Likewise.
15645 * gdb.c++/templates.exp: Likewise.
15646 * gdb.c++/virtfunc.exp: Likewise.
15647
15648 2002-01-10 Michael Snyder <msnyder@redhat.com>
15649
15650 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15651
15652 2002-01-08 Michael Snyder <msnyder@redhat.com>
15653
15654 * gdb.base/gcore.exp: New test for generate-core-file command.
15655 * gdb.base/gcore.c: Testcase for above.
15656 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15657
15658 2002-01-08 Jason Merrill <jason@redhat.com>
15659
15660 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15661
15662 2002-01-07 Fred Fish <fnf@redhat.com>
15663
15664 * gdb.c++/overload.exp: Remove unconditional xfails for:
15665 print foo_instance1.overloadargs(1)
15666 print foo_instance1.overloadargs(1, 2)
15667 print foo_instance1.overloadargs(1, 2, 3)
15668 print foo_instance1.overloadargs(1, 2, 3, 4)
15669 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15670 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15671 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15672 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15673 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15674 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15675 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15676 print foo_instance1.overload1arg()
15677 print foo_instance1.overload1arg((char)arg2)
15678 print foo_instance1.overload1arg((signed char)arg3)
15679 print foo_instance1.overload1arg((unsigned char)arg4)
15680 print foo_instance1.overload1arg((int)arg7)
15681 print foo_instance1.overload1arg((unsigned int)arg8)
15682 print foo_instance1.overload1arg((float)arg11)
15683 print foo_instance1.overload1arg((double)arg12)
15684
15685 2002-01-07 Michael Snyder <msnyder@redhat.com>
15686
15687 * gdb.base/huge.exp: New test. Print a very large target data object.
15688 (skip_huge_test): New test variable. Define if you want to skip this
15689 test. The test reads an 8 megabyte data object from the target, so it
15690 might be very time consuming on remote targets with a slow connection.
15691 * gdb.base/huge.c: New file. Test case for above.
15692
15693 2002-01-07 Fred Fish <fnf@redhat.com>
15694
15695 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15696 g_instance.bfoo, and g_instance.cfoo.
15697
15698 2002-01-07 Jeffrey A Law <law@redhat.com>
15699
15700 * gdb.base/break.c (multi_line_if_conditional): New function.
15701 (multi_ilne_while_conditional): Likewise.
15702 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15703 IF or WHILE condition puts the breakpoint at the start of
15704 the condition.
15705
15706 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15707 hppa*-*-hpux* expected failure.
15708 * gdb.base/structs.exp (do_function_calls): Similarly.
15709
15710 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15711 watchpoints.
15712
15713 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15714
15715 Fix PR gdb/66.
15716 * gdb.base/structs.exp: Replace skip for a29k with skip for
15717 gdb,cannot_call_functions.
15718 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15719 * gdb.base/callfuncs.exp: Ditto.
15720 * gdb.base/call-rt-st.exp: Ditto.
15721 * gdb.base/call-strs.exp: Ditto.
15722 * gdb.base/callfwmall.exp: Ditto.
15723 * gdb.base/scope.exp: Obsolete xfail a29k.
15724 * gdb.c++/misc.exp: Ditto.
15725 * gdb.c++/cplusfuncs.exp: Ditto.
15726 * gdb.base/ptype.exp: Ditto.
15727 * gdb.base/printcmds.exp: Ditto.
15728 * gdb.base/opaque.exp: Ditto.
15729 * gdb.base/list.exp: Ditto.
15730 * gdb.base/funcargs.exp: Ditto.
15731 * gdb.base/default.exp: Ditto.
15732
15733 2002-01-04 Michael Snyder <msnyder@redhat.com>
15734
15735 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15736 * gdb.base/maint.exp: Add tests for maint info sections options.
15737
15738 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15739
15740 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15741
15742 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15743
15744 * gdb.asm/arm.inc: New file.
15745 * gdb.asm/asm-source.exp: Add arm targets.
15746 * gdb.asm/configure.in: Ditto.
15747 * gdb.asm/configure: Recreated from configure.in.
15748
15749 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15750
15751 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15752 with HP's compiler.
15753 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15754 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15755 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15756 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15757
15758 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15759 either HP's compilers or GCC.
15760
15761 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15762 a SIGBUS or SIGSEGV.
15763
15764 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15765
15766 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15767 can be compiled with either HP's compiler or GCC.
15768
15769 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15770 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15771 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15772
15773 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15774 to match current gdb output. Update due to using auto-solib-limit
15775 for limiting instead of overloading auto-solib-add.
15776 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15777 test program.
15778
15779 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15780 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15781 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15782 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15783 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15784 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15785 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15786 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15787 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15788 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15789 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15790 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15791 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15792
15793 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15794 a SIGTRAP to the inferior.
15795
15796 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15797
15798 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15799 Substitute call to target_link by call to gdb_compile.
15800
15801 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15802
15803 * gdb.base/break.exp: Fix HP specific search string when testing
15804 backtracing in a called function.
15805
15806 * gdb.base/constvars.exp: Only set lang to C++ if we're
15807 compiling the test with HP's compilers.
15808 * gdb.base/volatile.exp: Similarly.
15809
15810 2001-12-19 Jim Blandy <jimb@redhat.com>
15811
15812 * gdb.base/printcmds.exp: Expect the null character to be printed
15813 as '\0', and the '\013' to be printed as '\v'.
15814 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15815 * gdb.base/setvar.exp: Same.
15816
15817 2001-12-17 Jim Blandy <jimb@redhat.com>
15818
15819 * gdb.base/completion.exp: Rather than completing very long
15820 filenames, which can make the readline library produce output we
15821 don't recognize, cd to the directory first, and then complete
15822 using nice, short relative paths.
15823
15824 * gdb.base/completion.exp: On some systems, there is, in fact, a
15825 variable named `b' in scope, since GDB treats all static
15826 variables as being in scope. So use `no_var_named_this'
15827 instead of `b'.
15828
15829 * gdb.base/corefile.exp: Recognize the message saying that GDB
15830 can't find the core file's registers as a failure.
15831
15832 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15833
15834 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15835 test expect string more specific.
15836
15837 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15838
15839 * gdb.asm/asm-source.exp: Add support for xstormy16.
15840 * gdb.asm/configure.in: Ditto.
15841 * gdb.asm/configure: Rebuild.
15842 * gdb.asm/xstormy16.inc: New file.
15843
15844 2001-12-10 Fred Fish <fnf@redhat.com>
15845
15846 * gdb.base/maint.exp: Update to match changes in type dumping code.
15847
15848 2001-12-10 Jim Blandy <jimb@redhat.com>
15849
15850 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15851 matching the entry point symbol's name at the beginning of the
15852 line.
15853
15854 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15855
15856 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15857 gdb.c++/inherit.exp, gdb.c++/method.exp,
15858 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15859 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15860 and class layout support.
15861
15862 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15863
15864 * gdb.c++/classes.exp: Add test for static member function.
15865 * gdb.c++/misc.cc: Add class with static member function.
15866
15867 2001-12-07 Jim Blandy <jimb@redhat.com>
15868
15869 If GDB says it can't find the struct the function returned, report
15870 those tests as `unsupported'.
15871 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15872 Rewrite subsequent tests to use it.
15873
15874 If GDB says it can't find the struct the function returned, report
15875 those tests as `unsupported'.
15876 * gdb.base/structs.exp (call_struct_func): New function.
15877 (do_function_calls): Use call_struct_func to call the functions
15878 returning structs.
15879
15880 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15881 whether functions are prototyped or not, so we can't possibly pass
15882 arguments to t_float_values2 properly.
15883
15884 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15885 value of `timeout' for targets other than the mips*tx39-*.
15886
15887 2001-12-06 Michael Snyder <msnyder@redhat.com>
15888
15889 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15890 and detect whether the start symbol has a leading underscore.
15891
15892 2001-12-04 Jim Blandy <jimb@redhat.com>
15893
15894 * gdb.base/completion.exp: Clarify indentation.
15895
15896 2001-12-03 Jim Blandy <jimb@redhat.com>
15897
15898 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15899 variables on the S/390, not `.word'.
15900
15901 2001-11-30 Jim Blandy <jimb@redhat.com>
15902
15903 Add assembly-source tests for s390-ibm-linux.
15904 * gdb.asm/s390.inc: New file.
15905 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15906 the S/390 architecture.
15907 * gdb.asm/configure: Regenerated.
15908
15909 2001-11-30 Michael Snyder <msnyder@redhat.com>
15910
15911 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15912 next, info source, info sources, info line, global and static
15913 variables, and static functions.
15914 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15915 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15916 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15917 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15918 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15919 (gdbasm_leave): Restore frame pointer.
15920 (gdbasm_startup): Copy stack set-up from crt0.S.
15921
15922 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15923
15924 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15925 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15926 to a local (non-static) variable. Copy tstruct.a to a static buffer
15927 and return a pointer to that buffer.
15928 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15929
15930 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15931
15932 * gdb.asm/configure.in: Fix recognition of ix86 target.
15933 * gdb.asm/configure: Regenerate.
15934
15935 2001-11-21 Michael Snyder <msnyder@redhat.com>
15936
15937 * gdb.asm/sparc.inc: New file.
15938 * gdb.asm/asm-source.exp: Recognize sparc target.
15939 * gdb.asm/configure.in: Recognize sparc target.
15940 * gdb.asm/configure: Regenerate.
15941
15942 2001-11-21 Michael Snyder <msnyder@redhat.com>
15943
15944 * gdb.asm/m32r.inc: New file.
15945 * gdb.asm/asm-source.exp: Recognize m32r target.
15946 * gdb.asm/configure.in: Recognize m32r target.
15947 * gdb.asm/configure: Regenerate.
15948
15949 2001-11-20 Michael Snyder <msnyder@redhat.com>
15950
15951 * gdb.asm/i386.inc: New file.
15952 * gdb.asm/asm-source.exp: Recognize ix86 target.
15953 * gdb.asm/configure.in: Recognize ix86 target.
15954 * gdb.asm/configure: Regenerate.
15955
15956 * gdb.c++/namespace.exp: Fix quotes in output messages.
15957
15958 2001-11-14 Michael Snyder <msnyder@redhat.com>
15959
15960 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15961 qualifier in a type cast expression, to designate an address
15962 in the instruction space (Harvard architecture).
15963
15964 2001-11-13 Michael Snyder <msnyder@redhat.com>
15965
15966 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15967 Tests for expressions using 'const' and 'volatile'.
15968
15969 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15970
15971 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15972
15973 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15974
15975 * lib/mi-support.exp (mi_run_to_helper): Move comments
15976 outside of gdb_expect.
15977
15978 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15979
15980 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15981 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15982 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15983 mi0_run_to): New functions.
15984 * gdb.mi/mi-simplerun.exp: Use them.
15985 * gdb.mi/mi0-simplerun.exp: Likewise.
15986 * gdb.mi/mi-var-cmd.exp: Likewise.
15987 * gdb.mi/mi0-var-cmd.exp: Likewise.
15988
15989 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15990
15991 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15992 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15993
15994 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15995
15996 * gdb.base/restore.exp: Include $expected value in restored test
15997 message.
15998
15999 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16000
16001 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16002 implemented.
16003
16004 2001-11-08 Michael Snyder <msnyder@redhat.com>
16005
16006 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16007 Add pass/fail message for stop at breakpoint in call dummy function.
16008
16009 2001-11-07 Michael Snyder <msnyder@redhat.com>
16010
16011 * gdb.c++/templates.exp (test_template_breakpoints):
16012 If we get an overload menu, but it does not match what
16013 we expect, we still need to issue the "cancel" command.
16014 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16015 making the whitespace optional. Argument for "new" may be
16016 "unsigned" as well as "unsigned int/long".
16017 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16018 making the whitespace optional. Also replace "(void) with
16019 "((void|)), making the keyword "void" optional.
16020 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16021 making the whitespace optional. Also replace "(void) with
16022 "((void|)), making the keyword "void" optional.
16023 * gdb.base/callfuncs.c (t_float_values): This function must
16024 _not_ be prototyped, and the following function (t_float_values2)
16025 must be prototyped (if the compiler supports it), so that GDB
16026 can be tested against both cases. Usually one case involves
16027 promotion of float to double, while the other does not.
16028 * gdb.base/callfwmall.c: Ditto.
16029 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16030 includes a stack frame for "start".
16031
16032 2001-11-05 Jim Blandy <jimb@redhat.com>
16033
16034 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16035 pointers are 32 bits long, and that offsets of relocs are always
16036 stored in the data (REL-style), and not in the reloc entry itself
16037 (RELA-style).
16038 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16039 stabs.
16040
16041 2001-11-01 Michael Snyder <msnyder@redhat.com>
16042
16043 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16044 and regular expression operators by using quoting.
16045
16046 2001-10-31 Michael Snyder <msnyder@redhat.com>
16047
16048 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16049 depending on what the symbol table contains.
16050 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16051 the output of the ptype command. Similarly, accept both "const &"
16052 and "const&".
16053
16054 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16055
16056 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16057 symbol `STORAGE' to allow to choose the storage class of
16058 the local datastructures.
16059 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16060 compiler directive.
16061
16062 2001-10-30 Michael Snyder <msnyder@redhat.com>
16063
16064 * gdb.base/jump.exp: Allow it to run for all targets.
16065
16066 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16067
16068 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16069 with new double_array size.
16070 (main): Change storage class of all local variables to static.
16071 Reduce size of double_array to 9.
16072 * gdb.base/call-ar-st.exp: Increase timeout value.
16073 Change expected output for double array to match new size in
16074 call-ar-st.c.
16075
16076 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16077
16078 * gdb.base/ending-run.exp: Create identical output when passing
16079 `step to end of run' case. Add regular expression branch satisfying
16080 Stormy16 target.
16081
16082 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16083
16084 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16085 that we catch the expected failure under Linux/x86.
16086
16087 2001-10-29 Orjan Friberg <orjanf@axis.com>
16088
16089 * gdb.base/setvar.exp: Escape curly braces.
16090 * gdb.stabs/weird.exp: Ditto.
16091
16092 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16093
16094 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16095 * gdm.mi/mi0-hack-cli.exp: Likewise.
16096
16097 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16098
16099 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16100 messages.
16101
16102 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16103
16104 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16105 checking MI enabled.
16106
16107 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16108
16109 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16110
16111 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16112
16113 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16114 if gdb child process crashes, just signal an error.
16115
16116 2001-10-02 Jim Blandy <jimb@redhat.com>
16117
16118 * lib/gdb.exp (test_xfail_format): Simplify.
16119
16120 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16121 front of the variable name `format'. Simplify `if'.
16122
16123 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16124
16125 * gdb.threads/pthreads.exp: Wait for output and delay
16126 before sending ^C.
16127
16128 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16129
16130 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16131 some incorrect output instead of timing out.
16132 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16133
16134 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16135
16136 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16137 check to allow additional `int'.
16138
16139 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16140
16141 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16142 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16143
16144 2001-09-27 Michael Snyder <msnyder@redhat.com>
16145
16146 * lib/gdb.exp (test_debug_format): New proc.
16147 (setup_xfail_format): Use new proc test_debug_format.
16148 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16149 proc; use new service proc test_debug_format.
16150 Replace all other "gcc_compiled" tests with this test.
16151 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16152 proc; use new service proc test_debug_format.
16153 Replace all other "gcc_compiled" tests with this test.
16154
16155 2001-09-27 Michael Snyder <msnyder@redhat.com>
16156
16157 * gdb.base/cvexpr.exp: New file.
16158 * gdb.base/cvexpr.c: New file
16159 Test for expressions using const and volatile keywords.
16160
16161 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16162
16163 * gdb.base/constvars.exp: Check for different orders of keywords
16164 and additional "int" strings in output.
16165
16166 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16167
16168 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16169 responses from "help maint".
16170
16171 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16172
16173 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16174 to localhost:NNN instead of :NNN, in case Xvfb is listening
16175 only on TCP.
16176
16177 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16178
16179 * gdb.base/recurse.exp: When checking leaving the watchpoint
16180 scope, recognize when gdb is in function's epilogue and pass.
16181
16182 2001-09-18 Keith Seitz <keiths@redhat.com>
16183
16184 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16185 support for running tests against sid targets.
16186 (gdbtk_done): Ditto.
16187
16188 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16189
16190 * gdb.base/ending-run.c (main): Set stdout buffersize
16191 to the same reasonable value for any target.
16192 * gdb.base/ending-run.exp: Add a regular expression
16193 to make testsuite happy on Sanyo Stormy16 target.
16194
16195 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16196
16197 * gdb.base/display.c (do_loops): Add float variable `f'.
16198 Increment f in loop.
16199 * gdb.base/display.exp: Increment timeout by 60 seconds.
16200 Change float display test to use variable `f'.
16201
16202 2001-09-17 Jim Blandy <jimb@redhat.com>
16203
16204 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16205 overflowing the limited breakpoint tables on some ROM monitors
16206 (like the ROM68K).
16207
16208 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16209
16210 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16211 the "-ac" (disable access control) flag.
16212
16213 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16214
16215 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16216 ints.
16217
16218 2001-08-30 Keith Seitz <keiths@redhat.com>
16219
16220 * lib/gdb.exp: Move all insight-related functionality into
16221 separate file.
16222 * lib/insight-support.exp: New file.
16223
16224 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16225
16226 * config/sid.exp (sid_start): Never set sid verbosity; disable
16227 expect_background {} that consumed its stdout; tolerate </dev/null.
16228 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16229
16230 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16231
16232 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16233 CLI jump command to start it.
16234 (mi_run_to_main): Fail immediatly when unexpected output.
16235
16236 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16237
16238 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16239 beginning of function. Fix PR gdb/191.
16240
16241 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16242
16243 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16244 what to force sid endianness to.
16245
16246 2001-08-15 Keith Seitz <keiths@redhat.com>
16247
16248 * lib/gdb.exp (gdbtk_start): Don't set environment
16249 variables for TCL_LIBRARY and friends. Insight will
16250 now figure these out for itself.
16251
16252 2001-08-02 Michael Snyder <msnyder@redhat.com>
16253
16254 * gdb.base/completion.exp: Remove the symbol "a64l" from
16255 the expect string; this is target-specific, and not related
16256 to what is being tested.
16257
16258 2001-08-02 Dave Brolley <brolley@redhat.com>
16259
16260 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16261
16262 2001-07-25 Michael Snyder <msnyder@redhat.com>
16263
16264 * gdb.base/consecutive.exp: New file. Test stepping over
16265 breakpoints on consecutive instructions.
16266 * gdb.base/consecutive.c: New file.
16267
16268 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16269 curly braces in regular expressions.
16270
16271 2001-07-25 Michael Snyder <msnyder@redhat.com>
16272
16273 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16274 legitimate output from stepping out of main.
16275
16276 2001-07-22 Keith Seitz <keiths@redhat.com>
16277
16278 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16279 the empty string, do not run the tests.
16280
16281 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16282
16283 * gdb.base/long_long.exp: Detect size of pointer. Take into
16284 account 2-byte pointers when testing for p/a results.
16285
16286 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16287
16288 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16289 and defined to 1K for m68hc11.
16290 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16291 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16292 (sizeof_random_data): New variable to tell the size of the data table;
16293 don't test past this size; always run to main.
16294
16295 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16296
16297 * gdb.base/return2.exp: return of long long and double fails for
16298 68HC11; don't execute these tests on that platform.
16299 * gdb.base/return.exp: Return of a double fails for 68hc11.
16300
16301 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16302
16303 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16304 tests that print a float.
16305 * call-rt-st.exp: Likewise.
16306
16307 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16308
16309 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16310 running this test on Linux.
16311
16312 2001-06-24 Michael Chastain <chastain@redhat.com>
16313
16314 * gdb.base/arithmet.exp: Remove some tests to make all test names
16315 unique.
16316
16317 2001-07-03 Michael Snyder <msnyder@redhat.com>
16318
16319 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16320 the output of the ptype command.
16321
16322 2001-07-02 Michael Snyder <msnyder@redhat.com>
16323
16324 * gdb.base/completion.exp: Don't assume that break.c is the only
16325 source file that may contain functions named "marker".
16326 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16327
16328 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16329
16330 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16331 of files to delete.
16332
16333 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16334 * gdb.disasm/h8300s.exp: New file.
16335 gdb.disasm/h8300s.s: Likewise.
16336
16337 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16338
16339 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16340 empty breakpoint tables.
16341
16342 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16343
16344 * lib/mi-support.exp: Update args=... part of stop-reason
16345 patterns. Accept either a list or a tuple.
16346
16347 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16348
16349 * lib/mi-support.exp: Remove local emacs variable defining
16350 change-log-default-name.
16351
16352 2001-06-22 Michael Chastain <chastain@redhat.com>
16353
16354 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16355 This is operationally compatible with the previous version.
16356
16357 2001-06-13 Jim Blandy <jimb@redhat.com>
16358
16359 * lib/gdb.exp (gdb_test): Doc fix.
16360
16361 2001-06-10 Michael Chastain <chastain@redhat.com>
16362
16363 * gdb.base/exprs.exp: Remove a duplicate test.
16364
16365 2001-06-06 Jim Blandy <jimb@redhat.com>
16366
16367 * gdb.base/return2.exp (main): Use values to test float and double
16368 returns that are not NaN's, to avoid being confused by IEEE
16369 comparison rules.
16370
16371 2001-06-04 Michael Snyder <msnyder@redhat.com>
16372
16373 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16374 non-zero if control_c fails. Terminate the test on failure,
16375 rather than wait for 12 more tests to time out.
16376
16377 2001-06-06 Jim Blandy <jimb@redhat.com>
16378
16379 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16380 Don't forget to match the GDB prompt.
16381
16382 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16383
16384 2001-06-04 Jim Blandy <jimb@redhat.com>
16385
16386 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16387 command.
16388
16389 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16390
16391 * gdb.base/annota1.exp (info break): Match four or more spaces
16392 after "Address".
16393
16394 2001-05-31 Michael Chastain <chastain@redhat.com>
16395
16396 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16397 (dm_type_int_star): Likewise.
16398 (dm_type_long_star): Likewise.
16399 (dm_type_void_star): Likewise.
16400
16401 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16402
16403 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16404 to a known value in order to get consistent results regardless
16405 of the setting of INPUTRC or the presence or contents of .inputrc.
16406
16407 2001-05-24 Michael Snyder <msnyder@redhat.com>
16408
16409 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16410 Don't require that the main thread and the manager thread are the
16411 first in the list.
16412
16413 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16414 debugging. If test fails, issue an "unsupported" not a "fail".
16415
16416 2001-05-24 Jim Blandy <jimb@redhat.com>
16417
16418 Don't assume that short is shorter than int.
16419 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16420 assume that shorts are smaller than ints. On a 16-bit machine,
16421 this isn't true.
16422 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16423 an int, is not equal to ~0 stored in an unsigned char. This tests
16424 the same thing that the previous test meant to, but works on
16425 16-bit machines, too.
16426 ("print unsigned char != (~0)"): Same test, complemented.
16427
16428 2001-05-24 Michael Snyder <msnyder@redhat.com>
16429
16430 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16431 test for (full_coverage == 0). This makes the test run faster,
16432 and prevents dejagnu getting out of step.
16433
16434 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16435
16436 * gdb.base/finish.exp (finish_void): Revise pattern for
16437 stopping on the call statement to not permit stopping at
16438 the start of the instructions comprising the call sequence.
16439
16440 2001-05-19 Michael Chastain <chastain@redhat.com>
16441
16442 * gdb.base/callfuncs.exp: Make all test names unique.
16443 * gdb.base/commands.exp: Make all test names unique.
16444 * gdb.base/condbreak.exp: Make all test names unique.
16445 * gdb.base/dbx.exp: Make all test names unique.
16446 * gdb.base/default.exp: Make all test names unique.
16447 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16448 and TIMEOUT messages to their corresponding PASS message.
16449 * gdb.base/ending-run.exp: Make all test names unique.
16450 * gdb.base/long_long.exp: Remove duplicate test.
16451
16452 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16453
16454 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16455 stop on the call statement as well as the statement after the
16456 call.
16457
16458 2001-05-21 Michael Snyder <msnyder@redhat.com>
16459
16460 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16461
16462 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16463
16464 * gdb.base/completion.exp: Revamp test. Make it execute on all
16465 platforms.
16466
16467 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16468
16469 * config/gdbserver.exp (gdb_load): Handle the case
16470 in which the arguments to gdbserver are given in the
16471 baseboard configuration file.
16472 Also handle the case in which the server needs to do a
16473 load.
16474
16475 2001-05-07 Keith Seitz <keiths@cygnus.com>
16476
16477 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16478 set up the display for testing.
16479 (gdbtk_start): Convert all paths to paths that tcl will like.
16480 Export target information to environment.
16481 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16482 necessary.
16483 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16484 (to_tcl_path): New proc to convert a given pathname into
16485 a path acceptible as an argument to a tcl command.
16486 (_gdbtk_export_target_info): New proc to export target info
16487 into the environment for gdbtk testing.
16488 (gdbtk_done): New proc to signal end-of-test.
16489
16490 2001-05-06 Jim Blandy <jimb@redhat.com>
16491
16492 * restore.c: Make the code of caller0 correspond to its comment.
16493
16494 2001-05-03 Michael Snyder <msnyder@redhat.com>
16495
16496 * config/sid.exp (gdb_target_sid): Check for error messages.
16497 On error or timeout, don't make expect exit (which will terminate
16498 all subsequent tests); instead just make gdb exit.
16499 (gdb_load): Check for error messages. On error or timeout,
16500 return a negative value.
16501
16502 2001-04-24 Jim Blandy <jimb@redhat.com>
16503
16504 * gdb.c++/templates.exp: If we see the prompt for the overload
16505 list, but we haven't recognized any of the longer patterns,
16506 arrange for this test to fail, not hang.
16507
16508 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16509 variations.
16510
16511 2001-04-22 Michael Chastain <chastain@redhat.com>
16512
16513 * gdb.c++/local.exp: Use the 'runto' library function.
16514 * gdb.c++/namespace.exp: Likewise.
16515 * gdb.c++/overload.exp: Likewise.
16516
16517 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16518
16519 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16520 * gdb.base/step-line.exp: New file. Test step/next in presence of
16521 #line directives.
16522 * gdb.base/step-line.c: New file. Test program for the above.
16523 * gdb.base/step-line.inp: New file. We pretend that this file has
16524 been transformed by some other tool into step-line.c.
16525
16526 2001-03-21 Jim Blandy <jimb@redhat.com>
16527
16528 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16529 unmangled operator names.
16530
16531 2001-03-20 Jim Blandy <jimb@redhat.com>
16532
16533 * gdb.threads/linux-dp.exp: Recognize an additional message
16534 generated by GDB when it doesn't understand how to debug threads
16535 on the target system.
16536
16537 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16538
16539 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16540
16541 2001-03-12 Michael Chastain <chastain@redhat.com>
16542
16543 * gdb.c++/derivation.exp: Use the 'runto' library function.
16544
16545 2001-03-12 Michael Chastain <chastain@redhat.com>
16546
16547 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16548
16549 2001-02-24 Michael Chastain <chastain@redhat.com>
16550
16551 * gdb.c++/ref-types.exp: Change handwritten code to library
16552 function 'runto'.
16553
16554 2001-03-16 Orjan Friberg <orjanf@axis.com>
16555
16556 * gdb.base/signals.exp: Set count to 0 explicitly.
16557
16558 2001-03-15 Mark Salter <msalter@redhat.com>
16559
16560 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16561 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16562 (gdb_load): Add support for additional target_info: gdb_download_size
16563 and gdb_load_timeout.
16564
16565 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16566
16567 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16568 file -- to prevent failing when the compile fails but we have no
16569 intention of running the tests anyway.
16570
16571 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16572 tests if set.
16573
16574 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16575 integers.
16576
16577 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16578 * gdb.c++/namespace.exp: Ditto.
16579
16580 2001-03-07 Orjan Friberg <orjanf@axis.com>
16581
16582 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16583 * gdb.base/pointers.exp: Relax pattern match of decimals.
16584
16585 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16586
16587 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16588 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16589 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16590 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16591 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16592 config/sh.exp, config/sid.exp, config/slite.exp,
16593 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16594 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16595 config/vxworks.exp, config/vxworks29k.exp,
16596 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16597 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16598 gdb.base/arithmet.exp, gdb.base/assign.exp,
16599 gdb.base/async.exp, gdb.base/attach.exp,
16600 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16601 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16602 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16603 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16604 gdb.base/commands.exp, gdb.base/completion.exp,
16605 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16606 gdb.base/constvars.exp, gdb.base/corefile.exp,
16607 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16608 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16609 gdb.base/ending-run.exp, gdb.base/environ.exp,
16610 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16611 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16612 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16613 gdb.base/funcargs.exp, gdb.base/help.exp,
16614 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16615 gdb.base/logical.exp, gdb.base/long_long.exp,
16616 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16617 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16618 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16619 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16620 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16621 gdb.base/regs.exp, gdb.base/relational.exp,
16622 gdb.base/remote.exp, gdb.base/reread.exp,
16623 gdb.base/restore.exp, gdb.base/return2.exp,
16624 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16625 gdb.base/selftest.exp, gdb.base/setshow.exp,
16626 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16627 gdb.base/sigall.exp, gdb.base/signals.exp,
16628 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16629 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16630 gdb.base/step-test.exp, gdb.base/structs.c,
16631 gdb.base/structs.exp, gdb.base/structs2.exp,
16632 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16633 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16634 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16635 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16636 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16637 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16638 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16639 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16640 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16641 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16642 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16643 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16644 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16645 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16646 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16647 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16648 gdb.trace/circ.exp, gdb.trace/collection.exp,
16649 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16650 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16651 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16652 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16653 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16654 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16655 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16656 notices.
16657
16658 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16659
16660 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16661 first arg is int not float.
16662
16663 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16664
16665 * gdb.base/reread.exp: Unsupported for non-native targets;
16666 doesn't work for remote debugging.
16667
16668 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16669
16670 From Drew Moseley <dmoseley@redhat.com>
16671 * gdb.base/ending-run.exp: Properly handle the BSP state when
16672 stepping past the end of main.
16673
16674 2001-02-19 John Moore <jmoore@redhat.com>
16675
16676 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16677 Converted HPUX fix for non-expected items following multiple
16678 step commands into general solution for all platforms.
16679
16680 2001-02-18 Michael Chastain <chastain@redhat.com>
16681
16682 * gdb.c++/classes.exp (do_tests): Change runto statements
16683 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16684 statements demangler agnostic.
16685 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16686 (gdb_virtfunc_restart): Likewise.
16687
16688 2001-02-14 Michael Chastain <chastain@redhat.com>
16689
16690 * gdb.c++/inherit.exp (do_tests): Change runto statements
16691 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16692 statements demangler agnostic.
16693
16694 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16695
16696 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16697 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16698 before calling common_routine 15 times'' tests.
16699
16700 2001-02-11 Michael Chastain <chastain@redhat.com>
16701
16702 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16703 Helps the test script figure out which demangler is in use.
16704 (dm_type_foo_ref): Ditto.
16705 (dm_type_int_star): Ditto.
16706 (dm_type_long_star): Ditto.
16707 (dm_type_unsigned_int): Ditto.
16708 (dm_type_void): Ditto.
16709 (dm_type_void_star): Ditto.
16710 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16711 Probe the gdb demangler and set variables to accommodate
16712 formatting differences.
16713 (info_func_regexp): New function. Same as info_func, but
16714 matches against a regexp.
16715 (info_func): Match against a literal string.
16716 (print_addr_2): New function. Match against a literal string,
16717 which can be different from the input to gdb.
16718 (print_addr): Simply call print_addr_2 with the same argument twice.
16719 (test_lookup_operator_functions): Use demangler formatting variables.
16720 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16721 the tests in the same order as the C++ class declaration.
16722 (test_paddr_operator_functions): Ditto.
16723 (test_paddr_overloaded_functions): Ditto.
16724 (test_paddr_hairy_functions): Use demangler formatting variables.
16725 Add reference to gdb/19 for related tests.
16726 (do_tests): Call probe_demangler.
16727
16728 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16729
16730 * gdb.c++/templates.cc (printf): Remove unused function definition.
16731
16732 2001-01-26 Felix Lee <flee@redhat.com>
16733
16734 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16735
16736 2001-01-25 matthew green <mrg@redhat.com>
16737
16738 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16739 up sid.
16740 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16741
16742 2001-01-25 matthew green <mrg@redhat.com>
16743
16744 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16745 Deprecate $sid_spawn_id.
16746 (sid_exit): Remove code necessary only for `spawn.'
16747
16748 2001-01-25 matthew green <mrg@redhat.com>
16749
16750 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16751
16752 2001-01-28 Michael Chastain <chastain@redhat.com>
16753
16754 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16755 to call when tests fail. It takes gdb out of the overloaded
16756 function choice menu back to the main prompt, so that the test
16757 program stays synchronized.
16758 (set_bp_overloaded): New proc to collect all the common
16759 code for setting a breakpoint on an overloaded name. Calls
16760 take_gdb_out_of_choice_menu when needed.
16761 (menu_overload1arg): New variable to collect the repeated
16762 instances of the expected menu for an overloaded name. Change
16763 the regular expression to handle changes in g++ type encoding:
16764 "void" can be either "void" or "", and "unsigned int" can be
16765 either "unsigned int" or "unsigned".
16766 (continue_to_bp_overloaded): Change regular expressions to handle
16767 changes in g++ type encoding.
16768 (no proc): Call take_gdb_out_of_choice_menu when needed.
16769 Remove redundant calls to "info break". Accept either "canceled"
16770 or "cancelled". Change regular expressions in "info break"
16771 calls to handle changes in g++ type encoding. Give all tests
16772 unique strings.
16773
16774 2001-01-17 Ben Elliston <bje@redhat.com>
16775
16776 * config/sid.exp: New file.
16777
16778 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16779
16780 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16781
16782 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16783
16784 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16785 Add a RE to accept a non-ascii char if one is ever presented.
16786
16787 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16788
16789 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16790
16791 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16792
16793 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16794 in regexp. One '\' does not suffice on Linux.
16795
16796 2000-12-09 Michael Chastain <chastain@redhat.com>
16797
16798 * gdb.base/break.exp (test_clear_command): Use a marker function
16799 rather than 'main' for the test function. Also move this
16800 test to an execution point where the marker function names are
16801 guaranteed to be bound to functions. (Executing tests after a
16802 'finish' from main runs into name conflicts with local names
16803 in __libc_start_main).
16804
16805 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16806
16807 * gdb.base/finish.exp: New test for gdb's "finish" command.
16808 * gdb.base/return2.exp: New test for gdb's "return" command.
16809 * gdb.base/return2.c: New source file for above.
16810
16811 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16812
16813 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16814 * gdb.base/miscexprs.exp: Ditto.
16815 * gdb.base/pointers.exp: Ditto.
16816 * gdb.c++/derivation.exp: Ditto.
16817 * gdb.c++/local.exp: Ditto.
16818 * gdb.c++/namespace.exp: Ditto.
16819 * gdb.c++/overload.exp: Ditto.
16820 * gdb.c++/ref-types.exp: Ditto.
16821
16822 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16823
16824 * gdb.base/constvars.exp: Test result of "up" command.
16825 * gdb.base/miscexprs.exp: Ditto.
16826 * gdb.base/pointers.exp: Ditto.
16827 * gdb.base/scope.exp: Ditto.
16828 * gdb.c++/derivation.exp: Ditto.
16829 * gdb.c++/local.exp: Ditto.
16830 * gdb.c++/namespace.exp: Ditto.
16831 * gdb.c++/overload.exp: Ditto.
16832 * gdb.c++/ref-types.exp: Ditto.
16833
16834 2000-11-22 Michael Chastain <chastain@redhat.com>
16835
16836 * mips_pro.exp: Accept either "middle -> top -> main" or
16837 "middle -> main" in the backtrace, because gcc can optimize
16838 tail calls to jumps. Remove setup_xfail for the hppa case.
16839 Add a comment with the original warning messages from PR 3016,
16840 which was filed in 1993, to preserve them for posterity.
16841
16842 2000-11-17 Nick Duffek <nsd@redhat.com>
16843
16844 * lib/gdb.exp (gdb_test): Override timeout with board info.
16845
16846 2000-11-17 Nick Duffek <nsd@redhat.com>
16847
16848 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16849 the second kill and detach messages.
16850
16851 2000-11-17 Nick Duffek <nsd@redhat.com>
16852
16853 * configure.in: Add AC_EXEEXT.
16854 * configure: Regenerate.
16855 * Makefile.in (just-check): Export EXEEXT.
16856 * lib/gdb.exp ($EXEEXT): Import from environment.
16857 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16858 expect "maint dump-me" on Cygwin.
16859 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16860 $EXEEXT.
16861
16862 2000-11-17 Nick Duffek <nsd@redhat.com>
16863
16864 * gdb.base/break.exp: Test backtrace and finish from called
16865 function on all platforms, not just HP-UX.
16866
16867 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16868
16869 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16870 code from gdb_target_monitor, so it can be used independantly
16871 for gdbserver. Also comment out an unnecessary PUTS.
16872
16873 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16874
16875 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16876 * gdb.base/corefile.exp: Expect the message "Program is being
16877 debugged already" when we send the "corefile" command, since
16878 the preceeding gdb_load may have connected gdb to a remote target.
16879 * gdb.base/display.exp: Disable hardware watchpoints if new
16880 board info variable "no_hardware_watchpoints" is true.
16881 Replace single-letter commands with more readable ones.
16882 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16883 if new board info variable "no_hardware_watchpoints" is true.
16884 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16885 to see if stdio (printf) testing is possible.
16886 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16887 board info variable "no_hardware_watchpoints" is true. Use new
16888 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16889
16890 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16891
16892 From Orjan Friberg <orjanf@axis.com>:
16893 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16894 in array print pattern match.
16895
16896 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16897
16898 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16899 spelling "cancelled" to U.S. spelling "canceled" to match changes
16900 made to gdb.
16901 * gdb.c++/ovldbreak.exp: Ditto.
16902
16903 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16904
16905 * gdb.base/callfuncs.c (main): Moved to end of file, call
16906 t_double_values to initialize the FPU before inferior calls are made.
16907 * gdb.base/callfuncs.exp: Test for register preservation after calling
16908 inferior functions. Add tests for continuining, finishing and
16909 returning from a stop in a call dummy.
16910
16911 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16912
16913 * gdb.base/commands.exp: Break up long lines, and re-indent.
16914
16915 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16916
16917 * config/gdbserver.exp: Rewritten from the ground up, to make it
16918 compatible with the current dejagnu tree, and to make it work with
16919 the new "gdbserver" in libremote.
16920
16921 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16922
16923 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16924 * gdb.base/varargs.exp: Skip entire test if no printf support.
16925 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16926 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16927
16928 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16929
16930 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16931 no floating point support.
16932 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16933 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16934 * gdb.base/call-rt-st.exp: Ditto.
16935 * gdb.base/call-strs.exp: Ditto.
16936
16937 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16938
16939 * gdb.base/sizeof.c: include <stdio.h>.
16940
16941 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16942 'finish', otherwise uncaptured gdb_prompt would potentially
16943 throw remaining test points out of sync.
16944
16945 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16946
16947 * gdb.base/recurse.exp: Run tests for all targets.
16948 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16949 gnu-oldld case on ARM.
16950 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16951 for ARM targets.
16952
16953 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16954
16955 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16956 * gdb.java/configure: Rebuild.
16957
16958 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16959
16960 * gdb.java/jv-exp.exp: New file.
16961
16962 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16963
16964 * configure: Rebuilt.
16965 * configure.in (configdirs): Add gdb.java.
16966 * gdb.java/jmisc.java: New file.
16967 * gdb.java/jmisc.exp: New file.
16968 * gdb.java/Makefile.in: New file.
16969 * gdb.java/configure: Rebuilt.
16970 * gdb.java/configure.in: New file.
16971 * lib/java.exp: New file.
16972
16973 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16974
16975 * gdb.base/exprs.exp: Test casts to a pointer including over and
16976 underflow.
16977
16978 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16979
16980 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16981 and the compilers sizes.
16982
16983 2000-07-09 Nick Duffek <nsd@redhat.com>
16984
16985 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16986 (use_methods): New function.
16987 (main): Call use_methods().
16988 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16989 (do_tests): Call test_method_param_class.
16990
16991 2000-07-09 Nick Duffek <nsd@redhat.com>
16992
16993 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16994 spelling.
16995 (test_enums): New procedure. Move enum tests from end of script
16996 to here. Set breakpoint on function name instead of line number.
16997 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16998 (enums2): New marker function.
16999 (enums1): New function.
17000 (main): Call enums1(). Move enum tests to enums1().
17001
17002 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17003
17004 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17005 compile/link program. Update line numbers.
17006 * gdb.asm/d10v.inc: Define ``startup''.
17007 * gdb.asm/asmsrc1.s: Add definition of _start.
17008
17009 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17010
17011 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17012
17013 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17014
17015 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17016 of 'help maint print' command.
17017
17018 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17019
17020 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17021 they use gdb_expect_list.
17022
17023 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17024
17025 * gdb.base/commands.exp: Use ``set remote
17026 memory-read-packet-size'' instead of ``set endian big'' to test
17027 long commands.
17028
17029 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17030
17031 * gdb.c++/templates.exp (do_tests): Make all of these work under
17032 g++, and stop skipping them.
17033
17034 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17035 work under g++.
17036
17037 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17038 initialization.
17039
17040 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17041
17042 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17043 the regular expression: accept an (almost) arbitrary sequence of
17044 "frames-invalid" and "breakpoints-invalid" messages both before
17045 and after the "starting" message.
17046
17047 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17048
17049 * gdb.c++/local.exp: This test has never been known to work with g++.
17050
17051 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17052
17053 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17054 Relax the regular expression a little, make it pass on Solaris 8.
17055
17056 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17057
17058 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17059 a call, do not require that gdb stop on the line after the call.
17060 Instead, it is permissible for gdb to stop on the line of the
17061 call itself.
17062
17063 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17064
17065 * gdb.base/break.exp (bp on small function, optimized file):
17066 Add a second pass pattern. The behavior differs here between stabs
17067 and dwarf for one-line functions. Stabs preserves two line symbols
17068 (one before the prologue and one after) with the same line number,
17069 but dwarf regards these as duplicates and discards one of them.
17070 Therefore the address after the prologue (where the breakpoint is)
17071 has no exactly matching line symbol, and GDB reports the breakpoint
17072 as if it were in the middle of a line rather than at the beginning.
17073
17074 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17075
17076 * gdb.base/interrupt.exp: Make "pass" message say "send"
17077 rather than "send_gdb" (for consistancy).
17078
17079 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17080
17081 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17082 * gdb.c++/templates.cc: Properly check for GCC version number.
17083 * lib/compiler.cc: Likewise
17084
17085 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17086
17087 * gdb.base/break.exp: When compiled with -O2 optimization,
17088 gdb may not stop at the first line of main, due to code motion.
17089
17090 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17091
17092 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17093 This test depends on parsing the printf output from the target.
17094 Since the sparclet stub doesn't do stdio, this will never work.
17095 * gdb.base/call-rt-st.exp: ditto.
17096 * gdb.base/call-strs: ditto.
17097
17098 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17099
17100 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17101
17102 * gdb.base/ending-run.exp: After connecting to a remote target,
17103 but before running, the target will appear to be in a random
17104 location. Specify both a file and a line for breakpoints.
17105 Also, the function that calls main may be called 'init'
17106 rather than 'start'.
17107
17108 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17109
17110 * gdb.base/help.exp: Update output for add-symbol-file command.
17111
17112 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17113
17114 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17115 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17116
17117 2000-04-07 J.T. Conklin <jtc@redback.com>
17118
17119 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17120
17121 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17122
17123 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17124
17125 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17126 values that can be represented exactly.
17127 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17128 above change, and to not check against the directory part of the source
17129 file name.
17130 (step into print_long_arg_list): Likewise.
17131 (print print_small_structs from print_long_arg_list): Likewise.
17132 (print print_long_arg_list): Likewise.
17133
17134 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17135
17136 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17137
17138 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17139
17140 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17141
17142 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17143
17144 * gdb.base/commands.exp (deprecated_command_test): Add test for
17145 deprecate with no arguments.
17146
17147 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17148
17149 * gdb.base/break.exp: Add new test for setting breakpoints on
17150 optimized code so we can test breakpoints work even when function
17151 prologues may be optimized away
17152
17153 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17154
17155 From David Whedon <dwhedon@gordian.com>
17156 * gdb.base/commands.exp : Added command deprecator tests.
17157
17158 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17159
17160 * gdb.base/help.exp: Added test for new apropos command.
17161
17162 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17163
17164 * gdb.base/pointers.c (usevar): New function.
17165 (main): Make sure that global variables v_int_pointer2, rptr,
17166 and y are all referenced someplace in the program by calling
17167 usevar() on them. [Some linkers delete symbols which are
17168 never referenced. The space remains, but there's no way to
17169 get a (symbolic) handle on the variable from the debugger.]
17170
17171 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17172
17173 * gdb.base/printcmds.c: Add typedeffed arrays.
17174
17175 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17176 procedure to test arrays that are typedef'd.
17177
17178 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17179
17180 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17181 the library directories.
17182
17183 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17184
17185 * configure.in (configdirs): Add sub directory gdb.mi.
17186 * configure: Re-generate.
17187
17188 * gdb.mi: New directory.
17189
17190 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17191
17192 * gdb.base/long_long.exp: Correct test suite failure when printing
17193 a long long value as a double on ARM platforms.
17194
17195 2000-02-16 Jim Blandy <jimb@redhat.com>
17196
17197 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17198 default source file is set properly before running this test.
17199
17200 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17201
17202 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17203 gdbtk/library directory, not in gdbtcl2.
17204
17205 2000-02-04 Jim Blandy <jimb@redhat.com>
17206
17207 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17208 backslash from regexp pattern.
17209
17210 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17211 procedure. Use it to run all the "continue to bp overloaded"
17212 tests. Note that this changes the names of the tests slightly.
17213 If the breakpoint hit message includes a hex PC value, because
17214 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17215 from the real source code, still consider that a pass.
17216
17217 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17218 XFAIL here if the breakpoint message contains a hex address. Note
17219 similar change on 1999-11-02.
17220
17221 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17222
17223 * gdb.base/ptype.exp: Establish a default source file before
17224 calling get_debug_format.
17225
17226 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17227
17228 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17229
17230 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17231
17232 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17233 of successive stepi commands -- while in the prologue we should see
17234 the function entry bracket.
17235
17236 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17237
17238 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17239 reach __change_mode() when stepping through the end of main().
17240
17241 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17242
17243 * gdb.base/default.exp: Fix expected pattern.
17244 * gdb.base/help.exp: Same.
17245
17246 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17247
17248 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17249 Don't use xfail's because that affects only the following test.
17250
17251 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17252 solaris or linux.
17253
17254 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17255
17256 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17257
17258 * gdb.base/display.exp: Some yacc parsers like to say
17259 "A syntax error" rather than "A parse error". Accept both.
17260
17261 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17262
17263 * gdb.base/default.exp: Remove OS dependent string from "target
17264 remote" test.
17265 * gdb.base/help.exp: Same for "help target remote" test.
17266
17267 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17268
17269 From Jim Kingdon <kingdon@redhat.com>:
17270
17271 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17272 prompt (cleanup rather than necessity, but still might keep output
17273 from spilling to next test).
17274
17275 2000-01-02 Fred Fish <fnf@cygnus.com>
17276
17277 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17278 AIX, which defines them in <sys/types.h>.
17279
17280 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17281
17282 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17283 float" test.
17284
17285 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17286
17287 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17288
17289 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17290 outermost frame disallowed".
17291
17292 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17293
17294 * gdb.base/setvar.exp: New tests for setting the value of a struct
17295 with a constant list.
17296
17297 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17298
17299 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17300 require the user to type a cast before setting the value of a struct.
17301
17302 1999-12-06 Jim Blandy <jimb@cygnus.com>
17303
17304 * gdb.base/default.exp: Expect the new 'info float' command on
17305 all i386 platforms.
17306
17307 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17308 LinuxThreads libraries that don't support debugging.
17309
17310 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17311
17312 * gdb.base/remote.c: Fill the buffer with truely random data.
17313 Change the buffer type to ``unsigned char'' to simplify size
17314 arithmetic.
17315
17316 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17317 stub only handles 400-1 byte packets. Verify that the download
17318 worked.
17319
17320 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17321
17322 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17323 tests, using UNRESOLVED for the untested cases. Also, does not wait
17324 for a timeout if the prompt was received before a recognizable pattern.
17325
17326 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17327
17328 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17329
17330 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17331
17332 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17333 watchpoints.
17334
17335 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17336
17337 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17338
17339 * gdb.c++/local.exp: Be more flexible in recognizing local class
17340 name mangling. Don't allow horribly truncated method names.
17341 * gdb.c++/derivation.exp: Expect protected inheritance.
17342 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17343 * gdb.c++/virtfunc.exp: Likewise.
17344 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17345 when printing a nested enum.
17346
17347 1999-11-22 Jim Blandy <jimb@cygnus.com>
17348
17349 * gdb.base/step-test.exp: Properly await GDB's response to setting
17350 a breakpoint on the call to large_struct_by_value.
17351
17352 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17353 just because we have debug info for the `start' function.
17354
17355 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17356
17357 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17358 "Unknown signal" messages, which indicate (on LinuxThreads) that
17359 GDB doesn't know how to debug threads on this system. This is
17360 better than hanging while philosopher 0 dumps chatter into gdb.log.
17361
17362 1999-11-18 Tom Tromey <tromey@cygnus.com>
17363
17364 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17365
17366 1999-11-18 Fred Fish <fnf@cygnus.com>
17367
17368 * gdb.base/coremaker2.c: Add sample program for generating
17369 cores that is more self contained than coremaker.c. Eventually
17370 I'll add more code to this and tie it into the testsuite.
17371
17372 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17373
17374 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17375
17376 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17377
17378 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17379 from $srcdir/lib/.
17380 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17381 and gdb.c++/.
17382
17383 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17384
17385 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17386 'continue with watch' test point.
17387
17388 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17389
17390 Merged from p2linux-990323-branch:
17391
17392 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17393
17394 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17395
17396 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17397 {limit,fixed}''. Test ``set download-write-size''.
17398
17399 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17400
17401 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17402 gdb_expect_list.
17403
17404 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17405
17406 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17407
17408 1999-11-03 Mark Salter <msalter@cygnus.com>
17409
17410 * gdb.base/break.exp: Fix "stub continue" pattern.
17411
17412 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17413
17414 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17415
17416 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17417
17418 * gdb.base/display.exp ("finish"): Add timeout clause.
17419
17420 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17421 plain prompt clause, so this doesn't have to time out in order to
17422 fail.
17423
17424 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17425 breakpoint hit messages include an address.
17426
17427 * gdb.base/display.exp: Don't forget to escape parens in regular
17428 expressions. Unix regexp notatation sucks.
17429
17430 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17431
17432 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17433 order for 'signalled' message.
17434
17435 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17436
17437 From Jimmy Guo <guo@cup.hp.com>:
17438 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17439 * gdb.base/annota1.c: Add code for tests to work with.
17440
17441 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17442
17443 * gdb.base/remote.exp: New test for remote downloading settings.
17444 * gdb.base/remote.c: New file with large .data.
17445
17446 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17447
17448 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17449 for LinuxThreads support, merged from the Code Fusion branch.
17450
17451 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17452
17453 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17454 containing exp_continue into a while within an expect. Don't
17455 attempt a start more than three times. Check return value from
17456 gdb_load.
17457
17458 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17459
17460 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17461 a pass case.
17462
17463 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17464
17465 * gdb.base/break.c (main): Added a statement that we can step
17466 off of.
17467 * gdb.base/break.exp: Added tests for setting a breakpoint
17468 at an offset and stepping onto a breakpoint.
17469
17470 1999-10-01 Fred Fish <fnf@cygnus.com>
17471
17472 * gdb.base/help.exp (help add-symbol-file): Update to match current
17473 gdb output.
17474
17475 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17476
17477 * gdb.base/break.exp: Code locations are in hex, don't forget!
17478 (For HP-UX.)
17479
17480 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17481
17482 * condbreak.exp: Use break.c as test program.
17483 * condbreak.c: Remove, redundant with break.c.
17484
17485 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17486
17487 * config/monitor.exp (gdb_target_monitor): Disable X- and
17488 Z-packets if the target needs it.
17489
17490 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17491
17492 * gdb.c++/overload.exp: Added tests for listing overloaded
17493 functions with function pointers in the arg, explicitly calling
17494 out the version you want.
17495
17496 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17497
17498 * long_long.exp: Add variations of test cases that work for
17499 targets with 16-bit ints and 32-bit doubles.
17500
17501 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17502
17503 * break.c (main): Compare a possibly-uninitialized argc with an
17504 unlikely value that fits in 16 bits.
17505
17506 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17507
17508 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17509 0xfeeb, don't want negative numbers if ints are 16 bits.
17510
17511 * lib/gdb.exp (skip_cplus_tests): New proc.
17512 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17513 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17514 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17515 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17516 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17517 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17518 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17519 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17520
17521 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17522
17523 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17524
17525 * gdb.base/corefile.exp (up): Allow a parameter to appear
17526 in the frame that we're going up to.
17527
17528 From Jim Blandy <jimb@cygnus.com>:
17529
17530 * gdb.base/default.exp (info float): Expect some output now.
17531
17532 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17533 returning floating-point values to fail on the x86.
17534 * gdb.base/callfwmall.exp (do_function_calls): Same.
17535
17536 * gdb.base/list.exp (test_listsize): Correct expectations for
17537 listing line 1 with listsize 2. Also, listing a single line
17538 works now, as does listing three lines. [Kevin's note: There
17539 were a number of other cases fixed too where the expectations
17540 differed...]
17541
17542 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17543
17544 * gdb.base/selftest.exp: Add case for when version prints as
17545 constant string instead of char pointer.
17546
17547 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17548
17549 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17550 stepping out of main.
17551
17552 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17553 G++ used.
17554
17555 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17556 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17557
17558 * gdb.c++/ovldbreak.exp: Update match string in test that
17559 includes a warning of multiple breakpoints.
17560
17561 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17562
17563 * gdb.base/display.exp: Improve precision of step-after-finish
17564 added yesterday.
17565
17566 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17567 test.
17568
17569 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17570 configs when using G++, not just hppa*.
17571
17572 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17573
17574 * gdb.base/async.c: New file.
17575 * gdb.base/async.exp: New file.
17576
17577 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17578
17579 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17580 PA64.
17581
17582 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17583
17584 * gdb.base/display.exp: "finish" can leave us mid-line on many
17585 targets, deal with it. Add a small constant to main, instead of
17586 1000 since main+1000 may not be a valid address in the target.
17587
17588 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17589 on hpux11.
17590
17591 * gdb.base/attach.exp: Handle another hpux11 error message variant
17592 when attaching to a process that does not exist.
17593
17594 1999-08-19 J.T. Conklin <jtc@redback.com>
17595
17596 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17597 characters in 'continue to 1241' test.
17598
17599 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17600
17601 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17602 stop in print_long_arg_list, define and use a whitespace
17603 variable in print_small_structs test, add an XFAIL for Solaris.
17604 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17605 interested enough to fix.
17606
17607 1999-08-13 Keith Seitz <keiths@cygnus.com>
17608
17609 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17610 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17611 proc knows about targets other than the natives.
17612 (test_assign): Use "gdb_run_cmd" to "run" the target.
17613 Check that we've actually hit the breakpoint at main.
17614 When we attempt to assign a value to a local variable, check
17615 that the variable is in the current scope, i.e., don't use
17616 a test with an empty result.
17617
17618 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17619
17620 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17621 command.
17622
17623 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17624
17625 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17626 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17627 gdb.compat, gdb.threads-hp.
17628 gdb.hp/configure, gdb.hp/configure.in: New files.
17629 gdb.hp/Makefile.in: Recurse into new subdirs.
17630 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17631 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17632 in object files.
17633 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17634
17635 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17636
17637 * gdb.base/display.exp: Help expect by putting a newline in the
17638 funky printf, remove a bogus p/a test.
17639
17640 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17641
17642 * gdb.base/display.exp: Make sure that when we say 'run', we are
17643 connected to the target. This is necessary when running not
17644 natively.
17645
17646 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17647
17648 * gdb.base/step-test.exp: Removed some extraneous messages.
17649
17650 * gdb.base/long_long.exp: Don't run memory examination tests
17651 on little-endian targets (they will need a different set of
17652 results to match).
17653
17654 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17655
17656 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17657 until somebody decides to fix GDB.
17658
17659 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17660 constant as "ULL".
17661 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17662 matches for a couple x/2 commands.
17663
17664 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17665
17666 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17667 by merging in ref-types2 tests.
17668 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17669
17670 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17671 * gdb.c++/Makefile.in: Add standard actions.
17672 (EXECUTABLES): Rename from PROGS, update list.
17673 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17674 from gdb.hp.
17675 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17676 foo and bar locals.
17677 * gdb.c++/anon-union.exp: Fix tests to match.
17678 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17679 expect matches to handle output variations.
17680 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17681 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17682 output, add HP alternatives for new and delete prints.
17683 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17684 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17685 * gdb.c++/demangle.exp: Use $style when reporting failure.
17686 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17687 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17688 match alternatives.
17689 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17690 compilers.
17691 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17692 * gdb.c++/method.exp: Add match alternatives.
17693 * gdb.c++/misc.cc: Add bool types.
17694 * gdb.c++/misc.exp: Add tests for bool types.
17695 * gdb.c++/overload.exp: Add xfails.
17696 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17697 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17698 add some more template parameter tests (only for HP currently).
17699 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17700 * gdb.c++/virtfunc.cc: Add return type and value for main.
17701 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17702 match alternatives.
17703
17704 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17705
17706 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17707
17708 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17709
17710 * gdb.base/signals.exp: Don't expect getting a backtrace from
17711 within a signal handler to fail on Linux.
17712
17713 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17714
17715 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17716 * lib/gdb.exp: Remove some gratuitious semicolons.
17717 (delete_breakpoints): Increase timeout.
17718 (gdb_expect): Add -notransfer option.
17719 (gdb_test): Use -notransfer option.
17720 (get_compiler_info): Add f77 case.
17721 (get_compiler): New proc, split out from gdb_preprocess, add f77
17722 case.
17723 (gdb_preprocess): Call get_compiler.
17724
17725 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17726 * gdb.base/attach.exp, gdb.base/display.exp,
17727 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17728 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17729 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17730 third arg to gdb_test.
17731 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17732 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17733 HP-UX xfails, add others.
17734 * gdb.base/completion.exp: Reflect name change of self-test.
17735 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17736 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17737 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17738 HP failure number.
17739 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17740 useless HP-UX 10.30 references.
17741 * gdb.base/maint.exp: Loosen matches.
17742 * gdb.base/pointers.c (main): Declare more_code.
17743 * gdb.base/pointers.exp: Match on output of a `next'.
17744 * gdb.base/structs.c: Add prototypes.
17745 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17746 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17747
17748 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17749
17750 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17751 command.
17752
17753 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17754
17755 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17756 Fix run to main failures. Watchpoint can be hardware watchpoint.
17757
17758 * gdb.base/annota1.exp: Clean up some more, in case printf has
17759 debug info. Deal with lack of signal hanlder info in stack.
17760
17761 From Jim Kingdon <kingdon@redhat.com>:
17762 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17763
17764 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17765
17766 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17767 gdb.base/foll-vfork.exp: Don't run for crosses.
17768
17769 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17770
17771 * gdb.base/configure.in: Check for gdbvars.exp instead of
17772 a1-selftest.exp.
17773 * gdb.base/configure: Re-generate.
17774
17775 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17776
17777 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17778 in trying to run first and name is too long.
17779
17780 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17781 pointers2.c and pointers2.exp, respectively.
17782 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17783 doschk happier.
17784
17785 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17786
17787 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17788 callfuncs2.c and callfuncs2.exp.
17789
17790 * gdb.base/list.exp: Remove mistaken xfails.
17791 * gdb.base/list0.h: Add optional prototypes.
17792
17793 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17794
17795 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17796 calling malloc.
17797 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17798 * ptype.exp: Move test for get_debug_format to before its first
17799 use.
17800
17801 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17802
17803 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17804 * gdb.base/annota2.cc, annota2.exp: Move from here.
17805 * gdb.c++/annota2.cc, annota2.exp: To here.
17806 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17807
17808 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17809
17810 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17811 a consistent format.
17812
17813 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17814
17815 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17816 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17817 HP compilers, also set the globals $true and $false.
17818
17819 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17820 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17821 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17822 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17823 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17824 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17825 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17826 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17827 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17828 whatis.c} Add C++ compatible function definitions and return
17829 types, add includes for library functions.
17830 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17831 * gdb.base/step-test.c (myglob): Rename from glob.
17832 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17833 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17834 files, move here from gdb.hp.
17835 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17836 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17837 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17838 Adjust line numbers in regexps.
17839
17840 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17841 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17842 instead of 0/1.
17843
17844 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17845 foll-vfork.exp: New files, move here from gdb.hp.
17846 * gdb.base/page.exp: New file, test of pagination command.
17847
17848 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17849 recursion test.
17850 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17851
17852 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17853 gdb.base/solib.exp: Fix compiler invocation process.
17854
17855 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17856 HP-UX 11, turn off overload resolution explicitly.
17857 * gdb.base/commands.exp: Set argument list explicitly, add
17858 watchpoint test.
17859 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17860 them work.
17861 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17862 expressions properly.
17863 * gdb.base/corefile.exp: Loosen the match slightly.
17864 * gdb.base/default.exp: Allow "Error accessing memory" message
17865 also.
17866 * gdb.base/display.exp: Skip over x/0 j if PA64.
17867 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17868 * gdb.base/interrupt.exp: Ditto.
17869 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17870 in use.
17871 * gdb.base/list.exp: Add xfails for HP-UX.
17872 * gdb.base/long_long.exp: Refine some of the numeric matches.
17873 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17874 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17875 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17876 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17877 * gdb.base/ptype.exp: Succeed on more varieties of output.
17878 * gdb.base/scope.exp: Add xfails for HP-UX.
17879 * gdb.base/sect-cmd.exp: Add more cases.
17880 * gdb.base/setvar.exp: Add xfails for HP-UX.
17881 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17882 * gdb.base/signals.exp: Match on void symbolically.
17883 * gdb.base/step-test.exp: Add case for PA64.
17884 * gdb.base/term.exp: Add exit and restart.
17885 * gdb.base/twice.exp: Clean up after self.
17886 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17887 * gdb.base/whatis.exp: Allow more ways to pass tests.
17888
17889 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17890 no longer useful.
17891
17892 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17893
17894 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17895 list of patterns.
17896 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17897 print_double_array(double_array)", "continuing to breakpoint
17898 1018", "print print_double_array(array_d)" and "continuing to
17899 1034" tests.
17900
17901 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17902
17903 * Makefile.in: Add empty html and install-html targets.
17904
17905 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17906
17907 * config/mt-*: Remove, these haven't been used since 1996.
17908
17909 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17910
17911 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17912 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17913 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17914
17915 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17916
17917 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17918 simpler match case for the ptype of the big class.
17919
17920 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17921
17922 * gdb.exp: Fix test for gdb_prompt existence.
17923
17924 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17925
17926 * gdb.exp (gdb_test): Add fail after calls to perror.
17927
17928 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17929
17930 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17931
17932 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17933
17934 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17935
17936 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17937
17938 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17939 malloc() is linked in.
17940
17941 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17942
17943 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17944 step at end.
17945
17946 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17947
17948 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17949
17950 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17951
17952 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17953
17954 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17955 * gdb.base/mips_pro.exp: Likewise.
17956
17957 1999-06-02 Keith Seitz <keiths@cygnus.com>
17958
17959 * gdb.c++/templates.cc: Change all "new" operators to throw
17960 an exception.
17961 * gdb.c++/cplusfuncs.cc: Likewise.
17962
17963 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17964
17965 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17966
17967 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17968 * gdb.base/ending-run.exp: When stepping out of main, accept a
17969 step into an arbitrary assembler file.
17970
17971 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17972
17973 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17974 "breakpoint-invalid" to be printed.
17975 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17976 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17977 * gdb.base/annota2.cc: Initialize a.x to 0.
17978
17979 1999-05-17 Keith Seitz <keiths@cygnus.com>
17980
17981 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17982 when "skip_float_tests" set.
17983 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17984 "print print_ten_doubles", and "step into print_long_arg_list".
17985 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17986 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17987 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17988 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17989 "skip_float_tests" is set.
17990 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17991 when "skip_float_tests" set.
17992
17993 1999-05-06 Keith Seitz <keiths@cygnus.com>
17994
17995 * gdb.base/annota2.cc: Include stdio.h.
17996
17997 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17998
17999 * gdb.base/crossload.exp: Remove, this has been disabled ever
18000 since BFD stopped including all targets, and cross-GDB gets
18001 plenty of testing anyway.
18002 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18003 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18004 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18005 * gdb.base/README: Remove, was doc for this.
18006 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18007 needed.
18008
18009 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18010
18011 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18012 output.
18013
18014 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18015 * gdb.base/annota2.exp: New file. More annotation tests.
18016 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18017 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18018
18019 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18020
18021 * config/cfdbug.exp: New file.
18022
18023 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18024
18025 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18026 Marcus Daniel's and Dale Hawkins's demangler crashes.
18027
18028 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18029 test_lucid_style_demangling, test_arm_style_demangling,
18030 test_hp_style_demangling): Try Tom Tromey's core-dumping
18031 identifier under each demangling style.
18032
18033 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18034
18035 * gdb.c++/demangle.exp: Include the current demangling style
18036 in all test names.
18037 (current_demangling_style): New global variable.
18038 (set_demangling_style, test_demangling_core, test_demangling,
18039 test_demangling_exact): New functions.
18040 (test_gnu_style_demangling, test_lucid_style_demangling,
18041 test_arm_style_demangling, test_hp_style_demangling): Use those,
18042 instead of calling gdb_test and gdb_test_exact directly.
18043 (catch_demangling_errors): New function, which reports errors
18044 signalled by the demangling test functions in an orderly way.
18045 (do_tests): Use catch_demangling_errors.
18046
18047 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18048
18049 * gdb.base/signals.exp (test_handle_all_print): Use () for
18050 grouping in expressions, not {}.
18051
18052 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18053 initialized yet.
18054
18055 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18056
18057 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18058 are listed.
18059
18060 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18061
18062 * gdb.stabs/weird.exp: Test for CC being defined before
18063 looking at its value.
18064
18065 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18066
18067 * gdb.base/call-ar-st.exp: Remove stray '#'.
18068 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18069 "short int" and "long int".
18070 * gdb.c++/overload.cc: Cast the string added in the previous
18071 change, to mollify finicky HP compiler.
18072 * gdb.hp/reg-test.exp (testfile): Fix file name.
18073 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18074
18075 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18076 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18077 alternate form of enum ptype.
18078
18079 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18080
18081 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18082 * gdb.hp/*.exp: Change all to run compiler probe only after
18083 passing skip_hp_tests, so as not to waste time on guaranteed
18084 failure.
18085
18086 * gdb.c++/overload.cc: Pass string instead of char addr, always
18087 init ccpfoo.
18088 * gdb.c++/templates.cc: Fix syntax error.
18089
18090 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18091
18092 * gdb.base/commands.exp: Add test for correct position of '>'
18093 when issuing the 'commands' command after a 'while' or 'if'
18094 command.
18095
18096 1999-03-18 James Ingham <jingham@cygnus.com>
18097
18098 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18099
18100 * gdb.c++/method.exp: It was testing an uninitialized int on the
18101 stack and assuming it was positive.
18102
18103 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18104
18105 * gdb.base/step-test.exp: Catch a case where finish is broken and
18106 keep it from killing the rest of the tests.
18107 Use gdb_continue_to_end.
18108
18109 * gdb.base/sigall.exp: use gdb_continue_to_end.
18110
18111 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18112
18113 * gdb.base/display.exp: use runto_main, not run.
18114
18115 * gdb.base/default.exp: Check for the current error message in the
18116 r abbreviation test.
18117 Add strongarm to the targets that know info float.
18118
18119 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18120 run which doesn't work with monitors.
18121
18122 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18123
18124 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18125
18126 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18127 program. Traps the case (in Cygmon) when the program never really
18128 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18129 more places, so I used my name. Sorry Mark...
18130
18131 * config/monitor.exp (gdb_target_monitor): added another
18132 target_info parameter: remotebinarydownload. This will set the
18133 remotebinarydownload flag if this is causing some boards trouble.
18134
18135 1999-03-18 Mark Salter <msalter@cygnus.com>
18136
18137 * lib/gdb.exp (continue_to_exit): New function.
18138
18139 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18140 * gdb.base/ending-run.exp: Ditto.
18141 * gdb.base/step-test.exp: Ditto.
18142
18143 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18144
18145 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18146 (suggested by Art Haas <ahaas@neosoft.com>).
18147
18148 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18149
18150 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18151
18152 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18153
18154 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18155 descriptions of types (short unsigned int vs unsigned short, etc).
18156
18157 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18158
18159 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18160 a call to strlen; sometimes we do have sources.
18161
18162 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18163
18164 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18165 character, so GDB won't print garbage after its end.
18166
18167 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18168 breakpoint there instead. Sometimes GCC emits memcpy to handle
18169 the large structures being passed by value, so we step into that
18170 instead of sum_array_print, which obscures what we're really testing.
18171 * gdb.base/step-test.exp: However, we do want a test that notices
18172 the bizarre steps into memcpy, so do that here. Add check for
18173 stepping into function calls that pass large structures by value.
18174 ("Is that a noun clause, or are you just happy to see me?")
18175 Remove all references to specific line numbers.
18176 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18177 New type and function.
18178 (main): Call large_struct_by_value, passing it a large struct by value.
18179 * lib/gdb.exp (gdb_get_line_number): New function.
18180
18181 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18182 more portable.
18183
18184 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18185
18186 * lib/gdb.exp: Doc fixes.
18187
18188 1999-03-05 Nick Clifton <nickc@cygnus.com>
18189
18190 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18191
18192 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18193
18194 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18195 commands. They're not germane to this test, and they don't work
18196 that way on remote targets.
18197
18198 1999-03-01 James Ingham <jingham@cygnus.com>
18199
18200 * Changelog entries merged over from gdb development branch.
18201
18202 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18203
18204 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18205 for outputting results of test run.
18206
18207 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18208
18209 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18210
18211 1999-02-25 Felix Lee <flee@cygnus.com>
18212
18213 * lib/gdb.exp (debug_format): initialize
18214
18215 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18216
18217 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18218 * gdb.base/call-rt-st.c: Ditto.
18219
18220 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18221
18222 * gdb.threads/pthreads.exp (horiz): New variable.
18223 (test_startup): Fix regexps that capture thread numbers.
18224
18225 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18226
18227 * gdb.base/smoke.exp: Disambiguate two test case names (both
18228 called ``print'').
18229
18230 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18231
18232 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18233 compilation.
18234
18235 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18236
18237 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18238 actual output formatting.
18239 * gdb.base/smoke.exp: GDB removes leading 0's.
18240 * gdb.base/volatile.exp: Don't check type of remuneration;
18241 that variable is no longer defined in constvars.c.
18242 * gdb.base/step-test.c (main): Exit with explicit exit code.
18243 * gdb.base/step-test.exp: Remove two nexti checks--they are
18244 not portable.
18245
18246 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18247
18248 * gdb.base/help.exp ("help delete display"): Fix test to match
18249 gdb's output.
18250
18251 * gdb.base/long_long.c (known_types): Initialize values to zero.
18252 * gdb.base/long_long.exp: Step one more line
18253 so 'dec' is initialized in "get to known place". GDB removes
18254 leading zeros. Explicitly ask for hex formatting. Use
18255 unique test case names.
18256
18257 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18258
18259 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18260
18261 * gdb.c++/method.exp: Add missing close brace.
18262
18263 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18264
18265 * gdb.base/maint.exp: Use 'set height 0' to disable page
18266 prompting, not 'set height 400'.
18267
18268 Fix a bunch of timeouts.
18269 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18270 four separate tests, so expect doesn't take forever to match a ton
18271 of text against a regexp with lots of .* forms.
18272 ("maint print psymbols", "maint print symbols"): Make some of
18273 these greps more selective, so that expect doesn't try to wade
18274 through huge piles of output and time out.
18275
18276 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18277
18278 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18279 tests: one which doesn't expect shlib events to be reported, and
18280 another which does, but is XFAIL for all platforms other than
18281 HP/UX.
18282
18283 * gdb.base/break.exp: Teach the test suite that the `catch
18284 fork', `catch vfork', and `catch exec' commands produce error
18285 messages on platforms that don't provide these features.
18286
18287 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18288
18289 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18290 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18291 (shortening names from solib_threshold.exp etc), won't run on
18292 anything but HP-UX for the foreseeable future.
18293 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18294 reflect move.
18295
18296 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18297
18298 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18299 gdb.trace/Makefile.in (clean): Remove all test executables.
18300
18301 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18302
18303 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18304 successfully re-sets breakpoints in shared libraries.
18305 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18306
18307 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18308
18309 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18310 and compiled w/o GCC.
18311
18312 * gdb.hp/watch-cmd.exp: ditto.
18313
18314 * gdb.hp/watch-hp.exp: ditto.
18315
18316 * gdb.hp/xdb1.exp: ditto.
18317
18318 * gdb.hp/xdb2.exp: ditto.
18319
18320 * gdb.hp/dbx.exp: ditto.
18321
18322 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18323
18324 * constvars.c: Remove C++-isms.
18325 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18326 with GCC.
18327
18328 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18329
18330 The following changes are part of the HP merge.
18331
18332 * gdb.base/break.exp: new tests to verify that catchpoints for
18333 fork, vfork, and exec don't trigger inappropriately.
18334
18335 * gdb.base/opaque.exp: compile one file at a time, then link.
18336
18337 * gdb.base/signals.exp: be more restrictive about which hppa
18338 systems receive a setup_xfail. new tests.
18339
18340 * gdb.base/solib_threshold.build: new file.
18341 * gdb.base/solib_threshold.exp: new file.
18342 * gdb.base/solib_threshold.link_opts: new file.
18343 * gdb.base/solib_threshold.mk: new file.
18344 * gdb.base/gen_solib_threshold.c: new file.
18345
18346 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18347 tests. New tests for enums inside classes.
18348
18349 * gdb.c++/compiler.cc: indicate support of template debugging.
18350
18351 * gdb.c++/demangle.exp: run hp style demangling tests.
18352
18353 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18354 tests.
18355
18356 * gdb.c++/misc.cc: changes to support new tests.
18357
18358 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18359 to support new tests.
18360
18361 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18362 gcc, then skip these tests.
18363
18364 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18365
18366 The following files are part of the HP merge; some had longer
18367 names at HP, but have been renamed to be no more than 14
18368 characters in length.
18369
18370 * gdb.hp/ambiguous.cc: new file.
18371 * gdb.hp/ambiguous.exp: new file.
18372 * gdb.hp/attach.exp: new file.
18373 * gdb.hp/attach2.exp: new file.
18374 * gdb.hp/classes-hp.exp: new file.
18375 * gdb.hp/ctti.exp: new file.
18376 * gdb.hp/ctti-add.cc: new file.
18377 * gdb.hp/ctti-add1.cc: new file.
18378 * gdb.hp/ctti-add2.cc: new file.
18379 * gdb.hp/ctti-add3.cc: new file.
18380 * gdb.hp/dbx.exp: new file.
18381 * gdb.hp/exception.cc: new file.
18382 * gdb.hp/exception.exp: new file.
18383 * gdb.hp/foll-exec.c: new file.
18384 * gdb.hp/foll-exec.exp: new file.
18385 * gdb.hp/foll-fork.c: new file.
18386 * gdb.hp/foll-fork.exp: new file.
18387 * gdb.hp/foll-vfork.c: new file.
18388 * gdb.hp/foll-vfork.exp: new file.
18389 * gdb.hp/inherit-hp.exp: new file.
18390 * gdb.hp/more-steps.exp: new file.
18391 * gdb.hp/namespace.cc: new file.
18392 * gdb.hp/namespace.exp: new file.
18393 * gdb.hp/optimize.exp: new file.
18394 * gdb.hp/pxdb.c: new file.
18395 * gdb.hp/pxdb.exp: new file.
18396 * gdb.hp/quicksort.exp: new file.
18397 * gdb.hp/reg-test.exp: new file.
18398 * gdb.hp/reg-test.s: new file.
18399 * gdb.hp/sized-enum.c: new file.
18400 * gdb.hp/sized-enum.exp: new file.
18401 * gdb.hp/start-stop.exp: new file.
18402 * gdb.hp/templ-hp.cc: new file.
18403 * gdb.hp/templ-hp.exp: new file.
18404 * gdb.hp/thr-lib.c: new file.
18405 * gdb.hp/thr-lib.exp: new file.
18406 * gdb.hp/thr-lib.h: new file.
18407 * gdb.hp/thr-liblib.c: new file.
18408 * gdb.hp/virtfun-hp.c: new file.
18409 * gdb.hp/virtfun-hp.exp: new file.
18410 * gdb.hp/watch-cmd.exp: new file.
18411 * gdb.hp/watch-hp.exp: new file.
18412 * gdb.hp/xdb1.exp: new file.
18413 * gdb.hp/xdb2.exp: new file.
18414 * gdb.hp/xdb3.exp: new file.
18415
18416 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18417
18418 The following files are part of the HP merge; some had longer
18419 names at HP, but have been renamed to be no more than 14
18420 characters in length.
18421
18422 * gdb.base/ss.h: new file.
18423 * gdb.base/call-ar-st.c: new file.
18424 * gdb.base/call-ar-st.exp: new file.
18425 * gdb.base/call-rt-st.c: new file.
18426 * gdb.base/call-rt-st-exp: new file.
18427 * gdb.base/call-strs.exp: new file.
18428 * gdb.base/ena-dis-br.exp: new file.
18429 * gdb.base/environ.exp: new file.
18430 * gdb.base/long_long.exp: new file.
18431 * gdb.base/sect-cmd.exp: new file.
18432 * gdb.base/shlib-cl2.exp: new file.
18433 * gdb.base/smoke.exp: new file.
18434 * gdb.base/so-impl-ld.c: new file.
18435 * gdb.base/so-impl-ld.exp: new file.
18436 * gdb.base/so-indr-cl.c: new file.
18437 * gdb.base/so-indr-cl.exp: new file.
18438 * gdb.base/varargs.exp: new file.
18439 * gdb.base/volatile.exp: new file.
18440 * gdb.base/whatis-exp.exp: new file.
18441 * gdb.base/display.exp: new file.
18442 * gdb.c++/derivation.exp: new file.
18443 * gdb.c++/local.exp: new file.
18444 * gdb.c++/member-ptr.exp: new file.
18445 * gdb.c++/overload.exp: new file.
18446 * gdb.c++/ovldbreak.exp: new file.
18447 * gdb.c++/ref-types.exp: new file.
18448 * gdb.c++/ref-types2.exp: new file.
18449 * gdb.c++/userdef.exp: new file.
18450
18451 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18452
18453 * gdb.base/default.exp: Reflect wording change in remote.c.
18454
18455 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18456
18457 * gdb.base/help.exp: Update to reflect current text.
18458
18459 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18460
18461 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18462 they're stack variables and contain garbage.
18463 * gdb.c++/anon-union.exp: new file.
18464
18465 The following changes were made by David Taylor
18466 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18467 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18468 in changes by HP.
18469
18470 * gdb.base/bitops.exp: new file.
18471 * gdb.base/default.exp: change expected messages for catch and
18472 info catch tests to reflect HP merge changes.
18473 * gdb.base/enable-disable-break.exp
18474 * gdb.base/ending-run.c: new file.
18475 * gdb.base/long_long.c: new file.
18476 * gdb.base/maint.exp: new file.
18477 * gdb.base/pointers2.exp: new file.
18478 * gdb.base/shlib-call2.exp: new file.
18479 * gdb.base/solib.exp: new file.
18480 * gdb.base/step-test.c: new file.
18481 * gdb.c++/anon-union.cc: new file.
18482 * gdb.c++/local.cc: new file.
18483 * gdb.c++/member-pointer.cc: new file.
18484 * gdb.c++/method.cc: new file.
18485 * gdb.c++/ref-types.cc: new file.
18486 * gdb.c++/ref-types2.cc: new file.
18487 * gdb.c++/userdef.cc: new file.
18488
18489 * gdb.base/scope.exp: compile one file at a time, then link.
18490 * gdb.base/langs.exp: ditto.
18491 * gdb.base/list.exp: ditto.
18492
18493 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18494
18495 The following changes were made by David Taylor
18496 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18497 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18498 in changes by HP.
18499
18500 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18501 skip tests. When compiling pass c++ flag to gdb_compile.
18502 * gdb.c++/
18503
18504 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18505 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18506 (skip_hp_tests): new function.
18507 (gdb_preprocess): new function.
18508
18509 * configure.in (hpdir): decide whether to configure gdb.hp.
18510 * configure: regenerated.
18511
18512 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18513 to delete on clean.
18514 (EXECUTABLES): update to reflect new additions.
18515 * gdb.base/commands.exp: update message expected.
18516 * gdb.base/default.exp: add copyright notice.
18517 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18518 * gdb.base/help.exp: update messages to reflect current text.
18519 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18520 targets for recurse tests.
18521 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18522 skip this file.
18523
18524 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18525 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18526 compilation.
18527 * gdb.c++/misc.exp: ditto.
18528 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18529 run the tests. tell gdb_compile that it's a c++ compilation.
18530
18531 * gdb.threads/pthreads.exp: fix typo in message.
18532
18533 * gdb.base/all-bin.exp: new file.
18534 * gdb.base/arithmet.exp: new file.
18535 * gdb.base/assign.exp: new file.
18536 * gdb.base/completion.exp: new file.
18537 * gdb.base/cond-expr.exp: new file.
18538 * gdb.base/condbreak.exp: new file.
18539 * gdb.base/define.exp: new file.
18540 * gdb.base/dollar.exp: new file.
18541 * gdb.base/environment.exp: new file.
18542 * gdb.base/eval-skip.exp: new file.
18543 * gdb.base/jump.exp: new file.
18544 * gdb.base/logical.exp: new file.
18545 * gdb.base/pointers.exp: new file.
18546 * gdb.base/relational.exp: new file.
18547 * gdb.base/section_command.exp: new file.
18548 * gdb.base/whatis-expr.exp: new file.
18549
18550 * gdb.base/all-types.c: new file.
18551 * gdb.base/call-array-struct.c: new file.
18552 * gdb.base/call-return-struct.c: new file.
18553 * gdb.base/call-strings.c: new file.
18554 * gdb.base/callfuncs2.c: new file.
18555 * gdb.base/condbreak.c: new file.
18556 * gdb.base/constvars.c: new file.
18557 * gdb.base/display.c: new file.
18558 * gdb.base/int-type.c: new file.
18559 * gdb.base/jump.c: new file.
18560 * gdb.base/miscexprs.c: new file.
18561 * gdb.base/pointers.c: new file.
18562 * gdb.base/pointers2.c: new file.
18563 * gdb.base/shmain.c: new file.
18564 * gdb.base/shr1.c: new file.
18565 * gdb.base/shr2.c: new file.
18566 * gdb.base/solib.c: new file.
18567 * gdb.base/solib1.c: new file.
18568 * gdb.base/solib2.c: new file.
18569 * gdb.base/varargs.c: new file.
18570 * gdb.c++/derivation.cc: new file.
18571 * gdb.c++/overload.cc: new file.
18572 * gdb.c++/ovldbreak.cc: new file.
18573 * gdb.hp/attach.c: new file.
18574 * gdb.hp/attach2.c: new file.
18575 * gdb.hp/average.c: new file.
18576 * gdb.hp/compiler.c: new file.
18577 * gdb.hp/compiler.cc: new file.
18578 * gdb.hp/execd-program.c: new file.
18579 * gdb.hp/follow-exec.c: new file.
18580 * gdb.hp/follow-fork.c: new file.
18581 * gdb.hp/follow-vfork-and-exec.c: new file.
18582 * gdb.hp/misc-hp.cc: new file.
18583 * gdb.hp/more-steps.c: new file.
18584 * gdb.hp/optimize.c: new file.
18585 * gdb.hp/quicksort.c: new file.
18586 * gdb.hp/run-hp.c: new file.
18587 * gdb.hp/start-stop.c: new file.
18588 * gdb.hp/sum.c: new file.
18589 * gdb.hp/templates-hp.cc: new file.
18590 * gdb.hp/thread-local-in-lib.c: new file.
18591 * gdb.hp/thread-local-in-lib.h: new file.
18592 * gdb.hp/thread-local-in-lib.lib.c: new file.
18593 * gdb.hp/vforked-program.c: new file.
18594 * gdb.hp/virtfunc-hp.cc: new file.
18595 * gdb.hp/watchpoint-hp.c: new file.
18596 * gdb.hp/xdb.c: new file.
18597 * gdb.hp/xdb0.c: new file.
18598 * gdb.hp/xdb0.h: new file.
18599 * gdb.hp/xdb1.c: new file.
18600
18601 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18602
18603 The following change was made by Edith Epstein
18604 <eepstein@cygnus.com> as part of a project to merge in changes
18605 originally made by HP; HP did not create ChangeLog entries.
18606
18607 * gdb.c++/demangle.exp: changed the expected output for some
18608 ARM-style mangling -- removed second reference to datatype.
18609 For example, maint demangle __dt__11T1__pt__2_cFv
18610 T1<char>::~T1<char>(void)
18611 becomes,
18612 maint demangle __dt__11T1__pt__2_cFv
18613 T1<char>::~T1(void)
18614
18615 (test_hp_style_demangling): new hp specific demangling test cases.
18616
18617 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18618
18619 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18620 * gdb.trace/backtrace.exp: Likewise.
18621 * gdb.trace/circ.exp: Likewise.
18622 * gdb.trace/collection.exp: Likewise.
18623 * gdb.trace/deltrace.exp: Likewise.
18624 * gdb.trace/infotrace.exp: Likewise.
18625 * gdb.trace/limits.exp: Likewise.
18626 * gdb.trace/packetlen.exp: Likewise.
18627 * gdb.trace/passc-dyn.exp: Likewise.
18628 * gdb.trace/passcount.exp: Likewise.
18629 * gdb.trace/report.exp: Likewise.
18630 * gdb.trace/save-trace.exp: Likewise.
18631 * gdb.trace/tfind.exp: Likewise.
18632 * gdb.trace/tracecmd.exp: Likewise.
18633 * gdb.trace/while-dyn.exp: Likewise.
18634 * gdb.trace/while-stepping.exp: Likewise.
18635
18636 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18637
18638 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18639
18640 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18641
18642 From Brendan Kehoe:
18643 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18644 int return types.
18645
18646 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18647
18648 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18649 remote dos host testing right.
18650
18651 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18652
18653 * gdb.base/corefile.exp: remove some xfails.
18654
18655 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18656
18657 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18658 have different timestamps.
18659
18660 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18661
18662 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18663 gdb.base/default.exp: Replace "exec" with "executable".
18664
18665 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18666
18667 * gdb.base/default.exp: Change else if to elseif from previous
18668 delta.
18669
18670 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18671
18672 * gdb.base/default.exp: Add brace missing from previous delta.
18673
18674 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18675
18676 * gdb.base/default.exp: Support test for info float for all
18677 varieties of arm toolchain.
18678
18679 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18680
18681 * gdb.trace/*.exp: remove "remote_download" command.
18682
18683 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18684
18685 * gdb.trace/*.exp: remove -gdwarf from compile.
18686
18687 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18688
18689 * gdb.trace/configure.in(AC_INIT): typo
18690 * gdb.trace/configure: regenerated
18691
18692 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18693
18694 * config/m68k-emc.exp: New file.
18695 * lib/<emc-support.exp trace-support.exp}: New files.
18696 * configure.in: add new test directory gdb.trace.
18697 * gdb.trace/{configure configure.in Makefile.in}: New files.
18698 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18699 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18700 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18701 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18702 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18703 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18704 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18705
18706 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18707
18708 * gdb.c++/classes.exp: Change all regular expressions to match
18709 arbitrary combinations of newline/carriage-return, so that they
18710 will work equally well on Unix and Windows.
18711 * gdb.c++/inherit.exp: ditto.
18712 * gdb.c++/virtfunc.exp: ditto.
18713
18714 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18715
18716 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18717
18718 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18719
18720 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18721 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18722 to use a0-a3/d0-d3 as needed.
18723
18724 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18725
18726 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18727 * gdb.disasm/am33.exp: Corresponding changes.
18728
18729 1998-07-11 Felix Lee <flee@cygnus.com>
18730
18731 * gdb.base/callfuncs.exp: add cmp10 test.
18732 * gdb.base/callfuncs.c (cmp10): new function.
18733
18734 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18735
18736 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18737 into two parts to get around a synchronization problem in expect.
18738
18739 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18740
18741 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18742
18743 * configure.in: Add options for gdbtk testsuite.
18744
18745 * configure: Regenerate.
18746
18747 * gdb.gdbtk: New directory to hold gdbtk tests.
18748
18749 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18750
18751 * gdb.fortran/types.exp: Escape brackets in expect patterns
18752 for test_float_literal_types_accepted tests.
18753 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18754 before run test.
18755
18756 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18757
18758 * am33.exp: Just compile, do not link the testcase.
18759 * am33.s: Add ".am33" pseudoop to force am33 mode.
18760
18761 1998-06-25 Felix Lee <flee@cygnus.com>
18762
18763 * gdb.base/setshow.exp: make sure $pc is sane.
18764
18765 * gdb.stabs/weird.exp: split expect patterns properly.
18766
18767 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18768
18769 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18770 * gdb.disasm/am33.exp: Run it.
18771
18772 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18773
18774 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18775 match processing (and eliminate spurious timeouts when running).
18776
18777 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18778
18779 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18780 exception test, but conditionalize it on target [mach | gnu].
18781
18782 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18783
18784 * gdb.base/overlays.exp: fixup compile line for linker script.
18785
18786 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18787
18788 * gdb.fortran/types.exp: don't guess at float size.
18789
18790 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18791
18792 * gdb.base/exprs.exp: delete test that depends on int size.
18793
18794 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18795
18796 * config/sim.exp: Removed checks for target triplets.
18797 (gdb_target_sim): Use gdb,target_sim_options.
18798
18799 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18800
18801 * gdb.base/reread.exp: New file.
18802 * gdb.base/reread1.c: New file.
18803 * gdb.base/reread2.c: New file.
18804
18805 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18806
18807 * config/sim.exp: Use 'target sim -sparclite' when running
18808 SPARClite programs.
18809
18810 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18811
18812 * gdb.base/structs2.exp: New file.
18813 * gdb.base/structs2.c: New file.
18814
18815 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18816
18817 * gdb.asm/common.inc: New file.
18818 * gdb.asm/d10v.inc: New file.
18819 * asm-source.exp: Pass -I's to gas to find .inc files.
18820 Update line numbers in expected output.
18821 * asmsrc1.s: Rewrite.
18822 * asmsrc2.s: Rewrite.
18823 * configure.in: Create arch.inc symlink.
18824 * configure: Regenerate.
18825 * Makefile.in (distclean): Delete arch.inc.
18826
18827 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18828
18829 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18830 (t_enum_value2): ditto
18831 (t_enum_value3): ditto
18832 (main): ditto
18833 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18834
18835 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18836 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18837 change.
18838 Use gdb_test instead of send_gdb/gdb_expect sequences.
18839
18840 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18841
18842 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18843 not void.
18844
18845 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18846
18847 * gdb.base/branches.c: Code with lots of loops and
18848 subroutines. Used to test gdbs ability to single step through PC
18849 changes, especially to test mips-tdep.c:mips_next_pc
18850
18851 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18852
18853 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18854 more rigorous EGCS C++ error checking.
18855
18856 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18857
18858 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18859 tests.
18860 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18861 function when asleep.
18862 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18863 for i*86 Linux and SVR4 signal handling problems.
18864 Remove linux xfail for `next to handler in signals_tests_1', fixed
18865 by recent infrun.c change.
18866 Limit backtrace to 10 frames to avoid timeout problems with infinite
18867 stack backtraces.
18868 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18869 target.[ch] change.
18870
18871 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18872
18873 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18874 for a newline from gdb before continuing.
18875 (default_gdb_exit): Just look for y or n.
18876 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18877 it does, fail the rests of the tests in the file.
18878
18879 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18880
18881 * config/cygmon.exp: New file.
18882
18883 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18884
18885 * gdb.base/list.exp: Fix problem with "list default lines around
18886 main" test on remote targets.
18887
18888 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18889 run test on remote targets.
18890
18891 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18892
18893 * gdb.asm: New directory.
18894 * configure.in: Configure it.
18895 * configure: Regenerate.
18896 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18897 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18898
18899 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18900
18901 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18902
18903 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18904
18905 * gdb.base/overlays (several files): Merge the two overlay
18906 managers into one. Change variables (foox, barx, bazx, grbxx)
18907 back into ints but force them to load in their proper sections.
18908
18909 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18910
18911 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18912 on-chip insn memory and IMAP1 to upper 128k.
18913 (D10VCopy): Handle memory regions crossing 16k boundaries.
18914 (D10VCopy): Transfer data in 32 bit chunks.
18915
18916 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18917
18918 * gdb.base/overlays.c (main): Exit normally when result is
18919 correct.
18920
18921 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18922 map. Include space for printf in .text segment.
18923
18924 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18925 updated d10v memory VMA/LMA map.
18926 (D10VCopy): Call D10VTranslate.
18927
18928 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18929
18930 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18931
18932 * gdb.base/bar.c (barx, bar): Change variable to small array so
18933 that it won't be put into the .sdata - small data -
18934 section. Update reference.
18935 * gdb.base/baz.c (bazx, baz): Ditto.
18936 * gdb.base/foo.c (foox, foo): Ditto.
18937 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18938
18939 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18940 to be arrays.
18941
18942 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18943
18944 * gdb.base/overlays.exp: fix up and get working again.
18945 Add tests for backtraces from an overlay function.
18946
18947 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18948
18949 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18950 "calling function with watchpoint enabled".
18951
18952 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18953
18954 * gdb.base/break.exp (test_next_with_recursion): Remove
18955 gdb_suppress_tests for d10v-*-*.
18956 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18957 pending review of whether it is useful or not.
18958
18959 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18960
18961 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18962
18963 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18964
18965 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18966 * config/dve.exp: New file to support Densan boards.
18967
18968 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18969
18970 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18971 reads and BSD.
18972
18973 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18974
18975 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18976 response.
18977
18978 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18979
18980 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18981
18982 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18983 test.
18984
18985 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18986 target_sizeof_long and target_bigendian_p.
18987 (structs_by_value, structs_by_reference): Check values according
18988 to targets word size and endianess.
18989
18990 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18991
18992 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18993 output.
18994
18995 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18996
18997 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18998 Update test of set args help to match source change.
18999
19000 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19001
19002 * gdb.base/default.exp: Expect help system output to be in
19003 alphabetical order.
19004 * gdb.base/help.exp: Ditto.
19005
19006 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19007
19008 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19009 "i*86-pc-linux-gnu*".
19010 * gdb.base/interrupt.exp: Ditto.
19011 * gdb.base/corefile.exp: Ditto.
19012
19013 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19014 define vxworks when building the testcase.
19015
19016 * gdb.base/ptype.exp: Fix testnames to be unique.
19017 * gdb.base/radix.exp: Ditto.
19018 * gdb.base/term.exp: Ditto.
19019 * gdb.base/whatis.exp: Ditto.
19020 * gdb.c++/classes.exp: Ditto.
19021
19022 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19023
19024 * gdb.base/callfuncs.exp: Fix indentation.
19025
19026 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19027 suppress_flag has been set.
19028 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19029 target feature.
19030
19031 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19032
19033 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19034 the testcase.
19035
19036 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19037 set_debug_traps() and breakpoint().
19038 * gdb.c++/misc.cc (main): Ditto.
19039 * gdb.c++/templates.cc (main): Ditto.
19040 * gdb.c++/virtfunc.cc (main): Ditto.
19041
19042 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19043
19044 * lib/gdb.exp(gdb_step_for_stub): New function.
19045 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19046 exists, reload the executable and do a "continue" instead of
19047 doing a jump.
19048 (runto_main): Use gdb_step_for_stub.
19049
19050 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19051 tests to have unique names.
19052 * gdb.base/callfuncs.exp: Ditto.
19053 * gdb.base/commands.exp: Ditto.
19054 * gdb.base/default.exp: Ditto.
19055 * gdb.base/help.exp: Ditto.
19056 * gdb.base/list.exp: Ditto.
19057 * gdb.base/opaque.exp: Ditto.
19058 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19059 similar tests.
19060
19061 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19062 * gdb.c++/cplusfuncs.cc: Ditto.
19063 * gdb.c++/virtfunc.cc: Ditto.
19064
19065 * config/monitor.exp: Keep track of the last file we saw, rather
19066 than trying to get the info from gdb.
19067
19068 * gdb.fortran/types.exp: Move comment to previous line.
19069
19070 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19071
19072 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19073 target mode.
19074
19075 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19076
19077 From Bob Manson:
19078 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19079 string from GDB when it connects.
19080
19081 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19082
19083 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19084
19085 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19086 if we can't get a debug format from GDB (we may be testing an
19087 older GDB). Use a 10 second timeout when checking for the format.
19088
19089 * gdb.stabs/weird.exp: Fix quoting.
19090
19091 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19092
19093 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19094
19095 * config/arm-ice.exp: New file.
19096
19097 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19098
19099 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19100 until it has been modified to work with the new testsuite.
19101
19102 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19103 testcase won't compile, cause all of the testcases in the file to
19104 fail instead.
19105
19106 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19107 (gdb_clear_suppressed): New procedure.
19108 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19109 it contains a positive value.
19110
19111 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19112
19113 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19114
19115 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19116
19117 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19118
19119 * lib/gdb.exp (setup_xfail_format): New function.
19120 (get_debug_format): New function to get debug format.
19121 (debug_format): New global variable to hold last value set
19122 by get_debug_format.
19123 * gdb.base/list.exp: Call get_debug_format and expect some
19124 tests to fail for DWARF 1 and COFF formats.
19125 * gdb.c++/ptype.exp: Ditto.
19126 * gdb.c++/classes.exp: Ditto.
19127 * gdb.c++/cplusfuncs.exp: Ditto.
19128 * gdb.c++/inherit.exp: Ditto.
19129 * gdb.c++/templates.exp: Ditto.
19130 * gdb.c++/virtfunc.exp: Ditto.
19131
19132 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19133
19134 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19135 host doesn't have a currently-open connection.
19136
19137 * config/sparclet.exp: Cleanups and fixes to make it generic for
19138 any gdb stub target. Handle cases where gdb doesn't respond when
19139 interrupted in a sane fashion.
19140
19141 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19142 same thing in a totally different way.
19143
19144 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19145 setting "timeout".
19146 (gdb_start): We set the global gdb_prompt variable in
19147 default_gdb_init now.
19148
19149 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19150
19151 * gdb.base/printcmds.exp: Fix "check for floating addition"
19152 regexp to accept results within approx +/- .01 of exact value.
19153 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19154
19155 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19156
19157 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19158 properly.
19159 (gdb_expect): Add optional timeout parameter, and add timeout
19160 value to various calls.
19161 (gdb_suppress_tests): Only give one warning message per group.
19162
19163 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19164
19165 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19166 global variables. Handle getting a value for $timeout more
19167 gracefully.
19168
19169 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19170
19171 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19172 initialize.
19173 (default_gdb_init): New procedure; allow gdb_init to be overridden
19174 by a target configuration file.
19175 (gdb_expect): Pass the timeout to remote_expect.
19176
19177 * config/monitor.exp(gdb_load): Fix typo in regexp.
19178
19179 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19180
19181 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19182
19183 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19184
19185 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19186 here. Call gdb_target_exec before rebooting the target, to make
19187 sure the connection to the target is closed.
19188 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19189 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19190 Also detect "Timeout reading from remote" error.
19191
19192 * config/gdbserver.exp: Pass the executable being loaded to
19193 gdb_target_monitor. Don't call gdb_file_cmd here; let
19194 gdb_target_monitor do it.
19195
19196 * gdb.disasm/hppa.exp: Don't use exec_output.
19197
19198 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19199
19200 * gdb.base/list.exp: If we're debugging a non-native target,
19201 try to set the pc register to point to the start of the
19202 program before doing the first list command.
19203
19204 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19205 test_calls after restarting.
19206
19207 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19208 reloading.
19209
19210 * gdb.base/watchpoint.exp: Fix typo.
19211
19212 * gdb.base/setshow.exp: Check for use_gdb_stub.
19213
19214 * gdb.base/break.exp: Fix continue until exit test for the gdb
19215 stub case.
19216 * gdb.base/langs.exp: Ditto.
19217
19218 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19219 gdb_load_offset. If we weren't given a file to load, figure out
19220 what the current file is and use it.
19221
19222 * config/i386-bozo.exp: New file.
19223
19224 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19225
19226 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19227 feature.
19228
19229 * config/proelf.exp: New entry.
19230
19231 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19232
19233 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19234 of regexps.
19235
19236 * gdb.base/watchpoint.exp: Don't run the test_stepping
19237 tests if gdb can't call functions on the target.
19238
19239 * gdb.base/setshow.exp: Don't run the set prompt tests if
19240 the board has gdb_prompt set.
19241
19242 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19243
19244 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19245 * gdb.base/commands.exp: Likewise.
19246 * gdb.base/setshow.exp: Likewise.
19247
19248 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19249
19250 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19251 feature.
19252
19253 * config/i960.exp: New file.
19254
19255 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19256
19257 * gdb.base/funcargs.exp: Check for gdb,short_int target
19258 feature instead of looking for explicit target triplets.
19259
19260 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19261
19262 * gdb.base/printcmds.exp: add a couple more tests a la
19263 "p 123DEADBEEF", to check parse_number.
19264 * top.c: change "to enable to enable" to "to enable" in a couple
19265 of help strings.
19266
19267 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19268
19269 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19270 on the mn10300.
19271
19272 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19273
19274 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19275 where the test executable is run with explicit args.
19276 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19277
19278 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19279
19280 * gdb.base/run.c: Use FAKEARGV to build test executable that
19281 does not require a command line arg, since most simulators
19282 don't currently support passing such an arg into the simulated
19283 program.
19284 * gdb.base/commands.exp: Change tests to insert the proper
19285 value as the arg to the first recursive factorial call. Change
19286 compilation line to define FAKEARGV at compile time.
19287
19288 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19289
19290 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19291 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19292 function with watchpoint enabled" test.
19293
19294 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19295
19296 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19297 Don't call gdb_test when the command doesn't return to a gdb prompt.
19298
19299 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19300 "Tests restarted" messages.
19301
19302 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19303
19304 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19305
19306 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19307
19308 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19309 for INFO SYMBOL; add help tests for OVERLAY commands.
19310 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19311 add tests for OVERLAY commands
19312 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19313 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19314 * gdb.base/sigall.c: add usestubs code frag
19315 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19316
19317 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19318
19319 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19320 failures.
19321 (gdb_stop_suppressing_tests): Note that tests have restarted.
19322
19323 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19324
19325 * config/h8300.exp: New file.
19326
19327 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19328
19329 * gdb.base/setshow.exp: Check for the existence of a
19330 feature, not its value.
19331
19332 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19333
19334 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19335
19336 * gdb.base/scope.exp: It's now init0(), not init().
19337
19338 * gdb.base/scope0.c: For now, change init() to be init0().
19339
19340 * config/monitor.exp: Use gdb_serial in preference to serial
19341 or netport.
19342
19343 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19344 and it's not already set.
19345
19346 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19347
19348 * gdb.base/setshow.exp: Only test the run command if the target
19349 isn't using a stub and if it supports argument passing.
19350
19351 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19352
19353 * config/udi.exp(gdb_start): Make sure UDICONF is set
19354 properly before starting gdb.
19355
19356 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19357
19358 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19359 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19360 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19361
19362 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19363
19364 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19365 specialized code to reboot the board, use remote_reboot instead.
19366
19367 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19368
19369 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19370
19371 * config/monitor.exp: Make sure we disconnect from the target.
19372 Also, try a reboot/reload cycle instead of failing if the
19373 load fails.
19374
19375 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19376
19377 * gdb.base/default.exp: Don't set match_max.
19378 * gdb.base/help.exp: Ditto.
19379 * gdb.base/list.exp: Ditto.
19380 * gdb.base/signals.exp: Ditto.
19381
19382 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19383 set, use remote_ld to download the testcase instead of
19384 the GDB loader.
19385
19386 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19387
19388 * config/vr5000.exp: New file.
19389
19390 * config/monitor.exp(gdb_target_monitor): Add pattern for
19391 "Ending remote" to detect errors in connecting.
19392
19393 * gdb.base/setshow.exp: Add .* within auto language test.
19394
19395 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19396 target feature.
19397
19398 * config/monitor.exp(gdb_load): Check for a failure when loading,
19399 and reboot the board if necessary.
19400
19401 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19402 a set of tests. Remove print.* from the patterns being checked.
19403
19404 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19405
19406 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19407 refer to gdb_spawn_id.
19408
19409 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19410 longer used.
19411 * config/sparclet.exp: Ditto.
19412 * config/sparclet-old.exp: Ditto.
19413 * config/slite.exp: Ditto.
19414 * config/sim.exp: Ditto.
19415 * gdb.base/funcargs.exp: Ditto.
19416
19417 * lib/gdb.exp:Remove references to gdb_spawn_id.
19418 (gdb_expect): Move to remote.exp.
19419
19420 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19421
19422 * config/monitor.exp: Detect the "Couldn't establish connection"
19423 message from GDB.
19424
19425 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19426
19427 * gdb.base/bitfields.exp: Use runto instead of explicit
19428 gdb_run_cmd/gdb_expect sequences.
19429
19430 * gdb.base/break.exp(text_next_with_recursion): Add match for
19431 gdb_expect call.
19432
19433 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19434 We also need to handle the "A program is being debugged already"
19435 prompt from gdb. Use gdb_test to set the baud rate.
19436
19437 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19438 to 20000. Really. I mean it.
19439
19440 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19441
19442 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19443 fails. If suppress_flag is set, skip perror message about not
19444 being able to send to GDB.
19445 (send_gdb): If suppress_flag is set, don't try to send commands to
19446 GDB.
19447 (gdb_expect): If suppress_flag is set, always fail immediately.
19448 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19449 (gdb_init): Call gdb_stop_suppressing_tests.
19450 (default_gdb_exit): Ditto.
19451 (default_gdb_start): Ditto.
19452
19453 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19454 gdb_stop_suppressing_tests as appropriate.
19455 * gdb.base/break.exp: Ditto.
19456 * gdb.base/callfuncs.exp: Ditto.
19457 * gdb.base/commands.exp: Ditto.
19458 * gdb.base/exprs.exp: Ditto.
19459 * gdb.base/funcargs.exp: Ditto.
19460 * gdb.base/list.exp: Ditto.
19461 * gdb.base/recurse.exp: Ditto.
19462 * gdb.base/scope.exp: Ditto.
19463 * gdb.base/structs.exp: Ditto.
19464 * gdb.c++/inherit.exp: Ditto.
19465
19466 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19467
19468 * config/vr4300.exp: New file.
19469
19470 * gdb.*/*.exp: Call gdb_expect instead of expect.
19471
19472 * lib/gdb.exp(gdb_expect): New function.
19473
19474 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19475
19476 * lib/gdb.exp(gdb_init): New function.
19477
19478 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19479 for each individual variable set.
19480
19481 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19482 name.
19483
19484 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19485
19486 * gdb.base/scope.exp: Use gdb_test.
19487
19488 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19489 aborting; the testsuite driver will do that for us (see
19490 gdb_finish). Also, use gdb_test in a few more places.
19491
19492 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19493
19494 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19495
19496 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19497
19498 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19499 and "add_tests" are not at the same address.
19500
19501 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19502
19503 * gdb.base/ptype.exp: Use gdb_test.
19504
19505 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19506
19507 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19508 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19509 left in. No longer expect them to fail.
19510
19511 * gdb.stabs/*.mt; Deleted, no longer used.
19512 * gdb.stabs/configure.in: Remove references to target makefile
19513 frags.
19514 * gdb.stabs/configure: Rebuilt.
19515
19516 * gdb.disasm/*.mt: Deleted, no longer used.
19517 * gdb.disasm/configure.in: Remove references to target makefile
19518 frags. Use "sh3.s" as the unique filename for this directory.
19519 * gdb.disasm/configure: Rebuilt.
19520
19521 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19522 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19523 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19524
19525 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19526
19527 * config/udi.exp: Use mondfe,name instead of remote_host.
19528
19529 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19530
19531 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19532 a function with a watchpoint enabled on the mn10200.
19533
19534 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19535 before trying to create it!
19536
19537 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19538
19539 * config/vx.exp: Use hostname instead of netport.
19540
19541 * config/vxworks.exp: New file.
19542
19543 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19544
19545 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19546 gdb before assuming everything worked. Send a ^C if a timeout
19547 occurs.
19548
19549 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19550 $gdb_spawn_id directly.
19551 (gdb_run_cmd): Try _start as well as start. Use the target feature
19552 gdb,start_symbol as the symbol to start from when jumping.
19553
19554 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19555
19556 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19557 redundant) test.
19558
19559 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19560 it doesn't lose for 16bit integer systems.
19561
19562 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19563
19564 * gdb.fortran/types.exp: If the target doesn't support "double"
19565 data types, then expect "real" types to only be 4 bytes.
19566
19567 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19568 call tests if the target doesn't support inferior function calls.
19569
19570 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19571 in printf tests.
19572
19573 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19574
19575 * gdb.base/help.exp: Disable "help set", "help show", and
19576 "help support". Simplify regexp for "help stack".
19577
19578 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19579 to 60 seconds. Temporarily set match_max to 15000 around the
19580 "info copying" test.
19581
19582 * gdb.base/nodebug.exp: Don't try to do an inferior function
19583 call if the target doesn't support them.
19584 * gdb.base/printcmds.exp: Likewise.
19585 * gdb.base/setvar.exp: Likewise.
19586 * gdb.base/structs.exp: Likewise.
19587 * gdb.c++/templates.exp: Likewise.
19588 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19589
19590 * gdb.base/recurse.exp: Enable for the mn10200.
19591
19592 * configure.in: Do configure gdb.stabs directory for *-*-elf
19593 targets.
19594 * configure: Rebuilt.
19595
19596 * gdb.base/break.exp: Check for gdb,noresults before testing
19597 exit status and/or results from the target.
19598 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19599 * lib/gdb.exp: Remove old (now bogus) initialization of
19600 noinferior, noargs, noresults and nosignals.
19601
19602 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19603
19604 * config/sh.exp: New file.
19605
19606 * config/slite.exp: Try to connect multiple times to the board
19607 before rebooting. Only send a "monitor run" if need_monitor_run
19608 is set.
19609
19610 * gdb.base/break.exp: Don't do the "stub continue" test if
19611 the target has gdb_stub set.
19612
19613 * gdb.base/callfuncs.exp: Increase the timeout.
19614
19615 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19616 if the target has gdb,noinferiorio set.
19617
19618 * gdb.base/list.exp: Increase match_max to 10000 characters.
19619
19620 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19621
19622 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19623 target.
19624
19625 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19626
19627 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19628
19629 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19630 trying to delete the copy of gdb. Catch the file delete so we
19631 don't die if the delete fails; also, the file should be copied to
19632 the host, not to the build.
19633
19634 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19635
19636 * lib/gdb.exp(gdb_test): Surround the result pattern with
19637 parenthesis in case it contains multiple regexps separated
19638 with |.
19639
19640 * gdb.base/watchpoint.exp: Use gdb_test.
19641 * gdb.base/default.exp: Ditto.
19642
19643 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19644
19645 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19646
19647 * gdb.base/scope.exp: Use gdb_test.
19648 * gdb.c++/classes.exp: Ditto.
19649 * gdb.c++/inherit.exp: Ditto.
19650
19651 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19652
19653 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19654 remote_exec instead.
19655 * gdb.base/corefile.exp: Don't be ridiculous.
19656 * gdb.base/*.c: Add missing stub invocations.
19657
19658 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19659
19660 * config/slite.exp: Miscellaneous fixes.
19661
19662 * lib/gdb.exp: Fix runto.
19663
19664 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19665 the target.
19666
19667 * gdb.base/watchpoint.exp: Fix regexp.
19668
19669 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19670 close and wait commands, as the descriptor may now be
19671 invalid. Always call "remote_close host".
19672
19673 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19674
19675 Major rewrite for testsuite revision.
19676
19677 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19678 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19679 instead of relying on spawn_id to always contain a valid
19680 spawn id.
19681 (get_compiler_info): New procedure to build the ${binfile}.ci
19682 file, instead of replicating this in N different places.
19683 (gdb_compile): New procedure.
19684
19685 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19686 appropriate arguments) instead of compile. Use gdb_test in a lot
19687 more places. Use send_gdb instead of send. Always run gdb_start
19688 at the start of a testcase, as this is no longer done magically.
19689
19690 config/*-gdb.exp: Rename without the -gdb suffix.
19691
19692 config/mips.exp: Use remote_close instead of exit_remote_shell.
19693 config/monitor.exp: Use target_info instead of looking at
19694 baud, timeout, etc.
19695 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19696
19697 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19698
19699 * gdb.c++/templates.exp (test_ptype_of_templates),
19700 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19701 Update expect patterns for destructors and assignment operators
19702 to match corresponding c-typeprint.c changes.
19703 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19704 to destructor breakpoint test, GDB should be able to set the
19705 destructor breakpoint without specifying arguments.
19706
19707 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19708
19709 * gdb.threads/pthreads.exp: Change result for failure to compile due
19710 to lack of pthreads runtime support from an error to simply an
19711 unsupported test, per dejagnu standards.
19712
19713 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19714
19715 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19716 where GDB exits to reduce pattern match time.
19717 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19718
19719 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19720
19721 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19722
19723 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19724 * gdb.base/default.exp: ditto.
19725 * gdb.base/nodebug.exp: ditto.
19726 * gdb.base/printcmds.exp: ditto.
19727 * gdb.base/ptype.exp: ditto.
19728 * gdb.base/setvar.exp: ditto.
19729 * gdb.base/structs.exp: ditto.
19730 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19731
19732 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19733
19734 * configure, */configure: Rebuild with autoconf 2.12.
19735
19736 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19737
19738 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19739 use new i*86-pc-linux*-gnu quads.
19740 * gdb.base/corefile.exp: Ditto.
19741 * gdb.base/signals.exp: Ditto.
19742 * gdb.base/sigall.exp: Ditto.
19743 * gdb.base/interrupt.exp: Ditto.
19744
19745 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19746 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19747 RedHat 4.0.
19748
19749 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19750 linux. This allows the test case to at least compile on latest
19751 linux, but still not run due to missing the threads runtime library.
19752
19753 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19754
19755 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19756 directory to search gdb directory. Accept and step over conditional
19757 stack alignment code. Consume $prompt in failure cases.
19758 Reset timeout to $oldtimeout instead of some arbitrary value.
19759 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19760 timeout problems with infinite stack backtraces.
19761 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19762 Accept function parameters for linkfunc member.
19763
19764 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19765
19766 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19767 (CXXFLAGS): Remove, unreferenced.
19768 (B_OPTIONS): Add for -B options and add code to initialize with
19769 previous -B options and also add -B option to pick up cross compiled
19770 runtime.
19771 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19772 doing cross compiles.
19773 (target_alias): Declare global.
19774 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19775 to verify that gcc exists in build tree, and if so set CC to that
19776 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19777
19778 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19779
19780 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19781 ptype test for anonymous union. Fixup testcase to match
19782 current gcc debug output.
19783
19784 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19785
19786 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19787 force argument to an unsigned long type.
19788
19789 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19790
19791 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19792 tests and anonymous union print/ptype tests.
19793 * gdb.base/list.exp (test_forward-search): Increase timeout by
19794 5 minutes for the "search extremely long line" case.
19795 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19796 completely optional and that the pass/fail messages use the command as
19797 the message if that third arg is a null string.
19798 (gdb_test_exact): Arrange that a null string pattern means match a
19799 null string output rather than any output, which might include random
19800 errors.
19801 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19802 backtrace test.
19803 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19804 always failing and failure is now exposed by gdb.exp changes.
19805
19806 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19807
19808 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19809 weren't being noted.
19810
19811 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19812
19813 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19814 * gdb.stabs/weird.exp: Remove v_comb xfails.
19815
19816 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19817
19818 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19819 list.exp scope.exp watchpoint.exp]
19820 Make all timeout error msgs explicitly say "(timeout)".
19821
19822 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19823
19824 * config/monitor.exp: Increase download timeout to 1000 seconds.
19825
19826 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19827
19828 * config/m32r.exp: Increase timeout to 120 seconds.
19829
19830 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19831
19832 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19833 and accept older ordering as obsolescent gcc or gdb.
19834 * gdb.c++/templates.exp: Ditto.
19835 * gdb.c++/virtfunc.exp: Ditto.
19836
19837 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19838
19839 * gdb.base/coremaker.c: Add code to mmap some data so we
19840 can check that it ends up in the core file.
19841 * gdb.base/corefile.exp: Add test to read mmapped data
19842 from core file.
19843
19844 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19845
19846 * config/m32r.exp: New file.
19847
19848 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19849
19850 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19851 that cflags can contains -gstabs, and work correctly for other tests.
19852
19853 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19854
19855 * gdb.base/setshow.exp: New file, tests show and set.
19856 * gdb.base/setshow.c: New file, tests show and set.
19857 * gdb.base/help.exp: Add test for help set|show annotate.
19858 * gdb.base/default.exp: Add test for set|show annotate.
19859
19860 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19861
19862 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19863 errors unique.
19864 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19865 explicitly.
19866
19867 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19868
19869 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19870 and width commands. This is done elsewhere.
19871 * (gdb_start): Don't call gdb_start_sim here. That's already
19872 done in gdb_load. This fixes lots of failures in default.exp.
19873
19874 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19875
19876 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19877 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19878 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19879 in the same we we treat other failures (since it may be an expected
19880 condition), rather than as an error.
19881 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19882 old test format.
19883
19884 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19885
19886 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19887 (distclean maintainer-clean realclean): No need to remove files
19888 twice. Nuke the duplicates.
19889 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19890 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19891 Remove config.h along with other config files.
19892
19893 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19894
19895 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19896 "p func1 ()" and note that rests of tests are skipped.
19897 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19898 setup_xfails for "print func2::coremaker_local".
19899 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19900 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19901 affected by the previous run test.
19902 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19903 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19904 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19905 "pass int powerset tuple" and "pass modeless int powerset tuple".
19906 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19907 "real write 4" and "real write 8".
19908 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19909 setup_xfails for "print vs1 after tuple assign 2",
19910 "print \$i after tuple assign 2", and
19911 "print vs2 after tuple assign 2".
19912 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19913 meaningful error message and return -1 so the caller can
19914 suppress further tests and avoid a cascade of errors.
19915
19916 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19917
19918 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19919 format for printing version.
19920 * gdb.base/default.exp: Ditto.
19921 * gdb.base/interrupt.exp: Fix problem with cascade of
19922 errors if child process dies while calling a function.
19923
19924 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19925
19926 * Makefile.in (VPATH): Add
19927 * Makefile.in (Makefile, config.status): Fix rules so things get
19928 remade when necessary.
19929
19930 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19931
19932 * Makefile.in (just-check): Add path to sibling expect dir
19933 to environment variable specified by RPATH_ENVVAR.
19934
19935 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19936
19937 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19938 (just-check): Add shared library paths for libstdc++, tk,
19939 tcl, bfd, and opcodes to the environment variable specified
19940 in RPATH_ENVVAR.
19941 * configure.in: Add support to recognize --enable-shared flag
19942 and generate correct value for RPATH_ENVVAR.
19943 * configure: Regenerated with autoconf.
19944
19945 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19946
19947 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19948 include all osf versions.
19949 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19950 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19951 when target is linux. When failing to build pthreads test
19952 executable, give more meaningful message.
19953 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19954 arg for pthread_create.
19955
19956 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19957
19958 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19959 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19960 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19961 and -lpthreads (everybody else).
19962 (test_startup): Fail gracefully if threads are not supported.
19963 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19964 "p/c array_index("abcdef",2)" when not gcc compiled.
19965 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19966 "print func2::coremaker_local" when not gcc compiled.
19967 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19968 "ptype on opaque struct tagname (statically)",
19969 "ptype on opaque struct tagname (dynamically) 1", and
19970 "ptype on opaque struct tagname (dynamically) 2"
19971 for not compiled with gcc.
19972 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19973 backtrace when compiled with gcc.
19974 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19975 than always return success.
19976
19977 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19978
19979 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19980
19981 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19982
19983 * gdb.base/structs.exp: Undo last change.
19984
19985 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19986
19987 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19988 encapsulate all the steps/nexts done during self test, starting
19989 at main, and makes them less sensitive to optimization issues.
19990 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19991 signal handler" test.
19992 * gdb.threads/pthreads.exp: Only run this for native configs.
19993 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19994 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19995 tests.
19996 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19997 for "runto test_calls(void)" test.
19998
19999 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20000
20001 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20002 and don't expect address info in breakpoint confirmations.
20003
20004 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20005
20006 * gdb.base/list.exp (test_forward_search): Increase timeout
20007 temporarily by 60 seconds for searching extremely long line,
20008 and then reset to old value when done. Increase expect input
20009 buffer to 10000.
20010
20011 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20012
20013 * gdb.base/list.exp (test_forward_search): Fix to handle very
20014 long source line without overflowing expect's input buffer.
20015
20016 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20017
20018 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20019 "buffer_full".
20020
20021 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20022 "buffer_full".
20023
20024 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20025 "buffer_full".
20026
20027 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20028 "buffer_full".
20029
20030 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20031
20032 * configure.in (configdirs): Add gdb.threads.
20033 * configure: Regenerated with autoconf.
20034 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20035 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20036 * gdb.threads/configure: New, generated with autoconf.
20037
20038 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20039
20040 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20041
20042 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20043
20044 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20045 each signal's status in the output of "handle all print".
20046 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20047 the \r\n sequence that immediately precedes the gdb prompt.
20048 * gdb.base/a1-selftest.exp: Save original timeout and restore
20049 after test.
20050
20051 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20052
20053 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20054 symbol.
20055
20056 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20057
20058 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20059
20060 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20061
20062 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20063 timeout by 60 seconds.
20064
20065 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20066
20067 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20068 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20069 error return.
20070
20071 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20072
20073 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20074 gdb initialization, also report how long dejagnu waited. Restore
20075 old timeout before doing error return. Temporarily increase timeout
20076 by 3 minutes to allow for slow startups over heavy NFS use.
20077
20078 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20079
20080 * lib/gdb.exp: Report timeout value for verbosity level 2.
20081 * config/gdbserver.exp: Ditto.
20082 * config/hppro.exp: Ditto.
20083 * config/mips-gdb.exp: Ditto.
20084 * config/monitor.exp: Ditto.
20085 * config/netware.exp: Ditto.
20086 * config/sim-gdb.exp: Ditto.
20087 * config/slite-gdb.exp: Ditto.
20088 * config/udi-gdb.exp: Ditto.
20089 * config/unix-gdb.exp: Ditto.
20090 * config/vx-gdb.exp: Ditto.
20091 * gdb.base/a1-selftest.exp: Ditto.
20092 * gdb.base/a2-run.exp: Ditto.
20093 * gdb.base/break.exp: Ditto.
20094 * gdb.base/corefile.exp: Ditto.
20095 * gdb.base/list.exp: Ditto.
20096 * gdb.base/recurse.exp: Ditto.
20097 * gdb.base/scope.exp: Ditto.
20098 * gdb.base/signals.exp: Ditto.
20099
20100 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20101
20102 * gdb.threads/Makefile.in (docdir): Removed.
20103
20104 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20105
20106 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20107 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20108 @srcdir@.
20109 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20110 autoconf 2.5 or higher.
20111 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20112
20113 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20114
20115 * configure: Regenerated.
20116 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20117 avoid name clashes with SunOS headers.
20118
20119 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20120
20121 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20122
20123 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20124
20125 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20126 prototype information ends up in the compiler info file.
20127
20128 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20129
20130 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20131 attempting to regenerate it. Eliminate use of a temporary file
20132 and just generate the info file directly. Source it immediately,
20133 for consistency of use.
20134 * gdb.base/corefile.exp: Ditto
20135 * gdb.base/exprs.exp: Ditto.
20136 * gdb.base/funcargs.exp: Ditto.
20137 * gdb.base/langs.exp: Ditto.
20138 * gdb.base/list.exp: Ditto.
20139 * gdb.base/mips_pro.exp: Ditto.
20140 * gdb.base/nodebug.exp: Ditto.
20141 * gdb.base/opaque.exp: Ditto.
20142 * gdb.base/ptype.exp: Ditto.
20143 * gdb.base/scope.exp: Ditto.
20144 * gdb.base/setvar.exp: Ditto.
20145 * gdb.base/signals.exp: Ditto.
20146 * gdb.base/whatis.exp: Ditto.
20147 * gdb.c++/templates.exp: Ditto.
20148 * gdb.c++/virtfunc.exp: Ditto.
20149 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20150 whether or not to add -lstdc++ to the compile command line args.
20151
20152 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20153
20154 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20155 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20156 Increase timeout, a lot of single stepping might be needed if the
20157 target has no hardware watchpoints.
20158
20159 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20160
20161 * gdb.base/break.exp: Ignore compiler warnings when compiling
20162 break.c.
20163 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20164 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20165 from remote-sim.
20166 * gdb.base/exprs.exp: Add h8300 xfails.
20167 * gdb.base/funcargs.exp: Likewise.
20168 * gdb.base/nodebug.exp: Likewise.
20169 * gdb.base/printcmds.exp: Likewise.
20170 * gdb.base/ptype.exp: Likewise.
20171 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20172 h8300 xfails.
20173 * gdb.base/return.exp: Handle float/double precision problems
20174 on the h8300.
20175 * gdb.base/funcargs.c: Explicitly make last constant argument to
20176 call_after_alloca_subr an unsigned long type.
20177 * gdb.base/return.c: Include stdio.h.
20178
20179 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20180
20181 * config/abug.exp: New file for the older Motorola Bug monitor
20182 that runs on the mvme13x series VME boards.
20183 * config/monitor.exp: Use the new config array for target settings
20184 if they exist.
20185
20186 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20187
20188 * sim-gdb.exp: Make the SH simulator allocate less space when
20189 it is targeted.
20190
20191 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20192
20193 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20194 test.
20195
20196 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20197
20198 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20199 "rs6000-*-*" for "list function in include file" when gcc compiled.
20200 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20201 for "p ctable1[120]".
20202 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20203 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20204 Remove setup_xfail for "rs6000-*-*" for
20205 "print 'scope0.c'::filelocal before run".
20206 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20207 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20208 since some compilers don't allow both options to be given
20209 on the same command line. Create object file and move it.
20210
20211 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20212
20213 * gdb.base/corefile.exp: Always regenerate the core file, since
20214 we always regenerate the coremaker program. Detect special case
20215 where registers cannot be read from core file.
20216
20217 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20218
20219 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20220 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20221 * gdb.c++/templates.exp: Only match on basename of file since
20222 some formats like xcoff don't encode directory information.
20223 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20224 and rs6000 AIX xcoff targets.
20225 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20226 * configure: Regenerate.
20227 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20228 here, rather than in distclean.
20229
20230 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20231
20232 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20233 defined, and use it to compile the test case with -O2. The
20234 native compilation still uses no optimization.
20235 * gdb.base/mips_pro.c: Remove inline assembly code since
20236 it is compiled PIC by default, which results in assembler
20237 warnings that make the testsuite think the compilation
20238 was unsuccessful.
20239
20240 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20241
20242 * gdb.c++/misc.exp: Add note to message for
20243 "print s.a for foo struct" that this is a known gcc 2.7.2
20244 and earlier bug.
20245
20246 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20247
20248 * gdb.base/break.exp: Fix pattern for matching "Delete all
20249 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20250 setup_xfail for deleting all breakpoints test. Fix various
20251 timeout messages to include "(timeout)".
20252 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20253 for "p t_float_values2(3.14159,float_val2)".
20254 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20255 for "continue to call2g" when gcc compiled.
20256 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20257 "up to foo in langs.exp", "show language at foo in langs.exp",
20258 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20259 and "show language at fsub in langs.exp".
20260 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20261 "list line 1 in include file", "list message for lines past EOF",
20262 "list function in include file", "list list0.h:foo", and
20263 "list filename:function; nonexistant function".
20264 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20265 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20266 and "ptype t_char_array" to be for native cc only.
20267
20268 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20269
20270 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20271 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20272 "print func2::coremaker_local", and "backtrace in corefile.exp".
20273
20274 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20275
20276 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20277 "bt in signals.exp". This problem only appears when running
20278 the testsuite, and then only intermittently.
20279
20280 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20281
20282 * gdb.base/return.exp (return_tests): Differentiate between
20283 two tests of continuing.
20284
20285 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20286
20287 * */Makefile.in (maintainer-clean): Remove config.log.
20288 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20289 * gdb.c++/Makefile.in (PROGS): Add inherit.
20290 (clean): Remove *.ci.
20291
20292 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20293
20294 * gdb.c++/misc.cc: Add test code from Mike Stump.
20295 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20296
20297 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20298
20299 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20300 to "alpha-*-osf2*" and add comment.
20301 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20302 setup_xfail for "step over execarg initialization" and
20303 "step over corearg initialization".
20304 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20305 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20306 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20307 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20308 "print func2::coremaker_local", and "backtrace in corefile.exp".
20309 * gdb.base/signals.exp: Build and source signals.ci.
20310 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20311 to be for gcc only.
20312 * lib/gdb.exp: Move verbose statements outside conditionals.
20313
20314 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20315
20316 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20317 Feb 3 procfs.c change.
20318
20319 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20320
20321 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20322
20323 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20324
20325 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20326 from dejagnu's apparent default of 10 seconds, which gives random
20327 results when running the tests over NFS on moderately loaded systems.
20328 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20329
20330 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20331
20332 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20333 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20334 result reports.
20335
20336 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20337
20338 * configure.in (CY_AC_PATH_TCLH): Remove.
20339 * configure: Regenerate.
20340
20341 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20342
20343 * gdb.c++/Makefile.in (clean): Add missing '{'.
20344
20345 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20346
20347 * lib/gdb.exp: Provide a default value for noinferior.
20348
20349 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20350 Load libgloss.exp.
20351
20352 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20353
20354 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20355 the executable, not the .o to run the tests from.
20356
20357 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20358
20359 * gdb.base/break.exp: Don't test for program exit or exit status
20360 if $noresults if nonzero.
20361 * gdb.base/langs.exp: Likewise.
20362 * gdb.base/watchpoint.exp: Likewise.
20363
20364 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20365 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20366 trying to compile the testcase.
20367
20368 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20369
20370 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20371 * gdb.base/signals.exp (continue to handler): Likewise.
20372
20373 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20374
20375 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20376
20377 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20378
20379 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20380
20381 * gdb.base/corefile.exp: Recognize "not found" as failure
20382 when trying to determine if a core file was generated.
20383 If no core file was generate the first time, try again without
20384 the ulimit -c to work around braindamaged shells.
20385
20386 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20387
20388 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20389 [] tests with "test" and enclose string in quotes.
20390 * gdb.stabs/configure: Rebuild
20391
20392 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20393
20394 Changes in sync with expect:
20395 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20396 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20397 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20398 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20399 argument to AC_REQUIRE.
20400 * configure: Regenerated.
20401
20402 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20403
20404 * gdb.base/corefile.exp: When generating a core, discard any
20405 error messages about ulimit not found and the "core dumped"
20406 message from the shell that runs the coredumper.
20407
20408 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20409
20410 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20411
20412 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20413 which sed script to run. Expect failure for v_comb test
20414 on PA targets too.
20415
20416 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20417
20418 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20419 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20420
20421 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20422
20423 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20424 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20425 "sparc-sun-solaris*" xfails for "p v_comb".
20426 * lib/gdb.exp (default_gdb_start): Fix typo.
20427 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20428 messages to not include the full program name that caused
20429 the core dump since some systems (such as solaris) apparently
20430 truncate this path to about 80 characters.
20431 When generating a core file first try increasing the core file
20432 size limit to unlimited since some systems may default it to
20433 zero, and it is harmless to try it. Move the test for failing
20434 to generate a core file to where it will actually get executed.
20435 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20436 new gdb result from g++ debug info improvements and make old
20437 pattern obsolescent. Also account for size_t differences
20438 (may be int or long).
20439 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20440 initialization before function call is placed in the delay slot
20441 and thus appears to be skipped over by commands such as "next".
20442
20443 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20444
20445 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20446
20447 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20448
20449 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20450 input source file; fix code to compile test to deal with this
20451 convention.
20452 * gdb.c++/*.exp: Likewise.
20453
20454 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20455
20456 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20457 "bt in signals.exp".
20458
20459 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20460
20461 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20462 "step over execarg initialization" and
20463 "step over corearg initialization".
20464
20465 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20466
20467 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20468 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20469
20470 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20471
20472 From Rob Savoye (rob@poseidon.cygnus.com)
20473 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20474 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20475 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20476 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20477 configure.in}: Major reworking for autoconfig.
20478 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20479 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20480 New files.
20481 * config/unix-gdb.exp: Make GDB global.
20482 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20483 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20484 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20485 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20486 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20487 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20488 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20489 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20490 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20491 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20492 pr-8136.exp, result.exp, string.exp, tuples.exp},
20493 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20494 to returns as necessary, arrange for test to compile own testcase
20495 executable.
20496 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20497
20498 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20499
20500 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20501 clear_xfail at end of test which might not call either pass or fail.
20502 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20503 "backtrace through signal handler".
20504
20505 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20506
20507 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20508 continuing from a job control stop signal.
20509 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20510
20511 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20512
20513 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20514 * gdb.base/corefile.exp: Likewise.
20515 * gdb.base/funcargs.exp: Likewise.
20516
20517 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20518
20519 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20520 * config/monitor.exp: Add support for setting baud rate.
20521
20522 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20523
20524 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20525 i*86-*-linux* xfails for "backtrace through signal handler".
20526 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20527 "print func2::coremaker_local".
20528 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20529 alpha-dec-osf2* xfail for
20530 "delete all breakpoints when none".
20531
20532 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20533
20534 * gdb.base/break.exp: Change test that deletes all breakpoints
20535 when no user breakpoints are installed. A post 4.15 change
20536 causes gdb to no longer prompt in this case.
20537
20538 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20539
20540 * gdb.base/return.exp (return_tests): Change xfail for test
20541 "correct value returned double test" to stop xfailing at
20542 Solaris 2.5. Apparently the bug has been fixed.
20543
20544 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20545
20546 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20547 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20548
20549 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20550
20551 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20552 * gdb.disasm/hppa.s: Corresponding changes.
20553
20554 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20555
20556 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20557 makefile fragment.
20558 * config/mt-hpux: Deleted.
20559
20560 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20561
20562 * Many files: When warning about suppressed tests due to a
20563 nonexistant test binary, avoid incrementing the warning count.
20564
20565 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20566
20567 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20568
20569 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20570
20571 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20572 "sparc-*-solaris2*".
20573
20574 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20575
20576 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20577 Add global and local variables and initialize them.
20578 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20579 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20580 extracts the file name and terminating signal from the core file.
20581 * TODO: Remove note about tests for correct mapping of corefile.
20582 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20583 from optimizing it away.
20584 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20585 handles common blocks.
20586
20587 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20588
20589 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20590 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20591
20592 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20593
20594 * Makefile.in (maintainer-clean): New target, synonym for
20595 realclean.
20596 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20597 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20598 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20599 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20600 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20601 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20602
20603 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20604
20605 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20606 xfails when not gcc compiled for "print foo::funclocal".
20607 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20608 "print foo::funclocal at foo",
20609 "print 'scope1.c'::foo::funclocal at foo",
20610 "print foo::funclocal_bss at foo",
20611 "print 'scope1.c'::foo::funclocal_bss at foo",
20612 "print foo::funclocal_ro at foo",
20613 "print 'scope1.c'::foo::funclocal_ro at foo",
20614 "print bar::funclocal at foo" and
20615 "print 'scope1.c'::bar::funclocal at foo".
20616 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20617 gcc compiled for "print foo::funclocal at bar".
20618 Expand all messages to ensure that they identify that
20619 the test is at bar().
20620 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20621 gcc compiled for:
20622 "ptype on opaque struct pointer (statically)",
20623 "ptype on opaque struct tagname (statically)",
20624 "ptype on opaque struct pointer (dynamically) 1",
20625 "ptype on opaque struct tagname (dynamically) 1",
20626 "ptype on opaque struct pointer (dynamically) 2" and
20627 "ptype on opaque struct tagname (dynamically) 2
20628 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20629 gcc compiled for:
20630 "p datalocal"
20631 "whatis datalocal",
20632 "ptype datalocal",
20633 "p bsslocal",
20634 "whatis bsslocal", and
20635 "ptype bsslocal".
20636 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20637 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20638 when not gcc compiled.
20639 * gdb.base/funcargs.exp (float_and_integral_args): Add
20640 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20641 compiled.
20642 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20643 "backtrace from call6a" when not gcc compiled.
20644 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20645 "backtrace from call7a" when not gcc compiled.
20646 * gdb.base/callfuncs.exp (do_function_calls):
20647 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20648 "p t_char_array_values(char_array_val2,char_array_val1)",
20649 "p t_char_array_values(char_array_val1,char_array_val2)",
20650 "p t_char_array_values("carray 1","carray 2")",
20651 "p t_char_array_values("carray 1",char_array_val2)",
20652 "p t_char_array_values(char_array_val1,"carray 2")",
20653 "p sum_args(1,{2})",
20654 "p sum_args(2,{2,3})",
20655 "p sum_args(3,{2,3,4})",
20656 "p sum_args(4,{2,3,4,5})"
20657 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20658 "backtrace in corefile.exp" when not gcc compiled.
20659
20660 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20661
20662 * gdb.base/signals.exp: Rewrite `handle all print' test as
20663 a procedure. Accept blanks or TABs as whitespace, increase
20664 timeout and expect input buffer size for the large output
20665 from the command. Remove "i*86-*-bsdi2.0" xfail.
20666
20667 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20668
20669 * gdb.base/setvar.exp: Add new testcases for truncation when
20670 assigning invalid values to bitfields.
20671
20672 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20673
20674 * gdb.base/callfuncs.exp (do_function_calls): Remove
20675 mips-sgi-irix* xfail for
20676 "call inferior func with struct - returns char *"
20677 and fix test so that an optional (unsigned char *) cast is
20678 accepted in the result.
20679
20680 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20681
20682 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20683 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20684 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20685 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20686 that accidentally got checked in.
20687
20688 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20689
20690 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20691 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20692 compiled test.
20693 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20694 Add mips-sgi-irix5* xfail for not gcc compiled.
20695 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20696 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20697 "p top", "whatis top", "p middle", and "whatis middle".
20698 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20699 "whatis signed char" for not gcc compiled.
20700 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20701 "set variable signed char=-1 (-1)" and
20702 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20703 * gdb.base/funcargs.exp (float_and_integral_args):
20704 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20705 Add mips-sgi-irix* xfail when not gcc compiled for
20706 "continue to call2b".
20707 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20708 "continue to call2g".
20709 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20710 "backtrace from call6a"
20711 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20712 "backtrace from call7k".
20713 Add mips-sgi-irix5* xfail when not gcc compiled for
20714 "backtrace from call7a".
20715 (localvars_after_alloca): Fix gdb_test cmds for
20716 "print * after runto ...".
20717 Remove rs6000-*-* xfails for
20718 "print i after runto localvars_after_alloca" and
20719 "print l after runto localvars_after_alloca"
20720 for all compilers.
20721 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20722 when not compiled with gcc, for:
20723 "print signed char == (minus)",
20724 "print signed char != (minus)",
20725 "print signed char < (minus)",
20726 "print signed char > (minus)".
20727 * gdb.base/callfuncs.exp (do_function_calls):
20728 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20729 "call inferior func with struct - returns char *".
20730 * gdb.base/return.exp (return_tests): Change xfail for
20731 "correct value returned double test" to include Solaris 2.4.
20732 * gdb.base/funcargs.exp (float_and_integral_args):
20733 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20734
20735 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20736
20737 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20738 enumeration bitfields if compiling with GNU C.
20739 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20740 to empty' prompt.
20741
20742 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20743
20744 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20745 test for PRO targets.
20746
20747 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20748 breakpoints in the inferior at any given time by making
20749 two groups of breakpoints for call2*, call6* and call7*
20750 tests.
20751
20752 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20753
20754 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20755 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20756 from optimizing it away.
20757 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20758 "call inferior func with struct".
20759
20760 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20761
20762 * configure.in: Only configure gdb.chill for particular targets.
20763
20764 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20765
20766 * gdb.base/Makefile.in: Add action to .c.o transformation
20767 rule that generates a .ci file for each .o file and remove
20768 explicit .c.o rules except for callfuncs.o.
20769 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20770 generates a .ci file for each .o file and remove explicit
20771 .cc.o rules.
20772 (clean): Remove *.tmp *.ci files.
20773 (EXECUTABLES): Remove templ-info.exp.
20774 * gdb.base/compiler.c: New file.
20775 * gdb.c++/compiler.cc: New file
20776 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20777 Change rs6000-*-* xfail for
20778 "print 'scope0.c'::filelocal_ro" and
20779 "print 'scope1.c'::filelocal" and
20780 "print 'scope1.c'::filelocal_bss" and
20781 "print 'scope1.c'::filelocal_ro" and
20782 "print 'scope1.c'::foo::funclocal" and
20783 "print 'scope1.c'::foo::funclocal_ro" and
20784 "print 'scope1.c'::bar::funclocal" and
20785 "print 'scope0.c'::filelocal_ro" and
20786 "print 'scope1.c'::filelocal at foo" and
20787 "print 'scope1.c'::filelocal_bss at foo" and
20788 "print 'scope1.c'::filelocal_ro at foo" and
20789 "print 'scope1.c'::foo::funclocal at foo" and
20790 "print 'scope1.c'::foo::funclocal_bss at foo" and
20791 "print 'scope1.c'::foo::funclocal_ro at foo" and
20792 "print 'scope1.c'::bar::funclocal at foo" and
20793 "print 'scope0.c'::filelocal_ro" and
20794 "print 'scope1.c'::filelocal" and
20795 "print 'scope1.c'::filelocal_bss" and
20796 "print 'scope1.c'::filelocal_ro" and
20797 "print 'scope1.c'::foo::funclocal" and
20798 "print 'scope1.c'::foo::funclocal_bss" and
20799 "print 'scope1.c'::foo::funclocal_ro" and
20800 "print 'scope1.c'::bar::funclocal" and
20801 "print 'scope1.c'::bar::funclocal_bss"
20802 to only be xfail'd when not compiled with gcc.
20803 Add rs6000-*-* xfail for
20804 "print 'scope0.c'::filelocal_bss before run"
20805 when compiled with gcc.
20806 (test_at_main): Add rs6000-*-* xfail for
20807 "print filelocal_ro in test_at_main"
20808 when compiled with gcc.
20809 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20810 Add rs6000-*-aix* xfail for
20811 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20812 "ptype t_char_array", not compiled with gcc.
20813 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20814 xfail for "list foo (in include file)" when gcc compiled.
20815 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20816 (integral_args): Add rs6000-*-* xfail for
20817 "run to call0a" if not compiled with gcc.
20818 (unsigned_integral_args): Add rs6000-*-* xfail for
20819 "run to call1a" if not compiled with gcc.
20820 (float_and_integral_args): Add rs6000-*-* xfail for
20821 "run to call2a" if not compiled with gcc and for
20822 "continue to call2b" for any compiler.
20823 Add rs6000-*-* xfail to
20824 "print f1 after run to call2a" for gcc compiled.
20825 (discard_and_shuffle): Add rs6000-*-* xfail for
20826 "run to call6a".
20827 (shuffle_round_robin): Add rs6000-*-* xfail for
20828 "backtrace from call7a" if not compiled with gcc.
20829 Add rs6000-*-* xfail for
20830 "backtrace from call7b" if compiled with gcc.
20831 (call_after_alloca): Add rs6000-*-* xfail for
20832 "print c in call_after_alloca" and
20833 "print s in call_after_alloca" and
20834 "backtrace from call_after_alloca_subr"
20835 if not compiled with gcc.
20836 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20837 "print c in localvars_in_indirect_call" and
20838 "print c in localvars_in_indirect_call" and
20839 "backtrace in indirectly called function" and
20840 "stepping into indirectly called function"
20841 if not compiled with gcc.
20842 (localvars_after_alloca): Add rs6000-*-* xfail for
20843 "print c after runto localvars_after_alloca" and
20844 "print s after runto localvars_after_alloca" and
20845 "print i after runto localvars_after_alloca" and
20846 "print l after runto localvars_after_alloca"
20847 for all compilers.
20848 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20849 than whatis-info.exp.
20850 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20851 than opaque-info.exp.
20852 Setup rs6000-*-* xfail for
20853 "ptype on opaque struct pointer (statically)" and
20854 "ptype on opaque struct pointer (dynamically)" when
20855 not compiled with gcc.
20856 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20857 rather than callf-info.exp.
20858 (do_function_calls): Add clear_xfail for rs6000-*-* for
20859 "p t_float_values2(3.14159,float_val2)". Seems to work
20860 fine there, both with xlc and gcc. Need to find out what
20861 it is doing right and fix other platforms.
20862 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20863 "call inferior func with struct - returns int",
20864 "call inferior func with struct - returns long",
20865 "call inferior func with struct - returns float",
20866 "call inferior func with struct - returns double",
20867 "call inferior func with struct - returns char *",
20868 but only if not gcc compiled (presumes xlc compiled).
20869 Change rs6000-*-* xfails for
20870 "call inferior func with struct - returns char" and
20871 " call inferior func with struct - returns short" to only
20872 xfail if not using gcc.
20873 (clean mostlyclean): Remove *.ci and *.tmp files.
20874 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20875 than templ-info.exp.
20876 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20877 Add rs6000-*-* xfail for "up to foo in langs.exp"
20878 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20879 when not gcc compiled.
20880
20881 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20882
20883 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20884 * gdb.base/corefile.exp: Likewise.
20885 * gdb.base/list.exp: Likewise.
20886 * gdb.base/scope.exp: Likewise.
20887 * gdb.base/siganls.exp: Likewise.
20888
20889 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20890 compiler output.
20891 * gdb.base/whatis.exp: Likewise.
20892
20893 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20894
20895 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20896 failure (opcode table has been fixed to match reality).
20897
20898 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20899
20900 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20901 "call inferior func with struct - returns char",
20902 "call inferior func with struct - returns short"
20903
20904 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20905 "print 'scope0.c'::filelocal at main",
20906 "print 'scope0.c'::filelocal_bss in test_at_main",
20907 "print 'scope0.c'::filelocal at foo",
20908 "print 'scope0.c'::filelocal_bss in test_at_foo",
20909 "print 'scope0.c'::filelocal at bar",
20910 "print 'scope0.c'::filelocal_bss in test_at_bar"
20911
20912 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20913 in source file 1". This bug seems to have been fixed with both
20914 gcc and native cc (was native assembler bug?).
20915
20916 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20917
20918 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20919 "backtrace through signal handler" to "i*86-*-sysv4*".
20920 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20921 continue" case. Add "known SVR4 bug" to fail message.
20922 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20923 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20924 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20925 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20926 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20927 "up to foo in langs.exp", "show language at foo in
20928 langs.exp", "up to cppsub_ in langs.exp", "show
20929 language at cppsub_ in langs.exp", "up to fsub in
20930 langs.exp", and "show language at fsub in langs.exp".
20931 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20932 "bactrace in corefile.exp".
20933 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20934 "call inferior function with struct - returns float" and
20935 "call inferior function with struct - returns double".
20936
20937 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20938
20939 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20940 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20941 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20942 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20943
20944 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20945
20946 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20947 (or overriden) "CHILL" macro rather then bare "gcc".
20948 Also look for ../../gcc/xgcc since that is what we will
20949 actually need, not "Makefile". Remove following assignment
20950 of CHILL to CHILL_FOR_TARGET because that results in
20951 recursive definition.
20952
20953 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20954
20955 * gdb.base/corefile.exp: Change xfail for backtrace in
20956 corefile.exp from linuxaout to all linux.
20957 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20958 cases where we miss the breakpoint at the signal handler
20959 for some reason. Setup xfail for linuxoldld/linuxaout and
20960 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20961 hitting SIGURG breakpoint.
20962 * gdb.base/signals.exp: Setup xfail for "next" acting like
20963 continue to add linuxoldld. Setup xfail for all linux for
20964 "next to handler in signals_tests_1", "backtrace in
20965 signals_tests_1", "continue to func1", "pass SIGUSR1",
20966 and continue to handler".
20967
20968 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20969
20970 * Update all FSF addresses except those in COPYING* files.
20971
20972 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20973
20974 * gdb.base/a2-run.exp: Change messages to be more explicit about
20975 the status of args, and quote binfile in results.
20976
20977 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20978
20979 * gdb.base/callfuncs.exp: Add tests for passing structs to
20980 inferior functions and return various types.
20981 * gdb.base/callfuncs.c: Add functions to receive a struct
20982 and return a member of the struct, in various types.
20983
20984 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20985
20986 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20987
20988 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20989
20990 * config/vxworks29k.exp: New file, sources vxworks.exp.
20991
20992 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20993
20994 * config/gdbremote.exp: New file. Testing framework using
20995 gdbserver.
20996
20997 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20998
20999 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21000 "call function when asleep" and "send end of file".
21001 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21002 for "backtrace in corefile.exp".
21003 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21004 for "backtrace through signal handler".
21005 * gdb.base/corefile.exp: Make sure we actually generate a core file
21006 before trying the core tests. Some systems allow the user to suppress
21007 generation of core files and default to that (linux for example).
21008 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21009 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21010
21011 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21012
21013 * gdb.threads: New directory with some crude multi-threaded
21014 gdb tests (step.exp and step2.exp).
21015 * config/mt-lynx (STEP_EXECUTABLE): Define.
21016 (THREADFLAGS): Define.
21017
21018 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21019
21020 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21021
21022 * gdb.base/signals.exp: Disable whole file for lynx until
21023 further notice.
21024
21025 * gdb.base/signals.exp: xfail test where "next" acts like
21026 "continue" for lynx.
21027
21028 * gdb.base/interrupt.exp: xfail test for calling function while
21029 inferior is asleep for lynx.
21030
21031 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21032 than one cr-lf after each command.
21033
21034 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21035
21036 * configure.in: Reinstate setting of stabsdirs variable, fix
21037 typo in setting up configdirs for native builds.
21038
21039 * gdb.base/return.exp: Fix typo in return double test.
21040 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21041 compiler from optimizing them away.
21042
21043 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21044
21045 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21046 sequences to be echo'd by gdb when using gdb_test.
21047 * gdb.chill/chexp.exp: Likewise.
21048 * gdb.fortran/exprs.exp: Likewise
21049
21050 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21051
21052 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21053 after the inferior gdb has started.
21054
21055 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21056 after each command.
21057 * gdb.base/funcargs.exp: Likewise.
21058 * gdb.base/gdbvars.exp: Likewise.
21059 * gdb.base/interrupt.exp: Likewise.
21060 * gdb.base/list.exp: Likewise.
21061 * gdb.base/watchpoint.exp: Likewise.
21062 * gdb.c++/demangle.exp: Likewise.
21063 * gdb.c++/inherit.exp: Likewise.
21064 * gdb.chill/chexp.exp: Likewise.
21065 * gdb.fortran/exprs.exp: Likewise.
21066
21067 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21068 test if we can't handle IO to/from the inferior.
21069
21070 * gdb.c++/misc.exp: Always check for a program already being
21071 started after sending a "run" command to gdb.
21072
21073 * gdb.base/twice.exp: Start with a fresh gdb.
21074
21075 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21076 only depend on gdb's expression code, not the chill runtime.
21077
21078 * gdb.base/return.c: Put return values into variables so we
21079 can have gdb print them rather than depending on the program
21080 to print them.
21081 * gdb.base/return.exp: Corresponding changes.
21082
21083 * lib/gdb.exp: Provide default value for noinferiorio.
21084 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21085 the inferior.
21086
21087 * gdb.base/break.exp: Always check for a program already being
21088 started after sending a "run" command to gdb.
21089 (text_next_with_recursion): Don't check the output from the
21090 program's printf statement. Instead just make sure the program
21091 exited.
21092
21093 * gdb.base/commands.exp: Protect tests which need arguments with
21094 $noargs conditionals.
21095
21096 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21097
21098 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21099 of structure member arrays to match gdb/valops.c:value_addr change.
21100
21101 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21102
21103 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21104 cases.
21105
21106 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21107
21108 * configure.in (configdirs): Remove gdb.chill from default list
21109 of subdirs and then add it back in only if doing a native build.
21110 The current chill compiler does not yet work in any cross build.
21111 * Revert all signal changes from Jul 6.
21112 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21113 for sh-hms targets, allowing these tests to link, with no other
21114 changes. Testing is suppressed by setting "nosignals" in site.exp.
21115
21116 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21117
21118 * configure.in (signaldirs): Define and add to configdirs for all
21119 targets except some specific ones that are known to not support signals.
21120 Also clean up formatting.
21121 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21122 (signals, sigall): Remove rules to build.
21123 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21124 Moved to new gdb.signals directory.
21125 * gdb.signals: New test directory.
21126 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21127 signals.c signals.exp}: New or moved files.
21128
21129 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21130
21131 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21132
21133 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21134
21135 * gdb.base/return.exp: Xfail `return double' test failure
21136 on at least Solaris 2.3 and handle future/past versions on
21137 a case by case basis as appropriate. Also update message
21138 to include i*86 failures.
21139
21140 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21141
21142 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21143
21144 * lib/gdb.exp: Fix comment which erroneously identified
21145 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21146 gdb_file_cmd not gdb_load).
21147 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21148
21149 * gdb.base/setvar.exp: Make test names consistent between pass and
21150 fail cases. Use gdb_test more.
21151
21152 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21153
21154 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21155
21156 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21157
21158 * gdb.base/help.exp: Fix expected help string for `show commands'.
21159
21160 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21161
21162 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21163
21164 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21165 of a text section.
21166
21167 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21168
21169 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21170 that loop eventually terminates. Fix Connection refused logic so
21171 that testsuite will expire nicely.
21172
21173 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21174
21175 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21176 config/rom68k.exp: New tcl glue for the appropriate monitors.
21177 These all just end up calling monitor.exp.
21178 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21179 refused' by retrying. Cleanup some timeout issues.
21180 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21181 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21182 callers don't have to set/restore global timeout variable.
21183
21184 * The following set of changes centralizes management of the global
21185 timeout variable. This way, it can be set in one target dependent
21186 place instead of dozens of places scattered throughout the test suite.
21187 If you need to lengthen a timeout, then you should either set timeout
21188 in one of the config/{target}.exp files, or multiply it by a factor.
21189 Setting it to an absolute value is always going to lose for some
21190 targets.
21191 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21192 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21193 * gdb.base/funcargs.exp: Don't set timeout.
21194 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21195 * gdb.base/printcmds.exp (test_print_string_constants
21196 test_print_array_constants): Don't set timeout.
21197 * gdb.base/ptype.exp: Don't set timeout.
21198 * gdb.base/recurse.exp: Don't set timeout.
21199 * gdb.base/return.exp: Don't set timeout.
21200 * gdb.base/watchpoint.exp: Don't set timeout.
21201 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21202 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21203
21204 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21205
21206 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21207
21208 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21209
21210 * lib/gdb.exp: Disable chill tests for irix5.
21211
21212 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21213
21214 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21215 each test pass or fail.
21216
21217 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21218
21219 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21220 xlc not gcc.
21221
21222 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21223
21224 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21225
21226 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21227
21228 * config/est.exp: Fix copyright and comments. Remove dead code.
21229 Use targetname, serialport and baud variables instead of fixed
21230 constants.
21231 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21232 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21233
21234 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21235
21236 * gdb.base/watchpoint.exp: Don't run
21237 test_watchpoint_triggered_in_syscall for sunos.
21238
21239 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21240
21241 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21242 they don't seem to exist. Do include stdio.h.
21243
21244 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21245
21246 * gdb.base/a1-selftest.exp: Add alpha xfail.
21247
21248 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21249
21250 * gdb.base/watchpoint.c (main): Prompt before calling read().
21251 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21252 Revise accordingly. Remove cruft about sending "123" several
21253 times, until it gets noticed. Clean up the "print buf[0]" stuff
21254 so that it passes or fails, and waits for prompts in the usual way.
21255
21256 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21257
21258 * gdb.base/recurse.exp: Fix comment.
21259
21260 * TODO: Remove item about printing variables in nodebug.exp. Add
21261 item about enabling tests which are only run on some targets.
21262
21263 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21264 fail, make test names unique, use new gdb_test convention
21265 regarding pattern, use gdb_test more, etc.).
21266
21267 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21268 fail, make test names unique, etc.).
21269
21270 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21271
21272 * gdb.base/nodebug.c: Change return type of top and middle to
21273 short.
21274 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21275 are fixed by the recent mdebugread.c changes. Allow `short ()'
21276 as type for top and middle.
21277
21278 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21279
21280 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21281 nearly as I can tell, the whole thing was an accident in Stu's
21282 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21283 to replace a send/expect pair with gdb_test, but ended up only
21284 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21285 of 30 Mar 1995 took care of it, but left this vestigial comment
21286 which I am now nuking.
21287
21288 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21289
21290 * gdb.base/break.exp: Look for different line number for
21291 breakpoint at main depending on usestubs.
21292
21293 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21294
21295 * gdb.base/list.exp: Adjust some alternate expect patterns to
21296 match recent list0.c change. Add alternate expect pattern for
21297 output from `list default lines around main' for optimizing
21298 compilers.
21299
21300 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21301
21302 * lib/gdb.exp: If nosignals is not set, set it to 0.
21303
21304 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21305
21306 * config/slite-gdb.exp: Responds to load symbol table prompt.
21307 * gdb.base/break.exp: Adjust line number, fix rerun.
21308 * gdb.base/langs0.c: Add #ifdef usestubs.
21309
21310 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21311
21312 * gdb.base/list.exp: Adjust line contents after adding new lines in
21313 list0.c. Also fix a syntax error.
21314
21315 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21316 * gdb.base/break.exp: ditto.
21317 * gdb.base/list.exp: ditto.
21318 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21319 * gdb.base/run.c: ditto.
21320 * gdb.base/list0.c: ditto.
21321 * gdb.base/funcargs.c: ditto.
21322
21323 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21324
21325 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21326 $targetname, $serialport and $baud instead of hardwired variables.
21327 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21328 target doesn't support signals.
21329
21330 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21331
21332 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21333
21334 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21335
21336 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21337 Don't rely on the value of an auto variable before it has been
21338 initialized. Use gdb_test more.
21339
21340 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21341
21342 * lib/gdb.exp (default_gdb_version): A version number must start
21343 with a digit, but other than that contains all characters up to
21344 the first whitespace character.
21345
21346 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21347
21348 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21349
21350 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21351
21352 * gdb.c++/*.exp: Warn if executable does not exist. The original
21353 reason for skipping the warning was that configure.in sometimes
21354 intentionally skipped building the executables but the tcl code
21355 had no way of knowing. That (a) was always bogus with respect to
21356 error handling, (b) is no longer true (right now there is no way
21357 to skip C++ tests).
21358
21359 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21360
21361 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21362
21363 * gdb.base/list.exp: Add expect patterns for output from
21364 SunPRO compiled executables.
21365 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21366 types.
21367
21368 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21369
21370 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21371 number (we are already testing that the correct source line text
21372 gets printed).
21373
21374 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21375 that is what is intended, but something needed to be done to get
21376 sunos4 native working again.
21377
21378 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21379
21380 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21381 apparently went with a (very) old xfail.
21382
21383 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21384
21385 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21386 runto_main is a proc in gdb.exp that will do 'step' for target use
21387 stubs.
21388 * gdb.base/exprs.exp: ditto.
21389 * gdb.base/interrupt.exp: ditto.
21390 * gdb.base/opaque.exp: ditto.
21391 * gdb.base/printcmds.exp: ditto.
21392 * gdb.base/ptype.exp: ditto.
21393 * gdb.base/scope.exp: ditto.
21394 * gdb.base/setvar.exp: ditto.
21395 * gdb.base/signals.exp: ditto.
21396 * gdb.base/twice.exp: ditto.
21397 * gdb.c++/classes.exp: ditto.
21398 * gdb.c++/inherit.exp: ditto.
21399 * gdb.c++/templates.exp: ditto.
21400 * gdb.base/break.exp: no run and hit main for stubs. Change line
21401 numbers for breakpoints and info breakpoint.
21402 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21403 breakpoint().
21404 * gdb.base/callfuncs.c: ditto.
21405 * gdb.base/exprs: ditto.
21406 * gdb.base/interrupt.c: ditto.
21407 * gdb.base/opaque0.c: ditto.
21408 * gdb.base/printcmds.c: ditto.
21409 * gdb.base/ptype.c: ditto.
21410 * gdb.base/scope0.c: ditto.
21411 * gdb.base/setvar.c: ditto.
21412 * gdb.base/signals.c: ditto.
21413 * gdb.base/twice.c: ditto.
21414 * gdb.c++/misc.cc: ditto.
21415 * gdb.c++/templates.cc: ditto.
21416
21417 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21418
21419 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21420
21421 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21422 somewhere between `read' and `main.c'. I'm pretty sure the
21423 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21424 and it isn't particularly useful.
21425
21426 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21427
21428 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21429
21430 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21431
21432 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21433
21434 * config/mt-slite: add LIBS and -nostdlib.
21435 * config/slite-gdb.exp: add this new file to support sparclite target.
21436
21437 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21438
21439 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21440
21441 * gdb.base/a2-run.exp: Change argument to istarget from
21442 "*-*-vxworks" to "*-*-vxworks*".
21443 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21444
21445 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21446
21447 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21448 will not runto main but do a 'step' to step out of breakpoint().
21449 * config/mt-slite: add -Dusestubs.
21450
21451 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21452
21453 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21454 instead of just @.
21455
21456 * gdb.base/signals.exp: Add test for "handle all print".
21457 * TODO: Remove "handle all print". Also remove item about
21458 checking copyright date (I don't like the idea of a spurious FAIL
21459 based on when we run the tests).
21460
21461 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21462 for SunOS4 (reason for failure not investigated). Remove
21463 redundant test for $binfile.
21464
21465 * gdb.base/nodebug.c (array_index): Call malloc.
21466
21467 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21468
21469 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21470
21471 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21472 conventions and slightly simplify the matching regexp.
21473
21474 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21475
21476 * gdb.base/break.exp: Update gdb_test invocation to use new
21477 convention.
21478
21479 * lib/gdb.exp: If noargs is not set, set it to 0.
21480
21481 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21482 tests unique.
21483
21484 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21485
21486 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21487
21488 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21489 one argument of type "<non-float parameter>".
21490
21491 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21492
21493 * config/rom68k.exp: New file to support Motorola IDP board.
21494 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21495 * gdb.base/break.c: Change things around so that this program
21496 doesn't depend upon args. This is necessary to make remote
21497 targets work (in general, they can't take args).
21498 * gdb.base/break.exp: Don't try to send args to program. Don't
21499 expect output. Also, replace lots of code with gdb_test.
21500
21501 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21502
21503 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21504 printing of '\'' (which is what the comment says we are testing,
21505 even though we were not), not '''.
21506 (test_integer_literals_rejected): Test that printing ''' is an error.
21507
21508 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21509 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21510 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21511 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21512 Use gdb_test not test_print_accept.
21513 * lib/gdb.exp: Remove test_print_accept.
21514
21515 * gdb.base/signals.exp (signal_tests_1): Make pass message
21516 consistent with fail message.
21517
21518 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21519 unsigned char; the bug (PR 1821) is fixed.
21520
21521 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21522
21523 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21524 successful tests--makes xfailing them work right.
21525
21526 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21527
21528 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21529 only \r\n, not .*. The test can pass .* as the last thing in
21530 $pattern if that is what it wants. In addition to providing this
21531 flexibility, this change should speed up pattern matching in cases
21532 where the pattern already ended with .* (there were a number of
21533 them). This change also helps catch bad patterns--in the old
21534 scheme the typo "char \*" instead of "char \\*" would pass. Now
21535 it is caught.
21536 * Many .exp files: Update callers.
21537
21538 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21539 clearer and does not spuriously match multiple ('s. Likewise for
21540 ) and *.
21541
21542 * gdb.base/nodebug.exp: Test ability to call a function and pass
21543 it a string (even with no debugging info).
21544
21545 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21546 "p '\'", which is the same as "p ''" once tcl gets done with
21547 quoting, to "p '\\'", which I suspect is what is intended (one
21548 backslash gets sent to GDB).
21549
21550 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21551
21552 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21553
21554 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21555 1817) was fixed literally years ago.
21556
21557 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21558
21559 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21560 test, it causes stepping out of call_after_alloca_subr with
21561 optimizing compilers.
21562 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21563 fails.
21564
21565 * gdb.c++/templates.exp: Source templ-info.exp only if
21566 the templates executable exists.
21567
21568 * gdb.c++/misc.cc (class Contains_static_instance,
21569 class Contains_nested_static_instance),
21570 gdb.c++/classes.exp (test_static_members): Test printing of
21571 a class that contains a static instance of the class.
21572
21573 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21574
21575 * gdb.base/langs2.c (cppsub_): Don't prototype.
21576 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21577 only, I believe).
21578
21579 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21580
21581 * lib/gdb.exp (skip_chill_tests): New procedure.
21582
21583 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21584
21585 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21586
21587 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21588 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21589
21590 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21591
21592 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21593
21594 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21595 disassemble 8, not 16, instructions for part 4.
21596
21597 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21598 support the latter anymore.
21599
21600 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21601 -DNO_PROTOTYPES.
21602 * gdb.base/callfuncs.c: Control use of prototypes based on
21603 NO_PROTOTYPES, not __STDC__.
21604 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21605 t_float_values2 tests if prototypes in use.
21606
21607 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21608 t_double_values): When checking differences against DELTA, check
21609 that difference is within the range (-DELTA,DELTA), not just
21610 (-infinity,DELTA).
21611
21612 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21613
21614 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21615 'file' command firts, then 'target', then 'load', this is due to gdb
21616 target set up.
21617 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21618
21619 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21620
21621 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21622 FP load/store variants.
21623 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21624
21625 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21626
21627 * gdb.base/term.exp: Do not give a warning if not native, it is
21628 not an abnormal condition.
21629
21630 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21631
21632 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21633 t_char_array".
21634
21635 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21636
21637 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21638 are getting the version number.
21639
21640 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21641 if not native, it is not an abnormal condition.
21642
21643 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21644
21645 * lib/gdb.exp: Just use "file exists", rather than undocumented
21646 dejagnu procedure "findfile".
21647
21648 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21649
21650 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21651 (LDFLAGS): Set to -Xlinker -Ur.
21652
21653 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21654 Removed, these values are set by lib/gdb.exp.
21655
21656 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21657
21658 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21659
21660 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21661 of replicating gdb startup code.
21662
21663 * config/mt-vxworks (LDFLAGS): Set to -r.
21664 (CFLAGS_FOR_TARGET): Removed.
21665
21666 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21667 (gdb) and gdb for vxworks uses (vxgdb).
21668
21669 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21670 executable is not in the tree and host != target, use sed and
21671 program_transform_name to determine the gdb name used by the
21672 target.
21673
21674 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21675 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21676
21677 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21678
21679 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21680 floats, chars, and shorts where there are ANSI-style function
21681 definitions.
21682
21683 * gdb.base/langs.exp, gdb.base/langs*: New test.
21684 * gdb.base/Makefile.in: Build it.
21685 * TODO: Remove item about checking that C names don't get C++
21686 demangling applied; this test tests it.
21687
21688 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21689
21690 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21691 went with the const70 xfail. The xfail went away a year ago.
21692
21693 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21694
21695 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21696 for hp300.
21697
21698 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21699
21700 * gdb.base/a1-selftest.exp: Don't run on hp300.
21701
21702 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21703
21704 * Makefile.in (site.exp): Set host_alias and target_alias as well
21705 as host_triplet and target_triplet.
21706
21707 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21708
21709 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21710
21711 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21712 places as other ecoff systems).
21713
21714 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21715 ultrix.
21716
21717 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21718
21719 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21720 remove them.
21721 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21722 variable and "variable" in addition to "data variable".
21723 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21724
21725 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21726 2.
21727 * gdb.base/list1.c (long_line): Add additional statement at start
21728 of function.
21729 * gdb.base/list.exp (test_forward_search): Update line number to
21730 reflect new statement.
21731
21732 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21733
21734 * gdb.base/signals.exp: Reinitialize searched source directories
21735 after gdb_start call.
21736
21737 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21738
21739 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21740 * gdb.stabs/Makefile.in: Likewise.
21741
21742 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21743 change. Instead split the tests into smaller pieces.
21744 * gdb.disasm/hppa.s: Corresponding changes.
21745
21746 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21747
21748 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21749 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21750
21751 * gdb.base/funcargs.exp: Modify many tests so that every test
21752 either passes or fails. Make some test names unique.
21753
21754 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21755
21756 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21757 Call stty to set interrupt character.
21758
21759 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21760 for HP assembler versus GNU assembler based on actual behavior of
21761 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21762
21763 * TODO: Suggest a few more stepping tests.
21764
21765 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21766
21767 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21768 restart GDB for h8300 after a continue.
21769 (return): Add pattern to match a29k-udi behavior.
21770 * gdb.base/nodebug.exp: Remove obsolete comment.
21771 * gdb.base/regs.exp: New file, testing of register displays.
21772 * gdb.base/return.exp: Fix typo in reference to $objdir.
21773 * gdb.base/whatis.exp: Always start with a fresh GDB.
21774
21775 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21776
21777 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21778 higher, these tests generate a lot of output.
21779
21780 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21781
21782 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21783 code following the catch silently ignored some errors; without the
21784 catch they should be thrown like any other tcl error. Also, the
21785 catch used "" instead of {} which meant all the callers who wanted
21786 to include one of the characters "[]$ had to quote it an extra time.
21787 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21788 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21789 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21790 Remove extra quoting.
21791
21792 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21793
21794 * gdb.base/commands.exp: Make test names unique; every test either
21795 passes or fails. Update some comments.
21796
21797 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21798
21799 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21800
21801 The following fixes a FAIL caused by the fact that the alpha stabs
21802 configuration didn't use the ".if alpha" code in weird.def.
21803 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21804 bit pointer, so the 32 bit version works even on the alpha.
21805 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21806 Remove the stuff which allowed us to have separate versions for
21807 alpha and everything else.
21808
21809 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21810 regexp which "info func operator\[\](" is supposed to match. Fix
21811 string to send to GDB. Note that GDB still doesn't work right. Add a
21812 new test for "info func .perator\[\](" which GDB does handle correctly.
21813
21814 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21815
21816 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21817
21818 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21819 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21820 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21821 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21822 it makes the tests harder to understand and confuses test-o-matic.
21823 The preferred style is that each test provides a PASS or a FAIL,
21824 and has a unique message (e.g. "continue #54" not just "continue")
21825 which is the same for the pass and the fail.
21826 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21827 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21828 to lib/gdb.exp.
21829 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21830 prt_accept which was basically the same thing. Likewise for
21831 test_print_reject and prt_reject.
21832 * lib/gdb.exp (test_print_reject): Add some more error message
21833 patterns to match from the former printcmds.exp (prt_reject).
21834 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21835 One defect of the passcount stuff is that some of it failed to
21836 report XPASS where appropriate.
21837 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21838 stuff before and after arg in expected pattern.
21839 (test_paddr_operator_functions): Re-do test without print_addr_of;
21840 this is the only test which seems to want extra stuff there.
21841
21842 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21843
21844 * gdb.base/nodebug.exp: Update new tests to reflect improved
21845 wording of gdb output.
21846
21847 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21848 and "ptype" work on variables in files compiled without -g.
21849 Replaces commented out "maint print msymbol" tests.
21850
21851 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21852
21853 * gdb.base/setvar.c (dummy): Call malloc.
21854
21855 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21856 losing with the irix4 sed.
21857
21858 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21859 ALRM" on irix4.
21860
21861 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21862
21863 * TODO: Remove items about corefile.exp testing new exec-file and
21864 backtrace; both are now done. Add items about printing enums.
21865
21866 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21867
21868 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21869 "get signal $thissig" test fails.
21870
21871 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21872
21873 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21874
21875 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21876 compiler warning with dec alpha compiler.
21877
21878 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21879 extra \n from gdb_test call (this explains why the prompt test
21880 that I removed yesterday was there).
21881 (user_defined_command_test): Remove extra \n and prompt test.
21882
21883 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21884 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21885 doesn't exist.
21886 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21887 Also remove alpha workaround, which turns out to be because
21888 SIGABRT == SIGLOST.
21889
21890 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21891
21892 * gdb.base/help.exp: Don't test "help show".
21893
21894 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21895
21896 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21897 "set print address" is on.
21898 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21899 pass prompt to gdb_test; gdb_test already looks for the prompt.
21900
21901 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21902
21903 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21904 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21905 was to make sure that gdb can read a core file. But (a) the "read
21906 the corefile" part didn't make it to a1-selftest.exp, we just
21907 delete the corefile after creating it, and (b) we test reading
21908 corefiles in corefile.exp anyway. Also, this test left around a
21909 xgdb process on Solaris.
21910
21911 * gdb.base/corefile.exp: Also test backtrace.
21912
21913 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21914
21915 * gdb.base/commands.exp: Test a simple user defined command with
21916 arguments and if/while statements; verify the full user command is
21917 printed by "show user".
21918
21919 * gdb.base/commands.exp: Test if/while commands as part of a
21920 breakpoint command list; verify they appear in breakpoint
21921 information.
21922
21923 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21924
21925 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21926 than by dividing by zero.
21927
21928 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21929
21930 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21931 performing an inferior call with watchpoints enabled.
21932 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21933 call.
21934
21935 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21936
21937 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21938 of "file" command.
21939
21940 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21941 Add additional pattern for when "int operator int(void);" appears
21942 in a different order.
21943
21944 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21945
21946 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21947
21948 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21949 and "signal" with ".*".
21950
21951 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21952
21953 * TODO: Add note about "handle all nostop".
21954
21955 * gdb.base/{sigall.c, sigall.exp}: New test.
21956 * gdb.base/Makefile.in: Add it.
21957
21958 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21959
21960 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21961 when invoking GDB, suppresses any windowing interface.
21962
21963 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21964
21965 * config/sim-gdb: New file, simulator testing support.
21966
21967 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21968
21969 * gdb.base/interrupt.exp: Test calling func1 twice.
21970
21971 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21972
21973 * gdb.base/list.exp (test_forward_search): Set timeout higher
21974 when we'll be getting lots of output from gdb.
21975
21976 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21977 "init_malloc" to after the expect statement. Run it if that
21978 regexp is taken, but also for two others which happen if source
21979 cannot be found.
21980
21981 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21982
21983 * gdb.base/printcmds.exp: New test, for printing register before
21984 program is running.
21985
21986 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21987
21988 * gdb.base/list.exp: Correct some alternate expect patterns
21989 to reflect changes in list1.c.
21990
21991 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21992
21993 * TODO: Add item regarding large frames.
21994
21995 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21996
21997 * TODO: Remove item about enabling return.exp; it
21998 is enabled. Suggest a few more "return" tests.
21999
22000 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22001
22002 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22003 anonymous unions.
22004
22005 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22006
22007 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22008 and pr-5646.o, so "make" is the same as "make all", not "make
22009 pr-4975.o".
22010
22011 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22012
22013 * gdb.base/list.exp: Adjust expectations to reflect changes in
22014 list1.c.
22015 (test_forward_search): New test proc.
22016 * gdb.base/list1.c (long_line): New function, has long source line.
22017
22018 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22019
22020 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22021 additional line of code that was added.
22022
22023 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22024
22025 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22026 tests so as not to overflow expect's input buffers.
22027 * gdb.disasm/hppa.exp: Corresponding changes.
22028
22029 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22030
22031 Beginnings of template debugging tests.
22032 * gdb.c++/templ-info.cc: New file to test for template
22033 debugging capability of the compiler.
22034 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22035 templ-info.cc.
22036 * gdb.c++/templates.cc: Add explicit template instantiations
22037 to enable compiling with -fno-implicit-templates. Add destructor
22038 and 'value' method to T5 class for template tests.
22039 * gdb.c++/templates.exp: Add testcases for printing of template
22040 types, setting breakpoints on template methods and calling a
22041 template method.
22042
22043 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22044
22045 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22046 branch target since some assemblers (gas-2.5) may emit a
22047 relocation for the branch instead of resolving it in the
22048 assembler.
22049
22050 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22051
22052 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22053 through signal handler.
22054
22055 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22056
22057 * configure.in (*-*-netware): Use config/mt-netware.
22058
22059 * config/mt-netware: New file.
22060 * config/mt-i386-netware: Removed, separate configs for different
22061 netware architectures are no longer needed now that we have
22062 --with-headers.
22063
22064 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22065
22066 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22067 by the recent changes to use ANSI C arithmetic conversions.
22068
22069 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22070
22071 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22072 bug involving using inferior_pid to figure out whether to select a
22073 frame.
22074
22075 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22076
22077 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22078 match the current disassembler output.
22079
22080 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22081
22082 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22083 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22084 types, expect "int" as type of integer values (for now).
22085
22086 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22087
22088 * gdb.base/commands.exp: New tests for if/while commands.
22089
22090 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22091
22092 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22093 by .*, since hex values have different syntax in Chill mode.
22094
22095 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22096
22097 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22098 linefeed from expect pattern for repeated types with indices > 9.
22099
22100 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22101
22102 First part of Fortran test suite.
22103 * gdb.fortran: New directory.
22104 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22105
22106 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22107
22108 * gdb.base/default.exp: Update expect pattern for load command
22109 without arguments.
22110
22111 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22112
22113 * configure.in: Change i386 to i[345]86.
22114 * gdb.base/configure.in: Likewise.
22115 * gdb.c++/configure.in: Likewise.
22116 * gdb.chill/configure.in: Likewise.
22117
22118 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22119
22120 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22121 patterns, since that is not a valid context for comments.
22122
22123 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22124
22125 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22126 repeated types and repeated types with indices > 9.
22127
22128 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22129
22130 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22131 2417; old bug has been fixed.
22132
22133 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22134
22135 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22136 send the newline ourselves instead of assuming gdb_test will do
22137 so when passed an empty input string.
22138
22139 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22140 stabs testcode.
22141
22142 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22143
22144 * lib/gdb.exp (gdb_test): Don't send anything if the first
22145 argument is an empty string. This makes cases where we want to
22146 match output that is already in expect's buffers (for example,
22147 matching a breakpoint after gdb_run_cmd has been called) work
22148 reliably.
22149
22150 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22151
22152 * config/netware.exp: New file.
22153
22154 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22155
22156 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22157 the -B and -L prefixes so we can find the debugging stub.
22158
22159 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22160 there and we are using the gcc from the tree.
22161
22162 * gdb.base/types.c: Removed.
22163
22164 * gdb.base/configure.in: Look for makefile fragments in ../config.
22165 Recognize i386-*-netware.
22166 * gdb.c++/configure.in: Likewise.
22167
22168 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22169
22170 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22171 the correct TCL syntax.
22172
22173 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22174
22175 * gdb.base/opaque.exp: use runto instead of messing around with
22176 breakpoints. Simplify by using gdb_test.
22177
22178 * gdb.base/bitfields.exp: restart between tests on netware targets
22179 because breakpoints aren't relocated after target death. Run
22180 processes to completion.
22181
22182 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22183
22184 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22185
22186 * Makefile.in: Remove extra tabs that confuse some versions
22187 of "make". Use the newly built gdb to test with by default,
22188 rather than the first one in the tester's search path.
22189
22190 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22191
22192 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22193
22194 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22195 condition help.
22196
22197 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22198
22199 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22200
22201 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22202 running.
22203 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22204 * gdb.base/funcargs.exp: Likewise.
22205
22206 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22207 * gdb.base/funcargs.exp: Likewise.
22208
22209 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22210 message is "".
22211
22212 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22213
22214 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22215 return,signals,twice}.exp: Handle non-existant binaries
22216 consistantly.
22217
22218 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22219 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22220 might testing a cross development system.
22221
22222 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22223
22224 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22225 runtest script is relative to ${srcdir}, not ${rootdir}.
22226
22227 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22228
22229 * gdb.base/signals.exp: Allow for optionality of breakpoint
22230 address.
22231
22232 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22233
22234 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22235
22236 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22237
22238 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22239 for size_t definition.
22240 * gdb.c++/templates.cc: Likewise
22241
22242 * config/mt-i386-netware: New file.
22243
22244 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22245 defined.
22246
22247 * gdb.base/Makefile.in: Added support for systems that name core
22248 files by appending "core" to the program name.
22249 * gdb.base/a1-selftest.exp: Likewise.
22250
22251 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22252
22253 * gdb.base/return.exp: Add comment and message for `return double'
22254 test failure on Sparc Solaris.
22255
22256 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22257
22258 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22259
22260 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22261
22262 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22263 from optimizing them away.
22264 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22265 patterns to include default constructors and assignment operators,
22266 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22267 character in the output of the virtual base pointer.
22268
22269 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22270
22271 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22272 expression match in print_addr_of to avoid unintented matches.
22273 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22274 versions up to 2.5.8.
22275
22276 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22277
22278 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22279 included file to run under newer versions of expect.
22280 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22281 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22282 Remove xfail for the virtual table of BDDHookV.
22283
22284 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22285
22286 * lib/gdb.exp (string_to_regexp): Set a default result.
22287 (default_gdb_start): Fix misleading message.
22288
22289 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22290
22291 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22292 Remove all CC, etc definitions.
22293 * config/mt-hpux: New file.
22294 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22295 (CFLAGS, LDFLAGS): Define.
22296 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22297
22298 * Makefile.in (site.exp): Don't insert host_os, etc.
22299 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22300 (distclean): Check existence of subdir.
22301 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22302 * gdb.base/Makefile.in: General cleanup and simplification.
22303 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22304 to build executables. Use default rule to build .o files.
22305 (EXPECT, RUNTEST, CC): Fix relative pathname.
22306 (site.exp): Don't insert host_os, etc.
22307 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22308 and/or SIGUSR1 defined.
22309 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22310 * gdb.c++/Makefile.in: General cleanup and simplification.
22311 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22312 (CFLAGS): Remove.
22313 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22314
22315 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22316
22317 * gdb.base/recurse.exp: Misc changes to get tests running again
22318 after Kung's changes to the watchpoint code.
22319 * gdb.base/watchpoint.exp: Likewise.
22320
22321 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22322
22323 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22324
22325 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22326
22327 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22328 * lib/gdb.exp (default_gdb_start): Define.
22329 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22330 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22331 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22332 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22333 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22334 Don't call gdb_target_udi in between tests.
22335
22336 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22337
22338 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22339 (which was basically just a local version of the same thing). In
22340 addition to avoiding duplication, gdb_test_exact is faster.
22341 * lib/gdb.exp (gdb_test_exact): Fix typo.
22342
22343 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22344 don't give an error.
22345
22346 * gdb.base/term.exp: Call delete_breakpoints before starting.
22347
22348 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22349 (t10): Add comment.
22350
22351 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22352
22353 Reorganization of the GDB Test Suite.
22354
22355 * gdb.base: New directory, contains all the basic tests.
22356 * gdb.c++: New directory, tests specific to C++.
22357 * gdb.chill: New directory, tests specific to Chill.
22358 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22359 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22360 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22361 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22362 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22363 t30-31 to chill).
22364 * */gdbme.*: Rename to match appropriate expect scripts.
22365 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22366 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22367 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22368 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22369 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22370 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22371 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22372 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22373 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22374 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22375 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22376 gdb.c++/virtfunc.cc: New names of C++ files.
22377 * gdb.chill/chillvars.ch: New name of Chill file.
22378 * gdb.base/configure.in, gdb.c++/configure.in,
22379 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22380 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22381 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22382 * configure.in (configdirs): Update to reflect directory changes.
22383 (target_abbrev): No longer define for any configuration.
22384 * Makefile.in: Cosmetic improvements to header comments.
22385
22386 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22387
22388 Various changes to gdb.t31:
22389
22390 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22391 * gdbme.ch: Make all key-words and predefineds be upper-case.
22392 * chillvars.exp: Expect key-words and predefinds in upper-case.
22393
22394 * chillvars.exp: Use gdb_test_exact many places.
22395 Change expected output for arrays (which now includes index labels).
22396
22397 * pr-5020.exp, gdme.ch (module PR_5020):
22398 New test, for PR-5020.
22399
22400 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22401
22402 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22403 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22404
22405 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22406
22407 * Makefile.in: Fix bit-rot in definitions of CHILL,
22408 CHILL_FOR_TARGET and Chill_LIB.
22409 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22410 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22411 CHILL, and CHILL_LIB.
22412
22413 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22414
22415 * Revert the previous changes. Please see Rob's directory
22416 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22417
22418 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22419
22420 * Makefile.in, configure.in, config/mips-gdb.exp,
22421 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22422 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22423 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22424 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22425 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22426 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22427 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22428 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22429 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22430 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22431 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22432 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22433 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22434 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22435 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22436 changes from 94Q1.
22437
22438 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22439
22440 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22441 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22442 Rob's new testing fragments.
22443
22444 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22445
22446 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22447 lib/gdb.exp: Replace error proc calls with perror.
22448
22449 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22450
22451 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22452 version also, match on casted version strings, and match on
22453 gdb startup case where the line numbers might be messed up.
22454
22455 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22456
22457 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22458 (CFLAGS): Delete it from here.
22459
22460 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22461
22462 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22463
22464 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22465
22466 * Makefile.in (RUNTEST): Default to just "runtest".
22467
22468 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22469
22470 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22471 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22472 the code has been restructured.
22473
22474 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22475
22476 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22477 \n, not just one of each.
22478
22479 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22480 /bin/cc gives a warning if you do.
22481
22482 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22483
22484 * gdb.t24/demangle.exp: change expect pattern of
22485 __t10ListS_link1ZUiRCUiPT0
22486
22487 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22488
22489 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22490 on local variables in recursive functions.
22491
22492 * gdb.t07/Makefile.in: Build the new test.
22493
22494 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22495
22496 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22497 directly. Instead compare the return values from actual calls.
22498
22499 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22500
22501 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22502
22503 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22504
22505 * From Peter Schauer with minor modifications.
22506 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22507 stops in mid-line in the caller. Add xfail for returning a float
22508 value on X86 targets.
22509
22510 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22511
22512 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22513 to avoid expect lossage.
22514 (fmem_LRbug_tests): Likewise.
22515 * gdb.disasm/hppa.s: Corresponding changes.
22516
22517 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22518 conditions to work with latest dejagnu/expect.
22519
22520 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22521 expected to fail on the PA.
22522 (backtrace in call with trampolines): Explicitly require main
22523 to be frame #1 (no trampolines should show up in backtrace).
22524
22525 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22526 "continue -expect".
22527 * gdb.t06/break.exp: Likewise.
22528 * gdb.t07/watchpoint.exp: Likewise.
22529 * gdb.t13/bitfields.exp: Likewise.
22530 * gdb.t15/{funcargs,return}.exp: Likewise.
22531 * gdb.stabs/weird.exp: Likewise.
22532 * config/{mips,udi}-gdb.exp: Likewise.
22533
22534 * hppa.sed: Enclose comments within a sed command to avoid
22535 losing with the old OSF1 sed.
22536
22537 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22538
22539 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22540 sequent dynix.
22541 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22542 * gdb.t15/funcargs.exp: Conditionally step again to really
22543 finish from marker_call_with_trampolines. Handle the case where
22544 the first step from within call_with_trampolines already steps
22545 us back to main.
22546 * gdb.t15/gdbme.c: Add comment to closing brace of
22547 call_with_trampolines for funcargs.exp.
22548
22549 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22550
22551 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22552 Fix typo(s).
22553
22554 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22555
22556 * gdb.t07/gdbme.c: More code for watchpoint testing.
22557
22558 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22559 "Hardware watchpoint" throughout file.
22560 (test_watchpoint_triggered_in_syscall): New test.
22561 (test_complex_watchpoint): New test.
22562
22563 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22564
22565 * gdbme.c (call_with_trampolines): New function to try and step
22566 into. Tests trampoline problems on the PA.
22567
22568 * funcargs.exp (localvars_in_indirect_call): No longer expect
22569 stepping into indirect call to fail on PAs.
22570 (test_stepping_over_trampolines): New test.
22571
22572 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22573
22574 * TODO: Add suggestions for static member function tests, and
22575 completion tests.
22576
22577 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22578
22579 * TODO: Add suggestions for "p/a" tests.
22580
22581 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22582 (default_gdb_exit): Replace all the hair with sending "quit" to
22583 the process with a simple close.
22584
22585 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22586
22587 * TODO: Add suggestions for shared library tests.
22588
22589 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22590
22591 * TODO: Add suggestions for x/s tests.
22592
22593 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22594
22595 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22596 "enable once", and "enable breakpoints once" with ".*".
22597
22598 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22599
22600 * TODO: Add suggestions about structure passing tests.
22601
22602 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22603
22604 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22605 the primary1 test, use work around if __GNUC__ < 2.
22606 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22607 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22608 Test for bad output rather than waiting for timeout. Issue
22609 second continue only if first continue failed.
22610
22611 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22612
22613 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22614 operator[] test with gdb_test because the old code didn't seem to
22615 be getting the quoting right with the new dejagnu.
22616
22617 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22618
22619 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22620 one from the path.
22621 * Makefile.in: Use a fresh expect if there is one, use runtest
22622 from the src tree if there is one.
22623
22624 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22625
22626 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22627 next over recursive call. Revise the tests from that point on
22628 (which had been skipped) to match GDB's actual (correct) output.
22629
22630 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22631 with next over a breakpoint whose condition is false.
22632
22633 * gdb.t00/help.exp: Comment out "help set print" tests just like
22634 (and for same reason as) "help set" test.
22635
22636 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22637
22638 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22639 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22640
22641 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22642
22643 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22644 necessary gdb_target_udi.
22645
22646 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22647
22648 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22649 1838 and 2417; they are fixed.
22650
22651 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22652 gdb.t03/ptype.exp (ptype structure, ptype union):
22653 Remove xfails; the test is looser than when the xfails were added.
22654
22655 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22656 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22657
22658 * gdb.t01/run.exp: Only run shell test if isnative.
22659
22660 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22661 since "run" automatically loads if necessary. Call gdb_target_udi
22662 after the "file" since "file" kills any execution target.
22663
22664 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22665 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22666 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22667 argument for UDI.
22668
22669 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22670
22671 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22672
22673 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22674
22675 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22676
22677 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22678 properly quoting regexps. This makes the second argument to
22679 demangle a fixed string, which matches the callers, instead of a
22680 shell-style pattern which is what the previous implementation
22681 used. Update some of the callers.
22682
22683 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22684
22685 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22686 (comib_nullified_tests): Fix typo.
22687 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22688 strings. No longer expected to fail.
22689
22690 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22691 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22692 strings. No longer expected to fail.
22693
22694 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22695 string. No longer expected to fail.
22696
22697 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22698
22699 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22700 No longer expected to fail.
22701
22702 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22703 string. No longer expected to fail.
22704
22705 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22706
22707 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22708 only in the names (I probably got most of them). I was even
22709 generous with some which differed in underscores in names, and
22710 probably missed a few, and I *still* was able to remove almost a
22711 third of the file with almost no impact on testsuite coverage.
22712
22713 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22714
22715 * gdb.t00/default.exp: Match udi_attach error message as well as
22716 the one from child_attach.
22717
22718 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22719
22720 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22721
22722 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22723 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22724
22725 * Move test with enums and partial symbols back to
22726 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22727 Reverts the change of 26 May 93. Per today's change to
22728 stabs.texinfo, the behavior that weird.exp was expecting was
22729 unreasonable; what is important is that the compiler+gdb get
22730 things right, which happens with a recent gcc. Also fix the test
22731 to deal with native compilers which put out the stab gdb can't
22732 deal with.
22733
22734 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22735
22736 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22737 in the names. The main thing these accomplish is to slow things down.
22738 Many more such duplicates surely remain.
22739
22740 * gdb.t00/help.exp: Comment out "help support" test just like
22741 (and for same reason as) "help set" test.
22742
22743 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22744
22745 * gdb.t06/break.exp: Remove setup_xfails for
22746 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22747 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22748 about known bug in gcc to include up through 2.5.8.
22749 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22750 well as "_vb$".
22751 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22752 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22753 with latest gcc and gdb.
22754 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22755 well as "_vb$".
22756
22757 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22758
22759 * configure.in (hppa*-*-*): Also configure and build stabs-only
22760 tests.
22761
22762 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22763
22764 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22765 * gdb.t10/configure.in (hppa*-*-*): Use it.
22766
22767 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22768
22769 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22770
22771 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22772
22773 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22774 versions prior to 1.13.5.
22775
22776 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22777
22778 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22779 the prompt is at the start of a line.
22780
22781 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22782
22783 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22784 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22785 in the copr tests now.
22786 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22787 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22788 expected to fail.
22789
22790 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22791
22792 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22793 gdb.t31/chillvars.exp, lib/gdb.exp:
22794 Tweak to run under either version of expect.
22795 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22796 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22797 * gdb.t11/list.exp: Remove extraneous whitespace.
22798
22799 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22800
22801 * gdb.t16/printcmds.exp (test_print_strings): Accept
22802 "(unsigned char *) " before the string.
22803
22804 * TODO: Add notes about printing of fancy types and GDB expressions.
22805
22806 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22807
22808 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22809 * gdb.t06/configure.in: Don't try to compile signals test program
22810 if doing mips-idt-ecoff.
22811
22812 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22813
22814 * Most .exp files: Tweak to run under either version of expect.
22815
22816 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22817
22818 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22819 xfails; I'm not sure why they are failing, but not because of PR 1806.
22820
22821 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22822
22823 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22824 defined in lib/gdb.exp.
22825
22826 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22827
22828 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22829 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22830 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22831 have to be typeless.
22832
22833 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22834
22835 * TODO: Add suggestion for copyright year test.
22836
22837 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22838
22839 * configure.in (*-*-lynxos*): Add stabs tests.
22840
22841 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22842
22843 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22844 so insert a tab before any assembler directive in column zero.
22845
22846 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22847 stores.
22848 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22849 stores.
22850 (fpu_short_memory_tests): Likewise.
22851
22852 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22853
22854 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22855 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22856 .stabs directives in comments.
22857
22858 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22859
22860 * TODO: New file, describing tests we could write.
22861 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22862
22863 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22864
22865 * gdb.t06/signals.exp: Add kludge to force re-sync.
22866
22867 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22868 to xgdb instead of gdb, get out of gdb.
22869
22870 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22871
22872 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22873 for info.
22874
22875 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22876
22877 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22878 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22879 * gdb.stabs/hppa.sed: New sed script for the PA.
22880
22881 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22882
22883 * gdb.stabs: Re-write weird.def and configuration to use sed
22884 instead of cpp. sed is portable and POSIX; cpp is neither.
22885
22886 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22887
22888 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22889
22890 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22891
22892 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22893
22894 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22895
22896 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22897 "_vb$".
22898 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22899 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22900
22901 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22902
22903 * lib/gdb.exp: Comment out code which depends on non-existent
22904 `transform' procedure.
22905
22906 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22907
22908 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22909 * lib/gdb.exp: Transform tool name.
22910 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22911 1.1's new error handling system.
22912
22913 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22914
22915 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22916
22917 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22918
22919 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22920 They made pattern matching so slow that timeouts happened on
22921 heavily loaded systems. Now any output from "show print" which
22922 gets us back to the GDB prompt is a PASS.
22923
22924 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22925
22926 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22927
22928 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22929
22930 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22931
22932 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22933 It is not from PR 3220.
22934
22935 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22936
22937 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22938 just started failing because they depended on the order the
22939 subcommands are presented, or exact docstring text. This kind of
22940 test is a pain and has minimal benefit.
22941
22942 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22943
22944 * gdb.t09/corefile.exp: At end of test, use "core" command with
22945 no arguments.
22946
22947 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22948
22949 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22950 17}/Makefile.in: Make it possible to run the testsuite with Sun
22951 make and CC = cross gcc by adding explicit build rules for .o
22952 files.
22953
22954 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22955
22956 * gdb.t15/funcargs.exp: Don't put comments on same line as
22957 setup_xfail (@#$*%& tcl braindamage!).
22958
22959 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22960
22961 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22962
22963 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22964
22965 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22966 * gdb.t20/inherit.exp: remove three dumplicate entries.
22967
22968 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22969
22970 * gdb.t06/break.exp: For "next over recursive call", fail on any
22971 incorrect output, not just on "factorial (value=2)".
22972
22973 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22974
22975 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22976 working now. Add an xfail if accesing a bss variable causes
22977 a memory error if the target is not yet run.
22978
22979 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22980
22981 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22982 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22983 name of __st* demangling (2 strings). Did Kung really get the
22984 more than 95 others right without testing them?
22985
22986 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22987
22988 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22989
22990 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22991
22992 * configure.in (configdirs): Add gdb.disasm
22993 * gdb.disasm: New directory for GDB disassembler tests.
22994 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22995
22996 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22997
22998 * gdb.t00/help.exp: Don't test "help set".
22999
23000 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23001 from within expect statements. None of these happen anymore and
23002 they cause regressions to be silently unnoticed.
23003
23004 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23005 messages) about known failures with gcc cygnus-2.4.5-930417.
23006
23007 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23008 comp-info.exp so it gets built if it doesn't exist.
23009
23010 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23011 it is no longer used.
23012 * gdb.t13/comp-info.c: Removed.
23013
23014 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23015
23016 * gdb.t06/signals.exp: Add xfail for sun3.
23017
23018 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23019
23020 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23021 relevant because ^C doesn't get sent but failure can be reproduced
23022 interactively).
23023
23024 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23025
23026 * gdb.stabs/alpha.mt: New configuration file for alpha.
23027 * gdb.stabs/configure.in: Use it.
23028 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23029 sharing with alpha.mt, redefine long to word via preprocessor.
23030 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23031 for alpha.
23032 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23033 native cc.
23034 * gdb.t00/teststrategy.exp: Change expect string so that we
23035 consume the `(xgdb)' from the command echo and from the gdb prompt.
23036 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23037 gdb currently compares all values as long, so this failure probably
23038 applies to any configuration where LONGEST is bigger than a target int.
23039 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23040 with gcc.
23041 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23042 to handle opaque pointers, gcc is.
23043 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23044 as first argument. Include <sys/types.h> and change all operator
23045 new definitions to use size_t.
23046 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23047 now that we use size_t.
23048
23049 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23050
23051 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23052 a long or float array cast all array members to the same type.
23053 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23054 with 64 bit longs.
23055 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23056 on alpha.
23057 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23058
23059 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23060
23061 * gdb.t24 (demangle.exp): Constructors of templates have names like
23062 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23063 section 14.6 of the ARM.
23064
23065 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23066 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23067 accomplish little and slow down the testsuite.
23068
23069 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23070 Accept spaces various places.
23071
23072 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23073
23074 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23075 with watchpoint enabled.
23076
23077 * Makefile.in: Remove definition of CC and remove the second
23078 definition of CXX (the "CXX = gcc" one remains). These definitions
23079 were causing backquotes to be expanded within backquotes, which
23080 doesn't work.
23081
23082 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23083
23084 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23085
23086 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23087
23088 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23089 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23090 by mips cc and contains no stabs entries.
23091
23092 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23093
23094 * config/vx-gdb.exp: Use fake device to load files rather than
23095 NFS.
23096 * lib/gdb.exp: New proc to do "file" command.
23097 * config/unix-gdb.exp: Use new "file" proc.
23098
23099 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23100
23101 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23102 Rework board rebooting slightly.
23103 (gdb_exit): Don't exit from the remote shell; there isn't one.
23104 * gdb.stabs/weird.exp: If a program is being debugged already,
23105 kill it.
23106 * gdb.t04/setvar.exp: Stop and restart gdb.
23107 * gdb.t05/expr.exp: Likewise.
23108 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23109 restart gdb and reload the program.
23110 * gdb.t08/opaque.exp: Likewise.
23111 * gdb.t12/scope.exp: Likewise.
23112 * gdb.t13/bitfields.exp: Likewise.
23113 * gdb.t15/funcargs.exp: Likewise.
23114 * gdb.t20/classes.exp: Likewise.
23115 * gdb.t03/ptype.exp: Increase timeout.
23116 * gdb.t16/printcmds.exp (test_print_string_constants,
23117 test_print_array_constants): Likewise.
23118 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23119 * gdb.t20/classes.exp (do_tests): Likewise.
23120 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23121
23122 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23123
23124 * gdb.stabs: Renamed *wierd* to *weird*.
23125
23126 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23127
23128 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23129 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23130
23131 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23132
23133 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23134 (do_tests): Remove xfail for whatis on one_var and two_var.
23135
23136 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23137
23138 * Makefile.in: Made cross building work better by adding
23139 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23140
23141 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23142
23143 * gdb.t15/{return.c,return.exp,Makefile.in}:
23144 New test, currently commented out.
23145
23146 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23147
23148 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23149 still running and removes the leftover named socket so GDb can do
23150 clean restarts.
23151
23152 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23153
23154 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23155 console, not GDB.
23156 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23157 cross testing works better with "make check"
23158 * config/unix-gdb: Use default procedures for exit and version.
23159 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23160 with the newest VxWorks.
23161
23162 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23163
23164 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23165 old form.
23166
23167 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23168 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23169
23170 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23171
23172 * config/unix-gdb.exp: Remove this version of gdb_exit
23173 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23174 Rob says he'll look at it when he gets back to testing boards.
23175
23176 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23177
23178 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23179 an expected fail for certain ptype commands.
23180
23181 * gdb.t20/classes.exp: Update expected results of "ptype class
23182 Base1" to account for the constructor that now appears in the type.
23183
23184 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23185
23186 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23187 disappeared from list.
23188 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23189 "alldone" proc with call to cleanup and exit.
23190 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23191 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23192 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23193 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23194 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23195 "alldone" proc with simple returns that suppress remaining
23196 tests. The alldone proc went away many months ago.
23197
23198 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23199
23200 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23201
23202 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23203
23204 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23205
23206 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23207 as vax gdb will display them.
23208
23209 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23210
23211 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23212 optimizers.
23213
23214 * scope.exp: Change "bad value for localval" messages so each one
23215 is unique.
23216
23217 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23218 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23219
23220 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23221
23222 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23223
23224 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23225 doesn't exist (due to optimization).
23226
23227 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23228
23229 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23230 contains \r because the filename is long.
23231
23232 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23233 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23234
23235 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23236
23237 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23238 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23239 Ultrix.
23240 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23241 int tests.
23242 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23243
23244 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23245
23246 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23247
23248 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23249 to match does not match the passing case but still matches the
23250 failing case.
23251
23252 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23253
23254 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23255
23256 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23257
23258 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23259 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23260 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23261 Remove various versions of gdb_exit.
23262 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23263 gdb_exit.
23264 * config/unix-gdb.exp: gdb_exit remains here, and should override
23265 the generic version, since it's doing a lot of wierd stuff that
23266 the other versions aren't. FIXME, fold it in, or abandon this
23267 version.
23268
23269 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23270
23271 * gdb.t24/demangle.exp: Add tests for PR 3220.
23272
23273 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23274
23275 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23276
23277 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23278
23279 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23280 "i386-*-*". Works for i486 as well.
23281
23282 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23283 bug, and expand domain of xfail to all SVR4 systems, since the
23284 actual problem is likely to be in generic SVR4 /proc support.
23285
23286 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23287
23288 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23289
23290 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23291
23292 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23293 xfails for other systems. Match a missing 'Continuing.' as an
23294 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23295
23296 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23297 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23298 Only issue warning for missing executables if -all option is used.
23299
23300 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23301 file if -all option is used. It's like an unpredictable XFAIL.
23302
23303 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23304
23305 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23306 for dynamically linked binaries.
23307
23308 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23309
23310 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23311
23312 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23313 to state that this is a known bug in old versions of g++.
23314
23315 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23316
23317 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23318 while waiting for `Continuing'.
23319
23320 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23321
23322 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23323 in text, data, and bss.
23324 * gdb.t10/nodebug.c: Add local and global test variables for
23325 initialized and uninitialized data.
23326
23327 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23328
23329 * config/unix-gdb.exp (gdb_exit): Add "wait".
23330
23331 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23332
23333 * gdb.t06/signals.exp: xfail the continue from the handler for all
23334 targets.
23335
23336 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23337 function with watchpoints enabled, the i386 call dummy starts with
23338 a call.
23339
23340 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23341 386 bsd names its corefiles.
23342
23343 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23344
23345 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23346 compilers don't grok it.
23347 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23348 with small octal ints rather than character constants, which
23349 are signed and might not fit if first promoted to int.
23350
23351 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23352
23353 * gdb.t09/Makefile.in (clean): Remove corefile.
23354
23355 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23356
23357 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23358
23359 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23360 and Jim Kingdon (kingdon@cygnus.com)
23361
23362 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23363 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23364 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23365
23366 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23367
23368 * gdb.t17/interrupt.exp: Add xfail for hppa.
23369
23370 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23371
23372 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23373 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23374 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23375 to determine signed-ness of bitfields and use the result to setup
23376 the xfail.
23377 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23378 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23379 call line is reached if necessary.
23380
23381 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23382
23383 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23384
23385 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23386
23387 * gdb.t06/break.exp: Also test `clear' command.
23388
23389 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23390
23391 * gdb.t00/teststrategy.exp: Remove extra quote.
23392
23393 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23394 watchpoint enabled to be for all non-68k machines.
23395
23396 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23397
23398 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23399
23400 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23401 targets use aout.mt instead of ecoff.mt as gas understands
23402 standard aout format.
23403
23404 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23405
23406 * lib/gdb.exp (runto): Don't insist that function we are running to
23407 was compiled with -g.
23408
23409 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23410
23411 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23412 to get back into the read system call.
23413 Accept leading newline in case where we woke it up.
23414
23415 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23416
23417 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23418 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23419 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23420 enable ecoff configuration.
23421
23422 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23423
23424 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23425
23426 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23427
23428 * gdb.t16/printcmds.exp: Add another printf test.
23429
23430 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23431
23432 * configure.in: If configured -with-stabs on any target, add
23433 stabsdirs to configdirs.
23434
23435 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23436
23437 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23438 fun" so pattern does not match the command itself.
23439
23440 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23441
23442 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23443
23444 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23445
23446 * gdb.t17/interrupt.exp: Test for more things.
23447
23448 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23449
23450 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23451 compiler arranges the code and line numbers.
23452
23453 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23454
23455 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23456
23457 * gdb.t00/help.exp: Increase expect input buffer size.
23458
23459 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23460
23461 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23462
23463 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23464
23465 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23466
23467 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23468 [0-9]*, not just [0-9].
23469
23470 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23471
23472 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23473
23474 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23475
23476 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23477
23478 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23479
23480 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23481
23482 * gdb.t06/signals.c: Add xfails for sun3.
23483
23484 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23485
23486 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23487 test_stepping tests.
23488
23489 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23490
23491 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23492
23493 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23494
23495 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23496 rather than actually putting it through cpp twice.
23497
23498 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23499
23500 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23501
23502 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23503 no longer needed.
23504
23505 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23506
23507 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23508
23509 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23510 C++ features prints as "struct", make it a pass, not an xfail.
23511
23512 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23513
23514 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23515 Don't require VA to print as "class" rather than "struct".
23516
23517 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23518
23519 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23520
23521 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23522
23523 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23524
23525 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23526
23527 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23528 order.
23529
23530 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23531
23532 * gdb.t16/printcmds.exp: Add printf tests.
23533
23534 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23535
23536 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23537
23538 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23539
23540 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23541 pass counts, to counteract any existing or future setup_xfails.
23542
23543 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23544
23545 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23546 {BEGIN,END}_COMMON for common block instead of STAB.
23547 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23548
23549 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23550 intp_var should be N_GSYM not N_LSYM.
23551 wierd-aout.S: Use a label for the value of the N_SO.
23552 wierd.def: Remove all backslashes.
23553 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23554
23555 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23556
23557 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23558 get the expected next to inheritance3.
23559
23560 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23561
23562 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23563 now that gcc-2.4 gets it right.
23564
23565 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23566
23567 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23568
23569 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23570 generating comp-info.exp which works for cross-compilation.
23571
23572 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23573
23574 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23575 "*-*-sysv4.*".
23576
23577 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23578
23579 * gdb.t01/run.exp: Start with a fresh gdb.
23580 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23581 SVR4.x.
23582
23583 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23584
23585 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23586 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23587 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23588 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23589 things to remove.
23590
23591 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23592
23593 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23594 test cases from bug reports.
23595
23596 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23597
23598 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23599 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23600 avoid spurious xfails.
23601 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23602 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23603 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23604
23605 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23606
23607 * gdb.t00/teststrategy.exp: Rework to provide more useful
23608 description of each test, fix problem with systems that define
23609 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23610 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23611 results for "next over recursive call" so timeouts aren't taken
23612 by error.
23613
23614 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23615
23616 * gdb.t12/scope.exp: Test printing of variables before run.
23617
23618 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23619 printed in wrong order due to sorting.
23620
23621 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23622
23623 * gdb.t00/teststrategy.exp: Fix expected results for printing
23624 user entered string constant. Is array of char, prints with no
23625 address.
23626
23627 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23628 commands.
23629 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23630 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23631 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23632 of struct of char arrays.
23633 * gdb.t00/radix.exp: New tests for radix commands.
23634
23635 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23636
23637 * gdb.t16/printcmd.exp: Print a variable before running program
23638 (with xfail for AIX).
23639
23640 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23641
23642 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23643
23644 * gdb.t16/printcmd.exp: Don't print variables before running program.
23645
23646 * gdb.t06/break.exp: Don't require envp argument to main.
23647
23648 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23649
23650 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23651 Add xfails for rs6000.
23652
23653 * gdb.t02/whatis.exp: Change other tests not to re-test something
23654 we already tested.
23655
23656 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23657 each type used has a variable of that type.
23658
23659 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23660
23661 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23662
23663 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23664
23665 * configure.in: change srctrigger to be a file, not a directory
23666
23667 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23668
23669 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23670
23671 * gdb.t11/list.exp: Fixed a couple of typos.
23672
23673 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23674
23675 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23676 is fixed and PR is closed.
23677 * gdb.t16 (gdbme.c): Add simple test string variable.
23678 * gdb.t16 (printcmds.exp): Add tests with simple test string
23679 variable, primarily for boundaries on "set print elements".
23680
23681 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23682
23683 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23684 Make leading 0's optional and don't expect a tab in the middle
23685 of the number.
23686
23687 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23688
23689 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23690 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23691 don't end command passed to gdb_test with newline.
23692
23693 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23694 signed keyword away, don't expect signed bitfields to be signed.
23695
23696 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23697 printing with only as many 1's as are in the field as well as printing
23698 with 32 1's (see comment).
23699
23700 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23701
23702 * gdb.t00/default.exp: Start with a fresh gdb.
23703 * configure.in (configdirs): Remove gdb.t31 until the chill
23704 compiler works again. It no longer is able to find chillrt0
23705 since it isn't in libchill.a anymore.
23706 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23707 wierd.o, make more modular.
23708 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23709 spurious newlines that caused problems.
23710
23711 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23712
23713 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23714 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23715 gdb.stabs/wierd.{exp,def}: Many new tests.
23716
23717 * gdb.t00/default.exp: update info line for new message.
23718
23719 * gdb.t02/{whatis.exp,gdbme.c}:
23720 Test that "char *" doesn't print as "caddr_t".
23721
23722 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23723
23724 * gdb.t00/help.exp: Use .* in place of some help messages which
23725 just changed.
23726 gdb.t00/default.exp: Update "info frame" test for new message.
23727 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23728 Remove some xfails
23729
23730 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23731
23732 * gdb.t03/{gdbme.c,ptype.exp}:
23733 Add tests for typedef'd struct and union without tags.
23734 Also check "whatis" on a variable of a typedef'd enum without a tag.
23735
23736 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23737 PRMS 1823; the bug still exists but isn't reproduced by this test
23738 anymore), and remove rs6000 XFAIL (the bug is fixed).
23739
23740 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23741 duplicated from whatis.exp. For those that are left, accept
23742 "long", "long int", or "int" for long variables (whatis.exp already
23743 has an XFAIL for "int", so no need to fail it here).
23744
23745 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23746 Deal with GCC's names for types now that GDB uses the compiler's names.
23747
23748 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23749 setup_xfail's for sunos4. If we #defined the signed keyword away,
23750 don't expect GDB to know that char it is signed.
23751
23752 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23753
23754 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23755
23756 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23757 should work on any system, regardless of debugging format.
23758 * gdb.t21/demangle.exp: Move to gdb.t24.
23759 * gdb.t24/demangle.exp: Move from gdb.t21.
23760 * gdb.t24/{Makefile.in, configure.in}: New files.
23761
23762 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23763
23764 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23765 * gdb.stabs: New directory.
23766
23767 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23768
23769 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23770 not just "Quit anyway?".
23771
23772 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23773
23774 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23775 that all setup_xfails are immediately followed by clear_xfails.
23776
23777 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23778
23779 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23780 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23781 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23782 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23783 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23784 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23785 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23786 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23787 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23788 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23789 gdb.t31/chillvars.exp, lib/gdb.exp:
23790 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23791 bug-gdb@prep.ai.mit.edu.
23792
23793 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23794
23795 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23796 with 0.0, not integer 0.
23797
23798 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23799
23800 * gdb.t06/break.exp: Update for "Kill the program" message change.
23801
23802 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23803
23804 * Makefile.in (GDBFLAGS): Set to -nx.
23805 * Makefile.in (site.exp): Use GDBFLAGS.
23806
23807 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23808
23809 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23810 Makefiles.
23811 (check): depend on just-check.
23812 (just-check): added so that tests can be run without a noop
23813 build pass.
23814
23815 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23816
23817 Switch to using configure's configdirs.
23818 * Makefile.in (Makefile): add configure.in dependency.
23819 (SUBDIRS): removed redundant assignment.
23820 * configure.in: switch subdirs assignment to configdirs.
23821 * gdb.t*/configure.in: new files.
23822
23823 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23824
23825 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23826 works.
23827
23828 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23829
23830 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23831 in explicit rules. Apparently this is not supported by some makes.
23832
23833 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23834
23835 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23836
23837 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23838
23839 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23840 disappeared.
23841
23842 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23843
23844 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23845
23846 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23847
23848 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23849 watchpoint problem that is now fixed.
23850 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23851 uninitialized convenience variables.
23852 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23853 structures.
23854
23855 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23856
23857 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23858 which causes expect to get out of sync with gdb on long output
23859 from help set.
23860 * gdb.t09/corefile.exp: Make expected pattern for core file
23861 failing signal and frame output format less sun specific.
23862
23863 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23864
23865 * gdb.t31/chillvars.exp: Add and remove initial dummy
23866 breakpoint, so that symbol table is forced in.
23867 (Needed at least on Sunos4, though it seems not SVR4.)
23868 * gdb.t31/chillvars.exp: Update for changed output format.
23869
23870 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23871
23872 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23873
23874 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23875
23876 * Makefile.in: Added --srcdir when invoking runtest, removed the
23877 need for a local config file. (optional now)
23878
23879 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23880
23881 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23882 failure count used to force early termination. Add some more
23883 expected failures for gnu style demangling.
23884
23885 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23886
23887 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23888 pmi variable from gdb.t20/gdbme to get optimized away.
23889 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23890 Check for written corefile upon timeout _and_ eof.
23891
23892 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23893
23894 * config/unix-gdb.exp: Add missing return 0.
23895
23896 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23897
23898 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23899 test termination.
23900
23901 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23902
23903 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23904 disappeared.
23905
23906 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23907
23908 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23909 time as i860 support works.
23910
23911 * gdb.t15/funcargs.exp: Fix expected outputs to include
23912 "backtrace 100\r" rather than just "backtrace\r", to match last
23913 change.
23914
23915 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23916
23917 * config/udi-gdb.exp (gdb_exit): Remove close command.
23918 (gdb_target_udi): New procedure to set the UDI target.
23919 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23920 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23921 Added waits for prompts after several question responses. Added
23922 some more responses used by a29k-amd-udi-gdb.
23923 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23924 pass different arguments, restart UDI connection after program
23925 completion.
23926 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23927 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23928 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23929 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23930 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23931 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23932 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23933 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23934 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23935 after program completion.
23936 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23937 compiled with a SELECT_VECS setting.
23938 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23939 infinite recursion.
23940
23941 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23942 Added checks for COFF results, and made them expected failures for
23943 all targets. It would be better to make them expected failures
23944 for COFF targets only.
23945
23946 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23947
23948 * Makefile.in: add null dvi target, don't bother to recurse
23949 through test directories for info and install-info; rename
23950 $(datadir) to be dejagnu instead of deja-gnu
23951
23952 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23953
23954 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23955 compiler to coredump.
23956 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23957 code.
23958
23959 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23960
23961 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23962 coredump.
23963 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23964 code.
23965
23966 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23967
23968 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23969 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23970 which in a shell. Deletes xgdb when done.
23971 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23972 Tests the return from the "set height" or "set width" commands.
23973 Added a few return codes where needed.
23974
23975 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23976
23977 * Makefile.in (SUBDIRS): Add gdb.t17.
23978 * configure.in (subdirs): Add gdb.t17.
23979 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23980 files to test gdb's calling of functions in the inferior with
23981 the correct arguments and gdb's ability to retrieve any
23982 result returned.
23983
23984 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23985
23986 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23987 may be called after gdb goes away. Previous versions of expect
23988 needed these to avoid file descriptor leaks, but they cause
23989 errors with the current revision of expect.
23990 * gdb.t00/gdbvars.exp: Use -re on expected output after
23991 setting sevenbit-strings.
23992 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23993 to set sevenbit-strings consistent across tests.
23994 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23995 set sevenbit-strings consistent across tests.
23996
23997 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23998
23999 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24000 expected output to match current "expect" expectations.
24001
24002 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24003
24004 * gdb.t00/default.exp: Change expected output for default "source"
24005 command, to match new gdb behavior which requires a filename to
24006 source.
24007
24008 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24009
24010 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24011 expected fail for i486-*-* that misses the marker2 function.
24012 * gdb.t10/crossload.exp (bfddefault): Allow successful
24013 recognition of a format to pass even if no symbols are found.
24014 Explicitly catch failures where the format is not recognized
24015 or is ambiguous, and add the reason to the fail message.
24016 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24017 the cause is and invalid target and add reason to failure message.
24018 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24019 elf32-i386, elf32-sparc, and elf32-i860.
24020 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24021 Set up expected failure for 'filename'::variable scope resolution,
24022 which is now apparently broken on all targets.
24023 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24024 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24025 gdb.t23/templates.exp: Change failure for missing binfile into
24026 just a warning.
24027 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24028 references.
24029
24030 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24031
24032 * gdb.t00/default.exp: Add expected output for default "source"
24033 command, to match new gdb behavior.
24034 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24035
24036 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24037
24038 * config/*-gdb.exp: returns an error, rather than exiting on
24039 internal errors.
24040
24041 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24042
24043 * gdb.t03/gdbme.c: Add pointer to struct variable.
24044 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24045 referencing struct members.
24046
24047 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24048
24049 * configure.in (mips-idt-ecoff): New target.
24050 * config/mips-gdb.exp: New file for remote board using MIPS remote
24051 debugging protocol.
24052
24053 * Redid configuration scheme. Removed gdb.t*/configure.in.
24054 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24055 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24056 distclean targets. Built executables via .o files. Adjusted
24057 tests to account for source files in $(srcdir) rather than
24058 $(objdir).
24059 * lib/gdb.exp (runto): Don't expect () after the function name,
24060 because it may have arguments.
24061
24062 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24063
24064 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24065 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24066 expected failures for mips-idt-* and mips-sgi-*.
24067 * gdb.t00/default.exp (attach): Kill process if requested.
24068 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24069 that does not read core files.
24070 * gdb.t01/run.exp: Removed checks for exit status code.
24071 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24072 it is linked in.
24073 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24074 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24075 appropriate, rather than doing it by hand.
24076 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24077 execution.
24078 * gdb.t10/crossload.exp: Kill existing program if needed.
24079 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24080 appropriate, rather than doing it by hand. Always increase
24081 timeout for this test, not just for VxWorks.
24082
24083 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24084
24085 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24086 of Chill STRUCT types and STRUCT values.
24087 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24088 than "char".
24089 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24090 struct2): New struct definitions and initializations to test
24091 simple Chill STRUCT types.
24092
24093 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24094
24095 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24096 the null byte at the end of strings.
24097 * gdb.t00/default.exp: Make show version insensitive to copyright
24098 date.
24099 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24100 to avoid dependencies on target char signedness.
24101 * gdb.t16/printcmds.exp: Update expected results for explicitly
24102 unsigned char.
24103 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24104 now work.
24105 * gdb.t21/demangle.exp: Add many more patterns for template
24106 demangling, most of them being expected failures.
24107 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24108 string we are matching for, to match on the whole string.
24109 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24110 and fix a whole bunch that had incorrect expected output but were
24111 passing anyway because of the bug in "proc demangle".
24112 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24113 type.
24114 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24115
24116 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24117
24118 * gdb/testsuite: made modifications to testcases, etc., to allow
24119 them to work properly given the reorganization of deja-gnu and the
24120 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24121
24122 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24123
24124 * gdb/testsuite: Initial creation of gdb/testsuite.
24125 Migrated dejagnu testcases and support files for testing nm to
24126 gdb/testsuite from deja-gnu. These files were moved "as is"
24127 with no modifications. This migration is part of a major overhaul
24128 of dejagnu. The modifications to these testcases, etc., which
24129 will allow them to work with the new version of dejagnu will be
24130 made in a future update.
24131
24132 For additional changes see gdb.mi/ChangeLog-1999-2003.
24133 \f
24134 ;; Local Variables:
24135 ;; mode: change-log
24136 ;; left-margin: 8
24137 ;; fill-column: 74
24138 ;; version-control: never
24139 ;; End:
24140
24141 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24142 2003, 2004, 2005 Free Software Foundation, Inc.
24143 Copying and distribution of this file, with or without modification,
24144 are permitted provided the copyright notice and this notice are preserved.
This page took 0.587605 seconds and 4 git commands to generate.