1 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3 * gdb.python/py-function.exp: Test setting a value from a function
4 which executes a command.
6 2011-05-12 Tom Tromey <tromey@redhat.com>
8 * gdb.dwarf2/typeddwarf.S: New file.
9 * gdb.dwarf2/typeddwarf.c: New file.
10 * gdb.dwarf2/typeddwarf.exp: New file.
12 2011-05-12 Marek Polacek <mpolacek@redhat.com>
14 * gdb.mi/mi-basics.exp: Fix races. Honour the
15 `test_exec_and_symbol_mi_operatons' return value.
16 (test_mi_interpreter_selection): Use mi_gdb_test instead of
18 (test_exec_and_symbol_mi_operatons): Likewise.
19 (test_path_specification): Likewise.
21 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
24 (gdb_touch_execfile): Remove catch wrappers. New variable time.
25 Replace `file copy' and `file rename' by `file mtime'. Twice.
27 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
29 * gdb.base/readline-ask.c: New file.
30 * gdb.base/readline-ask.exp: New file.
31 * gdb.base/readline-ask.inputrc: New file.
33 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
35 * gdb.cell/bt.exp: Delete breakpoints before running to signal
36 to avoid race condition.
37 * gdb.cell/coremaker.c: Use small stack size.
38 * gdb.cell/ea-standalone.exp: Use file name without path as
40 * gdb.cell/fork.exp: Allow other output when continuing to end.
42 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
44 * gdb.threads/corethreads.c: New file.
45 * gdb.threads/corethreads.exp: New file.
47 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
49 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
50 Try to compile the test using -Wl,-z,norelro first.
51 (load_core): New variable libthread_db_seen, initialize it.
52 (zeroed-threads cannot be listed): Protect it by XFAIL on
55 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
58 * gdb.dwarf2/dw2-skip-prologue.S: New file.
59 * gdb.dwarf2/dw2-skip-prologue.c: New file.
60 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
62 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
64 * gdb.cp/psymtab-parameter.cc: New file.
65 * gdb.cp/psymtab-parameter.exp: New file.
67 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
70 * gdb.cp/static-print-quit.exp (print c): Split to ...
71 (print c - <return>, print c - q <return>, print c - to quit):
72 ... these. Make the testfile untested on gdb-7.1.
74 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
76 * lib/gdb.exp (exec_target_file, exec_symbol_file,
77 gdb_rename_execfile, gdb_touch_execfile): New.
78 * gdb.base/reread.exp: Use new procs to handle multiple
81 2011-05-05 Yao Qi <yao@codesourcery.com>
83 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
84 (test_adr_32bit, test_pop_pc): New.
85 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
86 (test_adr_32bit, test_pop_pc): New.
88 2011-05-04 Joseph Myers <joseph@codesourcery.com>
90 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
91 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
93 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
96 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
98 * gdb.base/completion.exp (complete help info wat): Rename to ...
99 (complete 'help info wat'): ... here.
100 Remove all `-re ".*' and `-re "^.*' redundant regexes.
101 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
103 2011-05-04 Pedro Alves <pedro@codesourcery.com>
105 * gdb.base/completion.exp: Use gdb_test_multiple instead of
106 gdb_test and explicit $gdb_prompt/timeout matches.
108 2011-05-04 Yao Qi <yao@codesourcery.com>
110 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
113 2011-05-03 Marek Polacek <mpolacek@redhat.com>
115 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
116 in place of `gdb_test "delete breakpoints"'. This eliminates two
119 2011-05-02 Pedro Alves <pedro@codesourcery.com>
124 * gdb.base/completion.exp: Remove all sleep calls. Remove
125 unnecessary regexs. Don't explicitly expect anything after the
126 prompt. Eat the prompt if necessary.
128 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
130 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
131 accept to show the caller line again as well as the line after.
133 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
137 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
139 * gdb.python/py-prettyprint.exp: Add C++ object for
140 CPLUS_FAKE_CHILD test.
142 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
144 * gdb.base/signest.exp: New file.
145 * gdb.base/signest.c: Likewise.
147 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
149 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
150 thread and breakpoint notifications.
152 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
154 * gdb.base/fortran-sym-case.c: New file.
155 * gdb.base/fortran-sym-case.exp: New file.
156 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
157 * gdb.dwarf2/dw2-case-insensitive.c: New file.
158 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
160 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
162 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
163 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
164 false #1', `if true else false #2' and `if true else false #3'.
166 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
168 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
169 while delivering signal.
171 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
173 MI breakpoint notifications.
175 * testsuite/gdb.mi/mi-cli.exp: Adust.
176 * testsuite/gdb.mi/mi2-cli.exp: Adust.
177 * testsuite/gdb.mi/mi-watch.exp: Adust.
178 * testsuite/gdb.mi/mi2-watch.exp: Adust.
179 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
182 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
184 * gdb.base/gdbindex-stabs-dwarf.c: New file.
185 * gdb.base/gdbindex-stabs.c: New file.
186 * gdb.base/gdbindex-stabs.exp: New file.
188 2011-04-25 Yao Qi <yao@codesourcery.com>
190 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
192 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
194 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
196 * gdb.python/py-value.exp (test_objfiles): Name the first test
197 `py-value in file.filename'.
199 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
201 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
202 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
203 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
204 !gdbserver_reconnect_p..
205 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
207 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
209 * gdb.cp/cpcompletion.exp (complete class methods)
210 (complete class methods beginning with F): Move them above runto. New
211 comment about the runto delimiter.
213 2011-04-20 Pedro Alves <pedro@codesourcery.com>
215 * gdb.base/maint.exp: Test that "maint print registers" works
216 without a running program.
218 2011-04-20 Marek Polacek <mpolacek@redhat.com>
220 * gdb.base/setshow.exp: Fix racy tests.
221 ($old_gdb_prompt): New variable.
223 2011-04-19 Tom Tromey <tromey@redhat.com>
225 * gdb.mi/mi-nsmoribund.exp:
226 * gdb.hp/gdb.objdbg/objdbg01.exp:
227 * gdb.base/structs.exp (test_struct_returns):
228 * gdb.base/call-sc.exp (test_scalar_returns):
229 * gdb.base/bigcore.exp: Remove duplicate words.
231 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
233 * gdb.base/break-interp-lib.c (v, vptr): New variables.
234 * gdb.base/break-interp.exp (test_attach): New comment.
236 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
238 * gdb.threads/gcore-thread.exp ($core0file): New variable.
239 (clear __stack_user.next, clear stack_used.next)
240 (save a zeroed-threads corefile): New test.
241 Call core_load for $core0file.
242 (zeroed-threads cannot be listed): New test.
244 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
246 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
248 ($srcfile): Preserve the original value.
249 ($testfile): Match it the .exp filename.
250 ($corefile): New variable. Substitute it around.
252 ($prev_timeout): Remove.
253 (load_core): Move core loading into this proc.
254 Fix restore of $timeout if load_core fails.
256 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
258 * gdb.base/eu-strip-infcall.c: New file.
259 * gdb.base/eu-strip-infcall.exp: New file.
261 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
263 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
264 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
266 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
268 Fix Python access to inlined frames.
269 * gdb.python/py-frame-inline.c: New file.
270 * gdb.python/py-frame-inline.exp: New file.
272 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
274 * gdb.base/gdb1090.exp: Change breakpoint location to read the
275 content of 's24' correctly (avoiding "optimized out").
276 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
278 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
280 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
282 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
284 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
285 expect a colon in watch -location output.
287 2011-04-13 Marek Polacek <mpolacek@redhat.com>
289 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
290 New testcase `expect response to define backtrace'. Also remove
291 redundant `default' block.
293 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
295 * gdb.python/py-prettyprint.c (struct hint_error): New.
296 (main): New variable hint_error.
297 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
299 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
300 (register_pretty_printers): Register it.
302 2011-04-04 Tom Tromey <tromey@redhat.com>
304 * gdb.cp/maint.exp (test_help): Update.
305 (test_namespace): Likewise.
307 2011-04-01 Joel Brobecker <brobecker@adacore.com>
309 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
310 * gdb.ada/arrayptr.exp: Add new tests.
312 2011-04-01 Joel Brobecker <brobecker@adacore.com>
314 * gdb.ada/mi_catch_ex: New testcase.
316 2011-04-01 Pedro Alves <pedro@codesourcery.com>
318 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
319 base::overload(void) method without specifying "const".
321 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
323 * gdb.arch/thumb-singlestep.S: New file.
324 * gdb.arch/thumb-singlestep.exp: Likewise.
326 2011-03-31 Tom Tromey <tromey@redhat.com>
328 * gdb.python/py-prettyprint.py (exception_flag): New global.
329 (NoStringContainerPrinter._iterator.next): Check it.
330 * gdb.python/py-prettyprint.c (main): New variable nstype2.
331 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
333 2011-03-29 Tom Tromey <tromey@redhat.com>
335 * gdb.cp/anon-struct.cc: New file.
336 * gdb.cp/anon-struct.exp: New file.
338 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
340 Test STT_GNU_IFUNC support.
341 * gdb.base/gnu-ifunc-lib.c: New file.
342 * gdb.base/gnu-ifunc.c: New file.
343 * gdb.base/gnu-ifunc.exp: New file.
345 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
347 Support a ring of related breakpoints.
348 * gdb.base/watchpoint-delete.c: New file.
349 * gdb.base/watchpoint-delete.exp: New file.
351 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
353 * gdb.ada/arrayparam.exp (print first after function call): Use
354 explicit package name. Add a comment
355 (print lasta after function call): Rename ...
356 (print last after function call): ... it and use explicit package
358 (print length after function call): Use explicit package name.
359 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
360 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
361 (multiple matches for symbol i): Rename ...
362 (multiple matches for symbol integervar): ... it.
363 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
364 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
366 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
368 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
369 environment variable to make grep output more predictable. Move
370 all the environment setup into gdb_init so it's done once per test
371 case rather than each time we start gdb.
373 2011-03-24 Tom Tromey <tromey@redhat.com>
375 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
378 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
380 * gdb.dwarf2/dw2-entry-value-main.c: New file.
381 * gdb.dwarf2/dw2-entry-value.S: New file.
382 * gdb.dwarf2/dw2-entry-value.exp: New file.
384 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
388 * gdb.python/py-function.exp: Add GdbError tests.
390 2011-03-18 Pedro Alves <pedro@codesourcery.com>
392 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
393 (reglocal_test_func, statlocal_test_func): New functions.
394 (globals_test_func): Call new functions.
395 * gdb.trace/unavailable.exp (gdb_collect_args_test)
396 (gdb_collect_locals_test): New procedure.
397 (gdb_trace_collection_test): Call new procedures.
399 2011-03-18 Pedro Alves <pedro@codesourcery.com>
401 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
402 (test_register, test_register_unavailable): New procedures.
403 (gdb_unavailable_registers_test): New procedure.
404 (gdb_trace_collection_test): Call it.
406 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
410 * gdb.python/python.exp: Add gdb.write tests.
412 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
414 * gdb.python/Makefile.in: Add py-objfile.
415 * gdb.python/py-objfile.exp: New file.
416 * gdb.python/py-objfile.c: New file.
417 * gdb.python/py-block.exp: Add is_valid tests.
418 * gdb.python/py-inferior.exp: Ditto.
419 * gdb.python/py-infthread.exp: Ditto.
420 * gdb.python/py-symbol.exp: Ditto.
421 * gdb.python/py-symtab.exp: Ditto.
423 2011-03-16 Keith Seitz <keiths@redhat.com>
426 * gdb.cp/cmpd-minsyms.exp: New test.
427 * gdb.cp/cmpd-minsyms.cc: New file.
430 * gdb.cp/ovsrch.exp: New test.
431 * gdb.cp/ovsrch.h: New file.
432 * gdb.cp/ovsrch1.cc: New file.
433 * gdb.cp/ovsrch2.cc: New file.
434 * gdb.cp/ovsrch3.cc: New file.
435 * gdb.cp/ovsrch4.cc: New file.
437 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
440 * gdb.base/Makefile.in: Adjust EXECUTABLES.
441 * gdb.base/break-on-linker-gcd-function.exp: New test.
442 * gdb.base/break-on-linker-gcd-function.cc: New file.
444 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
446 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
448 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
450 * lib/gdb.exp (gdb_unload): Add another termination case.
452 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
454 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
455 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
456 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
457 Provide a stub byte there.
458 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
460 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
462 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
464 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
465 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
467 (altivec_abi_tests): Accept vectors returned by reference.
469 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
471 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
473 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
475 * gdb.python/py-section-script.exp: Skip test if no Python support.
477 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
479 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
481 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
483 * gdb.python/py-parameter.exp: Update tests to the new Python
484 parameter API. Add "no documentation" test. Add deprecated API
485 backward compatibility test.
487 2011-03-09 Tom Tromey <tromey@redhat.com>
489 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
492 2011-03-09 Mark Kettenis <kettenis@gnu.org>
494 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
497 2011-03-09 Tom Tromey <tromey@redhat.com>
499 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
501 (gdb_continue_to_end): Add "allow_extra" parameter. Use
503 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
504 argument to gdb_continue_to_end.
505 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
506 argument to gdb_continue_to_end.
507 * gdb.cp/annota3.exp: Fix regex.
508 * gdb.cp/annota2.exp: Fix regex.
509 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
511 * gdb.base/call-signal-resume.exp: Revert earlier patch.
512 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
515 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
517 * gdb.server/ext-run.exp
518 (load new file without any gdbserver inferior): New test.
520 2011-03-07 Tom Tromey <tromey@redhat.com>
522 * Makefile.in (TAGS): Rewrite.
524 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
526 * gdb.trace/report.exp (12.1: trace report #1): New match for the
527 initial commands echo. New match for `Found trace'. Anchor all the
528 other matches. Anchor and match for `No trace frame found' the final
531 2011-03-07 Tom Tromey <tromey@redhat.com>
533 * Makefile.in (TAGS): New target.
535 2011-03-07 Tom Tromey <tromey@redhat.com>
537 * lib/opencl.exp (skip_opencl_tests): Update for exit message
539 * lib/mi-support.exp (mi_gdb_test): Update for exit message
541 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
543 (skip_altivec_tests): Update for exit message change.
544 (skip_vsx_tests): Likewise.
545 (gdb_continue_to_end): Likewise. Add 'command' argument.
546 * lib/cell.exp (skip_cell_tests): Update for exit message change.
547 * gdb.threads/tls.exp: Update for exit message change.
548 * gdb.threads/thread-unwindonsignal.exp: Use
550 * gdb.threads/step.exp (step_it): Update for exit message change.
551 (continue_all): Likewise.
552 * gdb.threads/print-threads.exp (test_all_threads): Update for
554 * gdb.threads/interrupted-hand-call.exp: Use
556 * gdb.threads/execl.exp: Use gdb_continue_to_end.
557 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
559 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
560 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
561 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
562 * gdb.cp/method.exp: Update for exit message change.
563 * gdb.cp/mb-templates.exp: Update for exit message change.
564 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
565 * gdb.cp/annota3.exp: Update for exit message change.
566 * gdb.cp/annota2.exp: Update for exit message change.
567 * gdb.cell/fork.exp: Use gdb_continue_to_end.
568 * gdb.base/term.exp: Update for exit message change.
569 * gdb.base/step-test.exp (test_i): Update for exit message change.
570 * gdb.base/sigstep.exp (advance): Update for exit message change.
571 (advancei): Likewise.
572 * gdb.base/siginfo.exp: Update for exit message change.
573 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
574 * gdb.base/reread.exp: Use gdb_continue_to_end.
575 * gdb.base/langs.exp: Use gdb_continue_to_end.
576 * gdb.base/interrupt.exp: Update for exit message change.
577 * gdb.base/gdb1555.exp: Update for exit message change.
578 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
579 * gdb.base/ending-run.exp: Update for exit message change.
580 * gdb.base/chng-syms.exp: Update for exit message change.
581 * gdb.base/checkpoint.exp: Update for exit message change.
582 * gdb.base/catch-syscall.exp (check_for_program_end): Use
584 (test_catch_syscall_with_wrong_args): Likewise.
585 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
586 * gdb.base/break-interp.exp (test_ld): Update for exit message
588 * gdb.base/bang.exp: Update for exit message change.
589 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
590 (do_call_attach_tests): Likewise.
591 * gdb.base/a2-run.exp: Update for exit message change.
592 * gdb.arch/ppc-dfp.exp: Update for exit message change.
593 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
594 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
596 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
598 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
600 2011-03-03 Tom Tromey <tromey@redhat.com>
602 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
603 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
604 * gdb.hp/gdb.aCC/configure.ac: Remove.
605 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
606 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
607 * gdb.hp/gdb.base-hp/configure.ac: Remove.
608 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
609 * gdb.hp/gdb.compat/configure (Makefile): Remove.
610 * gdb.hp/gdb.compat/configure.ac: Remove.
611 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
612 * gdb.hp/gdb.defects/configure (Makefile): Remove.
613 * gdb.hp/gdb.defects/configure.ac: Remove.
614 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
615 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
616 * gdb.hp/gdb.objdbg/configure.ac: Remove.
617 * gdb.hp/configure.ac: Remove.
618 * gdb.hp/configure: Remove.
619 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
621 (Makefile): Remove rule.
622 * gdb.cell/configure.ac: Remove.
623 * gdb.cell/configure: Remove.
624 * gdb.stabs/Makefile.in (Makefile): Remove.
625 (distclean): Don't remove config.status or config.log.
626 * gdb.stabs/configure (Makefile): Remove.
627 * gdb.stabs/configure.ac: Remove.
628 * configure: Rebuild.
629 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
630 Remove stabs- and cell-specific logic. Test for existence of
631 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
632 subdirectories, gdb.cell, and and gdb.stabs.
633 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
635 2011-03-03 Joel Brobecker <brobecker@adacore.com>
637 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
640 2011-03-02 Joel Brobecker <brobecker@adacore.com>
642 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
643 gdb_test when running a test where we expected no output back.
645 2011-02-28 Michael Snyder <msnyder@vmware.com>
647 * gdb.cp/overload.cc: Change initializer value to integer.
649 2011-02-27 Michael Snyder <msnyder@vmware.com>
651 * gdb.multi/base.exp: Add test for remove-inferiors.
653 2011-02-26 Joel Brobecker <brobecker@adacore.com>
655 * gdb.python/py-frame.exp: Simplify the initialization phase
656 using prepare_for_testing.
658 2011-02-25 Michael Snyder <msnyder@vmware.com>
660 * gdb.multi/base.exp: Add tests for info inferiors with args.
662 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
664 * gdb.dwarf2/dw2-ranges.S: Rename to ...
665 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
666 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
667 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
668 asmfile3. Comment the STABS (#3) file compilation. Compile
669 everything through assembler. Provide KFAIL for symtab/12497.
670 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
671 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
672 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
673 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
675 2011-02-24 Michael Snyder <msnyder@vmware.com>
677 * gdb.base/break.exp: Add tests for delete breakpoints using
678 convenience variables and value history references.
680 2011-02-24 Michael Snyder <msnyder@vmware.com>
682 * gdb.base/break.exp: Remove debugging 'printf' accidentally
683 left behind in previous check-in.
685 2011-02-23 Michael Snyder <msnyder@vmware.com>
687 * gdb.base/break.exp: Add tests for "info break" with arguments.
688 * gdb.trace/infotrace.exp: Update patterns for error and help.
689 * gdb.base/completion.exp: Update pattern.
690 * gdb.base/ena-dis-br.exp: Update pattern.
691 * gdb.base/help.exp: Update patterns.
693 2011-02-23 Michael Snyder <msnyder@vmware.com>
695 * gdb.base/memattr.exp: New test.
696 * gdb.base/memattr.c: Test load for memattr.exp.
698 2011-02-22 Doug Evans <dje@google.com>
700 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
702 2011-02-22 Michael Snyder <msnyder@vmware.com>
704 * Makefile.in: Make more clean.
705 * gdb.ada/Makefile.in: Ditto.
706 * gdb.arch/Makefile.in: Ditto.
707 * gdb.asm/Makefile.in: Ditto.
708 * gdb.base/Makefile.in: Ditto.
709 * gdb.cp/Makefile.in: Ditto.
710 * gdb.dwarf2/Makefile.in: Ditto.
711 * gdb.java/Makefile.in: Ditto.
712 * gdb.mi/Makefile.in: Ditto.
713 * gdb.modula2/Makefile.in: Ditto.
714 * gdb.python/Makefile.in: Ditto.
715 * gdb.server/Makefile.in: Ditto.
716 * gdb.stabs/Makefile.in: Ditto.
717 * gdb.threads/Makefile.in: Ditto.
718 * gdb.trace/Makefile.in: Ditto.
720 2011-02-22 Michael Snyder <msnyder@vmware.com>
722 * gdb.threads/thread-find.exp: Add tests for bad input to
725 2011-02-22 Joel Brobecker <brobecker@adacore.com>
727 * gdb.python/py-breakpoint.exp: Fix the expected output of
728 one of the "maint info breakpoints" tests to accept the output
729 generated on platforms that do not have hardware watchpoints.
731 2011-02-22 Joel Brobecker <brobecker@adacore.com>
733 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
734 clean_restart. Be a little stricter in the expected output
735 for one of the tests. Fix a typo in one of the comments.
737 2011-02-22 Joel Brobecker <brobecker@adacore.com>
739 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
740 Delete variable binfile, no longer use. Add or modify test
741 comments to make them unique.
743 2011-02-21 Michael Snyder <msnyder@vmware.com>
745 * Makefile.in: Update for make clean.
746 * gdb.ada/Makefile.in: Ditto.
747 * gdb.arch/Makefile.in: Ditto.
748 * gdb.asm/Makefile.in: Ditto.
749 * gdb.base/Makefile.in: Ditto.
750 * gdb.cp/Makefile.in: Ditto.
751 * gdb.dwarf2/Makefile.in: Ditto.
752 * gdb.java/Makefile.in: Ditto.
753 * gdb.mi/Makefile.in: Ditto.
754 * gdb.modula2/Makefile.in: Ditto.
755 * gdb.python/Makefile.in: Ditto.
756 * gdb.server/Makefile.in: Ditto.
757 * gdb.stabs/Makefile.in: Ditto.
758 * gdb.threads/Makefile.in: Ditto.
759 * gdb.trace/Makefile.in: Ditto.
761 2011-02-21 Michael Snyder <msnyder@vmware.com>
763 * gdb.threads/thread-find.exp: Update patterns for changes in
764 output of "info threads" command.
766 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
767 Ulrich Weigand <uweigand@de.ibm.com>
769 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
770 (skip_hw_watchpoint_tests): Likewise.
771 (skip_hw_watchpoint_multi_tests): Likewise.
773 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
775 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
776 (skip_hw_watchpoint_tests): Likewise.
777 (skip_hw_watchpoint_multi_tests): Likewise.
778 (skip_hw_watchpoint_access_tests): Likewise.
780 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
781 * gdb.base/pr11022.exp: Likewise.
782 * gdb.base/watch-read.exp: Likewise.
783 * gdb.base/watch_thread_num.exp: Likewise.
784 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
785 * gdb.base/watchpoint-hw.exp: Likewise.
786 * gdb.base/watchpoint.exp: Likewise.
787 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
788 * gdb.threads/watchthreads-reorder.exp: Likewise.
789 * gdb.threads/watchthreads.exp: Likewise.
790 * gdb.threads/watchthreads2.exp: Likewise.
792 2011-02-21 Joel Brobecker <brobecker@adacore.com>
794 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
795 the debugger is unable to find the array bounds.
797 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
799 * gdb.cp/typedef-operator.exp: New file.
800 * gdb.cp/typedef-operator.cc: New file.
802 2011-02-17 Michael Snyder <msnyder@vmware.com>
804 * gdb.threads/thread-find.exp: Fix regular expressions.
806 2011-02-17 Joel Brobecker <brobecker@adacore.com>
808 * gdb.ada/packed_array: Expand testcase to test printing of
809 unconstrained packed array.
811 2011-02-17 Joel Brobecker <brobecker@adacore.com>
813 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
815 2011-02-16 Pedro Alves <pedro@codesourcery.com>
817 * gdb.trace/collection.c (globalarr3): New global.
818 (main): Initialize it before collecting, and and clear it
820 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
821 collecting with '{type} addr', where the addr expression is not an
824 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
826 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
827 a bool variable. Expect correct OpenCL names for vector types. Use the
828 uc3 variable name instead of referring to the uchar3 built-in type.
829 Escape the asterisk at the half pointer test.
831 2011-02-16 Pedro Alves <pedro@codesourcery.com>
833 * gdb.trace/collection.c (globalarr2): New global.
834 (main): Initialize it before collecting, and and clear it
836 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
837 collecting overlapping memory ranges.
839 2011-02-15 Michael Snyder <msnyder@vmware.com>
841 * gdb.base/default.exp: Add tests for thread commands.
842 * gdb.base/help.exp: Add tests for thread commands.
843 * gdb.threads/thread-find.exp: New test for thread find command.
845 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
847 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
849 2011-02-15 Yao Qi <yao@codesourcery.com>
852 * gdb.arch/arm-disp-step.S : New test for str instruction.
853 * gdb.arch/arm-disp-step.exp : Likewise.
855 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
857 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
858 "vector_register2_vr" test strings. Test the extended floating
859 point registers (F32~F63).
860 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
861 IBM XL C compiler. Make the test program use a register provided
862 by the compiler for the lxvd2x instruction.
864 2011-02-14 Pedro Alves <pedro@codesourcery.com>
866 * gdb.trace/unavailable.cc (class Base, class Middle, class
868 (derived_unavail, derived_partial, derived_whole): New globals.
869 (virtual_partial): New global.
870 (virtualp): Point at virtual_partial.
871 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
872 related to unavailable vptr.
874 2011-02-14 Pedro Alves <pedro@codesourcery.com>
876 * gdb.trace/unavailable.cc (a, b, c): New globals.
877 (main): Set and clear them.
878 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
879 `a' and `c', and check that `b' isn't collected, although `a' and
882 2011-02-14 Pedro Alves <pedro@codesourcery.com>
884 * gdb.trace/unavailable.cc (struct Virtual): New.
885 (virtualp): New global pointer.
886 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
887 printing a pointer to an object whose type has a vtable, with
890 2011-02-14 Pedro Alves <pedro@codesourcery.com>
892 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
893 value repeat handles unavailableness.
895 2011-02-14 Pedro Alves <pedro@codesourcery.com>
897 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
898 tests for building arrays from unavailable values, subscripting
899 non-memory rvalue unvailable arrays, and accessing fields or
900 baseclasses of non-lazy unavailable values,
901 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
903 (g_smallstruct, g_smallstruct_b): New globals.
905 2011-02-14 Pedro Alves <pedro@codesourcery.com>
907 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
909 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
911 Fix const/volatile qualifiers of C++ types, PR c++/12328.
912 * gdb.cp/overload-const.exp: New file.
913 * gdb.cp/overload-const.cc: New file.
915 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
917 * gdb.opencl/callfuncs.cl: New file.
918 * gdb.opencl/callfuncs.exp: New test.
919 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
921 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
923 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
924 when computing result.
925 * gdb.arch/altivec-abi.exp: Update expected results.
927 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
929 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
930 * gdb.base/jit.exp: Likewise.
931 * gdb.base/pie-execl.exp: Likewise.
932 * gdb.base/solib-nodir.exp: Likewise.
933 * gdb.base/solib-overlap.exp: Likewise.
935 2011-02-07 Pedro Alves <pedro@codesourcery.com>
937 * gdb.trace/collection.c (global_pieces): New.
938 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
940 (gdb_trace_collection_test): Call it.
942 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
944 * gdb.python/py-evthreads.c: New file.
945 * gdb.python/py-evthreads.exp: New file.
946 * gdb.python/py-events.py: New file.
947 * gdb.python/py-events.exp: New file.
948 * gdb.python/py-events.c: New file.
950 2011-02-04 David Daney <ddaney@caviumnetworks.com>
952 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
954 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
956 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
957 gdb.base/disasm-end-cu.exp: New test for disassembling over the
958 boundary between two compilation units.
960 2011-02-02 Pedro Alves <pedro@codesourcery.com>
962 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
963 (Virtual): New structs.
964 (virtual_o, virtual_middle_b): New globals.
965 * gdb.cp/virtbase.exp: New tests.
967 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
969 * gdb.base/jit.exp: New file.
970 * gdb.base/jit-main.c: New file.
971 * gdb.base/jit-solib.c: New file.
973 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
975 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
976 proceed to initial kernel entry point.
977 * gdb.opencl/datatypes.exp: Likewise.
978 * gdb.opencl/operators.exp: Likewise.
979 * gdb.opencl/vec_comps.exp: Likewise.
981 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
983 * gdb.cp/nsnested.cc: New.
984 * gdb.cp/nsnested.exp: New.
985 * gdb.cp/nsnoimports.exp: New.
986 * gdb.cp/nsnoimports.cc: New.
988 2011-01-31 Joel Brobecker <brobecker@adacore.com>
990 * gdb.base/interact.exp: Add extra tests that verify that
991 the value of the interactive-mode setting does not change
992 after the script is sourced.
994 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
996 * gdb.cp/noparam.exp: New file.
997 * gdb.cp/noparam.cc: New file.
999 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1001 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1002 there's no stack or registers.
1004 2011-01-26 Tom Tromey <tromey@redhat.com>
1006 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1007 space before string output. Add test for "set print pretty off"
1010 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1012 * gdb.base/frame-args.exp: Adjust.
1013 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1014 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1015 * gdb.dwarf2/pieces.exp: Adjust.
1016 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1017 * gdb.opt/inline-locals.exp: Adjust.
1018 * gdb.threads/fork-child-threads.exp: Adjust.
1020 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1022 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1023 OpenCL kernel function. Add a comment as marker. Add address space
1024 qualifiers for the remaining program scope variables.
1025 * gdb.opencl/datatypes.cl: Likewise.
1026 * gdb.opencl/operators.cl: Likewise.
1027 * gdb.opencl/vec_comps.cl: Likewise.
1028 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1029 Add breakpoint at the marker comment.
1030 * gdb.opencl/datatypes.exp: Likewise.
1031 * gdb.opencl/operators.exp: Likewise.
1032 * gdb.opencl/vec_comps.exp: Likewise.
1034 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1036 * gdb.base/printcmds.c (some_struct): New struct and instance.
1037 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1039 <global scope>: Call it.
1041 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1043 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1044 argument to the gdb_compile_opencl_hostapp call.
1046 2011-01-19 Yao Qi <yao@codesourcery.com>
1048 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1051 2011-01-19 Yao Qi <yao@codesourcery.com>
1053 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1056 * gdb.xml/tdesc-regs.exp: Likewise.
1057 * gdb.python/py-section-script.exp: Replace ARM target triplet
1058 with canonical form.
1059 Match arm*-*-symbianelf*.
1060 * gdb.base/dup-sect.exp: Likewise.
1061 * lib/dwarf.exp: New.
1062 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1064 * gdb.dwarf2/dup-psym.exp: Likewise.
1065 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1066 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1067 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1068 * gdb.dwarf2/dw2-basic.exp: Likewise.
1069 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1070 * gdb.dwarf2/dw2-const.exp: Likewise.
1071 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1072 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1073 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1074 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1075 * gdb.dwarf2/dw2-filename.exp: Likewise.
1076 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1077 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1078 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1079 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1080 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1081 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1082 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1083 * gdb.dwarf2/dw2-producer.exp: Likewise.
1084 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1085 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1086 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1087 * gdb.dwarf2/dw2-strp.exp: Likewise.
1088 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1089 * gdb.dwarf2/implptr.exp: Likewise.
1090 * gdb.dwarf2/mac-fileno.exp: Likewise.
1091 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1092 * gdb.dwarf2/pieces.exp: Likewise.
1093 * gdb.dwarf2/pr11465.exp: Likewise.
1094 * gdb.dwarf2/valop.exp: Likewise.
1095 * gdb.dwarf2/watch-notconst.exp: Likewise.
1096 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1098 2011-01-19 Tom Tromey <tromey@redhat.com>
1100 * gdb.python/py-infthread.exp: Add thread tests.
1102 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1104 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1106 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1108 * gdb.ada/widewide: New testcase.
1110 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1112 * gdb.base/interact.exp: New testcase.
1114 2011-01-12 Tom Tromey <tromey@redhat.com>
1116 * gdb.mi/gdb2549.exp: Update for error message changes.
1117 * gdb.mi/mi-cli.exp: Likewise.
1118 * gdb.mi/mi-disassemble.exp: Likewise.
1119 * gdb.mi/mi-pthreads.exp: Likewise.
1120 * gdb.mi/mi-regs.exp: Likewise.
1121 * gdb.mi/mi-stack.exp: Likewise.
1122 * gdb.mi/mi-var-block.exp: Likewise.
1123 * gdb.mi/mi-var-cmd.exp: Likewise.
1124 * gdb.mi/mi2-cli.exp: Likewise.
1125 * gdb.mi/mi2-disassemble.exp: Likewise.
1126 * gdb.mi/mi2-pthreads.exp: Likewise.
1127 * gdb.mi/mi2-regs.exp: Likewise.
1128 * gdb.mi/mi2-stack.exp: Likewise.
1129 * gdb.mi/mi2-var-block.exp: Likewise.
1130 * gdb.mi/mi2-var-cmd.exp: Likewise.
1132 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1133 Jan Kratochvil <jan.kratochvil@redhat.com>
1135 PR fortran/11104 and DWARF unbound arrays detection.
1136 * gdb.fortran/multi-dim.exp: New file.
1137 * gdb.fortran/multi-dim.f90: New file.
1139 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1141 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1142 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1143 add new tests for opcode dumping.
1145 2011-01-11 Tom Tromey <tromey@redhat.com>
1147 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1149 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1151 Convert hardware watchpoints to use breakpoint_ops.
1152 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1153 type is not supported.
1154 * gdb.base/foll-fork.exp: Likewise.
1155 * gdb.base/foll-vfork.exp: Likewise.
1157 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1159 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1160 Use load_lib gdb-python.exp.
1161 * gdb.python/python.exp: Ditto.
1162 * gdb.python/py-function.exp: Ditto.
1164 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1166 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1168 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1170 * configure: Regenerate.
1172 2011-01-06 Tom Tromey <tromey@redhat.com>
1174 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1176 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1178 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1179 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1180 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1181 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1182 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1183 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1184 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1185 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1186 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1187 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1188 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1189 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1190 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1191 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1192 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1193 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1194 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1195 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1196 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1197 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1198 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1199 gdb.ada/uninitialized_vars.exp,
1200 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1201 Simplify by using clean_restart.
1203 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1205 Add marker to be used as anchor for inserting breakpoints.
1206 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1207 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1210 Remove uses of gdb_start_cmd.
1211 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1212 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1214 Do not run testcase if testing with GDBserver.
1215 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1216 if testing with GDBserver.
1218 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1220 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1221 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1224 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1226 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1227 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1228 testsuite/gdb.fortran/complex.f,
1229 testsuite/gdb.fortran/derived-type.f90,
1230 testsuite/gdb.fortran/library-module-lib.f90,
1231 testsuite/gdb.fortran/library-module-main.f90,
1232 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1233 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1234 Copyright year update.
1236 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1238 * gdb.base/langs1.f: Add copyright header.
1240 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1242 * gdb.base/morestack.exp: New file.
1243 * gdb.base/morestack.c: New file.
1245 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1247 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1249 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1251 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1252 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1254 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1256 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1258 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1260 * gdb.threads/tls.exp: Fix typo.
1262 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1263 * gdb.threads/execl.exp: Update.
1265 2010-12-23 Yao Qi <yao@codesourcery.com>
1267 * gdb.arch/arm-disp-step.exp: New.
1268 * gdb.arch/arm-disp-step.S: New.
1270 2010-12-21 Tom Tromey <tromey@redhat.com>
1272 * gdb.threads/execl.exp: Update.
1273 * gdb.threads/linux-dp.exp: Update.
1274 * gdb.threads/manythreads.exp: Update.
1275 * gdb.threads/tls.exp: Update.
1277 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1279 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1280 (NextOverThrowDerivates) <resumebpt>: New.
1281 (resumebpt_test): New.
1282 (main): Call resumebpt_test.
1283 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1285 2010-12-12 Stan Shebs <stan@codesourcery.com>
1287 * gdb.trace/tsv.exp: Test print command on trace state variables.
1289 2010-12-09 Tom Tromey <tromey@redhat.com>
1291 * gdb.base/interp.exp: Add regression test.
1293 2010-12-09 Tom Tromey <tromey@redhat.com>
1295 * gdb.java/jnpe.java: New file.
1296 * gdb.java/jnpe.exp: New file.
1297 * gdb.cp/nextoverthrow.exp: New file.
1298 * gdb.cp/nextoverthrow.cc: New file.
1300 2010-12-07 Doug Evans <dje@google.com>
1302 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1304 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1306 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1308 2010-11-29 Michael Snyder <msnyder@vmware.com>
1310 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1311 * gdb.base/call-sc.exp: Ditto.
1312 * gdb.base/finish.exp: Ditto.
1313 * gdb.base/return.exp: Ditto.
1314 * gdb.base/return2.exp: Ditto.
1316 2010-11-30 Doug Evans <dje@google.com>
1318 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1319 (gdb_expect_list): Fix spelling errors in comments.
1320 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1321 send_gdb/gdb_expect_list where applicable.
1322 * gdb.base/call-ar-st.exp: Ditto.
1323 * gdb.base/funcargs.exp: Ditto.
1324 * gdb.base/gcore.exp: Ditto.
1325 * gdb.base/page.exp: Ditto.
1326 * gdb.base/sigaltstack.exp: Ditto.
1327 * gdb.base/siginfo.exp: Ditto.
1328 * gdb.base/sigstep.exp: Ditto.
1329 * gdb.base/trace-commands.exp: Ditto.
1331 2010-11-29 Doug Evans <dje@google.com>
1333 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1334 printer-name;subprinter-name.
1336 2010-11-29 Tom Tromey <tromey@redhat.com>
1338 * gdb.dwarf2/implptr.exp: New file.
1339 * gdb.dwarf2/implptr.c: New file.
1340 * gdb.dwarf2/implptr.S: New file.
1342 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1346 * gdb.python/py-breakpoint.exp: Test the delete method.
1348 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1350 Fix step_resume_breakpoint unsaved during an infcall.
1351 * gdb.base/step-resume-infcall.exp: New file.
1352 * gdb.base/step-resume-infcall.c: New file.
1354 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1356 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1358 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1360 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1361 on ppc64's symbols; "finish" and "return" commands must accept to
1362 show the caller line again as well as the line after.
1363 * gdb.asm/powerpc64.inc: New file.
1365 2010-11-23 Doug Evans <dje@google.com>
1367 * lib/gdb.exp (gdb_test_sequence): New function.
1368 (gdb_expect_list): Add verbose -log call for each pattern.
1369 * gdb.base/signals.exp (test_handle_all_print): Call it.
1370 Reduce timeout increment from 6 minutes to 1 minute.
1371 * gdb.server/ext-run.exp: Call it.
1373 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1377 * gdb.python/python.exp: Check that selected_thread raises an
1378 error when no inferior is loaded.
1380 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1382 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1383 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1385 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1387 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1388 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1390 2010-11-18 Doug Evans <dje@google.com>
1392 * gdb.server/ext-run.exp: Fix intermittent failures.
1394 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1396 * gdb.stabs/gdb11479.exp: Use runto_main.
1398 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1400 * gdb.base/break-entry.exp: Skip if using a stub.
1402 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1404 * gdb.python/py-inferior.exp: Pack values in target endianness.
1406 2010-11-12 Tom Tromey <tromey@redhat.com>
1408 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1409 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1411 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1413 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1415 (test_subscript_regression): Update exception type.
1417 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1419 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1422 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1424 * gdb.base/watchpoint.exp: Test "watch -location" with an
1425 innacessible location.
1427 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1428 Luis Machado <luisgpm@br.ibm.com>
1430 * gdb.base/maint.exp: Expect "." prefix.
1431 * gdb.base/nodebug.exp: Expect "." Likewise.
1432 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1433 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1434 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1435 POWER server processors.
1437 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1438 Luis Machado <luisgpm@br.ibm.com>
1440 * gdb.base/break-entry.exp: convert entry point for
1441 ppc64 and expect leading `.' on ppc64's symbols
1443 2010-11-05 Doug Evans <dje@google.com>
1445 * gdb.base/help.exp: Update expected output.
1446 * gdb.python/py-param.exp: Delete, contents moved to ...
1447 * gdb.python/py-parameter.exp: ... here. New file.
1448 Add test for gdb.parameter ("directories").
1450 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1452 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1453 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1454 * configure: Regenerate.
1455 * gdb.opencl/Makefile.in: New File.
1456 * gdb.opencl/datatypes.exp: Likewise.
1457 * gdb.opencl/datatypes.cl: Likewise.
1458 * gdb.opencl/operators.exp: Likewise.
1459 * gdb.opencl/operators.cl: Likewise.
1460 * gdb.opencl/vec_comps.exp: Likewise.
1461 * gdb.opencl/vec_comps.cl: Likewise.
1462 * gdb.opencl/convs_casts.exp: Likewise.
1463 * gdb.opencl/convs_casts.cl: Likewise.
1464 * lib/opencl.exp: Likewise.
1465 * lib/opencl_hostapp.c: Likewise.
1466 * lib/opencl_kernel.cl: Likewise.
1467 * lib/cl_util.c: Likewise.
1468 * lib/cl_util.c: Likewise.
1469 * gdb.base/default.exp (set language): Add "opencl" to the list of
1472 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1474 * gdb.cp/overload.exp: Added test for inheritance overload.
1475 * gdb.cp/overload.cc: Ditto.
1476 * gdb.cp/oranking.exp: Removed releveant kfails.
1478 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1479 Joel Brobecker <brobecker@adacore.com>
1481 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1482 check test_compiler_info.
1484 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1486 * gdb.base/gnu_vector.exp: Adjust expect messages.
1488 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1490 * gdb.base/gnu_vector.exp: Add unary operator tests.
1492 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1494 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1496 2010-11-02 Doug Evans <dje@google.com>
1498 * gdb.python/py-pp-maint.c: New file.
1499 * gdb.python/py-pp-maint.exp: New file.
1500 * gdb.python/py-pp-maint.py: New file.
1502 2010-11-02 Tom Tromey <tromey@redhat.com>
1504 * gdb.base/default.exp: Remove "scheme" from language list.
1506 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1509 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1510 * gdb.threads/sigstep-threads.exp: New file.
1511 * gdb.threads/sigstep-threads.c: New file.
1513 2010-10-20 Michael Snyder <msnyder@vmware.com>
1515 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1517 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1519 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1520 Skip test completely if gdb,no_hardware_watchpoints.
1522 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1524 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1525 strict, but do not check for any particular function name within libc.
1527 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1529 * gdb.cp/smartp.exp: New test.
1530 * gdb.cp/smartp.cc : New test.
1532 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1534 * gdb.cp/converts.exp: Test pointer to bool conversion.
1535 Test pointer to long conversion.
1536 * gdb.cp/oranking.exp: Removed relevant kfail.
1538 2010-10-18 Tom Tromey <tromey@redhat.com>
1540 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1541 argument to lazy_string.
1542 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1543 (pp_ls.to_string): Use it.
1544 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1545 Add "estring2" local.
1547 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1549 Fix s390x compatibility.
1550 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1551 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1553 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1555 * gdb.threads/sigstep-threads.exp: New file.
1556 * gdb.threads/sigstep-threads.c: New file.
1558 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1560 * gdb.base/pie-execl.exp: New file.
1561 * gdb.base/pie-execl.c: New file.
1563 2010-10-13 Doug Evans <dje@google.com>
1564 Jan Kratochvil <jan.kratochvil@redhat.com>
1567 * gdb.cp/ptype-cv-cp.cc: New file.
1568 * gdb.cp/ptype-cv-cp.exp: New file.
1570 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1572 * gdb.cp/converts.cc: New test program.
1573 * gdb.cp/converts.exp: New test.
1574 * gdb.cp/overload.exp: Added test for void* vs int*.
1575 * gdb.cp/overload.exp: Ditto.
1576 * gdb.cp/oranking.exp: Removed related kfail.
1578 2010-10-13 Doug Evans <dje@google.com>
1580 * lib/gdb-python.exp (gdb_check_python_config): New function.
1581 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1582 * gdb.python/lib-types.cc: New file.
1583 * gdb.python/lib-types.exp: New file.
1585 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1587 * gdb.python/py-error.exp: New file.
1588 * gdb.python/py-error.py: New file.
1590 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1592 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1595 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1597 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1598 * gdb.base/prelink.exp: Likewise.
1599 * gdb.base/solib-nodir.exp: Likewise.
1600 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1601 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1602 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1604 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1606 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1607 for the "info files" test to avoid timeouts on slow machines.
1609 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1611 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1612 (main): Make openlib dummy call.
1614 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1616 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1617 * break-interp.exp (reach): Move the core body ...
1618 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1619 (test_ld): Provide always real argument, even to the linker. Replace
1620 dl_main by _dl_debug_state.
1622 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1624 Fix results of prelinked PIEs on ppc*.
1625 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1626 Accept also DISPLACEMENT "PRESENT".
1627 (main): Replace "ZERO" displacements by "PRESENT".
1629 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1631 * gdb.cp/oranking.exp: New test.
1632 * gdb.cp/oranking.cc: New test program.
1634 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1636 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1637 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1639 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1641 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1642 lush, lynx) New constant.
1643 * gdb.base/constvars.exp: Test const array types.
1644 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1646 2010-10-06 Doug Evans <dje@google.com>
1648 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1649 of syscall staging area.
1651 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1653 * gdb.base/gnu_vector.c: Add variable c4.
1654 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1655 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1657 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1659 * gdb.arch/altivec-abi.exp: Fix a typo.
1661 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1663 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1664 to match a thread ID.
1666 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1668 Fix s390x testcase compatibility.
1669 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1671 2010-10-01 Doug Evans <dje@google.com>
1673 * lib/gdb-python.exp: New file.
1674 * gdb.python/py-block.exp: Use it.
1675 * gdb.python/py-breakpoint.exp: Ditto.
1676 * gdb.python/py-frame.exp: Ditto.
1677 * gdb.python/py-inferior.exp: Ditto.
1678 * gdb.python/py-param.exp: Ditto.
1679 * gdb.python/py-prettyprint.exp: Ditto.
1680 * gdb.python/py-shared.exp: Ditto.
1681 * gdb.python/py-symbol.exp: Ditto.
1682 * gdb.python/py-symtab.exp: Ditto.
1683 * gdb.python/py-type.exp: Ditto.
1684 * gdb.python/py-value.exp: Ditto.
1685 * gdb.python/python.exp: Ditto.
1687 2010-09-30 Tom Tromey <tromey@redhat.com>
1689 * gdb.base/anon.exp: New file.
1690 * gdb.base/anon.c: New file.
1692 2010-09-30 Tom Tromey <tromey@redhat.com>
1694 * gdb.base/completion.exp: Test completion through anonymous
1696 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1698 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1700 Fix printing parameters of inlined functions.
1701 * gdb.dwarf2/dw2-inline-param.exp: New file.
1702 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1703 * gdb.dwarf2/dw2-inline-param.S: New file.
1705 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1708 * gdb.base/corefile.exp (quit with a process, no question: load core)
1709 (quit with a core file): New tests.
1711 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1713 Fix GDB crash on inferior calls with self-referencing classes.
1714 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1715 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1716 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1718 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1720 Fix lost siginfo_t for inferior calls.
1721 * gdb.base/siginfo-infcall.exp: New file.
1722 * gdb.base/siginfo-infcall.c: New file.
1724 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1726 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1728 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1730 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1732 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1734 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1736 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1737 type of our const type.
1739 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1741 * gdb.cp/pr12028.cc: New.
1742 * gdb.cp/pr12028.exp: New.
1744 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1746 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1748 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1749 Jan Kratochvil <jan.kratochvil@redhat.com>
1752 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1753 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1754 * gdb.mi/dw2-ref-missing-frame.S New File.
1755 * gdb.mi/dw2-ref-missing-frame.exp New File.
1757 2010-09-14 Tom Tromey <tromey@redhat.com>
1760 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1762 2010-09-14 Tom Tromey <tromey@redhat.com>
1765 * gdb.threads/tls.exp: Use C++.
1766 (check_thread_local): Use K::another_thread_local.
1767 * gdb.threads/tls.c (class K): New.
1768 (another_thread_local): Now a member of K.
1769 (spin): Update. No longer K&R C.
1771 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1773 * gdb.cp/koenig.cc: created class for testing member lookup.
1774 * gdb.cp/koenig.exp: Added test for member lookup.
1776 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1778 Fix false FAILs on sourcetree topdir directory containing "kill".
1779 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1780 source line matching regexp.
1782 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1784 * gdb.python/python.exp (set height 0, collect help from uiout)
1785 (verify help to uiout): New tests.
1787 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1789 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1790 is_lp64_target to check 64bit target.
1792 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1795 (test_ld) <powerpc64-*>: New.
1797 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1799 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1801 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1803 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1804 (FunctionArg::method): New function.
1805 (empty, arg): New variables.
1806 (main): Call arg.method.
1807 * gdb.cp/templates.exp (test_template_args): New function.
1808 (do_tests): Call it.
1810 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1812 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1813 of "next" to proceed over pthread_exit call.
1815 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1817 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1818 "maint print statistics" output to prevent expect timeouts.
1820 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1822 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1823 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1824 (test_float_rejected): ... here.
1825 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1826 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1827 (test_float_rejected): ... here.
1828 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1829 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1830 (test_float_rejected): ... here.
1831 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1832 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1833 (test_float_rejected): ... here.
1835 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1837 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1838 before disabling hardware watchpoints.
1839 (test_inaccessible_watchpoint): Check that hardware watchpoints
1840 are used. Test for watchpoints on a constant address.
1842 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1844 * gdb.base/ui-redirect.exp: New file.
1846 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1847 Joel Brobecker <brobecker@adacore.com>
1849 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1851 2010-08-31 Doug Evans <dje@google.com>
1853 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1855 2010-08-30 Tom Tromey <tromey@redhat.com>
1858 * gdb.python/py-value.exp (test_subscript_regression): Add
1861 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1863 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1864 instead of running to main. Do not test the main function.
1865 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1868 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1870 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1873 2010-08-24 Doug Evans <dje@google.com>
1876 * gdb.dwarf2/dw4-sig-types.cc: New file.
1877 * gdb.dwarf2/dw4-sig-types.h: New file.
1878 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1879 * gdb.dwarf2/dw4-sig-types.exp: New file.
1881 2010-08-23 Tom Tromey <tromey@redhat.com>
1884 * gdb.python/py-value.c (Base, Derived): New types.
1886 * gdb.python/py-value.exp (test_subscript_regression): Add
1889 2010-08-23 Tom Tromey <tromey@redhat.com>
1892 * gdb.python/py-type.exp (test_fields): Add tests for type
1895 2010-08-23 Tom Tromey <tromey@redhat.com>
1898 * gdb.python/py-type.exp (test_fields): Add tests for array.
1900 2010-08-23 Keith Seitz <keiths@redhat.com>
1902 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1903 have any children. Create a new abbrev for it.
1904 Add missing terminal sequence to .debug_abbrev.
1906 2010-08-20 Keith Seitz <keiths@redhat.com>
1909 * gdb.dwarf2/pr11465.exp: New test.
1910 * gdb.dwarf2/pr11465.S: New file.
1911 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1912 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1914 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1916 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1917 registers. Update data sets with the new v2_double element in the
1918 VSX register union. Add vector_register3_vr data set for the AltiVec
1919 registers. Use gdb_test_no_output instead of send_gdb.
1921 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1923 * gdb.python/py-shared.exp: New file, factored out from
1925 * gdb.python/py-shared.c: New file.
1926 * gdb.python/py-shared-sl.c: New file.
1927 * gdb.python/python-1.c: New file.
1928 * gdb.python/python-sl.c: Delete.
1929 * gdb.python/python.c: Mention python-1.c.
1930 * gdb.python/python.exp: Move shared library tests to
1932 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1933 (MISCELLANEOUS): New.
1934 (clean mostlyclean): Also remove $MISCELLANEOUS.
1936 2010-08-19 Doug Evans <dje@google.com>
1939 * gdb.base/printcmds.exp (test_float_accepted): New function.
1940 Move existing float tests there. Add tests for floats with suffixes.
1941 (test_float_rejected): New function.
1942 * gdb.java/jv-print.exp (test_float_accepted): New function.
1943 (test_float_rejected): New function.
1944 * gdb.objc/print.exp: New file.
1945 * gdb.pascal/print.exp: New file.
1946 * lib/objc.exp: New file.
1948 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1950 * gdb.base/default.exp (info set): Avoid full buffer error and force
1951 reading up to final gdb prompt.
1954 2010-08-18 Tom Tromey <tromey@redhat.com>
1957 * gdb.base/completion.exp: Add test.
1959 2010-08-18 Doug Evans <dje@google.com>
1961 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1962 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1963 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1964 Simplify, early exit if runto_main fails.
1965 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1966 (set_lang_fortran): Moved to lib/fortran.exp.
1967 * gdb.fortran/types.exp: load_lib fortran.exp.
1968 (set_lang_fortran): Moved to lib/fortran.exp.
1969 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1970 * gdb.java/jprint.exp (set_lang_java): Ditto.
1971 * gdb.java/jv-exp.exp: load_lib java.exp.
1972 If set_lang_java fails, issue a warning instead of failure to be
1973 consistent with other set_lang_foo uses.
1974 (set_lang_java): Moved to lib/java.exp.
1975 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1976 If set_lang_java fails, issue a warning instead of failure to be
1977 consistent with other set_lang_foo uses.
1978 * gdb.pascal/types.exp: load_lib pascal.exp.
1979 (set_lang_pascal): Moved to lib/pascal.exp.
1980 * lib/fortran.exp: New file.
1981 * lib/java.exp (set_lang_java): New function.
1982 * lib/pascal.exp (set_lang_pascal): New function.
1984 2010-08-18 Yao Qi <yao@codesourcery.com
1986 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1987 func_nofb_start and func_loopfb_start, so that address of functions
1988 is equal to these labels on Thumb.
1990 2010-08-18 Yao Qi <yao@codesourcery.com>
1992 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1993 to reflect latest c source file.
1995 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1997 * gdb.cp/infcall-dlopen.exp: New file.
1998 * gdb.cp/infcall-dlopen.cc: New file.
1999 * gdb.cp/infcall-dlopen-lib.cc: New file.
2001 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2002 Pedro Alves <pedro@codesourcery.com>
2004 PR breakpoints/11371
2006 * gdb.base/watch-cond-infcall.exp: New file.
2007 * gdb.base/watch-cond-infcall.c: New file.
2009 2010-08-16 Tom Tromey <tromey@redhat.com>
2011 * gdb.base/help.exp: Update.
2012 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2014 (test_watch_location): New proc.
2015 (test_watchpoint_in_big_blob): Delete watchpoint.
2016 * gdb.base/watchpoint.c (func5): New function.
2019 2010-08-16 Doug Evans <dje@google.com>
2021 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2023 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2025 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2028 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2030 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2031 * gdb.base/gnu_vector.c: New File.
2032 * gdb.base/gnu_vector.exp: Likewise.
2034 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2036 * gdb.python/python.c: New File.
2037 * gdb.python/python-sl.c: New File.
2038 * gdb.python/python.exp: Test solib_address and decode_line
2041 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2043 * gdb.python/python.exp (show height, set height 10)
2044 (verify pagination beforehand, verify pagination beforehand: q)
2045 (gdb.execute does not page, verify pagination afterwards)
2046 (verify pagination afterwards: q): New.
2048 2010-08-02 Doug Evans <dje@google.com>
2050 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2051 because of an older gcc, change test2
2052 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2055 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2057 * gdb.base/break-always.exp: Do not expect full paths to file
2059 * gdb.base/commands.exp: Likewise.
2061 2010-07-30 Doug Evans <dje@google.com>
2063 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2064 xfail them when run with older gccs.
2066 * lib/gdb.exp (build_executable): Forward "c++" option to
2069 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2070 "python print ttype.template_argument(1)" and
2071 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2072 if using gcc 4.4 or earlier.
2074 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2075 attach-to-debugger handling.
2077 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2079 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2080 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2081 (main): Use copyreloc.
2082 * gdb.base/prelink.exp (split debug of executable)
2083 (.dynbss vs. .bss address shift): New tests.
2085 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2087 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2088 in gdb_test_multiple.
2090 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2092 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2095 2010-07-28 Tom Tromey <tromey@redhat.com>
2098 * gdb.python/py-type.c (Temargs): New template.
2099 (temvar): New variable.
2100 * gdb.python/py-type.exp (test_template): New proc.
2102 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2104 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2105 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2107 2010-07-28 Tom Tromey <tromey@redhat.com>
2110 * gdb.cp/temargs.exp: New file.
2111 * gdb.cp/temargs.cc: New file.
2113 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2115 * gdb.base/help.exp (help disassemble): Update the content.
2117 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2119 * gdb.threads/ia64-sigill.exp: New file.
2120 * gdb.threads/ia64-sigill.c: New file.
2122 2010-07-27 Tom Tromey <tromey@redhat.com>
2124 * gdb.opt/inline-cmds.c (ATTR): New define.
2128 (outer_inline1): Likewise.
2129 (outer_inline2): Likewise.
2130 * gdb.opt/inline-bt.c (ATTR): New define.
2133 * gdb.opt/inline-locals.c (ATTR): New define.
2137 2010-07-27 Tom Tromey <tromey@redhat.com>
2139 * gdb.stabs/gdb11479.c (hack): New function.
2142 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2143 (int32_search_buf, int64_search_buf): No longer static.
2145 * gdb.base/relocate.c (hack): New function.
2147 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2149 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2150 * gdb.python/py-value.c (func1): New function.
2153 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2155 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2156 as not to clash with .data section.
2158 2010-07-26 Jerome Guitton <guitton@adacore.com>
2160 * gdb.base/code_elim.exp: New file.
2161 * gdb.base/code_elim1.c: New file.
2162 * gdb.base/code_elim2.c: New file.
2164 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2168 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2169 (some_volatile_enum): New variable.
2170 * gdb.base/printcmds.exp (test_print_enums): New.
2171 <top level>: Call it.
2173 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2175 * gdb.cp/fpointer.cc: New test.
2176 * gdb.cp/fpointer.exp: New test.
2178 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2180 * gdb.base/solib-nodir.exp: New file.
2181 * lib/gdb.exp (runto): New case for a GDB internal error.
2183 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2184 Ulrich Weigand <uweigand@de.ibm.com>
2185 Tom Tromey <tromey@redhat.com>
2187 * gdb.base/charset-malloc.c: New file.
2188 * gdb.base/charset.c (malloc_stub): New prototype.
2189 (main): Call it instead of malloc itself.
2190 * gdb.base/charset.exp: Use only prepare_for_testing.
2191 (binfile): Remove the variable.
2193 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2195 Make core files the process_stratum.
2196 * gdb.base/corefile.exp (run: load core again)
2197 (run: sanity check we see the core file, run: with core)
2198 (run: core file is cleared, attach: load core again)
2199 (attach: sanity check we see the core file, attach: with core)
2200 (attach: core file is cleared): New tests.
2201 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2203 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2205 * gdb.arch/altivec-abi.exp: New tests.
2207 2010-07-13 Tom Tromey <tromey@redhat.com>
2209 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2211 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2213 2010-07-13 Tom Tromey <tromey@redhat.com>
2215 * gdb.base/label.exp: New file.
2216 * gdb.base/label.c: New file.
2218 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2219 H.J. Lu <hongjiu.lu@intel.com>
2221 * lib/gdb.exp (is_ilp32_target): New.
2222 (is_lp64_target): Likewise.
2224 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2226 * gdb.arch/amd64-disp-step.exp: Likewise.
2227 * gdb.arch/amd64-dword.exp: Likewise.
2228 * gdb.arch/amd64-i386-address.exp: Likewise.
2229 * gdb.arch/amd64-word.exp: Likewise.
2231 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2233 * gdb.arch/i386-bp_permanent.exp: Likewise.
2234 * gdb.arch/i386-byte.exp: Likewise.
2235 * gdb.arch/i386-disp-step.exp: Likewise.
2236 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2237 * gdb.arch/i386-prologue.exp: Likewise.
2238 * gdb.arch/i386-size-overlap.exp: Likewise.
2239 * gdb.arch/i386-size.exp: Likewise.
2240 * gdb.arch/i386-sse.exp: Likewise.
2241 * gdb.arch/i386-unwind.exp: Likewise.
2242 * gdb.arch/i386-word.exp: Likewise.
2244 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2245 test only when building 64-bit executables. Do not hard-code
2248 2010-07-07 Doug Evans <dje@google.com>
2250 * lib/gdb.exp (gdb_test_list_exact): New function.
2251 * gdb.base/default.exp (show convenience): Call it, add tests for
2252 $_sdata = void, $_thread = 0.
2254 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2255 Joel Brobecker <brobecker@adacore.com>
2257 Fix re-run of PIE executable, PR shlibs/11776.
2258 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2259 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2260 and re-"run" of the inferior.
2262 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2263 Joel Brobecker <brobecker@adacore.com>
2265 Cope with missing /usr/sbin/prelink.
2266 * lib/prelink-support.exp (prelink_no):
2267 <result == 1 && $output is "no such file or directory">: New.
2268 (prelink_yes): Likewise. Return on failed prelink_no.
2270 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2271 Joel Brobecker <brobecker@adacore.com>
2273 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2274 build_executable by build_executable_own_libs. Replace "prelink -R"
2275 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2277 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2278 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2279 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2280 Replace build_executable by build_executable_own_libs's function
2281 build_executable_own_libs.
2282 (prelinkNO): Create new stub to call prelink_no.
2283 (prelinkYES): Create new stub to call prelink_yes.
2284 (test_attach): Rename calls of copy to file_copy.
2285 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2287 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2288 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2289 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2290 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2291 special flags by gdb_compile_shlib. Replace second gdb_compile by
2292 build_executable_own_libs. Replace "prelink -R" execution by a call of
2293 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2294 a second call of prelink_yes. Replace restart commands by
2296 (prelink): Rename to ...
2297 (seen displacement message): ... this test. Extend its expectation
2300 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2302 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2303 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2304 displacement message exactly once.
2306 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2307 Joel Brobecker <brobecker@adacore.com>
2309 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2310 its restore after the <$relink_args != ""> loop. new comment.
2312 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2313 Joel Brobecker <brobecker@adacore.com>
2315 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2316 code for it. New variable relink_args.
2317 (prelinkYES): Call prelinkNO.
2318 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2319 in such case. Move the core code to ...
2320 (test_attach_gdb): ... a new function. Send GDB command "file".
2321 Extend expected "Attaching to " string.
2323 2010-07-02 Tom Tromey <tromey@redhat.com>
2325 * gdb.base/bitops.exp: Remove extraneous "pass".
2327 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2329 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2331 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2333 * gdb.base/help.exp: Adjust expected output.
2335 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2337 * gdb.base/help.exp: Adjust expected output.
2339 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2341 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2342 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2345 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2346 Doug Evans <dje@google.com>
2348 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2349 add .dynamic entry'.
2351 2010-06-29 Doug Evans <dje@google.com>
2354 * gdb.cp/m-static.exp: Add testcase.
2355 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2357 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2358 Tom Tromey <tromey@redhat.com>
2359 Thiago Jung Bauermann <bauerman@br.ibm.com>
2361 * gdb.python/py-inferior.c: New File.
2362 * gdb.python/py-infthread.c: New File.
2363 * gdb.python/py-inferior.exp: New File.
2364 * gdb.python/py-infthread.exp: New File.
2366 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2368 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2369 (ptype ::C::OtherFileClass typedefs): New.
2370 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2371 (C::OtherFileClass::cOtherFileClassVar2): New.
2372 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2373 cOtherFileClassVar2.
2374 (C::cOtherFileType2, C::cOtherFileVar2): New.
2375 (C::cOtherFileVar_use): use also cOtherFileVar2.
2376 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2378 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2380 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2381 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2382 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2383 (print ::C::cOtherFileVar)
2384 (whatis C::OtherFileClass::cOtherFileClassType)
2385 (whatis ::C::OtherFileClass::cOtherFileClassType)
2386 (print C::OtherFileClass::cOtherFileClassVar)
2387 (print ::cOtherFileClassVar)
2388 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2389 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2391 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2392 (C::OtherFileClass::cOtherFileClassVar)
2393 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2394 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2396 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2398 Test PR c++/11703 and PR gdb/1448.
2399 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2402 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2405 (main) <rtti_data>: New.
2406 * gdb.cp/virtbase.exp (print rtti_data): New.
2408 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2409 Joel Brobecker <brobecker@adacore.com>
2411 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2413 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2415 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2417 2010-06-28 Doug Evans <dje@google.com>
2419 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2421 2010-06-27 Doug Evans <dje@google.com>
2423 * gdb.cp/m-static.exp: Update expected test output.
2425 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2427 * gdb.gdb/selftest.exp: Adjust expected message for
2428 capturing start-up runtime.
2430 2010-06-25 Tom Tromey <tromey@redhat.com>
2433 * gdb.python/python.exp: Add new tests.
2435 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2437 * gdb.cp/operator.cc: Created an import loop.
2438 * gdb.cp/operator.exp: Added testcase for import loop.
2440 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2442 Test PR python/11407.
2443 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2444 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2445 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2446 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2447 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2448 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2449 binfile. Call gdb_compile with clean_restart twice.
2450 (func_nofb print, func_nofb backtrace, func_loopfb print)
2451 (func_loopfb backtrace): New.
2453 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2455 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2456 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2458 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2459 i?86 requirement. Remove variables srcfile and binfile. New variable
2460 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2462 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2464 * gdb.cell/dwarfaddr.exp: New file.
2465 * gdb.cell/dwarfaddr.S: New file.
2467 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2470 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2472 2010-06-24 Hui Zhu <teawater@gmail.com>
2474 * gdb.base/eval.exp: New file.
2476 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2478 * gdb.cell/fork.exp: New file.
2479 * gdb.cell/fork.c: Likewise.
2480 * gdb.cell/fork-spu.c: Likewise.
2482 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2484 * lib/gdb.exp (banned_variables_traced): New global variable.
2485 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2486 (gdb_init): Use `trace add variable' instead of obsolete
2489 2010-06-21 Doug Evans <dje@google.com>
2491 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2493 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2495 * gdb.arch/spu-ls.exp: New file.
2496 * gdb.arch/spu-ls.c: Likewise.
2498 2010-06-18 Stan Shebs <stan@codesourcery.com>
2500 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2502 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2504 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2505 * gdb.base/watch-cond.exp: Likewise.
2506 * gdb.python/py-breakpoint.exp: Likewise.
2508 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2510 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2511 clean_restart, make sure every test has a distinct message, and
2512 that messages don't include the executable' full path.
2514 2010-06-17 Doug Evans <dje@google.com>
2516 * gdb.arch/i386-size.exp: Updated expected output for
2517 DISASSEMBLY_OMIT_FNAME.
2519 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2520 Sergio Durigan Junior <sergiodj@redhat.com>
2522 * gdb.base/watch-notconst.c: New file.
2523 * gdb.base/watch-notconst.S: New file.
2524 * gdb.base/watch-notconst2.c: New file.
2525 * gdb.base/watch-notconst2.S: New file.
2526 * gdb.base/watch-notconst.exp: New file.
2527 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2528 (func4): Add operations on `global_ptr_ptr'.
2529 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2530 routine to test watchpoints created with a constant expression.
2531 (test_inaccessible_watchpoint): Include tests for watchpoints
2532 created with a constant expression.
2534 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2536 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2537 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2538 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2539 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2540 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2541 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2542 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2545 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2547 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2548 not supported on the target.
2549 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2550 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2551 * gdb.mi/mi-nsintrall.exp: Likewise.
2552 * gdb.mi/mi-nsmoribund.exp: Likewise.
2553 * gdb.mi/mi-nsthrexec.exp: Likewise.
2555 2010-06-11 Stan Shebs <stan@codesourcery.com>
2557 * gdb.base/permissions.exp: New file.
2559 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2561 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2562 does not support ELF executable class.
2564 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2566 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2568 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2570 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2571 (runto): Catch "The target does not support running in non-stop mode.".
2573 2010-06-11 Michael Snyder <msnyder@vmware.com>
2575 * gdb.base/setshow.exp (set language asm): Don't use
2576 gdb_test_no_output, fails on some targets.
2578 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2580 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2581 * gdb.cp/pr9167.exp: Likewise.
2583 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2585 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2587 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2589 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2591 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2593 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2595 2010-06-11 Tom Tromey <tromey@redhat.com>
2597 PR gdb/9977, PR exp/11636::
2598 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2599 (pieces_test_f6): Update expected output.
2601 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2603 * gdb.base/moribund-step.exp: New.
2605 2010-06-08 Michael Snyder <msnyder@vmware.com>
2607 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2608 * gdb.ada/boolean_expr.exp:
2609 * gdb.ada/frame_args.exp: Ditto.
2610 * gdb.ada/lang_switch.exp: Ditto.
2611 * gdb.ada/ptype_arith_binop.exp: Ditto.
2612 * gdb.ada/ref_param.exp: Ditto.
2613 * gdb.ada/type_coercion.exp:Ditto.
2615 * gdb.asm/asm-source.exp: Ditto.
2617 * gdb.base/attach.exp: Ditto.
2618 * gdb.base/bitfields2.exp: Ditto.
2619 * gdb.base/call-signal-resume.exp: Ditto.
2620 * gdb.base/callfuncs.exp: Ditto.
2621 * gdb.base/commands.exp: Ditto.
2622 * gdb.base/dbx.exp: Ditto.
2623 * gdb.base/default.exp: Ditto.
2624 * gdb.base/dump.exp: Ditto.
2625 * gdb.base/exprs.exp: Ditto.
2626 * gdb.base/freebpcmd.exp: Ditto.
2627 * gdb.base/interrupt.exp: Ditto.
2628 * gdb.base/list.exp: Ditto.
2629 * gdb.base/long_long.exp: Ditto.
2630 * gdb.base/maint.exp: Ditto.
2631 * gdb.base/ptype.exp: Ditto.
2632 * gdb.base/return.exp: Ditto.
2633 * gdb.base/setshow.exp: Ditto.
2634 * gdb.base/sigbpt.exp: Ditto.
2635 * gdb.base/sigrepeat.exp: Ditto.
2637 * gdb.cp/classes.exp: Ditto.
2639 * gdb.dwarf2/dw2-restore.exp: Ditto.
2641 * gdb.gdb/selftest.exp: Ditto.
2643 * gdb.multi/base.exp: Ditto.
2644 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2646 * gdb.python/py-block.exp: Ditto.
2647 * gdb.python/py-prettyprint.exp: Ditto.
2648 * gdb.python/py-template.exp: Ditto.
2650 * gdb.server/ext-attach.exp: Ditto.
2651 * gdb.server/ext-run.exp: Ditto.
2652 * gdb.server/server-mon.exp: Ditto.
2654 * gdb.threads/fork-thread-pending.exp: Ditto.
2655 * gdb.threads/hand-call-in-threads.exp: Ditto.
2656 * gdb.threads/interrupted-hand-call.exp: Ditto.
2657 * gdb.threads/linux-dp.exp: Ditto.
2658 * gdb.threads/manythreads.exp: Ditto.
2659 * gdb.threads/print-threads.exp: Ditto.
2660 * gdb.threads/pthreads.exp: Ditto.
2661 * gdb.threads/schedlock.exp: Ditto.
2662 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2663 * gdb.threads/threadapply.exp: Ditto.
2665 2010-06-08 Michael Snyder <msnyder@vmware.com>
2667 * gdb.ada/exec_changed.exp:
2668 Use ".*" instead of "" as wildcard regexp.
2670 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2671 * gdb.base/call-ar-st.exp: Ditto.
2672 * gdb.base/checkpoint.exp: Ditto.
2673 * gdb.base/default.exp: Ditto.
2674 * gdb.base/dump.exp: Ditto.
2675 * gdb.base/ending-run.exp: Ditto.
2676 * gdb.base/fileio.exp: Ditto.
2677 * gdb.base/miscexprs.exp: Ditto.
2678 * gdb.base/pointers.exp: Ditto.
2679 * gdb.base/readline.exp: Ditto.
2680 * gdb.base/reread.exp: Ditto.
2681 * gdb.base/restore.exp: Ditto.
2682 * gdb.base/shlib-call.exp: Ditto.
2683 * gdb.base/valgrind-db-attach.exp: Ditto.
2684 * gdb.base/volatile.exp: Ditto.
2685 * gdb.base/watchpoints.exp: Ditto.
2687 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2689 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2690 * gdb.python/py-value.exp: Ditto.
2692 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2693 * gdb.trace/circ.exp: Ditto.
2694 * gdb.trace/collection.exp: Ditto.
2695 * gdb.trace/packetlen.exp: Ditto.
2696 * gdb.trace/passc-dyn.exp: Ditto.
2697 * gdb.trace/report.exp: Ditto.
2698 * gdb.trace/tfile.exp: Ditto.
2699 * gdb.trace/tfind.exp: Ditto.
2700 * gdb.trace/while-dyn.exp: Ditto.
2702 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2704 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2706 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2709 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2711 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2713 * gdb.cp/koenig.exp: Test for ADL operators.
2714 * gdb.cp/koenig.cc: Added ADL operators.
2715 * gdb.cp/operator.exp: New test.
2716 * gdb.cp/operator.cc: New test.
2718 2010-06-04 Michael Snyder <msnyder@vmware.com>
2720 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2721 * gdb.base/pending.exp: Ditto.
2723 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2725 2010-06-04 Doug Evans <dje@google.com>
2727 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2729 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2730 (enable_lookup_function): New function.
2732 2010-06-04 Tom Tromey <tromey@redhat.com>
2734 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2737 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2739 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2741 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2742 (empty verbose non-noisy clear, empty verbose noisy clear)
2743 (empty non-verbose noisy clear): Likewise.
2745 2010-06-03 Michael Snyder <msnyder@vmware.com>
2747 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2748 * gdb.base/display.exp: Ditto.
2749 * gdb.base/find.exp: Ditto.
2750 * gdb.base/ifelse.exp: Ditto.
2751 * gdb.base/multi-forks.exp: Ditto.
2752 * gdb.base/recurse.exp: Ditto.
2753 * gdb.base/setshow.exp: Ditto.
2754 * gdb.base/value-double-free.exp: Ditto.
2755 * gdb.base/watch-vfork.exp: Ditto.
2756 * gdb.base/watch_thread_num.exp: Ditto.
2757 * gdb.base/watchpoint-solib.exp: Ditto.
2758 * gdb.base/watchpoint.exp: Ditto.
2759 * gdb.base/watchpoints.exp: Ditto.
2761 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2762 * gdb.cp/overload.exp: Ditto.
2763 * gdb.cp/virtfunc.exp: Ditto.
2765 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2767 * gdb.reverse/watch-precsave.exp:
2768 Replace gdb_test with gdb_test_no_output.
2770 * gdb.threads/attach-into-signal.exp:
2771 Replace gdb_test with gdb_test_no_output.
2772 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2773 * gdb.threads/watchthreads.exp: Ditto.
2774 * gdb.threads/watchthreads2.exp: Ditto.
2776 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2777 * gdb.trace/tfind.exp: Ditto.
2779 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2781 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2782 successful test if message is the empty string.
2784 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2786 * gdb.fortran/module.exp (stopped language detection): New test.
2788 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2790 Support DW_TAG_module as separate namespaces.
2791 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2792 gdb.fortran/library-module-lib.f90: New.
2793 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2795 (continue to breakpoint: i-is-1, print var_i value 1)
2796 (continue to breakpoint: i-is-2, print var_i value 2)
2797 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2798 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2799 (complete `modmany, complete `modmany`, complete `modmany`var)
2800 (show language, setting breakpoint at module): New tests.
2801 * gdb.fortran/module.f90 (module mod): Remove.
2802 (module mod1, module mod2, module modmany, subroutine sub1)
2803 (subroutine sub2, program module): New.
2805 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2807 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2808 (print value of rUC, print value of rI, print value of UI): ... here.
2809 * gdb.cp/anon-union.exp (pass): Rename to ...
2810 (print z 2): ... here.
2812 2010-06-02 Michael Snyder <msnyder@vmware.com>
2814 * gdb.trace/actions.exp: Use gdb_test_no_output.
2815 * gdb.trace/circ.exp: Ditto.
2816 * gdb.trace/packetlen.exp: Ditto.
2817 * gdb.trace/save-trace.exp: Ditto.
2818 * gdb.trace/tracecmd.exp: Ditto.
2819 * gdb.trace/tsv.exp: Ditto.
2821 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2822 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2823 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2824 * gdb.threads/manythreads.exp: Ditto.
2825 * gdb.threads/print-threads.exp: Ditto.
2826 * gdb.threads/pthreads.exp: Ditto.
2827 * gdb.threads/schedlock.exp: Ditto.
2828 * gdb.threads/staticthreads.exp: Ditto.
2829 * gdb.threads/thread-specific.exp: Ditto.
2830 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2831 * gdb.threads/threadapply.exp: Ditto.
2832 * gdb.threads/watchthreads.exp: Ditto.
2833 * gdb.threads/watchthreads2.exp: Ditto.
2835 * gdb.python/py-block.exp: Use gdb_test_no_output.
2836 * gdb.python/py-prettyprint.exp: Ditto.
2837 * gdb.python/py-template.exp: Ditto.
2838 * gdb.python/py-value.exp: Ditto.
2840 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2841 * gdb.reverse/watch-reverse.exp: Ditto.
2843 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2844 * gdb.server/ext-run.exp: Ditto.
2846 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2847 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2848 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2849 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2850 * gdb.dwarf2/dw2-producer.exp: Ditto.
2851 * gdb.dwarf2/mac-fileno.exp: Ditto.
2853 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2854 * gdb.gdb/selftest.exp: Ditto.
2856 * gdb.multi/base.exp: Use gdb_test_no_output.
2858 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2860 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2862 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2864 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2866 * gdb.cp/class2.exp: Use gdb_test_no_output.
2867 * gdb.cp/classes.exp: Ditto.
2868 * gdb.cp/extern-c.exp: Ditto.
2869 * gdb.cp/inherit.exp: Ditto.
2870 * gdb.cp/maint.exp: Ditto.
2871 * gdb.cp/mb-inline.exp: Ditto.
2872 * gdb.cp/mb-templates.exp: Ditto.
2873 * gdb.cp/method2.exp: Ditto.
2874 * gdb.cp/misc.exp: Ditto.
2875 * gdb.cp/ovldbreak.exp: Ditto.
2876 * gdb.cp/punctuator.exp: Ditto.
2877 * gdb.cp/templates.exp: Ditto.
2878 * gdb.cp/virtbase.exp: Ditto.
2880 * gdb.threads/attach-stopped.exp:
2881 Replace uses of send_gdb / gdb_expect.
2882 * gdb.threads/attachstop-mt.exp:
2883 Replace uses of send_gdb / gdb_expect.
2884 * gdb.threads/gcore-thread.exp:
2885 Replace uses of send_gdb / gdb_expect.
2886 * gdb.threads/hand-call-in-threads.exp:
2887 Replace uses of send_gdb / gdb_expect.
2888 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2889 * gdb.threads/print-threads.exp:
2890 Replace uses of send_gdb / gdb_expect.
2891 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2892 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2893 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2895 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2896 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2897 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2898 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2899 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2900 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2901 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2902 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2903 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2904 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2905 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2907 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2909 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2911 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2913 * gdb.cp/koenig.exp: Added new test case.
2914 * gdb.cp/koenig.cc: Ditto.
2916 2010-06-01 Michael Snyder <msnyder@vmware.com>
2918 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2919 * gdb.base/arrayidx.exp: Ditto.
2920 * gdb.base/attach.exp: Ditto.
2921 * gdb.base/auxv.exp: Ditto.
2922 * gdb.base/bigcre.exp: Ditto.
2923 * gdb.base/break-always.exp: Ditto.
2924 * gdb.base/break-interp.exp: Ditto.
2925 * gdb.base/break.exp: Ditto.
2926 * gdb.base/breakpoint-shadow.exp: Ditto.
2927 * gdb.base/call-ar-st.exp: Ditto.
2928 * gdb.base/call-sc.exp: Ditto.
2929 * gdb.base/call-signal-resume.exp: Ditto.
2930 * gdb.base/callfuncs.exp: Ditto.
2931 * gdb.base/catch-syscall.exp: Ditto.
2932 * gdb.base/charset.exp: Ditto.
2933 * gdb.base/code-expr.exp: Ditto.
2934 * gdb.base/commands.exp: Ditto.
2935 * gdb.base/cond-expr.exp: Ditto.
2936 * gdb.base/condbreak.exp: Ditto.
2937 * gdb.base/cursal.exp: Ditto.
2938 * gdb.base/cvexpr.exp: Ditto.
2939 * gdb.base/default.exp: Ditto.
2940 * gdb.base/del.exp: Ditto.
2941 * gdb.base/detach.exp: Ditto.
2942 * gdb.base/display.exp: Ditto.
2943 * gdb.base/ena-dis-br.exp: Ditto.
2944 * gdb.base/eval-skip.exp: Ditto.
2945 * gdb.base/foll-fork.exp: Ditto.
2946 * gdb.base/foll-vfork.exp: Ditto.
2947 * gdb.base/frame-args.exp: Ditto.
2948 * gdb.base/funcargs.exp: Ditto.
2949 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2950 * gdb.base/gdbvars.exp: Ditto.
2951 * gdb.base/help.exp: Ditto.
2952 * gdb.base/ifelse.exp: Ditto.
2953 * gdb.base/included.exp: Ditto.
2954 * gdb.base/list.exp: Ditto.
2955 * gdb.base/macscp.exp: Ditto.
2956 * gdb.base/maint.exp: Ditto.
2957 * gdb.base/multi-fork.exp: Ditto.
2958 * gdb.base/overlays.exp: Ditto.
2959 * gdb.base/page.exp: Ditto.
2960 * gdb.base/pending.exp: Ditto.
2961 * gdb.base/pointers.exp: Ditto.
2962 * gdb.base/pr11022.exp: Ditto.
2963 * gdb.base/prelink.exp: Ditto.
2964 * gdb.base/printcmds.exp: Ditto.
2965 * gdb.base/psymtab.exp: Ditto.
2966 * gdb.base/randomize.exp: Ditto.
2967 * gdb.base/relational.exp: Ditto.
2968 * gdb.base/relocate.exp: Ditto.
2969 * gdb.base/remote.exp: Ditto.
2970 * gdb.base/sepdebug.exp: Ditto.
2971 * gdb.base/set-lang-auto.exp: Ditto.
2972 * gdb.base/setshow.exp: Ditto.
2973 * gdb.base/setvar.exp: Ditto.
2974 * gdb.base/signals.exp: Ditto.
2975 * gdb.base/signull.exp: Ditto.
2976 * gdb.base/sigstep.exp: Ditto.
2977 * gdb.base/sizeof.exp: Ditto.
2978 * gdb.base/solib-disc.exp: Ditto.
2979 * gdb.base/store.exp: Ditto.
2980 * gdb.base/structs.exp: Ditto.
2981 * gdb.base/structs2.exp: Ditto.
2982 * gdb.base/subst.exp: Ditto.
2983 * gdb.base/term.exp: Ditto.
2984 * gdb.base/trace-commands.exp: Ditto.
2985 * gdb.base/unwindonsignal.exp: Ditto.
2986 * gdb.base/valgrind-db-attach.exp: Ditto.
2987 * gdb.base/varargs.exp: Ditto.
2988 * gdb.base/watch-cond.exp: Ditto.
2989 * gdb.base/watch_thread_num.exp: Ditto.
2990 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2991 * gdb.base/watchpoint.exp: Ditto.
2992 * gdb.base/whatis-exp.exp: Ditto.
2994 2010-06-01 Michael Snyder <msnyder@vmware.com>
2996 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2997 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2998 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2999 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3000 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3001 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3002 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3003 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3004 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3005 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3006 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3007 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3008 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3009 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3010 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3012 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3014 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3016 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3017 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3018 (p *args): ... here and remove excessive trailing newline.
3020 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3022 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3024 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3026 Accept the new Linux kernel "t (tracing stop)" string.
3027 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3029 (state_wait) <T (tracing stop)>: New.
3030 (main): Update the state_wait expect string.
3032 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3034 * limits.c, limits.exp: Delete files.
3035 * Makefile.in (clean mostlyclean): Adjust.
3036 * tracecmd.exp: Adjust.
3038 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3040 * gdb.base/tui-layout.exp: New.
3042 2010-05-28 Michael Snyder <msnyder@vmware.com>
3044 * gdb.reverse/break-precsave.exp:
3045 Replace uses of send_gdb / gdb_expect.
3046 * gdb.reverse/break-reverse.exp:
3047 Replace uses of send_gdb / gdb_expect.
3048 * gdb.reverse/consecutive-precsave.exp:
3049 Replace uses of send_gdb / gdb_expect.
3050 * gdb.reverse/consecutive-reverse.exp:
3051 Replace uses of send_gdb / gdb_expect.
3052 * gdb.reverse/finish-precsave.exp:
3053 Replace uses of send_gdb / gdb_expect.
3054 * gdb.reverse/finish-reverse.exp:
3055 Replace uses of send_gdb / gdb_expect.
3056 * gdb.reverse/i386-precsave.exp:
3057 Replace uses of send_gdb / gdb_expect.
3058 * gdb.reverse/i386-reverse.exp:
3059 Replace uses of send_gdb / gdb_expect.
3060 * gdb.reverse/i386-sse-reverse.exp:
3061 Replace uses of send_gdb / gdb_expect.
3062 * gdb.reverse/i387-env-reverse.exp:
3063 Replace uses of send_gdb / gdb_expect.
3064 * gdb.reverse/i387-stack-reverse.exp:
3065 Replace uses of send_gdb / gdb_expect.
3066 * gdb.reverse/machinestate-precsave.exp:
3067 Replace uses of send_gdb / gdb_expect.
3068 * gdb.reverse/machinestate.exp:
3069 Replace uses of send_gdb / gdb_expect.
3070 * gdb.reverse/sigall-precsave.exp:
3071 Replace uses of send_gdb / gdb_expect.
3072 * gdb.reverse/sigall-reverse.exp:
3073 Replace uses of send_gdb / gdb_expect.
3074 * gdb.reverse/solib-precsave.exp:
3075 Replace uses of send_gdb / gdb_expect.
3076 * gdb.reverse/solib-reverse.exp:
3077 Replace uses of send_gdb / gdb_expect.
3078 * gdb.reverse/step-precsave.exp:
3079 Replace uses of send_gdb / gdb_expect.
3080 * gdb.reverse/step-reverse.exp:
3081 Replace uses of send_gdb / gdb_expect.
3082 * gdb.reverse/until-precsave.exp:
3083 Replace uses of send_gdb / gdb_expect.
3084 * gdb.reverse/until-reverse.exp:
3085 Replace uses of send_gdb / gdb_expect.
3086 * gdb.reverse/watch-precsave.exp:
3087 Replace uses of send_gdb / gdb_expect.
3088 * gdb.reverse/watch-reverse.exp:
3089 Replace uses of send_gdb / gdb_expect.
3091 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3093 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3096 2010-05-27 Michael Snyder <msnyder@vmware.com>
3098 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3099 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3100 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3101 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3102 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3103 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3104 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3105 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3106 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3107 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3108 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3109 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3110 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3111 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3112 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3113 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3114 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3115 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3116 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3118 2010-05-26 Michael Snyder <msnyder@vmware.com>
3120 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3121 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3123 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3124 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3125 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3127 * gdb.reverse/consecutive-reverse.exp:
3128 Replace uses of send_gdb / gdb_expect.
3129 * gdb.reverse/consecutive-precsave.exp:
3130 Replace uses of send_gdb / gdb_expect.
3132 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3133 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3134 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3135 * gdb.mi/mi-ns-stale-regcache.exp:
3136 Replace uses of send_gdb / gdb_expect.
3137 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3138 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3139 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3140 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3141 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3142 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3143 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3144 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3145 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3147 2010-05-26 Michael Snyder <msnyder@vmware.com>
3149 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3151 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3153 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3154 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3155 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3156 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3157 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3158 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3159 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3160 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3161 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3163 2010-05-25 Tom Tromey <tromey@redhat.com>
3165 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3167 2010-05-25 Tom Tromey <tromey@redhat.com>
3169 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3171 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3172 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3174 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3176 * gdb.base/call-sc.exp (setup_kfails): Remove.
3177 (setup_compiler_kfails): Remove.
3178 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3180 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3181 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3182 (advancei): Fix setup_kfail argument order.
3183 * gdb.base/radix.exp: Fix setup_kfail argument order.
3184 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3186 * gdb.base/structs.exp (setup_kfails): Remove.
3187 (setup_compiler_kfails): Fix setup_kfail argument order.
3188 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3190 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3191 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3192 setup_kfail argument order.
3193 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3195 2010-05-25 Tom Tromey <tromey@redhat.com>
3197 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3199 2010-05-25 Michael Snyder <msnyder@vmware.com>
3201 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3202 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3203 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3204 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3205 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3206 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3207 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3208 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3209 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3210 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3211 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3212 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3213 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3214 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3215 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3216 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3217 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3218 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3219 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3220 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3221 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3222 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3223 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3224 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3225 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3226 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3227 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3228 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3229 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3230 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3231 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3232 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3233 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3234 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3235 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3236 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3237 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3238 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3239 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3240 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3241 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3242 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3243 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3244 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3245 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3246 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3247 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3248 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3250 2010-05-25 Doug Evans <dje@google.com>
3252 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3255 2010-05-21 Tom Tromey <tromey@redhat.com>
3257 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3259 * gdb.dwarf2/pieces.S: Update.
3260 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3262 2010-05-21 Tom Tromey <tromey@redhat.com>
3264 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3266 * gdb.dwarf2/pieces.c (struct C): New.
3268 * gdb.dwarf2/pieces.S: Replace.
3270 2010-05-21 Tom Tromey <tromey@redhat.com>
3272 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3275 2010-05-21 Tom Tromey <tromey@redhat.com>
3277 * gdb.dwarf2.pieces.exp: New file.
3278 * gdb.dwarf2.pieces.S: New file.
3279 * gdb.dwarf2.pieces.c: New file.
3281 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3282 Joel Brobecker <brobecker@adacore.com>
3284 * lib/gdb.exp (gdb_test_no_output): New function.
3285 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3286 when testing commands that should produce no output.
3288 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3290 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3291 parameter that we want to watch being a constant.
3293 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3295 * gdb.ada/cond_lang: New testcase.
3297 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3299 * lib/gdb.exp (banned_variables): New variable/constant.
3300 (gdb_init): Add write trace on variables listed in banned_variables.
3301 (gdb_finish): Remove write traces on variables listed in
3304 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3306 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3307 * gdb.cp/koenig.exp: Likewise.
3309 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3313 * gdb.python/py-value.exp (test_value_hash): New function.
3315 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3318 * gdb.base/gdb11530.c: New file.
3319 * gdb.base/gdb11530.exp: New file.
3321 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3323 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3324 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3326 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3328 * gdb.cp/koenig.exp: New test.
3329 * gdb.cp/koenig.cc: New test program.
3331 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3333 Remove the use of prms_id and bug_id throughout the testsuite.
3335 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3338 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3339 use a reference local variable.
3341 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3343 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3344 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3345 variable different_dir. Move debugfile into a full directory pathname
3346 under DIFFERENT_DIR.
3347 * lib/gdb.exp (separate_debug_filename): Remove.
3348 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3349 variable debug_dir and mkdir of it. Update function comments.
3351 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3355 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3358 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3360 * gdb.python/py-param.exp: New File.
3362 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3364 * gdb.base/default.exp: Fix "set language" test.
3366 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3368 PR breakpoints/11531.
3369 * gdb.base/gdb11531.c: New file.
3370 * gdb.base/gdb11531.exp: New file.
3372 2010-04-26 Tom Tromey <tromey@redhat.com>
3374 * gdb.base/completion.exp: Add tests for completion and deprecated
3377 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3379 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3380 (print /x char_array): Escape curly brackets.
3382 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3384 Fix deadlock on looped list of loaded shared objects.
3385 * gdb.base/solib-corrupted.exp: New.
3387 2010-04-23 Doug Evans <dje@google.com>
3389 * gdb.python/py-section-script.c: New file.
3390 * gdb.python/py-section-script.exp: New file.
3391 * gdb.python/py-section-script.py: New file.
3393 2010-04-20 Chris Moller <cmoller@redhat.com>
3397 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3398 * gdb.base/pr10179-a.c:
3399 * gdb.base/pr10179-b.c:
3400 * gdb.base/pr10179.exp: New files.
3402 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3404 Fix crashes on dangling display expressions.
3405 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3407 (lib_flags): Remove the "debug" keyword.
3408 (libsepdebug): New variable for iterating new loop.
3409 (save_pf_prefix): New variable wrapping the loop.
3410 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3411 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3413 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3415 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3417 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3420 * gdb.stabs/gdb11479.exp: New file.
3421 * gdb.stabs/gdb11479.c: New file.
3423 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3425 * gdb.base/charset.c (Strin16, String32): New variables.
3426 * gdb.base/charset.exp (gdb_test): Test correct display
3427 of 16 or 32 bit strings.
3429 2010-04-21 Chris Moller <cmoller@redhat.com>
3432 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3433 * gdb.cp/pr9167.cc: New file.
3434 * gdb.cp/pr9167.exp: New file.
3437 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3440 * gdb.pascal/gdb11492.pas: New file.
3441 * gdb.pascal/gdb11492.exp: New file.
3443 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3445 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3447 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3449 * gdb.ada/dyn_loc: New testcase.
3451 2010-04-20 Chris Moller <cmoller@redhat.com>
3455 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3456 * gdb.cp/pr10687.cc: New file.
3457 * gdb.cp/pr10687.exp: New file.
3460 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3461 Sergio Durigan Junior <sergiodj@redhat.com>
3463 * gdb.fortran/logical.exp: New testcase.
3464 * gdb.fortran/logical.f90: New file.
3466 2010-04-19 Doug Evans <dje@google.com>
3468 * gdb.base/help.exp (help source): Update expected output.
3470 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3472 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3473 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3474 gdb_exit and return.
3475 (executable): New variable.
3478 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3480 PR breakpoints/8554.
3482 * gdb.trace/save-trace.exp: Adjust.
3484 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3487 * gdb.arch/system-gcore.exp: New.
3488 * gdb.arch/gcore.c: Likewise.
3490 2010-04-15 Doug Evans <dje@google.com>
3492 * gdb.python/py-progspace.c: New file.
3493 * gdb.python/py-progspace.exp: New file.
3495 * gdb.base/source.exp: Add tests for "source -s".
3497 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3499 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3500 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3501 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3502 * gdb.python/py-mi.exp: New test for to_string returning None.
3504 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3506 * gdb.python/py-breakpoint.c: Make result global.
3508 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3510 Fix non-GNU make compatibility.
3511 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3513 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3515 * gdb.python/py-breakpoint.exp: New File.
3516 * gdb.python/py-breakpoint.C: Ditto.
3518 2010-04-08 Stan Shebs <stan@codesourcery.com>
3520 * gdb.trace/actions.exp: Clear default-collect.
3521 * gdb.trace/save-trace.exp: Clear default-collect.
3523 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3525 * gdb.python/py-value: Add null string variable.
3526 (test_lazy_string): Test zero length, NULL address lazy
3529 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3531 * gdb.arch/i386-avx.c: New.
3532 * gdb.arch/i386-avx.exp: Likewise.
3534 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3536 2010-04-06 Doug Evans <dje@google.com>
3538 * gdb.base/source-test.gdb: New file.
3539 * gdb.base/source.exp: Test source -v.
3541 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3543 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3545 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3547 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3548 within one line, unless it is followed by a double quote.
3549 * gdb.stabs/hppa.sed: Idem.
3550 * gdb.stabs/weird.def: Add char and String constants
3551 * gdb.stabs/weird.exp: Check for correct parsing of
3552 char and string constants.
3553 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3554 in .stabs to .stabx substitution.
3556 2010-04-05 Stan Shebs <stan@codesourcery.com>
3558 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3560 * gdb.trace/tfile.exp: Try to print them.
3562 2010-04-04 Stan Shebs <stan@codesourcery.com>
3564 * gdb.base/completion.exp: Update for new "info watchpoints".
3565 * gdb.base/default.exp: Ditto.
3566 * gdb.base/help.exp: Ditto.
3567 * gdb.base/watchpoint.exp: Ditto.
3568 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3570 2010-04-04 Stan Shebs <stan@codesourcery.com>
3572 * gdb.trace/tfile.exp: Sharpen tfind test.
3574 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3576 * gdb.base/break-entry.exp: New.
3578 2010-04-02 Hui Zhu <teawater@gmail.com>
3579 Michael Snyder <msnyder@vmware.com>
3581 * gdb.reverse/i386-sse-reverse.exp: New file.
3582 * gdb.reverse/i386-sse-reverse.c: New file.
3584 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3586 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3588 2010-04-01 Stan Shebs <stan@codesourcery.com>
3590 * gdb.trace/actions.exp: Tweak expected output.
3591 * gdb.trace/while-stepping.exp: Tweak expected output.
3593 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3595 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3597 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3599 * gdb.base/commands.exp: Adjust.
3600 * gdb.cp/extern-c.exp: Adjust.
3602 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3604 * gdb.trace/collection.c (local_test_func): Define a local struct,
3607 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3609 * gdb.trace/collection.exp (gdb_collect_args_test)
3610 (gdb_collect_argarray_test): XFAIL the tests that assume the
3611 argarray argument's elements are collected.
3613 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3615 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3616 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3618 2010-03-31 Stan Shebs <stan@codesourcery.com>
3620 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3621 and tracepoint conditionals.
3622 (gdb_verify_tracepoints): Delete unused return.
3624 2010-03-26 Keith Seitz <keiths@redhat.com>
3626 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3627 appear in the output before main.
3628 Remove KFAIL for gdb/2215 aka bz 9320.
3630 2010-03-30 Doug Evans <dje@google.com>
3632 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3634 * gdb.arch/amd64-dword.exp: Ditto.
3636 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3638 (break printf): Ditto.
3640 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3642 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3644 * gdb.cp/shadow.exp: Ditto.
3646 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3648 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3651 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3653 * gdb.trace/collection.exp (executable): New.
3655 (fpreg, spreg, pcreg): New.
3656 (test_register): Use gdb_test_multiple. Pass /x to print.
3657 (prepare_for_trace_test): New.
3658 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3659 (gdb_collect_args_test, gdb_collect_argstruct_test)
3660 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3661 prepare_for_trace_test.
3662 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3663 fpreg, spreg and pcreg.
3664 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3665 prepare_for_trace_test.
3666 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3667 try to detect tracing support here. Don't set breakpoints at
3668 `begin' or `end' here.
3669 <global scope>: Use clean_restart. Run to main before checking
3670 for tracing support. Check for for tracing support here.
3672 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3674 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3675 " as $displacement" to "seen displacement message".
3677 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3679 * gdb.trace/while-dyn.exp (executable): New variable.
3681 (test_while_stepping): New function. Move most tests here. Call
3682 it once for each of the while-stepping, stepping and ws aliases.
3684 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3686 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3687 that do not provide the tagless_struct type name at all.
3688 (test_print_anon_union): Do not check value of uninitialized
3689 union member. Do not use cp_test_ptype_class, so we can accept
3690 "long" as well as "long int".
3692 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3694 * gdb.trace/tfile.c (tohex, bin2hex): New.
3695 (write_error_trace_file): Hexify error description.
3697 2010-03-25 Stan Shebs <stan@codesourcery.com>
3699 * gdb.trace/tfile.c: Generate an additional trace file, improve
3701 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3702 files in a better way.
3704 2010-03-25 Keith Seitz <keiths@redhat.com>
3706 * gdb.java/jprint.exp: XFAIL printing of static class members
3707 because of GCC debuginfo problem.
3709 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3711 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3713 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3715 * gdb.base/completion.exp: Allow long instead of long int.
3716 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3717 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3719 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3720 * gdb.base/pointers.exp: Allow long instead of long int.
3721 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3722 * gdb.base/step-line.exp: Allow a directory before the source file name.
3724 2010-03-24 Tom Tromey <tromey@redhat.com>
3726 PR breakpoints/9352:
3727 * gdb.base/default.exp: Update.
3728 * gdb.base/commands.exp: Update.
3729 * gdb.cp/extern-c.exp: Test setting commands on multiple
3730 breakpoints at once.
3732 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3734 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3736 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3737 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3740 2010-03-24 Stan Shebs <stan@codesourcery.com>
3742 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3744 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3746 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3747 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3748 argument. Handle "short" and "long".
3749 (Top level): Pass overprototyped output for old_fptr and xptr.
3751 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3753 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3754 format strings and add casts to avoid compiler warnings.
3756 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3758 * lib/trace-support.exp (gdb_trace_setactions):
3759 Don't expect whitespace after ">" prompt.
3760 * gdb.trace/actions.exp: Adjust for output changes.
3761 * gdb.trace/while-stepping.exp: Likewise.
3763 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3765 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3768 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3770 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3773 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3775 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3776 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3778 2010-03-19 Stan Shebs <stan@codesourcery.com>
3780 * gdb.trace/ax.exp: New file.
3782 2010-03-19 Doug Evans <dje@google.com>
3784 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3787 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3788 named /usr/sbin/prelink<foo>.
3790 2010-03-18 Stan Shebs <stan@codesourcery.com>
3792 * gdb.trace/circ.exp: Test circular-trace-buffer.
3793 * gdb.trace/tfile.exp: Update tstatus test.
3795 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3797 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3798 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3800 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3802 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3804 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3806 * gdb.base/default.exp: Adjust the expected output of the finish
3807 and until commands when the inferior is not being run.
3809 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3811 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3812 * gdb.cp/nsusing.exp: Ditto.
3814 2010-03-15 Tom Tromey <tromey@redhat.com>
3816 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3817 * gdb.cp/userdef.cc (operator==): New function.
3818 (main): New locals mem1, mem2.
3820 2010-03-15 Jie Zhang <jie@codesourcery.com>
3822 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3823 Declare and use new loadtimeout variable.
3825 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3827 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3830 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3832 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3833 literal. Add missing endlines to prints to stderr.
3835 2010-03-12 Tom Tromey <tromey@redhat.com>
3838 * gdb.cp/m-static.exp: Add regression test.
3839 * gdb.cp/m-static.cc (method): New method.
3842 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3844 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3845 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3847 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3849 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3851 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3853 * lib/gdb.exp (skip_stl_tests): New.
3854 (gdb_compile): Symbian needs -ldl.
3855 (shlib_target_file): New.
3856 (shlib_symbol_file): New.
3857 (gdb_load_shlibs): Use shlib_target_file.
3858 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3859 * gdb.cp/exception.exp: Use skip_stl_tests.
3860 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3861 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3862 * gdb.cp/mb-templates.exp: Ditto.
3863 * gdb.base/commands.exp: Relax regexes.
3864 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3865 shlib_target_file and shlib_symbol_file.
3866 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3868 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3869 * gdb.base/solib-disc.exp: Use
3870 shlib_target_file and shlib_symbol_file.
3871 * gdb.base/unload.exp: Don't skip on symbian. Use
3872 shlib_target_file and shlib_symbol_file.
3873 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3875 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3877 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3878 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3879 Issue a tfind end before looking for a tracepoint frame.
3880 * gdb.trace/tfind.exp: Adjust tstatus output.
3881 Adjust disassembly output.
3882 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3884 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3886 * gdb.base/break-interp.exp: Create new displacement parameter value
3887 for the test_ld calls.
3888 (reach): New parameter displacement, verify its content. New push of
3889 pf_prefix "reach-$func:". Import global expect_out.
3890 (test_core): New parameter displacement, verify its content. New push
3891 of pf_prefix "core:". New command "set verbose on". Import global
3893 (test_attach): New parameter displacement, verify its content. New
3894 push of pf_prefix "attach:". New command "set verbose on". Import
3896 (test_ld): New parameter displacement, pass it to the reach, test_core
3897 and test_attach calls and verify its content in the "ld.so exit" test.
3898 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3899 (prelink): Update expected text, use gdb_test.
3901 2010-03-10 Doug Evans <dje@google.com>
3903 * gdb.base/checkpoint.exp: Fix comment.
3904 Lengthen timeout while doing >600 checkpoints test.
3905 Rename duplicate "kill all one" test to keep test names unique.
3907 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3909 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3911 2010-03-08 Keith Seitz <keiths@redhat.com>
3913 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3914 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3915 (dm_type_long): New function.
3916 (dm_type_unsigned_short): New function.
3917 (dm_type_unsigned_long): New function.
3918 (myint): New typedef.
3919 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3920 long, unsigned shor and long, operator char*, and typedef.
3921 (test_lookup_operator_functions): Add operator char* test.
3922 (test_paddr_operator_functions): Likewise.
3923 (test_paddr_overloaded_functions): Use probe values for
3924 short, long, and unsigned short and long.
3925 (test_paddr_hairy_functions): If the demangler probe detected
3926 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3928 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3929 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3930 and "print null_pmf".
3931 Add test "ptype a.*pmf".
3932 * gdb.cp/overload.exp: Allow optional "int" to appear with
3934 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3935 long expect value for men_overload1arg.
3936 Allow "int" to appear with "short" and "long".
3937 When testing "info break", add argument for main (void).
3938 Also allow "int" to appear with "short" and "long".
3939 Ditto with "unsigned" and "long long".
3940 * gdb.java/jmain.exp: Do not enclose methods names in single
3942 * gdb.java/jmisc.exp: Likewise.
3943 * gdb.java/jprint.exp: Likewise.
3944 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3946 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3947 * gdb.cp/exception.exp (backtrace after first throw)
3948 (backtrace after second throw): Allow a namespace before __cxa_throw.
3949 (backtrace after first catch, backtrace after second catch): Allow
3950 a namespace before __cxa_begin_catch.
3952 * gdb.cp/cpexprs.exp: New file.
3953 * gdb.cp/cpexprs.cc: New file.
3955 From Daniel Jacobowitz <dan@codesourcery.com>
3956 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3957 to use string_to_regexp.
3958 (ctor, dtor): New functions. Use them to match constructor
3959 and destructor function types.
3960 (Top level): Use runto_main.
3962 2010-03-05 Tom Tromey <tromey@redhat.com>
3964 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3966 (pp_ns.to_string): Likewise.
3968 2010-03-04 Keith Seitz <keiths@redhat.com>
3970 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3971 can be quoted. Test that both the filename and function/line
3972 portions can be quoted at the same time.
3974 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3976 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3978 2010-03-03 Doug Evans <dje@google.com>
3980 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3981 libc contains libpthread.
3983 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3984 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3985 of gdb_compile. Add another pattern to match android backtrace.
3987 2010-03-03 Tom Tromey <tromey@redhat.com>
3990 * gdb.base/printcmds.exp (test_printf): Add test.
3992 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3994 * gdb.arch/amd64-byte.exp: New.
3995 * gdb.arch/amd64-dword.exp: Likewise.
3996 * gdb.arch/amd64-pseudo.c: Likewise.
3997 * gdb.arch/amd64-word.exp: Likewise.
3998 * gdb.arch/i386-byte.exp: Likewise.
3999 * gdb.arch/i386-pseudo.c: Likewise.
4000 * gdb.arch/i386-word.exp: Likewise.
4002 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4004 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4005 types. Add structreg, bitfields, and flags registers.
4006 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4009 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4011 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4012 (load_description): Set architecture if defined.
4014 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4016 * gdb.python/py-frame.exp: Add read_var block tests.
4017 * gdb.python/py-frame.c (block): New function.
4019 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4020 Daniel Jacobowitz <dan@codesourcery.com>
4022 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4024 2010-02-25 David S. Miller <davem@davemloft.net>
4026 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4027 fix logic for setting all_syscalls_numbers.
4029 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4031 * Makefile.in: Add py-block and py-symbol.
4032 * gdb.python/py-symbol.exp: New File.
4033 * gdb.python/py-symtab.exp: New File.
4034 * gdb.python/py-block.exp: New File.
4035 * gdb.python/py-symbol.c: New File.
4036 * gdb.python/py-block.c: New File.
4038 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4041 * lib/gdb.exp (skip_python_tests): New function.
4042 * gdb.python/py-cmd.exp: Use skip_python_tests.
4043 * gdb.python/py-frame.exp: Likewise.
4044 * gdb.python/py-function.exp: Likewise.
4045 * gdb.python/py-prettyprint.exp: Likewise.
4046 * gdb.python/py-template.exp: Likewise.
4047 * gdb.python/py-type.exp: Likewise.
4048 * gdb.python/py-value.exp: Likewise.
4050 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4054 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4056 2010-02-19 Tom Tromey <tromey@redhat.com>
4058 PR c++/8693, PR c++/9496:
4059 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4062 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4064 Fix compatibility with m68k as.
4065 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4066 Use only /* comments */.
4068 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4070 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4071 * configure: Regenerate.
4073 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4075 * gdb.python/py-type.exp: Check for Python support.
4077 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4079 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4080 `regsub' syntax available.
4082 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4084 * gdb.base/shmain.c (main): Remove printf call.
4085 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4086 * gdb.base/unload.c (main): Make format of fprintf a string
4087 literal. Add missing endlines to prints to stderr.
4088 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4090 2010-02-17 Tom Tromey <tromey@redhat.com>
4092 * gdb.java/jprint.java (jprint.props): New field.
4093 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4095 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4097 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4100 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4102 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4103 creation to support remote host testing.
4105 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4107 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4108 Recognize "command not found".
4110 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4112 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4115 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4117 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4118 if arguments are not supported.
4120 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4122 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4123 be const or non-const.
4125 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4127 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4128 mi_send_resuming_command to send -exec-continue.
4130 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4132 * gdb.base/list.exp (test_list_filename_and_function): Add test
4134 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4136 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4137 Add KFAIL'd tests for PR gdb/11289.
4139 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4141 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4143 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4145 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4146 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4147 a temporary directory.
4149 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4151 * gdb.base/charset.exp: Use a single regular expression to match
4152 show host-charset and show target-charset output.
4154 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4156 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4157 "Illegal process-id" expect string more exact.
4158 (attach to digits-starting nonsense is prohibited): New.
4160 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4162 * gdb.base/prelink.exp (set verbose on): New.
4164 2010-02-12 Tomas Holmberg <th@virtutech.com>
4166 * mi-reverse.exp: New file. Test for reverse option to the
4167 following MI commands: exec-continue, exec-finish, exec-next,
4168 exec-step, exec-next-instruction, exec-step-instruction.
4170 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4172 * gdb.ada/ptype_tagged_param: New testcase.
4174 2010-02-08 Tom Tromey <tromey@redhat.com>
4177 * gdb.cp/overload.exp: Add tests.
4178 * gdb.cp/overload.cc (struct K): New.
4180 (main): Call new functions.
4181 (K::staticoverload): Define.
4183 2010-02-08 Chris Moller <moller@mollerware.com>
4186 * gdb.cp/pr10728-x.h: New file.
4187 * gdb.cp/pr10728-x.cc: New file.
4188 * gdb.cp/pr10728-y.cc: New file.
4189 * gdb.cp/pr10728.exp: New file.
4190 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4192 2010-02-08 Chris Moller <moller@mollerware.com>
4195 * gdb.cp/pr9067.exp: New
4196 * gdb.cp/pr9067.cc: New
4197 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4199 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4201 * lib/gdb.exp (gdb_test_timeout): New global variable.
4202 Set it to timeout if not already set.
4203 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4205 2010-02-05 Doug Evans <dje@google.com>
4207 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4210 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4213 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4215 2010-02-04 Tom Tromey <tromey@redhat.com>
4217 * gdb.cp/virtbase.exp: Make test case names unique.
4219 2010-02-02 Tom Tromey <tromey@redhat.com>
4221 * gdb.cp/virtbase.exp: Add regression tests.
4222 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4223 (main): Instantiate RHC.
4225 2010-02-02 Tom Tromey <tromey@redhat.com>
4227 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4228 type-printing change.
4230 2010-02-02 Tom Tromey <tromey@redhat.com>
4232 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4233 * gdb.cp/virtbase.cc: New file.
4234 * gdb.cp/virtbase.exp: New file.
4235 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4237 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4240 * gdb.threads/current-lwp-dead.c: Include features.h.
4242 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4244 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4246 * gdb.base/symbol-without-target_section.exp,
4247 gdb.base/symbol-without-target_section.c: New.
4249 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4251 * gdb.base/bigcore.exp: Reset increased timeout.
4252 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4254 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4256 * gdb.base/gcore.exp (capture_command_output): Use
4259 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4261 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4262 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4263 (Top level): Call it.
4265 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4267 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4269 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4271 * gdb.base/call-strs.exp, gdb.base/default.exp,
4272 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4273 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4274 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4275 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4276 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4277 * gdb.base/ending-run.exp: Correct restore of timeout.
4278 * gdb.base/page.exp: Remove unnecessary timeout setting.
4280 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4282 * gdb.ada/rec_return: New testcase.
4284 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4286 * gdb.ada/call_pn: New testcase.
4288 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4290 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4291 (Top level): Use it to resume.
4292 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4293 the Thumb mode displaced stepping error as unsupported.
4295 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4297 * gdb.cp/nsusing.exp: Added more tests.
4298 * gdb.cp/nsrecurs.exp: Ditto.
4299 * gdb.cp/nsusing.cc: Added test functions.
4300 * gdb.cp/nsrecurs.cc: Ditto.
4302 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4304 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4305 absolute directory pathnames in gdb.sum file.
4307 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4309 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4310 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4312 2010-01-26 Tom Tromey <tromey@redhat.com>
4315 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4318 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4320 * gdb.cp/nsrecurs.exp: New test.
4321 * gdb.cp/nsrecurs.cc: New test program.
4322 * gdb.cp/nsstress.exp: New test.
4323 * gdb.cp/nsstress.cc: New test program.
4324 * gdb.cp/nsdecl.exp: New test.
4325 * gdb.cp/nsdecl.cc: New test program.
4327 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4329 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4330 imported into file scope.
4331 Marked test as xfail.
4332 * gdb.cp/namespace-using.cc (marker5): New function.
4333 * gdb.cp/shadow.exp: New test.
4334 * gdb.cp/shadow.cc: New test program.
4335 * gdb.cp/nsimport.exp: New test.
4336 * gdb.cp/nsimport.cc: New test program.
4338 2010-01-25 Tom Tromey <tromey@redhat.com>
4341 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4342 with "set print null-stop on".
4344 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4346 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4347 Adjust it for DISASSEMBLY_OMIT_FNAME.
4349 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4352 * gdb.dwarf2/member-ptr-forwardref.exp,
4353 gdb.dwarf2/member-ptr-forwardref.S: New.
4355 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4357 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4358 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4359 thread1_tid_mutex. Remove gdbstop_mutex handling.
4360 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4361 thread2_tid_mutex. Remove gdbstop_mutex handling.
4362 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4363 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4364 pthread_cond_wait conditionalizations by while loops.
4366 2010-01-20 Tom Tromey <tromey@redhat.com>
4369 * gdb.dwarf2/pr10770.exp: New file.
4370 * gdb.dwarf2/pr10770.c: New file.
4371 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4373 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4375 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4376 that target was removed, and the test always runs native anyway.
4378 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4380 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4381 gdb.base/watchpoint-cond-gone-stripped.c: New.
4383 2010-01-19 Tom Tromey <tromey@redhat.com>
4386 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4388 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4389 (main): Use AAA::SomeEnum.
4391 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4393 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4394 (test_ignore_count): Declare line_callme_body global.
4395 (run to breakpoint with ignore count): Use line_callme_body.
4396 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4397 (set line_main_hello, set line_main_return): Reindent.
4398 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4400 (continue to callee4): Use line_callee4_body.
4401 (check *stopped from CLI command): Use line_callee4_next.
4402 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4403 (set line_main_hello, set line_main_return): Reindent.
4404 (set line_callee4_head, set line_callee4_body): New.
4405 (continue to callee4): Use line_callee4_body.
4407 2010-01-18 Tom Tromey <tromey@redhat.com>
4410 * gdb.cp/casts.cc: Add new classes and variables.
4411 * gdb.cp/casts.exp: Test new operators.
4413 2010-01-18 Tom Tromey <tromey@redhat.com>
4414 Thiago Jung Bauermann <bauerman@br.ibm.com>
4416 * gdb.python/source2.py: New file.
4417 * gdb.python/source1: New file.
4418 * gdb.python/python.exp: Test "source" command.
4420 2010-01-15 Stan Shebs <stan@codesourcery.com>
4422 * gdb.trace/tfile.c: New file.
4423 * gdb.trace/tfile.exp: New file.
4425 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4427 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4429 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4431 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4433 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4435 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4436 (libfunc): New parameter action. Implement also selectable "sleep".
4437 * gdb.base/break-interp-main.c: Include assert.h.
4438 (libfunc): New parameter action.
4439 (main): New parameters argc and argv. Assert argc. Pass argv.
4440 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4441 (test_attach): New proc.
4442 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4443 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4445 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4447 * gdb.base/break-interp.exp (test_core): New proc.
4450 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4452 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4453 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4454 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4455 and gdb_compile_shlib. Use new -Wl compiler options.
4456 (dl bt, main bt): New tests.
4458 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4460 Support PIEs with no symfile_objfile.
4461 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4462 (test_ld): New parameter trynosym.
4463 (test_ld <$trynosym>): New block.
4465 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4467 * gdb.base/break-interp.exp: New file.
4469 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4471 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4472 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4473 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4475 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4476 * gdb.python/py-mi.exp: Add lazy string test.
4478 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4480 * lib/mi-support.exp (mi_check_thread_states): Handle
4481 core number in thread listing.
4483 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4485 * gdb.base/maint.exp: Adjust the expected output for the
4486 "maint print type" test. Use gdb_test_multiple instead of
4487 gdb_sent/gdb_expect.
4489 2010-01-11 Doug Evans <dje@google.com>
4491 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4492 from gdbserver_download. All callers updated.
4494 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4496 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4498 Implement binary numbers parsing.
4499 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4500 (test_integer_literals_rejected): New binary tests.
4502 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4504 * gdb.cell/configure: Regenerate.
4506 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4508 * gdb.base/corefile.exp: Move the core finding block out and call it as
4509 core_find, new variable $corefile, replace corefile by $corefile and
4510 [file tail $corefile] for usage vs. test names resp.
4511 * lib/gdb.exp (core_find): Move it as a new function here. New
4512 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4513 $destcore. Return "" on error.
4515 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4517 Workaround PR binutils/10802.
4518 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4521 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4523 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4525 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4527 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4528 call, to avoid interruption.
4530 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4532 * gdb.stabs/weird.def (args93): New.
4534 2010-01-07 Doug Evans <dje@google.com>
4536 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4538 2010-01-07 Tom Tromey <tromey@redhat.com>
4540 * gdb.base/source.exp: Use correct line number.
4542 2010-01-05 Stan Shebs <stan@codesourcery.com>
4544 * gdb.trace/tracecmd.exp: Test ftrace.
4546 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4548 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4550 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4552 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4553 "uint_for_mi_testing".
4555 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4557 Test indented comment in file being sourced.
4558 * gdb.base/commands.exp: Test indented comment in file being sourced.
4560 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4562 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4563 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4564 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4567 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4569 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4572 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4574 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4575 missing $after_stopped and comma (,) expectation.
4577 2009-12-31 Stan Shebs <stan@codesourcery.com>
4579 * gdb.trace/actions.exp: Test teval action.
4581 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4583 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4584 (top level): Call test_watchpoint_in_big_blob.
4585 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4587 (func3): Write to buf.
4589 2009-12-29 Stan Shebs <stan@codesourcery.com>
4591 * gdb.trace/actions.exp: Test default-collect.
4593 2009-12-28 Stan Shebs <stan@codesourcery.com>
4595 * gdb.trace/tsv.exp: New file.
4596 * gdb.base/completion.exp: Update ambiguous info output.
4598 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4600 * gdb.base/find.c (main): Reference search buffers.
4601 * gdb.base/included.c (main): Reference integer.
4602 * gdb.base/ptype.c (charfoo): Declare.
4603 (intfoo): Call charfoo.
4604 * gdb.base/scope0.c (useitp): New function.
4605 (usestatics): Use useitp.
4606 (useit): Add a type for val.
4607 * gdb.base/scope1.c (useit1): Take a pointer argument.
4608 (usestatics1): Update calls to useit1.
4609 * gdb.cp/call-c.cc: Declare foo.
4611 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4612 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4613 (main): Call C::ensureRefs and ensureOtherRefs.
4614 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4616 (ensureOtherRefs): New function.
4617 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4618 * gdb.cp/templates.cc (main): Call t5i.value.
4620 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4622 Fix compatibility with G++-4.5.
4623 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4624 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4625 (uncaught return): Remove.
4627 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4628 Phil Muldoon <pmuldoon@redhat.com>
4630 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4631 (bp_location13, bp_location14, bp_location17, bp_location18)
4632 (marker3_proto, marker4_proto): New variables.
4633 (breakpoint info): Update output.
4634 (run until breakpoint at marker3, run until breakpoint at marker4): New
4637 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4639 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4640 Replace the printf call of Y by provided "y-set-1" label. New block
4641 for the second shared library.
4642 * gdb.base/unload.exp: Compile also the second library, call
4643 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4644 (single pending breakpoint info): Rename to ...
4645 (pending breakpoint info before run): ... this extended test.
4646 (libfile2, libname2, libsrcfile2, libsrc2)
4647 (lib_sl2): New variables.
4648 (exec_opts): Set also SHLIB_NAME2.
4649 (pending breakpoint info on first run at shrfunc1)
4650 (pending breakpoint info on second run at shrfunc1)
4651 (pending breakpoint info on second run at shrfunc2)
4652 (print y from libfile, print y from libfile2): New tests.
4653 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4654 * gdb.base/unloadshr2.c: New.
4656 2009-12-22 Hui Zhu <teawater@gmail.com>
4658 * gdb.reverse/sigall-reverse.exp: Adjust.
4660 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4664 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4665 (main): Call do_bitfield_tests.
4666 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4668 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4670 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4671 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4672 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4673 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4674 gdb.modula2/unbounded1.c: Update copyright header.
4676 2009-12-10 Chris Moller <moller@mollerware.com>
4679 * gdb.cp/virtfunc2.exp: New tests
4680 * gdb.cp/virtfunc2.cc: New tests
4681 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4683 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4685 * gdb.reverse/i387-env-reverse.c: New file.
4686 * gdb.reverse/i387-env-reverse.exp: New file.
4687 * gdb.reverse/i387-stack-reverse.c: New file.
4688 * gdb.reverse/i387-stack-reverse.exp: New file.
4690 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4692 * gdb.python/py-type.exp (test_range): New test.
4694 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4698 * gdb.python/py-type.exp: New file.
4699 * gdb.python/py-type.c: New file.
4700 * Makefile.in: Add py-type.
4702 2009-12-03 Tom Tromey <tromey@redhat.com>
4704 * gdb.python/py-value.exp (test_parse_and_eval): New
4707 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4711 * gdb.base/pr11022.exp: New test.
4712 * gdb.base/pr11022.c: New test.
4714 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4716 Fix spurious false FAILs.
4717 * gdb.base/structs.c (chartest): New.
4718 (main): Fill-in chartest.
4719 * gdb.base/structs.exp (anychar_re, first): New.
4720 (start_structs_test): Import global anychar_re and first.
4721 New gdb_test call "set print elements 300; ${testfile}"
4722 (start_structs_test <$first>): New block.
4723 (any): Import global anychar_re. New variable ac. Use ${ac}.
4725 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4727 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4729 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4731 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4732 Force $srcfile file.
4733 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4735 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4737 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4738 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4739 * gdb.threads/watchthreads-reorder.exp: Likewise.
4741 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4745 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4746 "if", and "thread". Correct matching in the previous test.
4748 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4750 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4752 2009-11-23 Michael Snyder <msnyder@vmware.com>
4754 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4755 * gdb.reverse-watch-precsave.exp: Ditto.
4757 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4759 * gdb.asm/asm-source.exp: Adjust.
4760 * gdb.base/help.exp: Adjust.
4762 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4764 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4765 (do_syscall_tests_without_xml): Set data-directory to
4766 /the/path/to/nowhere.
4768 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4770 * gdb.threads/local-watch-wrong-thread.c,
4771 gdb.threads/local-watch-wrong-thread.exp: New files.
4773 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4775 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4776 assume new `regsub' syntax available.
4778 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4780 * gdb.base/watchpoint-hw-hit-once.exp,
4781 gdb.base/watchpoint-hw-hit-once.c: New.
4783 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4785 * gdb.threads/watchthreads-reorder.exp,
4786 gdb.threads/watchthreads-reorder.c: New.
4788 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4790 * gdb.xml/tdesc-regs.exp: Use for m68k.
4792 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4794 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4796 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4798 * lib/gdb.exp (current_target_name): New procedure.
4799 (gdb_wrapper_target): New variable.
4800 (gdb_wrapper_init): Set gdb_wrapper_target.
4801 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4804 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4806 * gdb.base/remote.exp: Delete the slowest load test.
4807 Do not load with fixed packet sizes.
4809 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4811 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4813 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4815 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4816 srcfile when setting a breakpoint.
4818 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4820 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4823 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4825 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4827 * gdb.base/display.c (force_mem): New.
4828 (do_loops): Use it. Add breakpoint comments.
4829 (do_vars): Add a breakpoint comment.
4830 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4833 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4835 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4836 instead of a bare "run".
4838 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4840 * gdb.python/py-prettyprint.exp: Adjust.
4842 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4844 * lib/cell.exp (skip_cell_tests): Clean up test files before
4847 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4849 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4850 and the breakpoint menu. Do not call perror if a prompt is seen.
4851 Consume the following GDB prompt.
4852 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4853 * gdb.cp/namespace.exp: Use gdb_test.
4854 * gdb.cp/templates.exp: Use gdb_test.
4855 (test_template_breakpoints): Use gdb_test_multiple.
4857 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4859 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4860 (marker4): Reference values.
4862 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4864 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4867 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4869 * gdb.base/break.c (need_malloc): New.
4870 * gdb.base/constvars.c (main): Reference crass and crisp.
4871 * gdb.base/gdb1821.c (main): Reference bar.
4872 * gdb.cp/gdb1355.cc (main): Reference s1.
4873 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4875 * gdb.cp/hang2.cc (dummy2): Define.
4876 * gdb.cp/hang3.cc (dummy3): Define.
4877 * gdb.cp/m-data.cc (main): Reference shadow.
4879 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4880 Nathan Froyd <froydnj@codesourcery.com>
4882 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4885 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4887 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4888 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4889 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4890 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4891 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4892 * gdb.dwarf2/dw2-producer.exp: Likewise.
4893 * gdb.dwarf2/mac-fileno.exp: Likewise.
4894 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4895 py-prettyprint.py to the remote host.
4896 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4898 2009-11-11 Keith Seitz <keiths@redhat.com>
4900 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4901 use it instead of "Foo".
4902 * gdb.cp/classes.exp (do_tests): Add a test to access
4903 a method through a typedef'd class name.
4905 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4907 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4909 * gdb.base/pointers.exp: Likewise.
4910 * gdb.cp/ref-types.exp: Likewise.
4912 2009-11-11 Keith Seitz <keiths@redhat.com>
4914 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4916 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4918 (probe_demangler): Remove all single-quoting of
4919 method and variable names.
4920 (info_func_regexp): Remove the word "void" from any
4921 occurrence of "(void)".
4922 (print_addr_2): Remove all single-quoting of
4924 (print_addr_2_kfail): Likewise.
4925 (print_addr): Single-quote C function names before
4926 passing to print_addr_2.
4927 (test_paddr_operator_functions): Remove single-quoting
4929 Add tests for operator new[] and operator delete[].
4931 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4933 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4935 2009-11-09 Keith Seitz <keiths@redhat.com>
4937 * gdb.cp/overload.exp: Add tests for resolving overloaded
4938 methods in expression parsing/evaluation.
4940 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4942 * lib/gdb.exp (default_gdb_version): Use --version instead of
4945 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4947 * lib/gdb.exp (gdb_compile_test): New.
4948 (skip_ada_tests, skip_java_tests): New.
4949 (gdb_compile): Use gdb_compile_test for f77.
4950 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4951 * lib/java.exp (compile_java_from_source): Remove runtests check,
4952 use gdb_compile_test to record result.
4953 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4954 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4955 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4956 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4957 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4958 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4959 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4960 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4961 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4962 adjust gdb_compile invocations.
4964 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4966 * Makefile.in (abs_builddir): New.
4967 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4968 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4969 `$(abs_builddir)/site.exp'.
4971 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4973 * config/m68k-emc.exp, lib/emc-support.exp,
4974 gdb.trace/gdb_c_test.c: Delete.
4975 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4976 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4977 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4978 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4979 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4980 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4981 casing for m68k-*-elf.
4983 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4985 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4986 * gdb.arch/i386-prologue.exp: Likewise.
4987 * gdb.arch/i386-unwind.exp: Likewise.
4989 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4991 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4993 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4995 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4997 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4999 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5001 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5003 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5005 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5007 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5008 * gdb.base/sepdebug2.c: New file.
5010 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5012 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5013 the modified warnings for catch syscall. Verify if GDB was compiled
5014 with support for lib expat, and choose which tests to run depending
5017 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5019 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5020 that composite commands are parsed OK. And also test
5021 that breakpoint commands do work.
5023 2009-10-23 Michael Snyder <msnyder@vmware.com>
5025 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5026 to allow for new disassembly style.
5028 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5030 * gdb.asm/asm-source.exp: Adjust.
5032 2009-10-22 Michael Snyder <msnyder@vmware.com>
5034 * gdb.reverse/break-precsave.exp: New test.
5035 * gdb.reverse/consecutive-precsave.exp: Ditto.
5036 * gdb.reverse/finish-precsave.exp: Ditto.
5037 * gdb.reverse/i386-precsave.exp: Ditto.
5038 * gdb.reverse/machinestate-precsave.exp: Ditto.
5039 * gdb.reverse/sigall-precsave.exp: Ditto.
5040 * gdb.reverse/solilb-precsave.exp: Ditto.
5041 * gdb.reverse/step-precsave.exp: Ditto.
5042 * gdb.reverse/until-precsave.exp: Ditto.
5043 * gdb.reverse/watch-precsave.exp: Ditto.
5045 2009-10-22 Michael Snyder <msnyder@vmware.com>
5047 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5048 for gdb_expect. Adjust one test's expect strings for the new
5049 format of disassemble.
5050 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5051 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5053 * gdb.reverse/step-reverse.exp: Delete 'return'.
5054 * gdb.reverse/until-reverse.exp: Delete blank lines.
5055 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5057 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5059 * gdb.base/consecutive.exp: Adjust.
5060 * gdb.base/display.exp: Likewise.
5061 * gdb.base/pc-fp.exp: Likewise.
5062 * gdb.base/sigbpt.exp: Likewise.
5064 2009-10-19 Michael Snyder <msnyder@vmware.com>
5066 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5067 * gdb.reverse/finish-reverse.c: Ditto.
5068 * gdb.reverse/sigall-reverse.c: Ditto.
5069 * gdb.reverse/solib-reverse.c: Ditto.
5070 * gdb.reverse/step-reverse.c: Ditto.
5071 * gdb.reverse/watch-reverse.c: Ditto.
5073 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5074 Stan Shebs <stan@codesourcery.com>
5076 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5077 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5078 "Executing new program".
5079 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5080 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5081 left listed after having been killed.
5082 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5083 * gdb.base/maint.exp: Adjust test.
5085 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5086 * gdb.multi/Makefile.in: New.
5087 * gdb.multi/base.exp: New.
5088 * gdb.multi/goodbye.c: New.
5089 * gdb.multi/hangout.c: New.
5090 * gdb.multi/hello.c: New.
5091 * gdb.multi/bkpt-multi-exec.c: New.
5092 * gdb.multi/bkpt-multi-exec.exp: New.
5093 * gdb.multi/crashme.c: New.
5095 2009-10-13 Tristan Gingold <gingold@adacore.com>
5097 * gdb.base/sepdebug.exp: Check debug info are found.
5099 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5101 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5104 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5106 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5108 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5110 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5113 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5115 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5116 * gdb.base/annota3.exp: Idem.
5117 * gdb.base/maint.exp: Idem.
5119 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5121 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5124 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5126 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5127 mingw and cygwin targets.
5129 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5130 Pedro Alves <pedro@codesourcery.com>
5132 * lib/gdb.exp (gdb_compile): Avoid adding
5133 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5135 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5137 * gdb.base/shr1.c: Use %p in format string.
5138 * gdb.base/unload.c: Avoid warning in fprintf.
5139 * gdb.base/watchpoint-solib.c: Idem.
5141 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5143 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5145 (test_unlink): Correct printf string.
5146 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5147 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5149 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5151 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5152 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5153 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5155 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5157 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5158 * gdb.objc/nondebug.exp: Likewise.
5160 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5162 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5163 target_info setting.
5165 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5166 that detect new threads during "info threads".
5168 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5170 * gdb.threads/manythreads.c (main): Increase thread stack size
5171 to 2*PTHREAD_STACK_MIN.
5172 * gdb.threads/multi-create.c (main): Likewise.
5173 (create_function): Likewise.
5175 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5177 * gdb.base/dump.exp: Pass difference of pointer types instead
5178 of integer types as offset to restore in intarr3.srec case.
5180 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5182 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5184 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5186 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5188 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5190 New test for two watchpoints, with disabling of
5192 * testsuite/gdb.base/watchpoints.c: New file.
5193 * testsuite/gdb.base/watchpoints.exp: New file.
5195 2009-09-25 Tom Tromey <tromey@redhat.com>
5197 * gdb.base/charset.exp: Test utf-16 strings with Python.
5199 2009-09-25 Tom Tromey <tromey@redhat.com>
5201 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5203 * gdb.base/charset.c (utf_32_string): Rename.
5204 (init_utf32): Rename.
5207 2009-09-22 Tom Tromey <tromey@redhat.com>
5209 * gdb.python/py-function.exp: Add regression tests.
5211 2009-09-21 Keith Seitz <keiths@redhat.com>
5213 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5214 with invalid operator.
5216 2009-09-21 Keith Seitz <keiths@redhat.com>
5218 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5219 and destructor using typedef name of class.
5220 * gdb.cp/classes.cc (class Base1): Add a destructor.
5221 (base1): New typedef.
5222 (use_methods): Instanitate an object of type base1.
5223 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5224 (do_tests): Call test_template_typedef.
5225 * gdb.cp/templates.cc (Baz::~Baz): New method.
5226 (intBazOne): New typedef.
5227 (main): Instantiate intBazOne.
5229 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5233 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5235 (run_lang_tests): Add print elements test.
5237 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5239 * gdb.python/py-value.exp (test_subscript_regression): New
5240 function. Test for invalid subscripts.
5241 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5242 (ptr_ref): New function.
5244 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5246 * gdb.base/default.exp: Fix "show convenience".
5248 2009-09-15 Tom Tromey <tromey@redhat.com>
5250 * lib/mi-support.exp (mi_create_varobj): Update.
5251 (mi_create_floating_varobj): Likewise.
5252 (mi_create_dynamic_varobj): New proc.
5253 (mi_varobj_update): Update.
5254 (mi_varobj_update_with_type_change): Likewise.
5255 (mi_varobj_update_kv_helper): New proc.
5256 (mi_varobj_update_dynamic_helper): Rewrite.
5257 (mi_varobj_update_dynamic): New proc.
5258 (mi_list_varobj_children): Update.
5259 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5260 * gdb.python/python-prettyprint.py (pp_outer): New class.
5261 (pp_nullstr): Likewise.
5262 (lookup_function): Register new printers.
5263 * gdb.python/python-prettyprint.c (struct substruct): New type.
5264 (struct outerstruct): Likewise.
5265 (substruct_test): New function.
5266 (struct nullstr): New type.
5267 (string_1, string_2): New globals.
5268 (main): Add new tests.
5269 * gdb.python/python-mi.exp: Added regression tests.
5270 * gdb.mi/mi2-var-display.exp: Update.
5271 * gdb.mi/mi2-var-cmd.exp: Update.
5272 * gdb.mi/mi2-var-child.exp: Update.
5273 * gdb.mi/mi2-var-block.exp: Update.
5274 * gdb.mi/mi-var-invalidate.exp: Update.
5275 * gdb.mi/mi-var-display.exp: Update.
5276 * gdb.mi/mi-var-cmd.exp: Update.
5277 * gdb.mi/mi-var-child.exp: Update.
5278 * gdb.mi/mi-var-block.exp: Update.
5279 * gdb.mi/mi-break.exp: Update.
5280 * gdb.mi/gdb701.exp: Update.
5282 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5284 * Makefile.in: Inclusion of catch-syscall object.
5285 * gdb.base/catch-syscall.c: New file.
5286 * gdb.base/catch-syscall.exp: New file.
5288 2009-09-12 Michael Snyder <msnyder@vmware.com>
5290 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5291 that can support reverse debuggnig.
5293 2009-09-11 Tom Tromey <tromey@redhat.com>
5295 * gdb.dwarf2/valop.S: New file.
5296 * gdb.dwarf2/valop.exp: New file.
5298 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5300 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5302 2009-09-10 Doug Evans <dje@google.com>
5304 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5305 Add $gdb_prompt to second breakpoint regexp.
5307 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5309 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5310 names, add missing ones.
5311 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5312 * gdb.python/py-frame.c: Rename from python-frame.c.
5313 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5315 * gdb.python/py-function.exp: Rename from python-function.exp.
5316 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5318 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5319 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5320 Adjust testfile name.
5321 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5322 * gdb.python/py-template.cc: Rename from python-template.cc.
5323 * gdb.python/py-template.exp: Rename from python-template.exp.
5324 Adjust testfile name.
5325 * gdb.python/py-value.c: Rename from python-value.c.
5326 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5329 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5333 (Second breakpoint address is valid on ia64)
5334 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5336 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5338 * gdb.base/ending-run.exp: Restrict regular expression matching
5339 line number to require closing brace following.
5341 2009-09-03 Doug Evans <dje@google.com>
5343 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5345 2009-09-02 Tom Tromey <tromey@redhat.com>
5347 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5349 2009-09-02 Tom Tromey <tromey@redhat.com>
5351 * gdb.dwarf2/callframecfa.exp: New file.
5352 * gdb.dwarf2/callframecfa.S: New file.
5354 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5356 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5357 gdb.base/solib-overlap-main.c: New.
5359 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5363 * gdb.base/bitfields.c (struct container, container): New.
5364 (main): Initialize it and call break5.
5365 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5367 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5369 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5370 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5372 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5374 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5376 2009-08-26 Michael Snyder <msnyder@vmware.com>
5378 * gdb.base/i386-reverse.c: New file.
5379 * gdb.base/i386-reverse.exp: New file.
5380 * gdb.base/Makefile.in: Add new files to be removed.
5382 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5384 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5385 environment-pwd for remote host.
5386 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5388 2009-08-24 Keith Seitz <keiths@redhat.com>
5390 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5391 Add two new C++ completer tests which limit the output to a
5394 2009-08-24 Michael Snyder <msnyder@vmware.com>
5396 * gdb.base/del.exp: Fix typo in comment.
5397 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5399 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5401 * configure: Regenerate.
5402 * gdb.hp/configure: Likewise.
5403 * gdb.hp/gdb.aCC/configure: Likewise.
5404 * gdb.hp/gdb.base-hp/configure: Likewise.
5405 * gdb.hp/gdb.compat/configure: Likewise.
5406 * gdb.hp/gdb.defects/configure: Likewise.
5407 * gdb.hp/gdb.objdbg/configure: Likewise.
5408 * gdb.stabs/configure: Likewise.
5410 2009-08-19 Doug Evans <dje@google.com>
5412 * gdb.base/gdbvars.c: New file.
5413 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5415 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5417 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5418 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5420 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5422 * gdb.base/default.exp: Adjust "set language test": it's now an
5423 enum command. Larger help string moved to "help set language".
5424 * gdb.base/help.exp: Adjust "help set language" expected output,
5425 now lists all known languages.
5427 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5429 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5430 all frame arguments.
5431 * gdb.arch/altivec-regs.exp: Likewise.
5433 2009-08-07 Tom Tromey <tromey@redhat.com>
5435 * gdb.base/setshow.exp: Add tests for changes to set language, set
5436 check range, and set check type.
5438 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5440 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5441 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5444 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5446 * configure.ac: Run gdb.cell tests when appropriate.
5447 * configure: Regenerate.
5448 * lib/cell.exp: New file.
5449 * gdb.cell: New directory.
5450 * gdb.cell/configure.ac: New file.
5451 * gdb.cell/configure: New file.
5452 * gdb.cell/Makefile.in: New file.
5453 * gdb.cell/arch.exp: New file.
5454 * gdb.cell/break.c: New file.
5455 * gdb.cell/break.exp: New file.
5456 * gdb.cell/break-spu.c: New file.
5457 * gdb.cell/bt.c: New file.
5458 * gdb.cell/bt2-spu.c: New file.
5459 * gdb.cell/bt-spu.c: New file.
5460 * gdb.cell/bt.exp: New file.
5461 * gdb.cell/coremaker.c: New file.
5462 * gdb.cell/coremaker-spu.c: New file.
5463 * gdb.cell/core.exp: New file.
5464 * gdb.cell/gcore.exp: New file.
5465 * gdb.cell/data.c: New file.
5466 * gdb.cell/data.exp: New file.
5467 * gdb.cell/data-spu.c: New file.
5468 * gdb.cell/ea-cache.exp: New file.
5469 * gdb.cell/ea-cache.c: New file.
5470 * gdb.cell/ea-cache-spu.c: New file.
5471 * gdb.cell/ea-standalone.c: New file.
5472 * gdb.cell/ea-standalone.exp: New file.
5473 * gdb.cell/ea-test.c: New file.
5474 * gdb.cell/ea-test.exp: New file.
5475 * gdb.cell/f-regs.exp: New file.
5476 * gdb.cell/mem-access.c: New file.
5477 * gdb.cell/mem-access.exp: New file.
5478 * gdb.cell/mem-access-spu.c: New file.
5479 * gdb.cell/ptype.exp: New file.
5480 * gdb.cell/registers.exp: New file.
5481 * gdb.cell/size.c: New file.
5482 * gdb.cell/sizeof.exp: New file.
5483 * gdb.cell/size-spu.c: New file.
5484 * gdb.cell/solib.exp: New file.
5485 * gdb.cell/solib-symbol.exp: New file.
5487 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5489 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5491 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5493 * gdb.base/float.exp: Handle VFP registers.
5495 2009-07-14 Michael Snyder <msnyder@vmware.com>
5497 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5498 to bring gdb to the beginning of the calling line.
5500 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5501 confusing the i386 epilogue unwinder.
5503 2009-07-14 Stan Shebs <stan@codesourcery.com>
5505 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5507 2009-07-14 Michael Snyder <msnyder@vmware.com>
5509 * gdb.reverse/step-reverse.exp (stepi into function call):
5510 Call instruction may not be first instruction in the line.
5511 (reverse stepi from a function call): Used wrong line number.
5513 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5515 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5517 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5519 Fix gdb.base/macscp.exp when using custom inputrc.
5520 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5521 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5523 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5524 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5526 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5528 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5529 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5530 Change the compilation target to match the testcase name.
5531 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5533 * a2-run.exp: Use for setup prepare_for_testing. Change the
5534 compilation target to match the testcase name.
5535 * gdb.base/commands.exp: Likewise.
5536 * gdb.base/finish.exp: Likewise.
5537 * gdb.base/float.exp: Likewise.
5538 * gdb.base/info-target.exp: Likewise.
5539 * gdb.base/relational.exp: Likewise.
5540 * gdb.base/term.exp: Likewise.
5541 * gdb.base/until.exp: Likewise.
5542 * gdb.base/volatile.exp: Likewise.
5543 * gdb.base/whatis-exp.exp: Likewise.
5545 2009-07-11 Hui Zhu <teawater@gmail.com>
5547 * gdb.base/help.exp (disassemble): Update expected help text.
5549 2009-07-09 Tom Tromey <tromey@redhat.com>
5551 * lib/gdb.exp: Handle TRANSCRIPT.
5552 (remote_spawn, remote_close, send_gdb): New procs.
5554 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5556 * gdb.python/python-prettyprint.c: Add counted null string
5558 * gdb.python/python-prettyprint.exp: Print null string. Test for
5560 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5561 * gdb.python/python-value.exp (test_value_in_inferior): Add
5562 variable length string fetch tests.
5563 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5565 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5567 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5569 2009-07-07 Tom Tromey <tromey@redhat.com>
5571 * gdb.base/call-rt-st.exp: Update for change to escape output.
5572 * gdb.base/callfuncs.exp: Likewise.
5573 * gdb.base/charset.exp: Likewise.
5574 * gdb.base/constvars.exp: Likewise.
5575 * gdb.base/long_long.exp: Likewise.
5576 * gdb.base/pointers.exp: Likewise.
5577 * gdb.base/printcmds.exp: Likewise.
5578 * gdb.base/setvar.exp: Likewise.
5579 * gdb.base/store.exp: Likewise.
5580 * gdb.cp/ref-types.exp: Likewise.
5581 * gdb.mi/mi-var-child.exp: Likewise.
5582 * gdb.mi/mi-var-display.exp: Likewise.
5583 * gdb.mi/mi2-var-display.exp: Likewise.
5584 * gdb.base/charset.exp: Test octal escape sequence length.
5585 Update for change to escape output.
5587 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5589 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5591 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5593 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5595 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5597 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5598 gdbserver increasing $portnum if "Can't bind address" has been seen.
5600 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5602 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5605 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5607 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5610 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5612 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5613 linux. Adjust to use "inferior", "info inferiors", "detach
5614 inferior" and "kill inferior" instead of "restart", "info fork",
5615 "detach fork" and "delete fork".
5616 * gdb.base/ending-run.exp: Spell out "info".
5617 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5620 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5622 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5623 change to prefix TLS offset in hex with 0x.
5625 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5627 * gdb.base/default.exp: Update test case for "x" changes.
5629 2009-07-01 Tristan Gingold <gingold@adacore.com>
5631 * gdb.base/bigcore.exp: Make darwin untested.
5633 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5635 * gdb.base/completion.exp (directory completion): Create the directory.
5636 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5638 (directory completion 2): Expect now ${escapeuniquesub}.
5639 (Glob remaining of directory test): Remove one excessive newline.
5640 Expect the real output.
5642 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5644 Fix `make check//%' target after `make check' has been ran.
5645 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5647 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5650 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5652 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5653 the expected result record.
5655 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5657 Remove racy FAILs relying just on the timeouts.
5658 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5659 (annotation_level 2): Remove racy FAILs.
5661 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5664 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5666 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5668 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5670 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5672 * gdb.mi/mi-stack.exp: Testing symbolic options
5673 to -stack-list-locals and -stack-list-arguments.
5675 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5677 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5679 2009-06-29 Tom Tromey <tromey@redhat.com>
5681 * dg-extract-results.sh: New file.
5682 * Makefile.in (FORCE_PARALLEL): New variable.
5683 (CHECK_TARGET): New conditional variable.
5684 (check): Use CHECK_TARGET.
5685 (DO_RUNTEST): New variable.
5686 (check-single): New target.
5687 (TEST_DIRS): New variable.
5688 (TEST_TARGETS): Likewise.
5689 (check-parallel): New target.
5690 (check-gdb.%): New pattern.
5691 (BASE1_FILES): New variable.
5692 (BASE2_FILES): Likewise.
5693 (check-gdb.base%): New pattern.
5694 (%/.dir): New pattern.
5695 * configure: Rebuild.
5696 * aclocal.m4 (AM_CONDITIONAL): New defun.
5697 * configure.ac: Check whether user is using GNU make.
5698 (GMAKE): New conditional.
5700 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5702 * gdb.cp/namespace-nested-import.cc: New test.
5703 * gdb.cp/namespace-nested-import.exp: New test.
5705 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5707 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5708 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5709 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5710 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5711 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5712 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5713 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5714 gdb.opt/inline-markers.c: New files.
5715 * lib/gdb.exp (skip_inline_frame_tests): New function.
5716 (skip_inline_var_tests): New function.
5718 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5720 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5723 2009-06-27 Michael Snyder <msnyder@vmware.com>
5725 * gdb.reverse: New directory.
5726 * gdb.reverse/break-reverse.c: New test.
5727 * gdb.reverse/break-reverse.exp: New test.
5728 * gdb.reverse/consecutive-reverse.c: New test.
5729 * gdb.reverse/consecutive-reverse.exp: New test.
5730 * gdb.reverse/finish-reverse.c: New test.
5731 * gdb.reverse/finish-reverse.exp: New test.
5732 * gdb.reverse/machinestate.c: New test.
5733 * gdb.reverse/ms1.c: New test.
5734 * gdb.reverse/machinestate.exp: New test.
5735 * gdb.reverse/Makefile.in: New file.
5736 * gdb.reverse/shr2.c: New test.
5737 * gdb.reverse/solib-reverse.c: New test.
5738 * gdb.reverse/solib-reverse.exp: New test.
5739 * gdb.reverse/step-reverse.c: New test.
5740 * gdb.reverse/step-reverse.exp: New test.
5741 * gdb.reverse/until-reverse.c: New test.
5742 * gdb.reverse/ur1.c: New test.
5743 * gdb.reverse/until-reverse.exp: New test.
5744 * gdb.reverse/watch-reverse.c: New test.
5745 * gdb.reverse/watch-reverse.exp: New test.
5746 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5747 * configure: Regenerate.
5749 2009-06-26 Doug Evans <dje@google.com>
5751 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5753 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5755 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5756 windows problem for 'file delete $binfile'.
5758 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5760 * gdb.cp/namespace-using.exp: New test.
5761 * gdb.cp/namespace-using.cc: New test.
5763 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5765 * gdb.ada/variant_record_packed_array: New testcase.
5767 2009-06-23 Tom Tromey <tromey@redhat.com>
5769 * gdb.base/charset.exp (test_combination): Regression test.
5770 * gdb.base/charset.c (my_wchar_t): New typedef.
5771 (myvar): New global.
5774 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5776 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5779 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5781 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5783 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5785 * gdb.mi/gdb680.exp: Update test for error message.
5787 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5789 * gdb.base/annota1.exp: Allow multiple occurrences of the
5790 frames-invalid annotation.
5791 * gdb.cp/annota2.exp: Likewise.
5793 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5795 * gdb.cp/gdb2495.cc: New file.
5796 * gdb.cp/gdb2495.exp: New file.
5798 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5800 Report error on GDB crash during runto.
5801 * lib/gdb.exp (runto <eof>): New.
5803 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5805 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5806 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5807 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5808 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5809 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5810 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5811 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5812 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5813 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5814 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5815 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5816 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5817 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5818 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5819 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5820 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5821 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5822 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5823 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5824 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5825 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5826 gdb.trace/passcount.exp, gdb.trace/report.exp,
5827 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5828 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5829 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5832 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5834 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5835 defined before referencing it.
5837 2009-06-03 Doug Evans <dje@google.com>
5839 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5840 * gdb.arch/i386-see.c: Ditto.
5842 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5844 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5845 (check_macro): Return 1 if undefined.
5846 If first test fails, check if macro debug information is available,
5847 and report unsupported test if no macro information is found.
5849 2009-05-29 Doug Evans <dje@google.com>
5851 * gdb.threads/hand-call-in-threads.exp: New.
5852 * gdb.threads/hand-call-in-threads.c: New.
5854 2009-05-29 Michael Snyder <msnyder@vmware.com>
5856 * gdb.base/break-always.exp: Change "1" to "on".
5857 Add confirmation check.
5859 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5861 * gdb.threads/threxit-hop-specific.c: New.
5862 * gdb.threads/threxit-hop-specific.exp: New.
5863 * gdb.threads/thread-execl.c: New.
5864 * gdb.threads/thread-execl.exp: New.
5866 2009-05-27 Tom Tromey <tromey@redhat.com>
5867 Thiago Jung Bauermann <bauerman@br.ibm.com>
5869 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5870 (mi_child_regexp): Likewise.
5871 (mi_list_varobj_children_range): Likewise.
5872 (mi_get_features): Likewise.
5873 (mi_list_varobj_children): Rewrite.
5874 * gdb.python/python-mi.exp: New file.
5876 2009-05-27 Tom Tromey <tromey@redhat.com>
5877 Thiago Jung Bauermann <bauerman@br.ibm.com>
5878 Phil Muldoon <pmuldoon@redhat.com>
5879 Paul Pluzhnikov <ppluzhnikov@google.com>
5881 * gdb.python/python-prettyprint.exp: New file.
5882 * gdb.python/python-prettyprint.c: New file.
5883 * gdb.python/python-prettyprint.py: New file.
5884 * gdb.base/display.exp: print/r is now valid.
5886 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5887 Tom Tromey <tromey@redhat.com>
5888 Pedro Alves <pedro@codesourcery.com>
5889 Paul Pluzhnikov <ppluzhnikov@google.com>
5891 * gdb.python/python-template.exp: New file.
5892 * gdb.python/python-template.cc: New file.
5893 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5895 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5897 (test_value_after_death): New proc.
5898 * gdb.python/python-value.c (PTR): New typedef.
5899 (main): New variable 'x'.
5901 2009-05-27 Tom Tromey <tromey@redhat.com>
5903 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5905 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5908 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5910 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5912 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5914 * gdb.threads/fork-thread-pending.c: New.
5915 * gdb.threads/fork-thread-pending.exp: New.
5917 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5919 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5920 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5922 2009-05-18 Jon Beniston <jon@beniston.com>
5924 * gdb.asm/asm-source.exp: Add lm32 target.
5926 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5928 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5929 `gdb_get_line_number'. Call `callee' in both parent and child.
5930 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5931 `gdb_get_line_number' instead of hardcoding line numbers.
5932 (catch_fork_unpatch_child): New procedure to test detaching
5933 breakpoints from child fork.
5934 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5935 hardcoding line numbers.
5936 (do_fork_tests): Run `catch_fork_unpatch_child'.
5938 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5940 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5941 of structure type enters or leaves the scope, it
5942 is reported by -var-update.
5944 2009-05-11 Doug Evans <dje@sebabeach.org>
5946 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5947 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5948 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5950 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5952 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5954 2009-04-30 Doug Evans <dje@google.com>
5956 * gdb.threads/watchthreads2.exp: New testcase.
5957 * gdb.threads/watchthreads2.c: New testcase.
5959 2009-04-29 Doug Evans <dje@google.com>
5961 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5962 * gdb.cp/mb-ctor.cc: Ditto.
5963 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5964 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5965 * gdb.cp/mb-inline1.cc: Call it.
5966 * gdb.cp/mb-inline2.cc: Ditto.
5967 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5968 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5970 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5972 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5973 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5974 Replace all uses of `decimal' by `nonzero'.
5975 (info macro FROM_COMMANDLINE): New test.
5977 2009-04-27 Tom Tromey <tromey@redhat.com>
5979 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5981 2009-04-27 Doug Evans <dje@google.com>
5983 * gdb.threads/watchthreads.c (main): Initialize args before starting
5984 the threads. Plus formatting cleanup.
5985 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5986 biased scheduling of one thread.
5988 2009-04-27 Jerome Guitton <guitton@adacore.com>
5990 * gdb.cp/templates.cc (GetMax): New template.
5991 (main): Declare two instances of GetMax.
5992 * gdb.cp/templates.exp: Add new test.
5994 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5996 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5998 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6000 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6002 2009-04-15 Tom Tromey <tromey@redhat.com>
6004 * gdb.base/charset.exp: Add regression test.
6006 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6008 * gdb.base/exe-lock.exp: New testcase.
6010 2009-04-13 Tom Tromey <tromey@redhat.com>
6012 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6015 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6017 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6018 * gdb.server/ext-attach.exp: Likewise.
6020 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6022 Eliminate some sleep usage.
6024 * gdb.mi/basics.c (do_nothing): New.
6025 (main): Use do_nothing instead of printf, so that
6026 not to introduce race condition between output of
6027 inferiour and output of gdb. Do not use sleep as it
6028 is not generally available on embedded targets.
6030 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6032 * gdb.server/ext-attach.exp: Expect an optional process id after
6033 "Detached from remote process".
6035 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6037 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6038 gdb.dwarf2/dw2-unresolved.exp: New.
6040 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6042 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6045 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6047 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6048 mi_run_to_main. Skip thread exit test on remote targets.
6049 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6051 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6053 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6054 when expecting ^connected. Detect when the target doesn't support
6056 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6057 supported. Return -1 on error, 0 on success.
6058 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6059 (mi_runto): Return mi_runto_helper's result explicitly.
6061 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6063 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6065 2009-04-01 Tom Tromey <tromey@redhat.com>
6067 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6068 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6069 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6070 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6072 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6073 Jan Kratochvil <jan.kratochvil@redhat.com>
6076 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6078 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6080 * dw2-strp.S (DW_AT_language): Change to C++.
6081 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6083 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6085 * gdb.ada/tasks: New testcase.
6087 2009-03-30 Stan Shebs <stan@codesourcery.com>
6089 * gdb.trace/actions.exp: Update to match new info trace format.
6090 * gdb.trace/deltrace.exp: Ditto.
6091 * gdb.trace/infotrace.exp: Ditto.
6092 * gdb.trace/passcount.exp: Ditto.
6093 * gdb.trace/save-trace.exp: Ditto.
6094 * gdb.trace/while-stepping.exp: Ditto.
6095 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6097 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6099 * gdb.python/python-frame.c: New file.
6100 * gdb.python/python-frame.exp: New file.
6102 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6104 * gdb.python/python-value.exp: Add tests for the address
6107 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6109 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6111 2009-03-26 Doug Evans <dje@google.com>
6113 * gdb.mi/mi-nonstop-exit.exp: New file.
6114 * gdb.mi/non-stop-exit.c: New file.
6116 2009-03-26 Tom Tromey <tromey@redhat.com>
6118 Update for change to prologue skipping:
6119 * gdb.mi/mi2-simplerun.exp: Update.
6120 * gdb.mi/mi2-break.exp: Update.
6121 * gdb.mi/mi-simplerun.exp: Update.
6122 * gdb.mi/mi-break.exp: Update.
6123 * gdb.base/ending-run.exp: Update.
6125 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6127 * gdb.python/python-value.exp (test_value_in_inferior): Test
6128 gdb.Value.is_optimized_out attribute.
6130 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6132 * gdb.dwarf2/dw2-noloc-main.c: New file.
6133 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6136 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6137 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6138 (DW_TAG_subprogram func_cu1, noloc): Remove.
6140 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6141 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6142 (file_symbols): New procedure.
6144 2009-03-25 Tom Tromey <tromey@redhat.com>
6146 * gdb.base/charset.exp (valid_target_charset): New proc.
6147 Use it to skip tests on invalid charsets.
6149 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6151 * gdb.base/completion.exp: Add a test for directory completion.
6153 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6156 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6157 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6159 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6161 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6162 * gdb.python/python-function.exp: Add test for function returning
6165 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6167 * gdb.python/python-function.exp: New file.
6169 2009-03-20 Tom Tromey <tromey@redhat.com>
6171 * gdb.base/store.exp: Update for change to escape output.
6172 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6174 * gdb.base/pointers.exp: Update for change to escape output.
6175 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6177 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6179 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6181 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6183 * gdb.base/setvar.exp: Update for change to escape output.
6184 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6185 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6187 (test_print_string_constants): Likewise.
6188 * gdb.base/charset.exp (valid_host_charset): Check size of
6189 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6190 cases. Handle "auto"-related output.
6191 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6192 (uvar, Uvar): New globals.
6194 2009-03-19 Jerome Guitton <guitton@adacore.com>
6196 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6198 * gdb.ada/fixed_points.exp: Ditto.
6200 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6202 * return-nodebug.c: Don't include stdio.h.
6204 (func): Delete definition and provide extern declaration.
6206 (main): Don't call printf. Call func and store its result in t.
6207 * return-nodebug1.c: New.
6208 * return-nodebug.exp: Don't expect stdio output. Instead, print
6209 the global variable t. Drop printf formatters and cast types from
6210 foreach loop. Don't use prepare_for_testing. Compile
6211 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6212 define FORMAT or CAST.
6214 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6216 * gdb.base/solib-display.exp: Disable test for remote targers.
6218 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6220 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6222 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6225 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6226 code from `follow parent, print pids'.
6227 (`follow child, print pids', `follow parent, print pids'): Call it.
6228 Replace `gdb_test "break..."' by gdb_breakpoint.
6230 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6232 * gdb.mi/mi-cli.exp: Adjust for output difference in
6233 sync and async modes.
6235 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6237 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6238 that was checked in by mistake. Remove loading of ada.exp, since
6239 this is not necessary in this case.
6241 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6243 * gdb.ada/ptype_arith_binop.exp: New testcase.
6245 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6247 * gdb.ada/mod_from_name: New testcase.
6249 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6251 * gdb.ada/tick_last_segv: New testcase.
6253 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6255 * gdb.mi/mi-cli.exp: Remove debug print.
6257 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6259 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6260 include the token in ^running and frame info in *stopped.
6262 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6264 * solib-display.exp: New file.
6265 * solib-display-main.c: New file.
6266 * solib-display-lib.c: New file.
6268 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6270 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6272 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6274 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6275 (list_and_check_macro): Use more specific test name.
6276 (next to definition): Make the test names unique.
6278 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6280 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6282 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6284 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6286 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6287 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6288 * lib/mi-support.exp (library_loaded_re): New.
6289 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6291 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6293 * gdb.gdb/observer.exp: Use test_notification observer, not
6294 normal_stop, everywhere.
6295 (test_normal_stop_notifications): Rename to...
6296 (test_notifications): ...this.
6297 (test_observer_normal_stop): Rename to...
6298 (test_observer): ...this.
6300 2009-02-16 Doug Evans <dje@google.com>
6302 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6303 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6304 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6305 (test_prefixed_syscall,test_int3): New tests.
6306 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6307 (test_prefixed_syscall,test_int3): New tests.
6309 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6311 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6312 (mi_expect_interrupt): Likewise.
6313 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6316 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6318 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6319 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6320 Replace calls to get_valueofx by get_hexadecimal_valueof.
6322 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6324 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6325 (get_integer_valueof): New procedure.
6326 (get_sizeof): Use new get_integer_value_of.
6327 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6328 by get_integer_valueof.
6330 2009-02-13 Tom Tromey <tromey@redhat.com>
6332 * gdb.base/remote.exp (get_sizeof): Remove.
6333 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6334 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6335 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6336 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6337 (get_sizeof): Likewise.
6339 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6342 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6344 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6346 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6348 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6350 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6352 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6354 * gdb.python/python-cmd.exp: New file.
6356 2009-02-06 Tristan Gingold <gingold@adacore.com>
6358 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6360 2009-02-05 Tristan Gingold <gingold@adacore.com>
6362 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6363 pointer is dereferenced and use this signal name in regexp.
6364 * gdb.base/signull.exp: Ditto.
6365 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6366 * gdb.base/signull.c (main): Ditto.
6368 2009-02-04 Tom Tromey <tromey@redhat.com>
6369 Thiago Jung Bauermann <bauerman@br.ibm.com>
6371 * gdb.python/python-value.exp: Use `gdb.history' instead of
6372 `gdb.value_from_history'.
6373 (test_value_numeric_ops): Add test for conversion of enum constant.
6374 * gdb.python/python-value.c (enum e): New type.
6375 (evalue): New global.
6378 2009-02-04 Jerome Guitton <guitton@adacore.com>
6380 * gdb.ada/uninitialized_vars: New test program.
6381 * gdb.ada/uninitialized_vars.exp: New testcase.
6383 2009-02-02 Tom Tromey <tromey@redhat.com>
6385 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6386 * gdb.cp/pr2489.cc: Rename...
6387 * gdb.cp/pr9594.cc: ... to this.
6389 2009-02-02 Tom Tromey <tromey@redhat.com>
6391 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6392 * gdb.cp/pr2489.cc: New file.
6393 * gdb.cp/cpcompletion.exp: New file.
6395 2009-02-02 Tom Tromey <tromey@redhat.com>
6398 * gdb.cp/call-c.exp: Add regression test.
6399 * gdb.cp/call-c.cc (FooHandle): New typedef.
6400 (main): New variable 'handle'.
6402 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6404 * lib/mi-support.exp (et_mi_thread_list)
6405 (check_mi_and_console_threads): Adjust for current thread in
6406 -thread-list-ids output.
6408 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6410 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6413 2009-01-28 Doug Evans <dje@google.com>
6415 * gdb.arch/amd64-disp-step.S: New file.
6416 * gdb.arch/amd64-disp-step.exp: New file.
6417 * gdb.arch/i386-disp-step.S: New file.
6418 * gdb.arch/i386-disp-step.exp: New file.
6420 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6422 * gdb.base/find.exp: Set newline variable
6423 using quotes instead of braces to fix cygwin failures.
6425 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6427 * gdb.base/radix.exp: Add tests to ensure that that set
6428 input-radix 0 and set output-radix 0 are really rejected.
6430 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6432 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6435 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6438 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6440 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6443 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6445 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6447 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6448 binfile definition to fix Windows OS failure.
6450 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6453 * gdb.base/interrupt.c (sigint_handler): New.
6454 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6456 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6457 Test "signal SIGINT".
6459 2009-01-19 Doug Evans <dje@google.com>
6461 * gdb.base/break.exp: Update expected gdb output.
6462 * gdb.base/sepdebug.exp: Ditto.
6463 * gdb.mi/mi-syn-frame.exp: Ditto.
6464 * gdb.mi/mi2-syn-frame.exp: Ditto.
6465 * gdb.base/call-signal-resume.exp: New file.
6466 * gdb.base/call-signals.c: New file.
6467 * gdb.base/unwindonsignal.exp: New file.
6468 * gdb.base/unwindonsignal.c: New file.
6469 * gdb.threads/interrupted-hand-call.exp: New file.
6470 * gdb.threads/interrupted-hand-call.c: New file.
6471 * gdb.threads/thread-unwindonsignal.exp: New file.
6473 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6475 * gdb.base/define.exp: Test defining and hooking prefix commands.
6476 * gdb.python/python.exp: Update test for "show user" output.
6478 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6480 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6481 now the output exactly, using less wildcards. Expect also the output
6482 of gfortran-4.3. Update for the f-valprint.c modification from
6484 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6485 Remove gdb_test test names where matching the command.
6487 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6489 PR breakpoints/9681:
6490 * gdb.base/watchpoint.exp: Add regression test.
6492 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6494 * gdb.threads/attach-into-signal.exp: Don't use
6495 gdb_suppress_entire_file.
6496 * gdb.threads/attach-stopped.exp: Ditto.
6497 * gdb.threads/attachstop-mt.exp: Ditto.
6499 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6502 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6504 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6507 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6508 and unsupported output radices are really rejected.
6510 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6512 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6514 2008-12-22 Tom Tromey <tromey@redhat.com>
6516 * gdb.cp/punctuator.exp: New file.
6518 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6520 * gdb.base/completion.exp (Completing non-existing component): New test.
6522 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6524 Fix for PR gdb/8648.
6525 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6526 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6527 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6528 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6530 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6532 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6534 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6536 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6537 compiler actually generate code at the expected line number.
6539 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6541 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6543 2008-12-12 Tom Tromey <tromey@redhat.com>
6545 * gdb.base/commands.exp (redefine_hook_test): New proc.
6548 2008-12-11 Tom Tromey <tromey@redhat.com>
6550 * gdb.base/macscp.exp: New regression test.
6552 2008-12-11 Tom Tromey <tromey@redhat.com>
6554 * gdb.base/macscp.exp: Print "address.addr".
6555 * gdb.base/macscp1.c (struct outer): New struct.
6556 (address): New global.
6558 2008-12-09 Tom Tromey <tromey@redhat.com>
6560 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6563 2008-12-04 Doug Evans <dje@google.com>
6565 * gdb.server/ext-run.exp: Relax regexp for init program.
6567 2008-12-03 Tristan Gingold <gingold@adacore.com>
6569 * gdb.base/macscp.exp: Generate an object file during compilation
6570 to work around Darwin dsymutil limitations.
6572 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6574 Test resolving external references to TLS variables.
6575 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6577 (testfile2, srcfile2): New variables.
6578 * gdb.threads/tls.c (file2_thread_local)
6579 (function_referencing_file2_thread_local): New.
6580 * gdb.threads/tls2.c: New file.
6582 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6584 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6585 rather than integer, as integer might not be big enough when
6588 2008-11-27 Jerome Guitton <guitton@adacore.com>
6590 * gdb.cp/formatted-ref.exp: Add equality test.
6591 * gdb.ada/formatted_ref.exp: Ditto.
6593 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6595 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6596 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6598 2008-11-20 Andreas Schwab <schwab@suse.de>
6600 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6601 matching syscall entry point.
6602 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6603 (tcatch_vfork_then_child_follow): Likewise. Finish through
6604 vfork even if we stopped at the syscall trampoline.
6606 2008-11-20 Doug Evans <dje@google.com>
6608 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6610 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6612 * gdb.arch/ppc-dfp.exp: New file.
6613 * gdb.arch/ppc-dfp.c: New file.
6615 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6617 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6619 2008-11-17 Doug Evans <dje@google.com>
6621 * gdb.mi/mi-syn-frame.exp: Update expected output.
6622 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6624 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6626 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6627 "thread N" results in =thread-selected.
6628 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6629 (mi_send_resuming_command_raw): Be prepared for
6632 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6634 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6635 * lib/mi-support.exp: Likewise.
6637 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6639 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6640 commands from the expected output for "help catch".
6642 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6644 * gdb.ada/int_deref.exp: New testcase.
6646 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6648 * gdb.mi/gdb2549.exp: New file.
6650 2008-11-11 Doug Evans <dje@google.com>
6652 * gdb.base/callexit.exp: New file.
6653 * gdb.base/callexit.c: New file.
6655 2008-11-10 Doug Evans <dje@google.com>
6657 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6658 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6659 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6660 (default_gdb_start,default_gdb_exit): Ditto.
6661 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6662 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6663 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6664 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6665 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6666 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6668 2008-11-03 Andreas Schwab <schwab@suse.de>
6670 * gdb.base/hashline2.exp: Fix typo.
6671 * gdb.base/hashline3.exp: Likewise.
6673 2008-10-30 Tom Tromey <tromey@redhat.com>
6675 * gdb.base/pointers.exp: Add test.
6676 * gdb.base/pointers.c (k, S): New typedefs.
6677 (instance): New global.
6679 2008-10-30 Andreas Schwab <schwab@suse.de>
6681 * gdb.base/args.exp: Add tests for newlines.
6683 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6685 gdb.base/foll-exec.exp: Update the expected output of a couple
6686 of "info breakpoints" tests.
6688 2008-10-28 Tom Tromey <tromey@redhat.com>
6690 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6692 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6694 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6696 Use runto_main before any test that requires execution.
6698 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6700 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6703 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6705 * gdb.base/completion.exp: Update expected output following
6706 the addition of the "info tasks" command.
6708 2008-10-22 Tom Tromey <tromey@redhat.com>
6710 * gdb.base/exprs.exp (test_expr): Add test for string
6713 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6715 * configure.ac: Output gdb.python/Makefile.
6716 * configure: Regenerate.
6717 * gdb.python/Makefile.in: New.
6719 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6721 * gdb.base/foll-fork.exp: Adjust the expected output to match
6722 the new description for fork/vfork catchpoints in the "info
6723 breakpoints" output.
6725 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6727 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6729 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6731 * gdb.python/python-value.c: New file.
6732 * gdb.python/python-value.exp: New file.
6734 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6736 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6738 2008-10-15 Denis Pilat <denis.pilat@st.com>
6740 * gdb.cp/mb-ctor.exp: Fix a typo.
6742 2008-10-09 Tom Tromey <tromey@redhat.com>
6744 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6745 'fprintf' and 'stderr'.
6747 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6749 * gdb.ada/ref_tick_size.exp: New testcase.
6751 2008-10-06 Doug Evans <dje@google.com>
6753 * gdb.dwarf2/dw2-cu-size.exp: New file.
6754 * gdb.dwarf2/dw2-cu-size.S: New file.
6756 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6757 .Ltype_int for clarity.
6759 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6762 * gdb.cp/gdb2384.exp: Extended to test more cases.
6763 * gdb.cp/gdb2384.cc: Likewise.
6764 * gdb.cp/gdb2384-base.h: Likewise.
6765 * gdb.cp/gdb2384-base.cc: Likewise.
6767 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6769 * gdb.base/maint.exp (maint print type): Remove printing
6770 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6772 2008-09-30 Tom Tromey <tromey@redhat.com>
6774 * gdb.base/macscp.exp: Add completion tests.
6775 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6776 (TWENTY_THREE): Likewise.
6777 (FORTY_EIGHT): Likewise.
6779 2008-09-30 Tom Tromey <tromey@redhat.com>
6781 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6783 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6785 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6787 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6788 testcase is derived from. Fix racy dependency on an expected PID
6789 number. No longer support the testcase on Linux kernel 2.4.x.
6791 2008-09-27 Tom Tromey <tromey@redhat.com>
6793 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6796 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6798 * lib/mi-support.exp (mi_expect_interrupt): New.
6799 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6800 from gdb.mi/mi-nonstop.exp.
6801 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6802 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6804 Use mi_check_thread_states throughout. Avoid ".*" and do not
6805 require an anchor after -exec-run.
6807 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6809 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6810 stop is pending. Avoid ".*" when two stops are pending.
6811 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6812 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6813 newlines in fullnames.
6814 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6815 (mi_expect_stop): Update comments. Only anchor in sync mode.
6816 Do not match newlines.
6817 (mi_send_resuming_command_raw): Always return status.
6818 (mi_get_stop_line): Do not match more than one line by accident.
6819 Only anchor in sync mode.
6820 (mi_run_inline_test): If -exec-next fails, give up.
6822 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6824 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6827 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6829 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6831 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6833 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6834 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6835 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6836 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6837 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6838 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6839 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6840 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6841 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6842 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6843 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6844 Include the "= " sequence in the expected output of print tests.
6846 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6848 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6849 description for boolean types.
6851 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6853 * gdb.base/hook-stop-continue.c: New.
6854 * gdb.base/hook-stop-continue.exp: New.
6856 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6858 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6860 2008-09-08 Jerome Guitton <guitton@adacore.com>
6862 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6863 (stack_check_probe_2, stack_check_probe_loop_1)
6864 (stack_check_probe_loop_2): New functions.
6865 (main): Add call to these new functions.
6866 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6867 functions, check that the breakpoint is inserted at the appropriate
6869 (insert_breakpoint): Slightly refine this procedure so that it can
6870 be called several times in the test.
6872 2008-09-08 Jerome Guitton <guitton@adacore.com>
6874 * gdb.base/stack-checking.c: New file.
6875 * gdb.base/stack-checking.exp: New file.
6877 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6879 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6880 * gdb.arch/altivec-regs.exp: Likewise.
6881 * gdb.arch/vsx-regs.exp: Likewise.
6883 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6885 * gdb.arch/ppc-fp.exp: New file.
6886 * gdb.arch/ppc-fp.c: New file.
6888 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6890 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6891 lest gcc-4.3.1 optimizes the whole thing away.
6893 2008-09-04 Michael Snyder <msnyder@vmware.com>
6895 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6896 as "at" (for non-debug functions such as _start).
6898 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6900 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6901 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6902 software watchpoints.
6903 * gdb.base/watch_thread_num.exp: Likewise.
6905 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6907 * gdb.arch/i386-bp_permanent.exp: New test.
6909 2008-08-24 Tom Tromey <tromey@redhat.com>
6911 * gdb.base/maint.exp: Update "maint print type".
6913 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6915 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6916 support. Adjust the order of "*running" notifications.
6917 * gdb.mi/non-stop.c: Don't cast from int to void* and
6920 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6922 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6923 expect to find it in the "info frame" output.
6925 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6927 * gdb.base/interp.exp: Always consume both prompts.
6929 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6931 * gdb.base/pending.exp: Test pending breakpoints without symbols
6934 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6936 * lib/mi-support.exp (mi_expect_stop): Produce
6937 more details on failures.
6938 * gdb.mi/mi-nonstop.exp: New.
6939 * gdb.mi/non-stop.c: New.
6941 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6943 * gdb.mi/mi-async.exp: Use 'set target-async'.
6944 * lib/mi-support.exp: Use 'set/show target-async'.
6946 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6948 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6950 2008-08-17 Tom Tromey <tromey@redhat.com>
6952 * gdb.base/help.exp (help catch): Rewrite.
6954 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6956 * gdb.base/define.exp: Test indented command documentation.
6957 * gdb.python/python.exp: Test indented multi-line command.
6959 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6961 * testsuite/gdb.arch/vsx-regs.c: New source file.
6962 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6963 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6965 2008-08-14 Tom Tromey <tromey@redhat.com>
6967 * gdb.base/macscp.exp: Add regression test for "macro define" or
6968 "macro undef" with no arguments.
6970 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6972 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6974 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6976 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6978 2008-08-06 Tom Tromey <tromey@redhat.com>
6980 * gdb.python/python.exp: New file.
6982 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6984 Fix for PR gdb/1543.
6985 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6987 (location): New variable.
6988 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6989 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6990 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6991 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6992 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6993 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6994 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6995 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6996 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6997 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6998 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6999 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7000 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7001 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7002 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7003 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7004 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7005 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7006 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7007 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7008 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7009 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7010 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7011 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7012 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7013 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7014 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7015 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7016 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7017 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7018 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7019 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7020 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7021 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7022 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7023 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7024 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7025 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7026 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7027 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7028 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7029 gdb.base/type-opaque.exp, gdb.base/until.exp,
7030 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7031 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7032 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7033 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7034 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7035 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7036 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7037 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7038 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7039 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7040 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7041 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7042 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7043 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7044 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7045 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7046 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7047 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7048 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7049 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7050 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7051 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7052 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7053 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7054 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7055 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7056 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7057 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7058 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7059 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7060 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7061 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7062 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7063 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7064 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7065 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7066 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7067 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7068 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7069 to bug-gdb@prep.ai.mit.edu .
7071 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7073 * lib/mi-support.exp (mi_load_shlibs): New.
7074 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7076 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7078 * lib/mi-support.exp (get_mi_thread_list)
7079 (check_mi_and_console_threads): New, moved from ...
7080 * gdb.mi/mi-pthread.exp: ...here.
7081 * gdb.mi/gdb669.exp (get_mi_thread_list)
7082 (check_mi_and_console_threads): Delete.
7083 * gdb.mi/mi2-pthread.exp: Likewise.
7085 2008-07-28 Tom Tromey <tromey@redhat.com>
7087 * Makefile.in (just-check): Remove. Move body to...
7090 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7092 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7093 Add a test for duplicated SIGINTs.
7095 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7097 * gdb.threads/schedlock.exp (get_args): Update to work for any
7099 (Top level): Report the number of threads that did not resume.
7101 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7103 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7105 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7107 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7110 2008-07-26 Tom Tromey <tromey@redhat.com>
7112 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7113 (function_struct, function_struct_ptr): New globals.
7114 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7115 function pointer in a struct.
7117 2008-07-26 Tom Tromey <tromey@redhat.com>
7119 * gdb.base/macscp.exp: Add test for macro lexing bug.
7121 2008-07-18 Tom Tromey <tromey@redhat.com>
7123 * gdb.base/macscp.exp: Add macro tests.
7125 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7127 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7129 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7131 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7133 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7135 * gdb.cp/class2.exp: fix for failure on spu-elf
7137 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7139 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7141 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7143 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7145 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7147 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7149 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7151 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7152 of regexp to account for changes made to GDB in the printing of
7155 2008-07-11 Tom Tromey <tromey@redhat.com>
7157 * gdb.base/completion.exp: Add 'help' completion test.
7159 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7161 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7163 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7165 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7167 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7169 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7171 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7173 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7175 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7177 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7179 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7181 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7182 previous commit. Add a comment.
7184 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7186 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7188 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7190 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7192 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7194 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7195 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7196 compiling an executable, link in an object that forces unbuffered
7198 * lib/set_unbuffered_mode.c: New file.
7200 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7202 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7204 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7206 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7208 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7209 Demand that *running is output.
7210 (detect_async): Perform checking every time.
7211 (mi_send_resuming_command): Extract everything into...
7212 (mi_send_resuming_command_raw): ...this.
7213 (mi_expect_stop): Don't accept any output before *stopped.
7215 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7217 Robustify mi-simplerun.
7218 * gdb.mi/basics.c (main): Add a call to sleep.
7219 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7220 * gdb.mi/mi2-cli.exp: Likewise.
7221 * gdb.mi/mi-break.exp: Likewise.
7223 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7225 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7227 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7229 * gdb.mi/mi-console.exp: Adjust.
7230 * gdb.mi/mi-syn-frame.exp: Adjust.
7231 * gdb.mi/mi2-console.exp: Adjust.
7232 * gdb.mi/mi2-syn-frame.exp: Adjust.
7233 * lib/mi-support.exp (mi_run_cmd): Adjust.
7234 (mi_send_resuming_command): Adjust.
7236 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7238 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7239 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7241 * gdb.mi/mi2-syn-frame.exp: Likewise.
7242 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7243 (async, detect_async): New.
7244 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7245 depending on if we're running in sync or async mode.
7247 2008-06-09 Tom Tromey <tromey@redhat.com>
7249 * gdb.base/completion.exp: New tests for field name completion
7250 with spaces, and field name completion with '->'.
7252 2008-06-06 Tom Tromey <tromey@redhat.com>
7254 * gdb.base/break1.c (struct some_struct): New struct.
7255 (values): New global.
7256 * gdb.base/completion.exp: Add field name completion test.
7258 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7260 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7262 * gdb.cp/call-c.cc: Likewise.
7264 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7266 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7269 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7270 Pedro Alves <pedro@codesourcery.com>
7272 * gdb.threads/execl.c, gdb.threads/execl1.c,
7273 gdb.threads/execl.exp: New tests.
7275 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7276 Daniel Jacobowitz <dan@codesourcery.com>
7278 * gdb.cp/exception.exp: Activate test, make it work with pending
7281 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7283 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7285 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7287 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7289 * gdb.mi/mi2-var-cmd.exp: Likewise.
7291 2008-05-27 Andreas Schwab <schwab@suse.de>
7293 * gdb.base/frame-args.exp: Handle arguments that are optimized
7296 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7298 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7299 quiet for ppc32 and group options into a single variable.
7301 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7303 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7304 of zero-size elements.
7305 * gdb.ada/null_array.exp: Test printing this new array.
7307 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7309 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7311 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7313 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7314 of the "finish" command.
7316 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7318 * gdb.base/annota1.exp: Test for new annotation.
7320 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7322 * gdb.base/fixsection.exp: New file.
7323 * gdb.base/fixsection0.c: New file.
7324 * gdb.base/fixsection1.c: New file.
7326 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7328 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7329 * gdb.base/annota3.exp: Likewise.
7331 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7333 * gdb.base/watch_thread_num.exp: Don't run tests that require
7334 watchpoints if the target doesn't support them.
7336 2008-05-12 Doug Evans <dje@google.com>
7338 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7340 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7342 * gdb.ada/assign_1.exp: New testcase.
7344 2008-05-09 Doug Evans <dje@google.com>
7346 * gdb.base/find.exp: New file.
7347 * gdb.base/find.c: New file.
7349 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7351 * gdb.base/commands.exp (watchpoint_command_test): Handle
7352 gdb,no_hardware_watchpoints.
7353 * gdb.base/float.exp: Allow ARM targets without floating point.
7354 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7356 2008-05-06 Jerome Guitton <guitton@adacore.com>
7357 Joel Brobecker <brobecker@adacore.com>
7359 * gdb.ada/lang_switch: New test program.
7360 * gdb.ada/lang_switch.exp: New testcase.
7362 2008-05-05 Doug Evans <dje@google.com>
7364 * gdb.base/help.exp (disassemble): Update expected help text.
7366 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7368 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7370 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7372 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7375 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7377 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7378 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7379 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7380 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7382 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7384 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7385 notification to appear.
7387 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7389 * gdb.base/fullname.c: New file.
7390 * gdb.base/fullname.exp: New file.
7391 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7393 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7395 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7396 expressions with macros.
7398 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7400 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7402 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7404 * gdb.base/completion.exp: Handle lack of other symbols beginning
7407 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7409 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7411 * gdb.asm/asmsrc1.s: Add scratch space.
7413 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7414 Daniel Jacobowitz <dan@codesourcery.com>
7416 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7417 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7418 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7420 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7422 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7424 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7426 * gdb.base/info-target.exp: New testcase.
7428 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7430 * gdb.cp/hang.exp: Use .cc instead of .C.
7431 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7432 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7434 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7436 * gdb.base/gdb1250.exp: Remove perror.
7437 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7439 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7441 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7444 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7446 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7449 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7451 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7453 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7455 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7456 * gdb.mi/mi2-syn-frame.exp: Likewise.
7457 * lib/mi-support.exp: Likewise.
7459 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7461 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7462 to specify regexp for the location to stop at.
7463 * gdb.base/break-always.c: New.
7464 * gdb.base/break-always.exp: New.
7466 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7468 * lib/mi-support.exp (mi_runto_helper): Adjust
7469 for the original-location field.
7470 (mi_create_breakpoint, mi_list_breakpoints): New.
7471 * gdb.mi/mi-break.exp: Adjust.
7472 * gdb.mi/mi2-break.exp: Adjust.
7473 * gdb.mi/mi-pending.exp: Adjust.
7474 * gdb.mi/mi-simplerun.exp: Adjust.
7475 * gdb.mi/mi2-simplerun.exp: Adjust.
7476 * gdb.mi/mi-syn-frame.exp: Adjust.
7477 * gdb.mi/mi2-syn-frame.exp: Adjust.
7478 * gdb.mi/mi-until.exp: Adjust.
7479 * gdb.mi/mi2-until.exp: Adjust.
7480 * gdb.mi/mi-var-display.exp: Adjust.
7481 * gdb.mi/mi2-var-display.exp: Adjust.
7482 * gdb.mi/mi-watch.exp: Adjust.
7483 * gdb.mi/mi2-watch.exp: Adjust.
7485 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7487 * aclocal.m4: Add override.m4.
7488 * configure: Regenerate.
7490 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7492 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7493 '-var-update --all-values' reports new value even the type
7494 of a variable object has changed.
7496 2008-04-18 Craig Silverstein <csilvers@google.com>
7498 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7501 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7503 * gdb.ada/atomic_enum: New test program.
7504 * gdb.ada/atomic_enum.exp: New testcase.
7506 2008-04-17 Doug Evans <dje@google.com>
7508 * gdb.opt/Makefile.in: Fix whitespace.
7510 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7512 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7514 2008-04-17 Doug Evans <dje@google.com>
7516 * gdb.base/hashline1.exp: New testcase.
7517 * gdb.base/hashline2.exp: New testcase.
7518 * gdb.base/hashline2.exp: New testcase.
7520 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7522 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7524 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7526 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7527 temporary breakpoint to match "Temporary breakpoint".
7528 * gdb.base/break.exp (delete_breakpoints): Likewise.
7529 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7530 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7531 * gdb.base/display.exp: Likewise.
7532 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7533 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7534 * gdb.base/restore.exp (restore_tests): Likewise.
7535 * gdb.base/sepdebug.exp: Likewise.
7536 * gdb.base/watchpoint.exp: Likewise.
7537 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7538 * gdb.mi/mi-pending.exp: Likewise.
7539 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7540 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7541 * gdb.mi/mi-var-cmd.exp: Likewise.
7542 * gdb.mi/mi-var-display.exp: Likewise.
7543 * gdb.mi/mi2-cli.exp: Likewise.
7544 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7545 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7546 * gdb.mi/mi2-var-display.exp: Likewise.
7547 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7548 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7550 (mi_expect_stop): Move after_reason argument to be really after
7551 reason. This is to support fix for PR2424.
7553 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7555 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7557 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7559 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7560 field. Add more floating varobj tests.
7561 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7563 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7564 (main): Call do_at_tests.
7565 * lib/mi-support.exp (mi_create_floating_varobj)
7566 (mi_varobj_update_with_type_change): New.
7568 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7570 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7571 option of -var-evaluate-expression.
7572 * gdb.mi/mi2-var-display.exp: Likewise.
7574 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7576 Introduce test setup helpers.
7577 * lib/gdb.exp (build_executable, clean_restart)
7578 (prepare_for_testing): New.
7579 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7580 * gdb.base/return.exp: Likewise.
7581 * gdb.base/ending-run.exp: Likewise.
7583 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7585 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7586 Interface (MI) responses.
7588 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7590 * gdb.cp/breakpoint.cc: New code to test conditions involving
7592 * gdb.cp/breakpoint.exp: Test condition involving member
7595 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7597 * lib/mi-support.exp (mi_expect_stop): New.
7598 (mi_run_cmd): Change the
7599 token. Use mi_send_resuming_command, use
7601 (mi_execute_to_helper): Rename to mi_execute_to.
7602 (mi_send_resuming_command): Add more error patterns.
7603 (mi_wait_for_stop): Renamed to...
7604 (mi_get_stop_line): ...this.
7605 (mi_run_inline_test): Adjust.
7607 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7608 * gdb.mi/mi-console.exp: Likewise.
7609 * gdb.mi/mi-pending.exp: Likewise.
7610 * gdb.mi/mi-simplerun.exp: Likewise.
7611 * gdb.mi/mi-stack.exp: Likewise.
7612 * gdb.mi/mi-stepi.exp: Likewise.
7613 * gdb.mi/mi-syn-frame.exp: Add comment.
7614 * gdb.mi/mi-until.exp: Likewise.
7615 * gdb.mi/mi-var-display.exp: Likewise.
7616 * gdb.mi/mi-watch.exp: Likewise.
7617 * gdb.mi/mi2-cli.exp: Likewise.
7618 * gdb.mi/mi2-console.exp: Likewise.
7619 * gdb.mi/mi2-simplerun.exp: Likewise.
7620 * gdb.mi/mi2-stack.exp: Likewise.
7621 * gdb.mi/mi2-stepi.exp: Likewise.
7622 * gdb.mi/mi2-until.exp: Likewise.
7623 * gdb.mi/mi2-var-display.exp: Likewise.
7624 * gdb.mi/mi2-watch.exp: Likewise.
7626 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7628 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7630 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7632 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7634 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7635 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7636 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7637 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7638 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7639 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7640 expect an mi error duplicated in stderr.
7642 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7644 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7645 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7646 Add a couple of tests that verify the behavior when the new setting
7647 is set to "cancel" and "all".
7648 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7649 "ask" before we start the testing.
7651 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7653 * gdb.cp/casts.cc: Add class reference variables.
7654 * gdb.cp/casts.exp: New test cases for up/down casting references.
7656 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7658 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7659 instead of beginning to make an extra test pass.
7660 * gdb.mi/mi2-var-display.exp: Likewise.
7662 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7664 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7666 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7667 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7669 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7670 value. Add xfail for older kernels.
7672 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7674 Bring mi-support in line with gdb.exp.
7675 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7676 (mi_gdb_start): New function.
7678 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7680 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7682 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7684 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7685 * gdb.mi/mi2-var-display.exp: Likewise.
7687 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7689 * lib/mi-support.exp (mi_create_varobj_checked): New.
7690 (mi_list_varobj_children): Allow to check for a
7692 (mi_list_array_varobj_children): New.
7694 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7695 and mi_list_varobj_children, as opposed to hardcoding
7697 * gdb.mi/gdb701.exp: Likewise.
7698 * gdb.mi/gdb792.exp: Likewise.
7699 * gdb.mi/mi-var-block.exp: Likewise.
7700 * gdb.mi/mi-var-cmd.exp: Likewise.
7701 * gdb.mi/mi-var-invalidate.exp: Likewise.
7702 * gdb.mi/mi2-var-block.exp: Likewise.
7703 * gdb.mi/mi2-var-child.exp: Likewise.
7704 * gdb.mi/mi2-var-cmd.exp: Likewise.
7705 * gdb.mi/mi2-var-display.exp: Likewise.
7707 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7709 Fix random false FAILs on i386.
7710 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7712 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7715 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7717 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7720 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7722 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7724 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7727 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7729 * gdb.threads/fork-child-threads.exp: Test next over fork.
7731 2008-03-21 Chris Demetriou <cgd@google.com>
7733 * gdb.base/break.exp (rbreak junk): New test for rbreak
7734 "Junk at end of arguments" issue.
7736 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7738 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7739 *& to work on created array elements.
7740 (Top level): Test print $pc with a file. Test string operations
7742 * gdb.base/ptype.exp: Do not expect *& to work on created array
7745 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7747 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7748 gdb.threads/staticthreads.exp: Update exit query.
7750 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7752 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7754 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7756 * gdb.base/watchpoint.c (global_ptr, func4): New.
7758 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7759 (test_inaccessible_watchpoint): New.
7761 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7763 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7766 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7768 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7769 frames-invalid annotations.
7771 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7773 * gdb.base/assign.exp: avoid same output for different tests.
7775 2008-02-27 Doug Evans <dje@google.com>
7777 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7779 (breakpoint_to_handler_entry): Ditto.
7781 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7783 * gdb.base/ending-run.exp: Use the first line of code inside
7784 function body to test breakpoints.
7785 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7786 location where the breakpoint is inserted when using the line
7787 where a function is declared. Fix typo in the description of
7789 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7791 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7793 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7796 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7798 * gdb.base/args.exp: avoid same output for tests
7801 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7803 * gdb.base/annota1.exp: Adjust for 'info break'
7805 * gdb.base/annota3.exp: Likewise.
7806 * gdb.base/break.exp: Likewise.
7807 * gdb.base/condbreak.exp: Likewise.
7808 * gdb.base/pending.exp: Likewise.
7809 * gdb.base/sepdebug.exp: Likewise.
7810 * gdb.base/unload.exp: Likewise.
7811 * gdb.cp/ovldbreak.exp: Likewise.
7812 * gdb.mi/mi-pending.exp: Likewise.
7814 2008-02-07 Doug Evans <dje@google.com>
7816 * gdb.cp/mb-inline.exp: New.
7817 * gdb.cp/mb-inline.h: New.
7818 * gdb.cp/mb-inline1.cc: New.
7819 * gdb.cp/mb-inline2.cc: New.
7821 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7823 * gdb.pascal/floats.pas: New test program.
7824 * gdb.pascal/floats.exp: New testcase.
7826 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7828 * gdb.base/callfuncs.c (t_float_many_args): New function.
7829 (t_double_many_args): New function.
7830 * gdb.base/callfuncs.exp: Add tests for exceeding float
7831 and double parameters passed through the stack.
7833 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7835 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7836 gdb.ada/complete/foo.adb: New files.
7837 * gdb.ada/complete.exp: New testcase.
7839 2008-02-03 Doug Evans <dje@google.com>
7841 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7843 * gdb.cp/gdb2384.exp: New file.
7844 * gdb.cp/gdb2384.cc: New file.
7845 * gdb.cp/gdb2384-base.h: New file.
7846 * gdb.cp/gdb2384-base.cc: New file.
7848 2008-02-02 Doug Evans <dje@google.com>
7850 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7852 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7854 * gdb.ada/sym_print_name: New test program.
7855 * gdb.ada/sym_print_name.exp: New testcase.
7857 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7859 * gdb.ada/nested/hello.adb: New file.
7860 * gdb.ada/nested.exp: New testcase.
7861 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7863 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7865 * gdb.mi/basic.c (return_1): New function.
7866 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7867 don't cause future evaluations of function to report
7868 creation of internal breakpoints.
7870 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7872 * gdb.mi/mi-break.exp (test_error): New.
7875 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7877 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7878 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7880 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7882 * gdb.pascal/integers.pas: New test program.
7883 * gdb.pascal/integers.exp: New testcase.
7885 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7887 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7889 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7891 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7892 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7894 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7896 * gdb.ada/formatted_ref: New test program.
7897 * gdb.ada/formatted_ref.exp: New testcase.
7899 * gdb.cp/formatted-ref.cc: New file.
7900 * gdb.cp/formatted-ref.exp: New testcase.
7902 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7904 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7906 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7908 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7909 (test_file_list_exec_source_file): Update to new macro-info field.
7911 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7913 * gdb.ada/exprs: New test program.
7914 * gdb.ada/exprs.exp: New testcase.
7916 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7918 * dfp-test.c (DELTA, DELTA_B): New definitions.
7919 (double_val1, double_val2, double_val3, double_val4, double_val5,
7920 double_val6, double_val7, double_val8, double_val9, double_val10,
7921 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7922 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7923 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7924 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7925 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7926 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7927 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7928 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7929 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7930 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7931 dec128_val16): New global variables.
7932 (decimal_dec128_align): New function.
7933 (decimal_mixed): Likewise.
7934 (decimal_many_args_dec32): Likewise.
7935 (decimal_many_args_dec64): Likewise.
7936 (decimal_many_args_dec128): Likewise.
7937 (decimal_many_args_mixed): Likewise.
7938 * dfp-test.exp: Add tests calling new inferior functions.
7940 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7942 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7943 gdb.server/ext-run.exp: New files.
7944 * lib/gdbserver-support.exp (gdbserver_download): New.
7945 (gdbserver_start): New. Update gdbserver expected
7947 (gdbserver_spawn): Use them.
7948 (gdbserver_start_extended): New.
7950 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7952 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7954 (do_exec_tests): Check for systems which do not support catchpoints.
7956 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7957 Run on GNU/Linux. Enable verbose output.
7958 (check_fork_catchpoints): New.
7959 (explicit_fork_child_follow, catch_fork_child_follow)
7960 (tcatch_fork_parent_follow): Update expected messages.
7961 (do_fork_tests): Use check_fork_catchpoints.
7962 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7963 Run on GNU/Linux. Enable verbose output.
7964 (check_vfork_catchpoints): New.
7965 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7967 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7969 2008-01-29 Jim Blandy <jimb@red-bean.com>
7971 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7973 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7975 2008-01-29 Jim Blandy <jimb@red-bean.com>
7977 * gdb.threads/sigthread.c: Use barriers to ensure that
7978 child_thread and child_thread_two are always initialized before we
7981 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7983 * gdb.base/watchpoint-solib.exp: New.
7984 * gdb.base/watchpoint-solib.c: New.
7985 * gdb.base/watchpoint-solib-shr.c: New.
7987 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7989 * gdb.base/gdb1056.exp: Add unsigned integer test.
7991 2008-01-28 Doug Evans <dje@google.com>
7993 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7995 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7997 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7999 * gdb.base/expand-psymtabs.exp: Doc fix.
8001 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8005 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8007 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8010 2008-01-23 Chris Demetriou <cgd@google.com>
8012 * gdb.threads/thread_events.c: New testcase source file.
8013 * gdb.threads/thread_events.exp: New testcase expect file.
8015 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8017 * lib/gdb.exp: Add the variable octal.
8019 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8022 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8023 Vladimir Prus <vladimir@codesourcery.com>
8025 * gdb.base/float.exp: Allow missing floating point for m68k and
8028 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8030 * gdb.mi/basics.c: Setup for testing breakpoints
8032 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8033 * gdb.mi/mi-cli.exp: Adjust.
8034 * gdb.mi/mi2-cli.exp: Adjust.
8036 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8038 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8039 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8040 with dummy_ptr's address.
8041 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8042 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8044 * gdb.mi/mi2-var-child.exp: Likewise.
8046 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8048 * gdb.ada/null_array: New test program.
8049 * gdb.ada/null_array.exp: New testcase.
8051 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8053 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8054 with required float modifiers.
8056 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8058 * gdb.ada/funcall_param: New test program.
8059 * gdb.ada/funcall_param.exp: New testcase.
8061 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8063 * gdb.ada/arrayparam: New test program.
8064 * gdb.ada/arrayparam.exp: New testcase.
8066 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8068 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8069 landed. Should also fix random failures in the test following it.
8071 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8073 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8074 for expressions with decimal float values.
8075 (test_dfp_conversions): New function to test casts to and from
8076 decimal float types.
8077 Call test_dfp_conversions.
8078 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8080 (main): Initialize ds.float4 and ds.double8 elements.
8081 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8082 string to new error message.
8083 (d64_set_tests): Likewise.
8084 (d128_set_tests): Likewise.
8085 Add tests for expressions with decimal float variables. Add tests for
8086 conversions to and from decimal float types.
8088 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8090 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8091 * gdb.ada/packed_tagged.exp: New testcase.
8093 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8095 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8096 gdb.ada/homonym/homonym_main.adb: New files.
8097 * gdb.ada/homonym.exp: New testcase.
8099 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8101 * gdb.ada/packed_array.exp: Add testing of references to
8104 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8106 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8108 * gdb.ada/type_coercion.exp: New testcase.
8110 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8112 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8113 gdb.ada/tagged/foo.adb: New file.
8114 * gdb.ada/tagged.exp: New testcase.
8116 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8118 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8119 gdb.ada/ptype_field/foo.adb: New files.
8120 * gdb.ada/ptype_field.exp: New testcase.
8122 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8124 * gdb.ada/print_pc.exp: New testcase.
8126 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8128 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8129 gdb.ada/taft_type/p.adb: New files.
8130 * gdb.ada/taft_type.exp: New testcase.
8132 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8134 * gdb.ada/array_bounds/bar.adb: New file.
8135 * gdb.ada/array_bounds.exp: New testcase.
8137 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8139 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8140 gdb.ada/arrayptr/foo.adb: New files.
8141 * gdb.ada/arrayptr.exp: New testcase.
8143 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8145 * gdb.base/set-lang-auto.exp: New testcase.
8147 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8149 * gdb.ada/fun_addr/foo.adb: New file.
8150 * gdb.ada/fun_addr.exp: New testcase.
8152 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8154 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8157 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8159 * array_subscript_addr/p.adb: New file.
8160 * array_subscript_addr.exp: New testcase.
8162 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8164 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8166 * gdb.ada/str_cmp_ref.exp: New testcase.
8168 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8170 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8171 gdb.ada/fun_in_declare/foo.adb: New files.
8172 * gdb.ada/fun_in_declare.exp: New testcase.
8174 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8176 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8177 gdb.ada/ref_param/pck.ads: New files.
8178 * gdb.ada/ref_param.exp: New testcase.
8180 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8182 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8183 gdb.ada/interface/foo.adb: New files.
8184 * gdb.ada/interface.exp: New testcase.
8186 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8188 * gdb.base/multi-forks.exp: Consume all output from child
8189 processes before proceeding to next test.
8191 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8193 * configure: Regenerated.
8195 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8197 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8198 gdb.ada/fixed_cmp/fixed.adb: New files.
8199 * gdb.ada/fixed_cmp.exp: New testcase.
8201 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8203 * gdb.ada/boolean_expr.exp: New testcase.
8205 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8207 * gdb.base/multi-forks.exp: Doc fix.
8209 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8211 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8212 * gdb.ada/char_param.exp: Do not compile our test program with
8213 -gnata, this is unnecessary.
8214 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8216 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8218 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8219 gdb.ada/print_chars/foo.adb: New files.
8220 * gdb.ada/print_chars.exp: New testcase.
8222 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8224 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8225 gdb.ada/char_param/foo.adb: New files.
8226 * gdb.ada/char_param.exp: New testcase.
8228 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8230 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8231 hard-coding source line numbers into the test.
8232 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8233 gdb_get_line_number to find.
8235 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8237 * gdb.base/ptype.c (highest): New struct type.
8238 (the_highest): New variable of that type.
8239 (main): Add dummy assignment to a field of variable the_highest.
8240 * gdb.base/ptype.exp: Test type printing of our new variable.
8242 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8244 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8245 and record first explicitly generated thread number.
8246 Use that thread number for thread specific watchpoint test.
8247 Add iteration number to repetitive tests.
8249 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8250 Jim Blandy <jimb@codesourcery.com>
8252 * gdb.base/expand-psymtabs.c: New testcase
8254 * gdb.base/expand-psymtabs.exp: New testcase
8257 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8259 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8260 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8262 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8264 * gdb.ada/frame_args/foo.adb: New file.
8265 * gdb.ada/frame_args/pck.ads: New file.
8266 * gdb.ada/frame_args/pck.adb: New file.
8267 * gdb.ada/frame_args.exp: New testcase.
8269 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8271 * gdb.base/frame-args.c: New file.
8272 * gdb.base/frame-args.exp: New testcase.
8274 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8275 Joseph Myers <joseph@codesourcery.com>
8277 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8279 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8281 * gdb.mi/mi-pending.exp: New.
8282 * gdb.mi/mi-pending.c: New.
8283 * gdb.mi/mi-pendshr.c: New.
8285 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8287 * gdb.base/default.exp: Update expected output for 'info catch'.
8289 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8291 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8292 must be set to binary.
8294 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8296 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8298 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8300 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8301 gdb.mi/mi-file-transfer.exp: New.
8303 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8305 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8307 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8309 * gdb.trace/backtrace.exp: Fix a typo.
8310 * gdb.trace/circ.exp: Likewise.
8311 * gdb.trace/collection.exp: Likewise.
8312 * gdb.trace/limits.exp: Likewise.
8313 * gdb.trace/report.exp: Likewise.
8314 * gdb.trace/tfind.exp: Likewise.
8315 * gdb.trace/while-dyn.exp: Likewise.
8317 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8319 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8320 objects of pointers that can't be dereferenced are now
8323 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8325 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8326 (target_cpu): Remove.
8328 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8330 * gdb.base/ending-run.exp: Expect the list of cleared
8331 breakpoint to come in natural order, not the reversed one.
8333 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8335 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8336 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8338 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8340 * gdb.base/printcmds.exp: New function
8341 test_printf_with_dfp.
8343 2007-11-02 Doug Evans <dje@google.com>
8345 * gdb.disasm/t01_mov.s: Remove carriage returns.
8346 * gdb.disasm/t02_mova.s: Ditto.
8347 * gdb.disasm/t03_add.s: Ditto.
8348 * gdb.disasm/t04_sub.s: Ditto.
8349 * gdb.disasm/t05_cmp.s: Ditto.
8350 * gdb.disasm/t06_ari2.s: Ditto.
8351 * gdb.disasm/t07_ari3.s: Ditto.
8352 * gdb.disasm/t08_or.s: Ditto.
8353 * gdb.disasm/t09_xor.s: Ditto.
8354 * gdb.disasm/t10_and.s: Ditto.
8355 * gdb.disasm/t11_logs.s: Ditto.
8356 * gdb.disasm/t12_bit.s: Ditto.
8357 * gdb.disasm/t13_otr.s: Ditto.
8359 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8361 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8363 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8365 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8366 provide DFP support.
8368 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8370 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8371 Test "set powerpc vector-abi". Skip auto-detection tests for old
8374 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8376 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8377 with [string compare].
8379 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8381 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8382 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8384 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8386 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8387 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8388 * gdb.opt/Makefile.in: New makefile.
8389 * Makefile.in: Create new directory "gdb.opt".
8390 * configure.ac: Add "gdb.opt" directory.
8391 * configure: Regenerated.
8393 2007-10-25 Doug Evans <dje@google.com>
8395 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8396 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8398 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8399 Thiago Jung Bauermann <bauerman@br.ibm.com>
8401 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8402 Floating Point expressions.
8403 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8404 Floating Point variables.
8405 * gdb.base/dfp-test.c: new file containing program with Decimal
8406 Floating variables, used by gdb.base/dfp-test.exp.
8408 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8410 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8412 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8414 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8415 compiling test case with GCC.
8416 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8418 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8420 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8423 2007-10-18 Michael Snyder <msnyder@specifix.com>
8425 * gdb.base/dbx.exp: Add missing "-re " operator.
8427 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8429 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8430 * configure.ac: Removed trailing spaces after backslash.
8431 * gdb.modula2: New directory.
8432 * gdb.modula2/Makefile.in: New file.
8433 * gdb.modula2/unbounded-array.exp: New file.
8434 * gdb.modula2/unbounded1.c: New file.
8436 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8438 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8440 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8442 * gdb.base/sigstep.c (main): Add checks for
8443 return values for setitimer call.
8444 Call setitimer again with itimer = ITIMER_REAL
8445 if first call to setitimer fails.
8447 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8449 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8452 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8454 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8456 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8458 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8459 of gdb_expect call, to avoid interruption.
8461 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8463 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8464 (v_unsigned_long_long, v_long_long_array)
8465 (v_signed_long_long_array, v_unsigned_long_long_array)
8466 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8467 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8468 [!NO_LONG_LONG]: New.
8469 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8472 (v_long_long_func, v_signed_long_long_func)
8473 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8474 (main) [!NO_LONG_LONG]: Initialize long long variants.
8476 * gdb.base/whatis.exp: If board file requests no_long_long, build
8477 test with NO_LONG_LONG defined. Test long long, signed long long,
8478 and unsigned long long variants but only if board file doesn't
8481 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8482 Daniel Jacobowitz <dan@codesourcery.com>
8484 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8485 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8486 * configure: Regenerated.
8487 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8488 gdb.pascal/types.exp, lib/pascal.exp: New files.
8490 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8492 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8494 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8495 to return to the call.
8496 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8497 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8498 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8499 * gdb.mi/mi-until.exp (test_until): Likewise.
8500 * gdb.mi/mi2-until.exp (test_until): Likewise.
8502 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8504 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8506 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8508 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8510 * gdb.threads/watchthreads.c (thread_function): Sleep between
8512 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8513 at once for S/390. Generate matching fails and passes.
8515 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8517 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8518 the 'struct_declarations' variable to zeros.
8520 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8522 * gdb.cp/mb-ctor.cc: New.
8523 * gdb.cp/mb-ctor.exp: New.
8524 * gdb.cp/mb-templates.cc: New.
8525 * gdb.cp/mb-templates.exp: New.
8527 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8529 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8531 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8533 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8535 * configure: Regenerate.
8537 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8539 * gdb.base/annota1.exp: Adjust for 'info break'
8541 * gdb.base/annota3.exp: Likewise.
8542 * gdb.base/break.exp: Likewise.
8543 * gdb.base/condbreak.exp: Likewise.
8544 * gdb.base/pending.exp: Likewise.
8545 * gdb.base/sepdebug.exp: Likewise.
8546 * gdb.base/unload.exp: Likewise.
8547 * gdb.base/ovldbreak.exp: Likewise.
8549 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8551 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8553 * gdb.base/chng-syms.exp: Likewise.
8554 * gdb.base/unload.exp: Likewise.
8556 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8558 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8560 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8562 * schedlock.c (NUM): Change to 1.
8563 (main): Use args[0] for the main thread.
8564 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8565 regardless of the number of threads.
8567 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8569 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8571 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8573 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8574 watchpoint type down.
8575 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8578 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8580 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8581 Move all the tests here and run them twice, once using software
8582 watchpoints and once using hardware watchpoints.
8583 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8585 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8587 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8590 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8592 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8595 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8596 know about $ORIGIN. Calculate output dir from $dest instead of
8597 using ${objdir}/{$subdir}.
8599 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8601 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8602 gcore, before continuing with the test.
8604 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8606 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8607 * gdb.mi/mi-watch.exp: Likewise.
8609 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8610 Jim Blandy <jimb@codesourcery.com>
8612 * gdb.arch/i386-sse.exp: Do not expect character constants.
8613 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8614 * gdb.base/display.exp: Allow print/s.
8615 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8616 and unsigned char array changes.
8618 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8620 * gdb.base/display.exp: Add tests for printf %p.
8622 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8624 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8625 the dll name to unicode.
8627 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8629 * gdb.base/default.exp (show version): Update the version text.
8630 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8632 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8634 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8637 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8639 * lib/gdb.exp (build_id_debug_filename_get): New function.
8640 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8641 Remove the generate DEBUG file for the future testcase runs.
8642 New testcase for the NT_GNU_BUILD_ID retrieval.
8643 Move the final testing step to ...
8644 (test_different_dir): ... a new function.
8645 New parameter XFAIL to XFAIL all the tests performed.
8646 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8647 New parameter TYPE to PF_PREFIX all the tests performed.
8649 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8651 * gdb.mi/mi-var-cp.cc (path_expression): New
8653 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8655 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8657 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8658 to fit into SPU Local Store memory.
8660 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8662 * gdb.base/default.exp: Adjust the expected output of "info
8663 warranty" after the switch to GPLv3.
8665 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8667 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8668 to 30000 (from 20000).
8670 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8672 Switch the license of all .exp files to GPLv3.
8673 Switch the license of all .f and .f90 files to GPLv3.
8674 Switch the license of all .s and .S files to GPLv3.
8676 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8678 * configure.ac: Switch license to GPLv3.
8680 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8682 Switch the licensing to GPLv3 for all .ads and .adb files.
8684 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8686 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8688 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8690 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8692 * gdb.base/step-line.c: Switch license to GPL version 3, and
8693 update copyright year.
8694 * gdb.base/step-line.inp: Likewise.
8696 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8698 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8699 changes inside gdb1555.c.
8700 * gdb.base/pending.exp: Likewise.
8702 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8704 * config/default.exp: New file.
8706 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8708 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8709 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8711 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8713 * gdb.base/dump.exp: Force the correct endianness for binary
8714 formats not carrying this information.
8716 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8718 * gdb.threads/staticthreads.exp: Match .*sem_post.
8720 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8722 * gdb.base/readline.exp (operate_and_get_next): Match the final
8725 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8727 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8730 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8732 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8733 prior to `gdb_start'.
8735 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8737 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8738 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8739 Remove call to gdb_unload.
8741 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8742 Daniel Jacobowitz <dan@codesourcery.com>
8744 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8746 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8747 * gdb.base/unload.exp: Use shared library test routines.
8749 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8751 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8752 * gdb.base/solib-symbol-lib.c: Likewise.
8753 * gdb.base/solib-symbol-main.c: Likewise.
8755 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8757 * config/gdbserver.exp (gdb_reconnect): New.
8758 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8759 gdb.base/solib-disc.exp: New files.
8760 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8762 (gdb_compile): Add shlib_load flag.
8763 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8765 (gdbserver_reconnect): New.
8767 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8768 Daniel Jacobowitz <dan@codesourcery.com>
8770 * gdb.base/annota3.exp: Test for if construct.
8772 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8774 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8776 2007-06-21 Chris Dearman <chris@mips.com>
8777 Maciej W. Rozycki <macro@mips.com>
8779 * gdb.base/display.exp: Allow a newline after display/i.
8780 * gdb.base/pc-fp.exp: Likewise.
8781 * gdb.base/sigbpt.exp: Likewise.
8783 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8785 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8786 required features to be included.
8788 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8790 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8791 in info threads output.
8793 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8794 Markus Deuling <deuling@de.ibm.com>
8796 * gdb.arch/spu-info.exp: New testcase.
8797 * gdb.arch/spu-info.c: New file.
8799 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8801 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8802 tpcs_offset. Restore lr after the call.
8803 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8805 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8807 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8808 (gdbserver_run): Kill any running gdbserver.
8809 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8811 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8813 * gdb.base/sigbpt.exp: Preset segv_addr.
8815 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8817 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8818 (gdb_compile_shlib): Likewise.
8819 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8820 (default_gdb_init): Clear cleanfiles.
8821 (gdb_finish): Delete recorded cleanfiles.
8822 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8824 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8825 Do not use isnative.
8826 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8827 gdb.base/so-impl-ld.exp: Likewise.
8828 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8829 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8832 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8834 * config/unknown.exp: Remove.
8836 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8838 * gdb.base/info-proc.exp: Check is_remote.
8840 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8842 * gdb.base/gcore.exp: Initialize variable core_supported.
8844 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8846 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8848 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8850 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8851 * gdb.threads/print-threads.exp (test_all_threads): Allow
8852 negative and hexadecimal thread IDs.
8854 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8856 * gdb.java/jprint.java (public): Avoid invalid call to static
8859 2007-05-14 Denis Pilat <denis.pilat@st.com>
8861 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8862 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8863 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8864 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8865 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8867 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8869 * gdb.base/overlays.exp: Add support for targets with only code
8870 overlay support, not data overlay. Support spu-*-* target in
8872 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8873 * gdb.base/spu.ld: New file.
8875 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8877 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8879 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8881 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8883 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8885 * gdb.java/jmain.exp: Handle demangled names with and without method
8888 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8890 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8891 (have_a_very_merry_interrupt): Remove calls to puts.
8892 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8894 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8897 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8898 Daniel Jacobowitz <dan@codesourcery.com>
8900 * gdb.base/auxv.exp (core_works): Also check is_remote.
8901 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8903 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8905 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8906 message, not the undefined 'module' variable.
8907 * gdb.base/siginfo.exp: Likewise.
8908 * gdb.base/sigstep.exp: Likewise.
8909 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8911 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8913 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8915 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8916 target sim fails. Return 0 otherwise.
8917 (gdb_load): Return prematurely if gdb_target_sim fails.
8919 2007-04-16 Denis Pilat <denis.pilat@st.com>
8921 * gdb.base/setshow.exp: Reset height after having set it to 100.
8923 2007-04-16 Denis Pilat <denis.pilat@st.com>
8925 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8927 2007-04-16 Denis Pilat <denis.pilat@st.com>
8929 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8931 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8933 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8934 tests. Run the frozen varobjs test.
8935 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8936 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8938 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8940 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8941 gdb.base/type-opaque.exp: New files.
8943 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8945 * gdb.mi/mi-var-child.c
8946 (do_children_tests): User char[2] instead of
8947 char so that automatic printing of pointers to char
8948 don't give unpredicable result.
8949 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8951 * gdb.mi/mi-var-child.exp: Step to right line
8952 of do_children_tests.
8953 * gdb.mi/mi2-var-child.exp: Likewise.
8954 * gdb.mi/mi-var-cmd.exp: Step to right line of
8956 (do_children_tests): User char[2] instead of
8957 char so that automatic printing of pointers to char
8958 don't give unpredicable result.
8959 * gdb.mi/mi2-var-cmd.exp: Likewise.
8960 * lib/mi-support.exp (mi_continue_to_line):
8961 Pass test name to mi_wait_for_stop.
8963 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8965 * gdb.asm/asm-source.exp: Remove d10v case.
8966 * lib/gdb.exp (skip_cplus_tests): Likewise.
8967 * gdb.asm/d10v.inc: Deleted.
8969 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8971 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8973 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8975 * config/netware.exp: Delete file.
8977 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8979 * gdb.dwarf2/dw2-noloc.S: New file.
8980 * gdb.dwarf2/dw2-noloc.exp: New file.
8982 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8984 * gdb.cp/method2.cc: New test.
8985 * gdb.cp/method2.exp: New test.
8986 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8988 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8990 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8992 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8994 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8996 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8998 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8999 (gdb_load): Delete, replace with...
9000 (gdb_reload): ...this.
9001 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9002 * gdb.server/server-mon.exp: Likewise.
9003 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9004 (gdb_start_cmd): New.
9005 (gdb_file_cmd): Save the last loaded file.
9007 (gdb_gnu_strip_debug): Use transform.
9008 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9009 support here. Use new $last_loaded_file. Check mtime.
9010 (gdb_target_cmd): Handle ObjC failure case.
9011 (infer_host_exec): Delete.
9012 (gdbserver_load): Rename to...
9013 (gdbserver_run): ...this. Simplify.
9014 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9015 (mi_gdb_load): Move most contents to a new function...
9016 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9017 (mi_run_cmd): Use mi_gdb_target_load.
9018 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9019 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9021 * gdb.base/charsign.exp: Remove incorrect comment.
9022 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9023 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9024 gdb.base/start.exp: Use gdb_start_cmd.
9026 2007-03-23 Nigel Stephens <nigel@mips.com>
9027 Maciej W. Rozycki <macro@mips.com>
9029 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9030 * gdb.base/signull.exp: Similarly.
9032 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9034 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9035 messages available to test cases (like chng-sym.exp).
9037 2007-03-14 Andreas Schwab <schwab@suse.de>
9039 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9042 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9044 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9046 (main): Call optimized_1.
9047 (gdb2029): Correct typos. Call gdb2029_marker.
9048 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9051 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9053 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9054 as tabs. Remove redundant test pattern.
9056 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9058 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9059 for /a format output.
9061 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9063 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9064 collect output incrementally.
9066 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9068 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9069 for -var-create lpcharacter test.
9070 * gdb.mi/mi2-var-cmd.exp: Likewise.
9072 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9074 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9075 pass on targets where address zero is readable.
9077 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9079 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9080 just a single architecture.
9082 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9084 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9085 (fetch_all_registers): New function, uses gdb_test_multiple and
9086 exp_continue to fetch inferior output line-by-line.
9087 Replace all uses of do_get_all_registers by fetch_all_registers.
9089 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9091 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9094 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9096 * gdb.threads/manythreads.exp: Use $message string for
9097 consistancy; add a default (timeout) case.
9099 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9101 * gdb.base/watchpoint.exp: Fix truncated comment.
9103 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9105 * Makefile.in: Remove spurious single-quotes from sed command.
9107 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9109 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9111 * gdb.mi/mi2-var-cmd.exp: Likewise.
9113 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9115 * gdb.dwarf2/dw2-producer.S: New file.
9116 * gdb.dwarf2/dw2-producer.exp: New testcase.
9118 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
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 Revert tests to use mi_gdb_test and include value field in output
9128 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9130 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9132 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9134 * gdb.base/maint.exp: Remove full paths from test names.
9135 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9136 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9138 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9140 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9142 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9144 * gdb.server/server-mon.exp: New test.
9146 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9148 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9150 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9152 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9153 register capitalization.
9155 2007-02-13 Denis Pilat <denis.pilat@st.com>
9157 * gdb.mi/mi-var-invalidate.exp: New file.
9159 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9161 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9163 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9165 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9167 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9169 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9170 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9172 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9174 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9175 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9176 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9177 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9178 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9179 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9180 Update tests to include value field in output of -var-create.
9182 2007-02-08 Andreas Schwab <schwab@suse.de>
9184 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9186 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9188 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9189 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9191 2007-02-02 Denis Pilat <denis.pilat@st.com>
9193 * gdb.threads/threadapply.exp: check that frame is not changed by
9194 the thread apply all command.
9196 2007-01-31 Andreas Schwab <schwab@suse.de>
9198 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9200 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9201 in the dwarf sections.
9202 * gdb.dwarf2/mac-fileno.S: Likewise.
9204 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9205 bspstore register on ia64.
9207 2007-01-29 Andreas Schwab <schwab@suse.de>
9209 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9210 "frame-begin" annotation.
9212 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9213 number of "frames-invalid" annotations.
9215 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9217 * gdb.base/commands.exp: Call if_commands_test.
9218 (gdb_test_no_prompt, if_commands_test): New.
9220 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9222 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9224 2007-01-27 Andreas Schwab <schwab@suse.de>
9226 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9227 .short/.int/.quad in the dwarf sections.
9228 * gdb.dwarf2/dw2-intercu.S: Likewise.
9229 * gdb.dwarf2/dw2-intermix.S: Likewise.
9231 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9233 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9234 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9236 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9237 * gdb.base/setvar.exp: Likewise.
9239 2007-01-26 Andreas Schwab <schwab@suse.de>
9241 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9244 * gdb.base/multi-forks.exp ("restart $i"): Also match
9245 __kernel_syscall_via_break.
9247 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9249 * lib/mi-support.exp (mi_delete_varobj): New.
9250 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9252 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9253 (main): Call the above.
9254 (reference_update_test, base_in_reference_test)
9255 (reference_to_pointer): Delete the created varobjs.
9257 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9259 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9260 * configure: Regenerated.
9261 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9262 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9263 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9264 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9265 * lib/gdb.exp (gdb_skip_xml_test): New function.
9267 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9269 * gdb.base/sigrepeat.exp: Correct error message.
9271 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9272 Daniel Jacobowitz <dan@codesourcery.com>
9274 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9275 gdb.arch/i386-gnu-cfi-asm.S: New files.
9277 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9279 * lib/gdb.exp: Abort on missing `site.exp'.
9281 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9282 Daniel Jacobowitz <dan@codesourcery.com>
9284 * gdb.base/included.c, gdb.base/included.exp,
9285 gdb.base/included.h: New files.
9287 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9289 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9290 (maximize_rlimit): Reduce limits on 64-bit systems.
9292 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9294 From Marcus Deuling <deuling@de.ibm.com>:
9295 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9298 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9300 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9301 (test_path_specification): Use objdir instead of srcdir to always
9302 get an absolute filename.
9304 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9306 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9308 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9310 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9311 Make sure the variable we're using is in scope.
9312 (reference_to_pointer): Likewise.
9314 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9316 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9317 has no debug information.
9319 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9321 * gdb.base/annota1.exp: Remove extra send_gdb.
9323 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9325 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9327 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9329 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9331 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9332 Daniel Jacobowitz <dan@codesourcery.com>
9334 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9335 lcharacter or linteger change. Correct duplicated test name.
9336 * gdb.mi/mi2-var-cmd.exp: Likewise.
9338 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9340 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9342 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9344 * gdb.base/nofield.c: New file.
9345 * gdb.base/nofield.exp: New testcase.
9347 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9349 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9351 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9354 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9356 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9358 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9360 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9363 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9365 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9366 Expect ".exe" extension.
9368 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9370 * gdb.base/charset.exp: Add explicit filename to break.
9371 * gdb.base/dbx.exp: Add explicit filename to breaks.
9373 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9375 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9376 * gdb.mi/mi2-file.exp: Likewise.
9378 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9380 Implement specification of MI tests as comments
9381 in C and C++ sources.
9382 * lib/mi-support.exp (mi_autotest_data): New variable.
9383 (mi_autotest_source): New variable.
9384 (count_newlines, mi_prepare_inline_tests)
9385 (mi_get_inline_test, mi_continue_to_line)
9386 (mi_run_inline_test, mi_tbreak)
9387 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9388 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9390 * gdb.mi/mi-var-cp.cc: Define tests here.
9392 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9394 Simplify usage of mi_continue_to.
9395 * lib/mi-support.exp (mi_runto_helper): Renamed
9396 from mi_runto, added new parameter 'run_or_continue'.
9397 (mi_runto): Use mi_runto_helper.
9398 (mi_continue_to): Accept just function name as parameter.
9399 Use mi_runto_helper.
9400 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9401 * gdb.mi/mi2-var-cmd.exp: Likewise.
9403 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9405 Make this testcase a bit more realistic. The current code
9406 is too simplistic, and allows the compiler to optimize out
9407 some of the entities we need for this testcase.
9408 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9409 (Do_Nothing): Add extra parameter.
9410 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9411 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9412 by using a variable of type Void_Star.
9414 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9416 * gdb.ada/catch_ex/foo.adb: New file.
9417 * gdb.ada/catch_ex.exp: New testcase.
9419 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9421 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9422 pass --image-base to linker.
9424 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9425 Daniel Jacobowitz <dan@codesourcery.com>
9427 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9430 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9432 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9433 output. Test the types of members and member pointers.
9434 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9436 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9437 statement. Enable for GCC. Update expected output for some tests
9438 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9440 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9441 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9442 (Diamond::vget_base): New.
9443 (main): Add new tests.
9444 * gdb.cp/printmethod.exp: Update expected output for member functions.
9445 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9448 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9450 * gdb.threads/tls.exp: Allow stops in sem_post.
9452 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9454 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9455 * gdb.base/annota3.exp: Likewise.
9456 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9457 again (instead of timing out).
9458 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9460 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9461 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9462 test from jmisc1.exp.
9463 * gdb.java/jmisc1.exp: Delete.
9464 * gdb.java/jprint.exp: Adjust to work with method signatures including
9466 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9467 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9468 * lib/java.exp (compile_java_from_source): Pass the correct type
9471 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9473 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9474 (stack_align_edx): New function.
9475 (stack_align_eax): New function.
9476 (main): Add calls to stack_align_edx and stack_align_eax.
9477 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9478 Add testing for the cases where the register used during a stack
9479 realignment is edx. Same for eax.
9481 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9483 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9484 and generic PE targets.
9486 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9488 * gdb.ada/array_return.exp: Update copyright date list.
9490 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9492 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9493 (Create_Small_Float_Vector): New function.
9494 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9496 * gdb.ada/array_return/p.adb: Use new type and function from
9498 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9499 able to print the value returned by a function returning an
9502 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9504 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9505 The associated tests should be PASSing.
9507 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9509 Test for base in references.
9510 * gdb.mi/mi-var-cp.cc: Add test code.
9511 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9512 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9513 * gdb.mi/mi2-watch.exp: Likewise.
9514 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9515 (mi_list_varobj_children): New function.
9517 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9519 * lib/mi-support.exp
9520 (mi_runto): Accept "()" after function name.
9521 (mi_create_varobj): New function.
9522 (mi_varobj_update): New function.
9523 (mi_Check_varobj_value): New function.
9524 * gdb.mi/mi-var-cp.exp: New file.
9525 * gdb.mi/mi-var-cp.cc: New file.
9527 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9529 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9530 gdb.base/weaklib2.c: New files.
9532 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9534 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9535 info. Adjust test names.
9537 * gdb.base/break.c (main): Move position of malloc.
9538 * gdb.base/break.exp: Revert mistaken checkin.
9540 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9542 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9543 assignement of arrays and function pointers.
9544 * gdb.mi/var-cmd.c: Add declaration necessary for above
9547 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9549 * gdb.base/break.c (main): Call malloc.
9551 * gdb.threads/linux-dp.exp: Read thread table before and after
9552 creating each philosopher and verify it.
9554 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9555 Paul Brook <paul@codesourcery.com>
9556 Daniel Jacobowitz <dan@codesourcery.com>
9558 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9559 main to remove duplication. Add start function of the form
9560 '_*start[1-9]*'. Add RVDS start function.
9562 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9564 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9566 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9568 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9569 * gdb.asm/spu.inc: New file.
9570 * gdb.base/term.exp: Disable if [target_info exists noargs].
9571 * gdb.gdb/complaints.exp: Disable if ![isnative].
9572 * gdb.gdb/selftest.exp: Likewise.
9573 * gdb.gdb/observer.exp: Likewise.
9574 * gdb.gdb/xfullpath.exp: Likewise.
9575 * gdb.base/attach.exp: Disable on SPU target.
9576 * gdb.cp/bs145503.exp: Likewise.
9577 * gdb.cp/exception.exp: Likewise.
9578 * gdb.cp/userdef.exp: Likewise.
9580 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9582 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9584 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9586 * gdb.base/completion.exp: Fix completion tests for
9588 * gdb.base/help.exp (help_test_raw, test_class_help)
9589 (test_prefix_command_help): Move...
9590 * lib/gdb.exp: Here.
9591 * gdb.base/main.exp: Adjust.
9592 * gdb.cp/maint.exp: Adjust.
9593 * gdb.trace/tracecmd.exp: Use test_help_class.
9595 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9597 * gdb.stabs/weird.exp (print_weird_var): Use
9598 gdb_test_multiple instead of gdb_expect.
9600 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9602 * gdb.base/help.exp (help_test_raw): New.
9603 (test_class_help): New.
9604 (test_prefix_command_help): New.
9607 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9609 * gdb.base/constvars.c (main): Write to crass and crips, so that
9610 they are allocated by the compiler.
9612 2006-10-27 Andreas Schwab <schwab@suse.de>
9614 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9617 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9619 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9622 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9624 * gdb.base/sepdebug.exp: Remove debug format test.
9625 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9627 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9629 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9631 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9632 int to pointer or pointer to int.
9633 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9635 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9637 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9639 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9641 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9643 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9646 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9648 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9650 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9651 the corresponding bug has been fixed in GDB (PR/2018).
9653 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9655 * gdb.base/subst.exp: New testcase.
9657 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9659 * gdb.ada/array_return/pck.ads: Add copyright notice.
9660 * gdb.ada/array_return/pck.adb: Likewise.
9661 * gdb.ada/array_return/p.adb: Likewise.
9662 * gdb.ada/exec_changed/first.adb: Likewise.
9663 * gdb.ada/exec_changed/second.adb: Likewise.
9665 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9667 * gdb.ada/watch_arg/watch.adb: New file.
9668 * gdb.ada/watch_arg.exp: New testcase.
9670 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9672 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9673 via string_to_regexp.
9674 * gdb.mi/mi2-basics.exp: Likewise.
9676 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9678 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9679 Remove unused / obsolete files.
9681 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9683 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9685 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9687 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9688 HIGH_FRAME argument to -stack-list-arguments can be larger than
9689 the number of frames.
9691 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9693 * gdb.base/args.c (main): Add breakpoint marker.
9694 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9695 really test empty arguments.
9696 (args_load): Delete.
9699 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9701 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9704 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9706 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9707 HIGH_FRAME argument to -stack-list-locals can be larger than
9708 the number of frames.
9710 2006-08-18 Fred Fish <fnf@specifix.com>
9712 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9713 '$' in front of skip_vmx_tests_saved when setting that.
9715 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9717 * gdb.base/trace-commands.exp: New file.
9719 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9720 Daniel Jacobowitz <dan@codesourcery.com>
9722 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9723 expected output of the backtrace commands.
9725 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9727 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9728 untested followed by return combination.
9729 * gdb.arch/altivec-regs.exp: Likewise.
9730 * gdb.arch/e500-abi.exp: Likewise.
9731 * gdb.arch/e500-regs.exp: Likewise.
9732 * gdb.arch/gdb1291.exp: Likewise.
9733 * gdb.arch/gdb1431.exp: Likewise.
9734 * gdb.arch/gdb1558.exp: Likewise.
9735 * gdb.arch/i386-prologue.exp: Likewise.
9736 * gdb.arch/i386-unwind.exp: Likewise.
9737 * gdb.asm/asm-source.exp: Likewise.
9738 * gdb.base/a2-run.exp: Likewise.
9739 * gdb.base/advance.exp: Likewise.
9740 * gdb.base/all-bin.exp: Likewise.
9741 * gdb.base/annota1.exp: Likewise.
9742 * gdb.base/annota3.exp: Likewise.
9743 * gdb.base/args.exp: Likewise.
9744 * gdb.base/arithmet.exp: Likewise.
9745 * gdb.base/assign.exp: Likewise.
9746 * gdb.base/async.exp: Likewise.
9747 * gdb.base/attach.exp: Likewise.
9748 * gdb.base/bang.exp: Likewise.
9749 * gdb.base/bigcore.exp: Likewise.
9750 * gdb.base/bitfields.exp: Likewise.
9751 * gdb.base/bitfields2.exp: Likewise.
9752 * gdb.base/break.exp: Likewise.
9753 * gdb.base/call-sc.exp: Likewise.
9754 * gdb.base/call-strs.exp: Likewise.
9755 * gdb.base/callfuncs.exp: Likewise.
9756 * gdb.base/checkpoint.exp: Likewise.
9757 * gdb.base/chng-syms.exp: Likewise.
9758 * gdb.base/code-expr.exp: Likewise.
9759 * gdb.base/commands.exp: Likewise.
9760 * gdb.base/completion.exp: Likewise.
9761 * gdb.base/cond-expr.exp: Likewise.
9762 * gdb.base/condbreak.exp: Likewise.
9763 * gdb.base/consecutive.exp: Likewise.
9764 * gdb.base/constvars.exp: Likewise.
9765 * gdb.base/corefile.exp: Likewise.
9766 * gdb.base/cvexpr.exp: Likewise.
9767 * gdb.base/dbx.exp: Likewise.
9768 * gdb.base/define.exp: Likewise.
9769 * gdb.base/detach.exp: Likewise.
9770 * gdb.base/display.exp: Likewise.
9771 * gdb.base/dump.exp: Likewise.
9772 * gdb.base/ena-dis-br.exp: Likewise.
9773 * gdb.base/ending-run.exp: Likewise.
9774 * gdb.base/environ.exp: Likewise.
9775 * gdb.base/eval-skip.exp: Likewise.
9776 * gdb.base/exprs.exp: Likewise.
9777 * gdb.base/fileio.exp: Likewise.
9778 * gdb.base/finish.exp: Likewise.
9779 * gdb.base/float.exp: Likewise.
9780 * gdb.base/foll-exec.exp: Likewise.
9781 * gdb.base/foll-fork.exp: Likewise.
9782 * gdb.base/foll-vfork.exp: Likewise.
9783 * gdb.base/freebpcmd.exp: Likewise.
9784 * gdb.base/funcargs.exp: Likewise.
9785 * gdb.base/gcore.exp: Likewise.
9786 * gdb.base/gdb1090.exp: Likewise.
9787 * gdb.base/gdb1250.exp: Likewise.
9788 * gdb.base/huge.exp: Likewise.
9789 * gdb.base/info-proc.exp: Likewise.
9790 * gdb.base/interrupt.exp: Likewise.
9791 * gdb.base/jump.exp: Likewise.
9792 * gdb.base/langs.exp: Likewise.
9793 * gdb.base/lineinc.exp: Likewise.
9794 * gdb.base/list.exp: Likewise.
9795 * gdb.base/logical.exp: Likewise.
9796 * gdb.base/long_long.exp: Likewise.
9797 * gdb.base/macscp.exp: Likewise.
9798 * gdb.base/maint.exp: Likewise.
9799 * gdb.base/mips_pro.exp: Likewise.
9800 * gdb.base/miscexprs.exp: Likewise.
9801 * gdb.base/multi-forks.exp: Likewise.
9802 * gdb.base/opaque.exp: Likewise.
9803 * gdb.base/overlays.exp: Likewise.
9804 * gdb.base/pc-fp.exp: Likewise.
9805 * gdb.base/pointers.exp: Likewise.
9806 * gdb.base/printcmds.exp: Likewise.
9807 * gdb.base/psymtab.exp: Likewise.
9808 * gdb.base/ptype.exp: Likewise.
9809 * gdb.base/recurse.exp: Likewise.
9810 * gdb.base/relational.exp: Likewise.
9811 * gdb.base/relocate.exp: Likewise.
9812 * gdb.base/remote.exp: Likewise.
9813 * gdb.base/reread.exp: Likewise.
9814 * gdb.base/restore.exp: Likewise.
9815 * gdb.base/return.exp: Likewise.
9816 * gdb.base/return2.exp: Likewise.
9817 * gdb.base/scope.exp: Likewise.
9818 * gdb.base/sect-cmd.exp: Likewise.
9819 * gdb.base/sep.exp: Likewise.
9820 * gdb.base/sepdebug.exp: Likewise.
9821 * gdb.base/setshow.exp: Likewise.
9822 * gdb.base/setvar.exp: Likewise.
9823 * gdb.base/sigall.exp: Likewise.
9824 * gdb.base/sigbpt.exp: Likewise.
9825 * gdb.base/signals.exp: Likewise.
9826 * gdb.base/signull.exp: Likewise.
9827 * gdb.base/sizeof.exp: Likewise.
9828 * gdb.base/solib.exp: Likewise.
9829 * gdb.base/step-line.exp: Likewise.
9830 * gdb.base/step-test.exp: Likewise.
9831 * gdb.base/structs.exp: Likewise.
9832 * gdb.base/structs2.exp: Likewise.
9833 * gdb.base/term.exp: Likewise.
9834 * gdb.base/twice.exp: Likewise.
9835 * gdb.base/until.exp: Likewise.
9836 * gdb.base/varargs.exp: Likewise.
9837 * gdb.base/volatile.exp: Likewise.
9838 * gdb.base/watchpoint.exp: Likewise.
9839 * gdb.base/whatis-exp.exp: Likewise.
9840 * gdb.base/whatis.exp: Likewise.
9841 * gdb.cp/ambiguous.exp: Likewise.
9842 * gdb.cp/annota2.exp: Likewise.
9843 * gdb.cp/annota3.exp: Likewise.
9844 * gdb.cp/bool.exp: Likewise.
9845 * gdb.cp/breakpoint.exp: Likewise.
9846 * gdb.cp/casts.exp: Likewise.
9847 * gdb.cp/class2.exp: Likewise.
9848 * gdb.cp/classes.exp: Likewise.
9849 * gdb.cp/cplusfuncs.exp: Likewise.
9850 * gdb.cp/ctti.exp: Likewise.
9851 * gdb.cp/derivation.exp: Likewise.
9852 * gdb.cp/exception.exp: Likewise.
9853 * gdb.cp/gdb1355.exp: Likewise.
9854 * gdb.cp/hang.exp: Likewise.
9855 * gdb.cp/inherit.exp: Likewise.
9856 * gdb.cp/local.exp: Likewise.
9857 * gdb.cp/m-data.exp: Likewise.
9858 * gdb.cp/m-static.exp: Likewise.
9859 * gdb.cp/member-ptr.exp: Likewise.
9860 * gdb.cp/method.exp: Likewise.
9861 * gdb.cp/misc.exp: Likewise.
9862 * gdb.cp/namespace.exp: Likewise.
9863 * gdb.cp/overload.exp: Likewise.
9864 * gdb.cp/ovldbreak.exp: Likewise.
9865 * gdb.cp/pr-1023.exp: Likewise.
9866 * gdb.cp/pr-1210.exp: Likewise.
9867 * gdb.cp/pr-574.exp: Likewise.
9868 * gdb.cp/printmethod.exp: Likewise.
9869 * gdb.cp/psmang.exp: Likewise.
9870 * gdb.cp/ref-params.exp: Likewise.
9871 * gdb.cp/ref-types.exp: Likewise.
9872 * gdb.cp/rtti.exp: Likewise.
9873 * gdb.cp/templates.exp: Likewise.
9874 * gdb.cp/try_catch.exp: Likewise.
9875 * gdb.cp/userdef.exp: Likewise.
9876 * gdb.cp/virtfunc.exp: Likewise.
9877 * gdb.disasm/am33.exp: Likewise.
9878 * gdb.disasm/h8300s.exp: Likewise.
9879 * gdb.disasm/mn10300.exp: Likewise.
9880 * gdb.disasm/sh3.exp: Likewise.
9881 * gdb.disasm/t01_mov.exp: Likewise.
9882 * gdb.disasm/t02_mova.exp: Likewise.
9883 * gdb.disasm/t03_add.exp: Likewise.
9884 * gdb.disasm/t04_sub.exp: Likewise.
9885 * gdb.disasm/t05_cmp.exp: Likewise.
9886 * gdb.disasm/t06_ari2.exp: Likewise.
9887 * gdb.disasm/t07_ari3.exp: Likewise.
9888 * gdb.disasm/t08_or.exp: Likewise.
9889 * gdb.disasm/t09_xor.exp: Likewise.
9890 * gdb.disasm/t10_and.exp: Likewise.
9891 * gdb.disasm/t11_logs.exp: Likewise.
9892 * gdb.disasm/t12_bit.exp: Likewise.
9893 * gdb.disasm/t13_otr.exp: Likewise.
9894 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9895 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9896 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9897 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9898 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9899 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9900 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9901 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9902 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9903 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9904 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9905 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9906 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9907 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9908 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9909 * gdb.mi/gdb701.exp: Likewise.
9910 * gdb.mi/gdb792.exp: Likewise.
9911 * gdb.mi/mi-basics.exp: Likewise.
9912 * gdb.mi/mi-break.exp: Likewise.
9913 * gdb.mi/mi-cli.exp: Likewise.
9914 * gdb.mi/mi-console.exp: Likewise.
9915 * gdb.mi/mi-disassemble.exp: Likewise.
9916 * gdb.mi/mi-eval.exp: Likewise.
9917 * gdb.mi/mi-file.exp: Likewise.
9918 * gdb.mi/mi-read-memory.exp: Likewise.
9919 * gdb.mi/mi-regs.exp: Likewise.
9920 * gdb.mi/mi-return.exp: Likewise.
9921 * gdb.mi/mi-simplerun.exp: Likewise.
9922 * gdb.mi/mi-stack.exp: Likewise.
9923 * gdb.mi/mi-stepi.exp: Likewise.
9924 * gdb.mi/mi-syn-frame.exp: Likewise.
9925 * gdb.mi/mi-until.exp: Likewise.
9926 * gdb.mi/mi-var-block.exp: Likewise.
9927 * gdb.mi/mi-var-child.exp: Likewise.
9928 * gdb.mi/mi-var-cmd.exp: Likewise.
9929 * gdb.mi/mi-var-display.exp: Likewise.
9930 * gdb.mi/mi-watch.exp: Likewise.
9931 * gdb.mi/mi2-basics.exp: Likewise.
9932 * gdb.mi/mi2-break.exp: Likewise.
9933 * gdb.mi/mi2-cli.exp: Likewise.
9934 * gdb.mi/mi2-console.exp: Likewise.
9935 * gdb.mi/mi2-disassemble.exp: Likewise.
9936 * gdb.mi/mi2-eval.exp: Likewise.
9937 * gdb.mi/mi2-file.exp: Likewise.
9938 * gdb.mi/mi2-read-memory.exp: Likewise.
9939 * gdb.mi/mi2-regs.exp: Likewise.
9940 * gdb.mi/mi2-return.exp: Likewise.
9941 * gdb.mi/mi2-simplerun.exp: Likewise.
9942 * gdb.mi/mi2-stack.exp: Likewise.
9943 * gdb.mi/mi2-stepi.exp: Likewise.
9944 * gdb.mi/mi2-syn-frame.exp: Likewise.
9945 * gdb.mi/mi2-until.exp: Likewise.
9946 * gdb.mi/mi2-var-block.exp: Likewise.
9947 * gdb.mi/mi2-var-child.exp: Likewise.
9948 * gdb.mi/mi2-var-cmd.exp: Likewise.
9949 * gdb.mi/mi2-var-display.exp: Likewise.
9950 * gdb.mi/mi2-watch.exp: Likewise.
9951 * gdb.stabs/exclfwd.exp: Likewise.
9952 * gdb.stabs/weird.exp: Likewise.
9953 * gdb.threads/gcore-thread.exp: Likewise.
9954 * gdb.trace/actions.exp: Likewise.
9955 * gdb.trace/backtrace.exp: Likewise.
9956 * gdb.trace/circ.exp: Likewise.
9957 * gdb.trace/collection.exp: Likewise.
9958 * gdb.trace/deltrace.exp: Likewise.
9959 * gdb.trace/infotrace.exp: Likewise.
9960 * gdb.trace/limits.exp: Likewise.
9961 * gdb.trace/packetlen.exp: Likewise.
9962 * gdb.trace/passc-dyn.exp: Likewise.
9963 * gdb.trace/passcount.exp: Likewise.
9964 * gdb.trace/report.exp: Likewise.
9965 * gdb.trace/save-trace.exp: Likewise.
9966 * gdb.trace/tfind.exp: Likewise.
9967 * gdb.trace/tracecmd.exp: Likewise.
9968 * gdb.trace/while-dyn.exp: Likewise.
9969 * gdb.trace/while-stepping.exp: Likewise.
9971 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9973 * gdb.base/step-bt.c: New file.
9974 * gdb.base/step-bt.exp: New testcase.
9976 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9978 * config/monitor.exp (gdb_load): Remove support for obsolete
9979 download-write-size.
9980 * gdb.base/remote.exp: Likewise. Update all callers of
9983 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9985 * cursal.exp: Pass binfile to gdb_load.
9987 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9989 * gdb.base/cursal.exp: Add "" to gdb_load call.
9991 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9993 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9996 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9998 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10001 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10003 * gdb.base/completion.exp: Update for change in "file" behavior.
10004 * gdb.stabs/weird.exp: Likewise.
10005 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10006 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10008 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10010 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10011 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10013 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10015 * gdb.base/default.exp: Update source command error message.
10016 * gdb.base/help.exp: Update 'help source' message.
10018 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10020 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10023 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10025 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10027 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10029 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10031 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10033 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10035 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10037 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10038 *-*-openbsd* from targets for wich we expect ARM FPA floating
10041 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10043 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10045 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10047 * gdb.base/annota3.exp: Expect frame-begin annotation.
10049 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10051 * gdb.base/help.exp: Adjust "help unset" test to accept
10052 any list of unset commands.
10054 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10055 Daniel Jacobowitz <dan@codesourcery.com>
10057 * gdb.cp/ref-params.exp: New test.
10058 * gdb.cp/ref-params.cc: New source file.
10059 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10061 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10063 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10064 spaces/tabs in regular expressions since they might not be there.
10066 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10068 * gdb.base/ifelse.exp: New file.
10070 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10072 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10074 * gdb.base/huge.exp: Loop over compilation to find a size that
10076 * gdb.base/remote.exp: Correct expected strings.
10077 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10079 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10081 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10083 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10085 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10088 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10090 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10091 enable stabs testing.
10093 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10095 * gdb.base/auxv.exp: Intercept undefined command messages before
10096 gdb_test_multiple does.
10098 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10100 * Makefile.in (host_alias): Remove.
10101 (target_alias): Use @target_noncanonical@.
10102 (site.exp): Don't set host_alias.
10103 * aclocal.m4: Remove contents. Include acx.m4.
10104 * configure: Regenerated.
10105 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10107 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10109 * lib/gdb.exp (gdb_load_cmd): New.
10111 * gdb.base/fileio.c: Add system(NULL) test.
10112 * gdb.base/fileio.exp: Check it.
10114 * gdb.base/break.c: Add 10a breakpoint at }
10115 * gdb.base/break.exp: Add test for breakpoint at }
10116 * gdb.cp/anon-union.cc: Add code at end of function.
10117 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10118 * gdb.mi/var-cmd.c: Add code at end of function.
10119 * gdb.mi/mi-var-display.exp: Adjust end of next.
10120 * gdb.mi/mi2-var-display.exp: Likewise.
10121 * gdb.base/fileio.c: Add stop function and insert calls at
10123 * gdb.base/fileio.exp: Breakpoint stop function and remove
10124 explicit line number references.
10126 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10128 * gdb.base/del.exp (test_delete_alias): New function.
10129 Now check that both "del" and "d" work as aliases for "delete".
10131 2006-05-18 Fred Fish <fnf@specifix.com>
10133 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10134 required. Check for spurious output after program exits normally.
10136 2006-05-17 Fred Fish <fnf@specifix.com>
10138 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10139 gdb_load, so it works in the simulator.
10141 2006-05-11 Fred Fish <fnf@specifix.com>
10143 * gdb.base/bang.exp: Ignore unexpected output between the
10144 "program exited normally" and the gdb prompt, as many other
10147 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10149 * gdb.base/help.exp: Make "delete checkpoint" part option for
10150 "help d" and "help delete" tests.
10152 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10154 * gdb.mi/mi-basics.exp: Add missing serial number to
10155 expected output in some mi_gdb_test statements.
10156 * gdb.mi/mi2-basics.exp: Likewise.
10158 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10160 * gdb.base/del.c: New file.
10161 * gdb.base/del.exp: New testcase.
10163 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10165 * gdb.base/break.exp: Do not assume a breakpoint on
10166 main will actually be in $srcfile when optimizing.
10167 * gdb.base/savedregs.exp: Do not require that the dummy
10168 frame location match up to a symbol and source file location.
10169 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10170 will get printed without a mi_cmd_data_list_register_values prefix.
10171 (*-data-list-register-*): Correct regular expressions to expect the new
10172 pseudo d? floating point registers.
10173 * gdb.mi/mi2-regs.exp: Likewise.
10175 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10177 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10178 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10179 is allocated by the compiler.
10180 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10181 anons, e, anone to force their allocation by the compiler.
10183 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10185 * gdb.base/help.exp: Update expected text for help d and
10188 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10190 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10191 NetBSD/ELF targets.
10193 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10195 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10196 single-step breakpoint fails; make this a KFAIL on
10198 * gdb.base/siginfo.exp: Likewise.
10199 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10201 2006-04-26 Michael Snyder <msnyder@redhat.com>
10203 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10204 which may have to consume output from other forks.
10205 Add tests to make sure that "delete fork" succeeded.
10207 2006-04-20 Michael Snyder <msnyder@redhat.com>
10209 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10210 Add support for the Renesas M32C and M16C.
10212 * gdb.asm/asm-source.exp: Add m32c target.
10213 * gdb.asm/m32c.inc: Support for m32c target.
10215 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10217 * gdb.base/commands.exp (recursive_source_test): New test.
10219 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10221 * gdb.base/float.exp: Add pattern for sparc targets.
10223 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10225 * gdb.base/commands.exp (stray_arg0_test): New test.
10227 2006-03-30 Paul Brook <paul@codesourcery.com>
10229 * gdb.mi/mi-until.exp: kfail broken until command.
10230 * gdb.mi/mi2-until.exp: Ditto.
10232 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10234 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10236 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10238 * gdb.base/prelink.exp: Anchor tested-for regular expression
10241 2006-03-07 Paul Brook <paul@codesourcery.com>
10243 * gdb.base/assign.exp: Correct fail message.
10245 2006-03-07 Paul Brook <paul@codesourcery.com>
10247 * lib/compiler.c: Extract armcc version number.
10248 * lib/compiler.cc: Ditto.
10250 2006-03-07 Paul Brook <paul@codesourcery.com>
10252 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10253 additional_flags=-w.
10254 * gdb.arch/altivec-regs.exp: Ditto.
10255 * gdb.arch/e500-abi.exp: Ditto.
10256 * gdb.arch/e500-regs.exp: Ditto.
10257 * gdb.base/all-bin.exp: Ditto.
10258 * gdb.base/annota1.exp: Ditto.
10259 * gdb.base/annota3.exp: Ditto.
10260 * gdb.base/args.exp: Ditto.
10261 * gdb.base/arithmet.exp: Ditto.
10262 * gdb.base/assign.exp: Ditto.
10263 * gdb.base/async.exp: Ditto.
10264 * gdb.base/bang.exp: Ditto.
10265 * gdb.base/break.exp: Ditto.
10266 * gdb.base/call-rt-st.exp: Ditto.
10267 * gdb.base/completion.exp: Ditto.
10268 * gdb.base/cond-expr.exp: Ditto.
10269 * gdb.base/condbreak.exp: Ditto.
10270 * gdb.base/consecutive.exp: Ditto.
10271 * gdb.base/define.exp: Ditto.
10272 * gdb.base/display.exp: Ditto.
10273 * gdb.base/ena-dis-br.exp: Ditto.
10274 * gdb.base/environ.exp: Ditto.
10275 * gdb.base/eval-skip.exp: Ditto.
10276 * gdb.base/info-proc.exp: Ditto.
10277 * gdb.base/jump.exp: Ditto.
10278 * gdb.base/logical.exp: Ditto.
10279 * gdb.base/long_long.exp: Ditto.
10280 * gdb.base/maint.exp: Ditto.
10281 * gdb.base/miscexprs.exp: Ditto.
10282 * gdb.base/pc-fp.exp: Ditto.
10283 * gdb.base/pointers.exp: Ditto.
10284 * gdb.base/relational.exp: Ditto.
10285 * gdb.base/reread.exp: Ditto.
10286 * gdb.base/sect-cmd.exp: Ditto.
10287 * gdb.base/sep.exp: Ditto.
10288 * gdb.base/sepdebug.exp: Ditto.
10289 * gdb.base/until.exp: Ditto.
10290 * gdb.base/whatis-exp.exp: Ditto.
10291 * gdb.cp/annota2.exp: Ditto.
10292 * gdb.cp/annota3.exp: Ditto.
10293 * gdb.trace/actions.exp: Ditto.
10294 * gdb.trace/backtrace.exp: Ditto.
10295 * gdb.trace/circ.exp: Ditto.
10296 * gdb.trace/collection.exp: Ditto.
10297 * gdb.trace/deltrace.exp: Ditto.
10298 * gdb.trace/infotrace.exp: Ditto.
10299 * gdb.trace/limits.exp: Ditto.
10300 * gdb.trace/packetlen.exp: Ditto.
10301 * gdb.trace/passc-dyn.exp: Ditto.
10302 * gdb.trace/passcount.exp: Ditto.
10303 * gdb.trace/report.exp: Ditto.
10304 * gdb.trace/save-trace.exp: Ditto.
10305 * gdb.trace/tfind.exp: Ditto.
10306 * gdb.trace/tracecmd.exp: Ditto.
10307 * gdb.trace/while-dyn.exp: Ditto.
10308 * gdb.trace/while-stepping.exp: Ditto.
10309 * lib/gdb.exp: Ditto.
10310 (gdb_compile): Handle nowarning option.
10312 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10314 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10315 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10316 Rename executable to prelinkt. Don't re-prelink if we didn't
10317 get a core file. Test prelink -u exit status to tell whether
10318 prelinking failed. Use gdb_test_multiple.
10320 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10322 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10323 (do_tests): Call it.
10325 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10327 * gdb.base/prelink.exp: New test.
10328 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10330 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10332 * gdb.fortran/derived-type.f90: New file.
10333 * gdb.fortran/derived-type.exp: New testcase.
10335 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10337 * gdb.base/default.exp: Allow ';' as a directory separator.
10339 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10341 * gdb.base/help.exp (help add-symbol-file): Update.
10343 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10345 * gdb.base/help.exp (help load): Update expected results.
10347 2006-02-19 Fred Fish <fnf@specifix.com>
10349 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10350 specifix hex value as part of results.
10351 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10353 2006-02-16 Fred Fish <fnf@specifix.com>
10355 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10356 ushort_addr, and slong_addr, so the typedefs are not optimized
10358 * gdb.base/whatis.exp: Add tests using type name for struct type,
10359 union type, enum type, and typedef.
10361 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10363 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10365 2006-02-13 Jim Blandy <jimb@redhat.com>
10367 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10368 case where it takes two "next" commands to skip past the init
10371 2006-02-12 Fred Fish <fnf@specifix.com>
10373 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10374 to handle cases where it takes two "next" commands to skip
10375 past the init call.
10377 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10379 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10382 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10384 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10387 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10389 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10391 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10393 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10396 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10398 * gdb.cp/maint.exp: Set complaints to a positive value.
10400 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10402 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10403 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10406 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10408 * gdb.base/checkpoint.c: Update copyright notice. Include
10411 2006-01-04 Jim Blandy <jimb@redhat.com>
10413 * gdb.asm/asm-source.exp: Independently provide default values for
10414 asm-flags and debug-flags. Use 'string equal' to do the
10415 comparison, not the implicit expr's '==' operator. Remove
10416 now-unneeded assignments to asm-flags. In h8300 case, place
10417 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10419 2006-01-04 Michael Snyder <msnyder@redhat.com>
10421 * gdb.base/checkpoint.c: New file.
10422 * gdb.base/checkpoint.exp: New file.
10423 * gdb.base/multi-fork.c: New file.
10424 * gdb.base/multi-fork.exp: New file.
10425 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10427 2006-01-04 Fred Fish <fnf@specifix.com>
10429 * gdb.base/ptype.c (foo): Add typedef.
10430 (intfoo): Add function.
10431 * gdb.base/ptype1.c: New file.
10432 * gdb.base/ptype.exp: Handle compilation and linking with two
10433 source files. Test that proper type for "foo" is found based
10434 on source context rather than first match found in symtabs.
10436 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10438 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10439 * gdb.asm/openbsd.inc: Indent commands.
10441 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10443 * gdb.base/freebpcmd.exp: Increase timeout.
10445 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10447 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10449 * gdb.base/default.exp: Update check for "show version".
10451 2005-12-09 Randolph Chung <tausq@debian.org>
10453 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10454 * gdb.asm/pa64.inc: New file.
10456 2005-12-09 Randolph Chung <tausq@debian.org>
10458 * gdb.asm/common.inc: Indent commands.
10459 * gdb.asm/asmsrc1.s: Likewise.
10460 * gdb.asm/asmsrc2.s: Likewise.
10462 2005-12-09 Randolph Chung <tausq@debian.org>
10464 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10465 (get_addr_of_sym): Remove duplicate print.
10466 (gen_core): xfail hppa*-*-hpux*, update expected output.
10467 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10468 * gdb.arch/pa64-nullify.s: New file.
10470 2005-12-09 Randolph Chung <tausq@debian.org>
10472 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10474 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10476 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10477 code generation for these functions.
10478 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10481 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10483 * gdb.base/help.exp (help b, help br, help bre, help brea)
10484 (help break): Update the expected message.
10486 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10488 * gdb.asm/m68hc11.inc: Setup the data section.
10489 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10490 script for this test.
10491 (m6812-*-*): Likewise.
10493 2005-11-09 Randolph Chung <tausq@debian.org>
10495 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10497 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10499 * gdb.base/break.exp: Fix a comment typo.
10501 2005-11-03 Jim Blandy <jimb@redhat.com>
10503 Checked in by Elena Zannoni <ezannoni@redhat.com>
10505 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10507 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10509 * gdb.arch/gdb1558.c: Include stdio.h.
10511 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10513 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10515 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10517 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10519 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10521 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10522 vscr" tests to better match output.
10524 2005-10-12 Jim Blandy <jimb@redhat.com>
10526 * gdb.base/structs.exp (any): New function.
10527 (test_struct_returns): Don't make any assumptions at all about
10528 what value the function returns when GDB can't set the return
10531 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10533 * gdb.ada/arrayidx/p.adb: New file.
10534 * gdb.ada/arrayidx.exp: New testcase
10536 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10538 * gdb.ada/array_return/pck.ads: New file.
10539 * gdb.ada/array_return/pck.adb: New file.
10540 * gdb.ada/array_return/p.adb: New file.
10541 * gdb.ada/array_return.exp: New testcase.
10543 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10545 * gdb.base/arrayidx.c: New file.
10546 * gdb.base/arrayidx.exp: New testcase.
10548 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10550 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10551 frames-invalid and breakpoints-invalid are no longer generated
10552 with level 3 so don't expect them in the output.
10554 2005-09-27 Bob Rossi <bob@brasko.net>
10556 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10557 from test. Escape the | in mi_gdb_test call.
10558 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10559 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10560 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10561 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10562 expected regex's in mi_gdb_test calls.
10563 * lib/mi-support.exp: Remove arbitrary .* from tests.
10564 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10565 Fully anchor GDB/MI expected results in mi_gdb_test.
10566 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10567 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10569 2005-09-26 Paul Brook <paul@codesourcery.com>
10571 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10573 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10575 * bfp-test.c: New file.
10576 * bfp-test.exp: New testcase.
10578 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10580 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10581 of subarray and substring variable.
10582 * gdb.fortran/subarray.f: New source file for the test of subarray
10583 and substring variable evaluation.
10584 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10585 of string constant.
10587 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10589 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10592 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10594 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10595 powerpc altivec' test with an almost identical 'info vector' test.
10597 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10599 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10600 vscr" tests to match output.
10602 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10604 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10607 2005-09-11 Bob Rossi <bob@brasko.net>
10609 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10610 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10611 commands that return an MI output command and an asyncronous MI output
10613 * gdb.mi/mi-console.exp: Ditto.
10615 2005-09-11 Bob Rossi <bob@brasko.net>
10617 * gdb.mi/mi-var-child.c: Include <string.h>.
10619 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10621 * killed.exp: Correct gdb_expect syntax.
10623 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10625 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10627 2005-08-02 Bob Rossi <bob@brasko.net>
10629 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10630 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10631 Change tests to inferior-tty-set/show.
10632 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10633 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10634 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10635 inferior. Use mi_gdb_test to get GDB and Inferior output.
10636 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10638 (mi_inferior_tty_name): Add inferior PTY file name.
10639 (mi_gdb_start): Add INFERIOR_PTY parameter.
10640 (mi_gdb_test): Add IPATTERN parameter.
10642 2005-08-02 Bob Rossi <bob@brasko.net>
10644 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10645 parameter to mi_gdb_test.
10646 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10648 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10650 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10651 struct_declarations.
10652 * gdb.mi/mi-var-child.exp: Step over the initialization of
10653 struct_declarations.
10655 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10657 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10658 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10659 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10660 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10661 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10664 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10666 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10667 (do_children_tests): Assign values to the extra elements.
10669 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10670 them for tests for "-var-update --no-values" and
10671 "-var-update --all-values".
10672 Add test for "-var-list-children --simple-values".
10674 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10676 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10677 "-stack-list-locals --simple-values" Improve doc strings and
10680 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10682 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10684 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10686 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10689 2005-07-14 Bob Rossi <bob@brasko.net>
10691 * gdb.base/default.exp (tty): Changed output of command.
10692 * gdb.base/help.exp (help tty): Ditto.
10694 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10696 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10698 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10700 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10701 -stack-select-frame without arguments.
10702 (test_stack_frame_listing): Add test for newly implemented command
10705 2005-07-06 Bob Rossi <bob@brasko.net>
10707 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10709 (Copyright): Update copyright.
10711 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10713 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10714 tests to evaluate exponentiation expression.
10716 2005-06-29 Andreas Schwab <schwab@suse.de>
10718 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10719 main to avoid warnings.
10721 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10723 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10725 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10726 -stack-select-frame without arguments.
10727 (test_stack_frame_listing): Add test for newly implemented command
10730 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10732 * gdb.fortran/array-element.f: New file.
10733 * gdb.fortran/array-element.exp: New testcase.
10735 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10737 * gdb.base/bigcore.exp: Correct checks for systems which can
10738 not dump a large core file.
10740 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10742 * gdb.base/relocate.c: Add a copyright notice.
10744 * gdb.base/relocate.exp: Test printing the values of variables
10745 from a relocatable file.
10747 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10749 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10750 excess MI output after an error.
10752 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10754 * gdb.arch/alpha-step.c: New file.
10755 * gdb.arch/alpha-step.exp: New testcase.
10757 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10758 Dennis Brueni <dennis@slickedit.com>
10760 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10761 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10762 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10763 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10764 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10765 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10766 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10768 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10769 Wu Zhou <woodzltc@cn.ibm.com>
10771 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10772 IBM's xlc compiler.
10773 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10774 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10776 2005-05-13 Jim Blandy <jimb@redhat.com>
10778 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10779 calling gdb_suppress_entire_file.
10780 * gdb.base/charset.exp: Same.
10781 * gdb.base/call-rt-st.exp: Same.
10783 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10785 * lib/gdb.exp (fullname_syntax): Added global regex.
10786 (fullname_syntax_POSIX): Ditto.
10787 (fullname_syntax_UNC): Ditto.
10788 (fullname_syntax_DOS_CASE): Ditto.
10789 (fullname_syntax_DOS): Ditto.
10790 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10791 fullname_syntax variable to scope and use it.
10792 (test_file_list_exec_source_files): Ditto.
10793 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10795 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10797 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10799 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10801 * lib/gdb.exp (skip_altivec_tests): New function, based on
10802 check_vmx_hw_available from the GCC testsuite.
10803 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10804 * lib/gdb.arch/altivec-regs.exp: Likewise.
10806 2005-05-02 Jim Blandy <jimb@redhat.com>
10808 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10809 calling gdb_suppress_entire_file.
10811 2005-04-30 Randolph Chung <tausq@debian.org>
10813 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10814 Slightly relax "sem_post" name checking.
10816 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10818 * gdb.base/unload.exp: Use new shared library infrastructure.
10820 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10822 * gdb.base/so-impl-ld.exp: Use new shared library
10825 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10827 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10828 * gdb.asm/h8300.inc: New file.
10830 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10832 * gdb.base/shlib-call.exp: Change to use new shared library
10835 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10837 * gdb.base/pending.exp: Change to use new shared library
10840 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10842 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10843 use test_compiler_info instead of gcc_compiled, and update copyright.
10845 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10847 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10848 shared objects being adjusted and update copyright years.
10850 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10852 * ChangeLog: Correct some 2003-01-13 dates.
10853 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10854 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10855 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10856 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10857 gdb.trace/tfind.exp: Update copyright years.
10859 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10860 Daniel Jacobowitz <dan@codesourcery.com>
10862 * lib/gdb.exp (gdb_compile): Handle shlib=.
10863 (gdb_compile_shlib): New function.
10865 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10867 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10869 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10871 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10873 * configure.ac: Likewise.
10874 * configure: Regenerated.
10875 * gdb.gdbserver/Makefile.in: Moved to...
10876 * gdb.server/Makefile.in: ... here.
10877 * gdb.gdbserver/server.c: Moved to...
10878 * gdb.server/server.c: ... here.
10879 * gdb.gdbserver/server-run.exp: Moved to...
10880 * gdb.server/server-run.exp: ... here.
10882 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10884 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10885 * configure.ac: Create gdb.gdbserver/Makefile.
10886 * configure: Regenerated.
10887 * lib/gdbserver-support.exp: New file, derived from
10888 config/gdbserver.exp.
10889 * config/gdbserver.exp: Use gdbserver-support.exp.
10890 * gdb.gdbserver/Makefile.in: New file.
10891 * gdb.gdbserver/server.c: New file.
10892 * gdb.gdbserver/server-run.exp: New file.
10894 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10896 * lib/gdb.exp (test_compiler_info): Return compiler_info
10897 if no arguments are given.
10899 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10901 * gdb.arch/altivec-abi.exp: Check for compiler and set
10902 use altivec' flag accordingly.
10903 * gdb.arch/altivec-regs.exp: Likewise.
10905 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10907 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10909 2005-03-27 Andreas Schwab <schwab@suse.de>
10911 * gdb.base/bigcore.c (main): Add missing mode argument in open
10914 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10916 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10918 * config/gdbserver.exp (gdb_load): Likewise.
10920 2005-03-14 Paul Brook <paul@codesourcery.com>
10922 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10925 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10927 * gdb.dwarf2/dup-psym.S: New file.
10928 * gdb.dwarf2/dup-psym.exp: New testcase.
10930 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10932 * gdb.ada/exec_changed/first.adb: New file.
10933 * gdb.ada/exec_changed/second.adb: New file.
10934 * gdb.ada/exec_changed.exp: New testcase.
10936 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10938 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10940 (main): Test operator+.
10941 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10944 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10945 * gdb.base/signull.exp: Disable if gdb,nosignals.
10946 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10947 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10948 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10949 * gdb.mi/mi2-console.exp: Likewise.
10950 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10951 continue output at start.
10952 (gdb_collect_locals_test): Robustify regexp.
10953 * gdb.trace/passc-dyn.exp: Fix comment typo.
10954 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10956 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10958 * gdb.asm/asm-source.exp: Add iq2000 case.
10959 * gdb.asm/iq2000.inc: New file.
10961 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10963 * gdb.base/command.exp: Change hardcoded value to regular expression.
10964 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10966 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10968 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10969 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10970 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10971 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10972 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10974 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10976 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10979 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10981 * lib/compiler.c: Add test for IBM's xlc compiler.
10982 * lib/compiler.cc: Likewise.
10984 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10986 * gdb.ada/fixed_points.exp: Create compilation object directory
10987 before running the test.
10988 * gdb.ada/null_record.exp: Likewise.
10989 * gdb.ada/packed_array.exp: Likewise.
10990 * gdb.ada/start.exp: Likewise.
10992 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10994 * gdb.ada/packed_array/pa.adb: New file.
10995 * gdb.ada/packed_array.exp: New testcase.
10997 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10999 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11002 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11003 on *-*-openbsd*. Correctly match whitespace in regukar
11006 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11008 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11010 * gdb.base/gdb1821.c: New test file.
11011 * gdb.base/gdb1821.exp: New test file.
11013 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11015 * gdb.base/start.c: New file.
11016 * gdb.base/start.exp: New testcase.
11018 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11020 * gdb.ada/start/dummy.adb: New file.
11021 * gdb.ada/start.exp: New testcase.
11023 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11025 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11026 for printing symbols and statistics.
11027 Add test for using relative pathnames in "maint print msymbols" test.
11028 Mark "maint info sections DATA" XFAIL on Cygwin.
11029 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11032 2005-02-09 Andreas Schwab <schwab@suse.de>
11034 Committed by Andrew Cagney <cagney@gnu.org>
11035 * gdb.base/remotetimeout.exp: New file.
11037 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11039 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11041 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11043 * gdb.ada/gnat_ada.gpr: New file.
11044 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11045 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11046 * configure.ac: No longer generate gnat_ada.gpr.
11047 * configure: Regenerate.
11048 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11049 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11050 * gdb.ada/null_record/bar.ads: Likewise.
11051 * gdb.ada/null_record/bar.adb: Likewise.
11052 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11053 * gdb.ada/null_record.exp (testdir): New variable.
11054 (testfile): executable is now in testdir subdirectory.
11055 (srcfile): Use full path to the main compilation unit.
11056 * gdb.ada/fixed_points.exp: Same changes as above.
11058 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11060 * gdb.base/interp.exp: New test.
11062 2005-01-24 Andrew Cagney <cagney@gnu.org>
11064 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11066 2005-01-19 Andrew Cagney <cagney@gnu.org>
11068 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11069 configure.ac not configure.in.
11071 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11073 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11074 * gdb.base/list.exp (test_list_function)
11075 (test_list_filename_and_function): Ditto.
11076 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11078 2005-01-16 Andrew Cagney <cagney@gnu.org>
11080 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11082 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11084 2005-01-14 Andrew Cagney <cagney@gnu.org>
11086 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11087 * gdb.mi/mi2-var-cmd.exp: Ditto.
11089 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11091 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11093 2005-01-07 Andrew Cagney <cagney@gnu.org>
11095 * configure.ac: Rename configure.in, require autoconf 2.59.
11096 * configure: Re-generate.
11097 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11098 * gdb.stabs/configure: Re-generate.
11099 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11100 * gdb.hp/configure: Re-generate.
11101 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11103 * gdb.hp/gdb.objdbg/configure: Re-generate.
11104 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11106 * gdb.hp/gdb.defects/configure: Re-generate.
11107 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11109 * gdb.hp/gdb.compat/configure: Re-generate.
11110 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11112 * gdb.hp/gdb.base-hp/configure: Re-generate.
11113 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11115 * gdb.hp/gdb.aCC/configure: Re-generate.
11117 2004-12-15 Jim Blandy <jimb@redhat.com>
11119 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11120 under NPTL when there is debugging info available for libpthread.
11122 2004-12-13 Jerome Guitton <guitton@gnat.com>
11124 * gdb.ada/fixed_points.c: New file.
11125 * gdb.ada/fixed_points.exp: New file.
11127 2004-12-03 Randolph Chung <tausq@debian.org>
11129 * gdb.arch/pa-nullify.exp: New file.
11130 * gdb.arch/pa-nullify.s: New file.
11132 2004-11-30 Randolph Chung <tausq@debian.org>
11134 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11135 instead of "tbug". Fix regexp to work properly with gdb_test.
11137 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11139 * gdb.base/bitfields2.exp: New test.
11140 * gdb.base/bitfields2.c: New file.
11142 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11144 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11146 2004-11-16 Randolph Chung <tausq@debian.org>
11148 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11150 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11152 * gdb.threads/threadapply.exp: Correct "macro details" test.
11154 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11156 * gdb.threads/threadapply.exp: New test.
11157 * gdb.threads/threadapply.c: New file.
11159 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11161 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11164 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11166 * gdb.base/cursal.exp: New file.
11167 * gdb.base/cursal.c: New file.
11169 2004-11-03 Andrew Cagney <cagney@gnu.org>
11171 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11173 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11175 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11176 NetBSD/ELF targets.
11178 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11180 * gdb.threads/bp_in_thread.c: New file, copied from
11181 pthread_cond_wait.c.
11182 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11183 file, rather than reusing the .c file from another testcase.
11185 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11187 * gdb.ada/null_record.exp: Check where we stopped after
11188 sending the start command, instead of where the associated
11189 temporary breakpoint was inserted.
11191 2004-10-14 Andrew Cagney <cagney@gnu.org>
11193 * gdb.mi/gdb701.c (main): Return 0.
11195 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11197 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11199 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11201 * gdb.threads/schedlock.c: Add comment markers to use to find
11203 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11205 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11208 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11210 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11212 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11214 * configure.in: Add gdb.dwarf2.
11215 * configure: Regenerated.
11216 * Makefile.in: Add gdb.dwarf2.
11217 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11218 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11219 gdb.dwarf2/file1.txt: New files.
11221 2004-10-11 Orjan Friberg <orjanf@axis.com>
11223 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11224 of "run", since the latter doesn't work with remote targets. Adjust
11225 the breakpoint numbering accordingly.
11226 * gdb.threads/pthread_cond_wait.exp: Ditto.
11228 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11230 * gdb.base/overlays.exp: Update copyright years.
11232 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11234 * gdb.base/overlays.exp: Disable if target is Linux.
11236 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11238 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11240 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11242 * gdb.asm/asm-source.exp: Add m32r-linux target.
11243 * gdb.asm/m32r-linux.inc: New file.
11245 2004-09-24 Andrew Cagney <cagney@redhat.com>
11246 David Anderson <anderson@redhat.com>
11248 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11249 command fails, assume things will work.
11250 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11251 (_GNU_SOURCE): Define.
11252 (print_unsigned, print_hex): Change parameter to "long long".
11253 (print_byte_count): New function, use to print byte counts.
11254 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11256 (main): Compute an upper bound on a corefile in max_core_size.
11257 Limit memory chunk size to max_core_size. Limit total memory
11258 allocated to max_core_size.
11260 2004-09-23 Andrew Cagney <cagney@gnu.org>
11262 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11263 from a separate process with code that creates a corefile by
11264 making the inferior dump core.
11266 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11268 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11271 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11273 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11274 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11275 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11278 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11280 * gdb.java/jprint.exp: New test case for java inferior call.
11281 * gdb.java/jprint.java: Ditto.
11283 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11285 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11287 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11289 * gdb.threads/killed.c: Include <stdlib.h>.
11290 * gdb.threads/pthreads.c: Likewise.
11292 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11294 * gdb.threads/killed.c: Add copyright notice.
11296 2004-09-10 Jason Molenda (jmolenda@apple.com)
11298 * gdb.base/define.exp: Two new tests to verify zero space chars
11299 after 'if' and 'while' commands in a user-defined command is correctly
11302 2004-09-08 Andrew Cagney <cagney@gnu.org>
11304 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11305 delivery test with duplicate at end of file.
11307 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11309 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11311 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11313 * config/hppro.exp: Removed.
11315 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11317 * config/sparclet.exp: Removed.
11319 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11321 * config/udi.exp: Removed.
11323 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11325 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11327 (advancei): Likewise.
11329 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11331 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11333 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11335 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11336 to check for nodebug in executable.
11337 * gdb.gdb/observer.exp (setup_test): Likewise.
11338 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11339 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11341 2004-09-01 Andrew Cagney <cagney@gnu.org>
11343 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11346 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11348 * gdb.base/unload.exp: Fix expected warning message to match
11351 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11353 * gdb.base/call-rt-st.exp: Fix typos.
11355 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11357 * gdb.threads/thread_check.exp: New testcase.
11358 * gdb.threads/thread_check.c: New testcase.
11360 2004-08-31 Andrew Cagney <cagney@gnu.org>
11362 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11363 (skip_to_handler_entry): New procedures. Test stepping into a
11364 handler when the breakpoint is at the handler's entry point.
11366 2004-08-30 Andrew Cagney <cagney@gnu.org>
11368 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11371 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11373 With code from Manoj Iyer <manjo@austin.ibm.com>:
11374 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11375 return value. Add an arm for "no debugging symbols found".
11376 Change a stray "error" to "perror".
11377 (gdb_run_cmd): Adapt to new return value.
11378 * gdb.base/remote.exp: Adapt to new return value.
11379 * gdb.gdb/complaints.exp: Likewise.
11380 * gdb.gdb/observer.exp: Likewise.
11381 * gdb.gdb/selftest.exp: Likewise.
11382 * gdb.gdb/xfullpath.exp: Likewise.
11384 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11386 * gdb.threads/bp_in_thread.exp: New testcase.
11388 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11390 Fix PR testsuite/1735.
11391 * gdb.threads/schedlock.c (thread_function): Add a cast
11392 to suppress a gcc warning.
11393 * gdb.threads/thread-specific.c (thread_function): Likewise.
11395 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11397 * gdb.base/unload.c: Include <stdlib.h>.
11399 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11401 From Paul Gilliam <pgilliam@us.ibm.com>:
11402 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11403 synchronized after the "return".
11405 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11407 * gdb.mi/basics.c: Include <stdio.h>.
11408 * gdb.mi/pthreads.c: Include <stdlib.h>.
11409 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11411 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11413 * gdb.threads/schedlock.c: Add copyright notice.
11415 2004-08-25 Andrew Cagney <cagney@gnu.org>
11417 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11418 (skip_over_handler, breakpoint_over_hander): New test procedures.
11419 (advance, advancei): Add a proper prefix, do not use
11421 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11423 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11425 * gdb.mi/basics.c: Add copyright notice.
11426 * gdb.mi/var-cmd.c: Add copyright notice.
11428 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11430 * lib/gdb.exp: Remove signed_keyword_not_used.
11431 * lib/compiler.c: Likewise.
11432 * lib/compiler.cc: Likewise.
11434 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11436 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11437 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11439 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11441 * gdb.base/whatis.c: Add copyright notice.
11443 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11445 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11446 it to skip the breakpoints encoded in the inline assembly.
11448 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11450 * Makefile.in: Add gdb.fortran.
11452 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11454 * gdb.base/call-sc.exp (test_scalar_returns):
11455 Fix cut-and-paste glitch in "Make fun return now".
11457 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11459 * configure.in: Add gdb.fortran.
11460 * configure: Regenerate.
11461 * gdb.fortran/Makefile.in: New file.
11462 * lib/gdb.exp (skip_fortran_tests): New procedure.
11464 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11466 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11467 reference to bug-gnu@prep.ai.mit.edu.
11468 * gdb.mi/mi-var-child.exp: Likewise.
11469 * gdb.mi/mi-var-cmd.exp: Likewise.
11470 * gdb.mi/mi-var-display.exp: Likewise.
11471 * gdb.mi/mi2-var-block.exp: Likewise.
11472 * gdb.mi/mi2-var-child.exp: Likewise.
11473 * gdb.mi/mi2-var-cmd.exp: Likewise.
11474 * gdb.mi/mi2-var-display.exp: Likewise.
11476 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11478 * gdb.base/unload.c (main): Make local variable msg const.
11480 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11482 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11483 to bug-gnu@prep.ai.mit.edu.
11484 * gdb.mi/mi-disassemble.exp: Likewise.
11485 * gdb.mi/mi-eval.exp: Likewise.
11486 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11487 default line number.
11488 * gdb.mi/mi-return.exp: Likewise.
11489 * gdb.mi/mi-simplerun.exp: Likewise.
11490 * gdb.mi/mi-stack.exp: Likewise.
11491 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11492 number with explicit range test.
11493 * gdb.mi/mi-watch.exp: Likewise.
11494 * gdb.mi/mi2-break.exp: Likewise.
11495 * gdb.mi/mi2-cli.exp: Likewise.
11496 * gdb.mi/mi2-disassemble.exp: Likewise.
11497 * gdb.mi/mi2-eval.exp: Likewise.
11498 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11499 default line number.
11500 * gdb.mi/mi2-return.exp: Likewise.
11501 * gdb.mi/mi2-simplerun.exp: Likewise.
11502 * gdb.mi/mi2-stack.exp: Likewise.
11503 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11504 number with explicit range test.
11505 * gdb.mi/mi2-watch.exp: Likewise.
11507 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11509 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11510 * gdb.cp/m-static.exp: Likewise.
11511 * gdb.cp/rtti.exp: Likewise.
11513 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11515 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11517 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11519 * ChangeLog: Prefix Local Variables with semi-colons and indent
11520 the reference to older ChangeLog files, to fix fontification in
11523 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11525 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11526 * gdb.mi/mi2-break.exp: Likewise.
11528 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11530 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11532 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11534 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11536 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11538 * gdb.cp/classes.exp: Remove unused declarations. Just let
11539 test names default instead of providing special names. Remove
11540 extraneous demangler test.
11542 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11544 * gdb.base/unload.exp: New test for breakpoints in dynamically
11546 * gdb.base/unload.c: Ditto.
11547 * gdb.base/unloadshr.c: Ditto.
11549 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11551 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11552 cp_test_ptype_class.
11553 (test_enums): Likewise.
11555 2004-08-10 Andrew Cagney <cagney@gnu.org>
11557 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11560 2004-08-10 Andrew Cagney <cagney@gnu.org>
11562 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11565 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11567 * ChangeLog: Add copyright notice. The notice is copied
11568 from emacs 21.3 top level ChangeLog.
11570 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11572 * lib/cp-support.exp: New file.
11573 * lib/cp-support.exp (cp_test_type_class): New function.
11574 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11575 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11576 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11577 cp_test_ptype_class.
11579 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11581 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11582 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11583 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11584 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11585 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11586 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11587 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11588 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11589 gdb.mi/mi2-watch.exp: Update copyright years.
11591 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11593 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11595 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11597 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11598 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11599 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11600 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11601 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11602 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11603 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11604 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11605 gdb.mi/mi-watch.exp: Update copyright years.
11607 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11610 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11611 from a breakpoint with a pending signal.
11613 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11616 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11617 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11619 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11621 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11623 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11625 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11628 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11631 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11633 * gdb.arch/i386-prologue.exp: Compile without debug information.
11635 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11637 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11638 rather than asking gdb to search.
11640 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11642 * gdb.base/gcore.c: Include <string.h>.
11644 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11646 * gdb.base/gcore.c: Add copyright notice.
11648 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11650 * gdb.base/freebpcmd.c: Include <stdio.h>.
11651 * gdb.base/long_long.c: Include <string.h>.
11652 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11653 * gdb.base/siginfo.c: Include <string.h>.
11654 * gdb.base/sigstep.c: Include <string.h>.
11656 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11658 * gdb.base/complex.c: Include <stdlib.h>.
11660 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11662 * gdb.base/complex.c: Add copyright notice.
11664 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11666 * gdb.base/charset.c: Include <stdlib.h>.
11668 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11670 * gdb.base/auxv.c: Include <stdlib.h>.
11672 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11674 * gdb.base/auxv.c: Add copyright notice.
11676 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11678 * gdb.base/coremaker.c: Add copyright notice.
11679 * gdb.base/coremaker2.c: Add copyright notice.
11681 2004-08-04 Andrew Cagney <cagney@gnu.org>
11683 * gdb.base/store.exp: Update copyright.
11684 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11685 names, do not import gdb_prompt.
11687 2004-08-01 Andrew Cagney <cagney@gnu.org>
11689 Fix PR testsuite/1729.
11690 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11691 not use capture_value with value 4.
11692 (capture_value): Add optional test name parameter.
11693 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11694 the prefix, pass to capture_value.
11696 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11698 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11699 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11700 (main): Call new function.
11702 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11704 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11706 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11708 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11710 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11712 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11713 Accept more values of vtbl pointer. Remove some messages
11714 about "obsolete gcc or gdb".
11716 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11718 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11720 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11722 * gdb.base/asm-source.exp: Properly convert target board
11723 debug flags from gcc format to binutils format.
11725 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11727 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11728 gdb1718". PR backtrace/1718 partially fixed.
11730 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11732 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11734 2004-07-26 Nick Clifton <nickc@redhat.com>
11736 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11737 good default value for a specific architecture is available then
11738 set it to that value. Otherwise default to the -gstabs switch.
11739 Remove the -g... switches from the asm-flags variable. Allow the
11740 target board info to override the value if it wants to. Pass the
11741 switch on the assembler command line.
11743 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11745 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11746 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11747 (main): Call new function.
11749 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11751 Test for PR exp/1715.
11752 * gdb.base/radix.exp: Refactor common procedures. Make all
11753 test names unique. Change XFAIL to KFAIL.
11755 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11757 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11758 * gdb.ada/gnat_ada.gin: ... to here.
11759 * configure.in: Use gnat_ada.gin.
11760 * configure: Regenerate.
11762 2004-07-20 Andrew Cagney <cagney@gnu.org>
11764 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11765 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11766 XFAILs. Clean up test messages and comments. Check backtraces.
11767 Delete re-sync code.
11769 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11772 * gdb.base/annota1.exp: Honor gdb,nosignals.
11773 * gdb.base/annota3.exp: Likewise.
11775 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11777 * lib/java.exp: Update copyright notice.
11779 2004-07-19 Andrew Cagney <cagney@gnu.org>
11781 * gdb.base/selftest.exp: Copy file from here ...
11782 * gdb.gdb/selftest.exp: ... to here.
11784 2004-07-16 Andrew Cagney <cagney@redhat.com>
11786 * lib/insight-support.exp: Delete file.
11787 * lib/java.exp (java_init): Fix copyright.
11789 2004-07-16 Andrew Cagney <cagney@gnu.org>
11791 * gdb.base/restore.c: Append "prologue" to comments marking the a
11792 function's prologue.
11793 * gdb.base/restore.exp: Update copyright, re-indent.
11794 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11795 callerN" prefix where needed. Update patterns that match a
11796 function's prologue.
11798 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11800 * gdb.base/restore.c: Add copyright notice.
11802 2004-07-16 Andrew Cagney <cagney@gnu.org>
11804 * gdb.base/logical.exp: Update copyright.
11805 (evaluate): New procedure. Use to re-implement tests using
11808 2004-07-14 Martin Hunt <hunt@redhat.com>
11810 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11811 which fixes some problems where init.tcl was not found.
11813 2004-07-13 Andrew Cagney <cagney@gnu.org>
11815 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11816 (check_sizeof, check_valueof): Do not include the output in the
11817 test name. Use gdb_test.
11818 (get_valueof): Use gdb_test_multiple.
11820 * gdb.base/step-test.exp: Update copyright. Use
11821 gdb_test_multiple. Ensure that test names do not include
11822 architecture dependent output.
11824 * gdb.gdb/observer.exp: Update copyright.
11825 (setup_test): Use gdb_test_multiple.
11826 (attach_first_observer, attach_second_observer)
11827 (attach_third_observer, detach_first_observer)
11828 (detach_second_observer, detach_third_observer)
11829 (reset_counters, check_counters): Make $message a prefix.
11830 (test_normal_stop_notifications): Add "args" parameter - a list of
11831 init functions to be called. Make $message a prefix,
11832 (test_observer_normal_stop): Change the message prefixes so that
11833 they are unique, pass the attach / detach procedures to
11834 test_normal_stop_notifications.
11836 * gdb.base/signull.exp (test_segv): Prefix all tests with
11837 "${name}". Clean up test messages.
11839 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11841 * gdb.base/ena-dis-br.exp: Update copyright.
11842 (break_at): New function. Replace send_gdb with gdb_test,
11843 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11844 ignore count, not stopped at bpt", with KFAIL.
11846 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11848 * gdb.base/attach.exp: Remove cleanupfile handling.
11850 2004-07-12 Andrew Cagney <cagney@gnu.org>
11852 * gdb.base/annota1.exp: Cleanup corefile test name.
11853 * gdb.base/annota3.exp: Ditto.
11855 2004-07-12 Andrew Cagney <cagney@gnu.org>
11857 * gdb.base/signals.exp: Clean up copyright, re-indent.
11859 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11860 gdb_test and gdb_test_multiple.
11862 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11864 * gdb.java/jmain.exp: Fix expected line number for main to
11865 break at. Set XFAIL for break at main test since gcj does not
11866 provide line number info for first statement in main.
11868 2004-07-08 Andrew Cagney <cagney@gnu.org>
11870 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11872 * gdb.base/sigbpt.exp: Make the common part of each test name a
11873 prefix instead of suffix.
11875 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11877 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11878 test from test_tbreak_creation_and_listing to
11879 test_file_list_exec_source_file
11880 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11881 Changed name of test from test_tbreak_creation_and_listing to
11882 test_file_list_exec_source_file
11884 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11886 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11887 the jmisc() constructor instead of <init>.
11888 * gdb.java/jmisc1.exp: Ditto.
11890 2004-07-07 Andrew Cagney <cagney@gnu.org>
11892 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11895 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11897 * gdb.cp/templates.exp: Accept whitespace change in demangler
11900 2004-07-06 Andrew Cagney <cagney@gnu.org>
11902 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11904 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11906 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11907 * lib/compiler.cc: Likewise.
11909 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11911 * lib/compiler.cc: Work around string preprocessing problem
11912 with old hp c++ compiler.
11913 * lib/compiler.c: Likewise.
11915 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11917 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11918 directives to conditionalize symbol prefixing.
11919 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11920 additional_flags handling. Add underscore prefix for Cygwin.
11921 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11922 conditionalize symbol prefixing.
11923 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11924 additional_flags handling. Add underscore prefix for Cygwin.
11926 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11928 * gdb.base/bigcore.exp: Skip test on Cygwin.
11930 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11932 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11933 formats for "info register". Use gdb_test_multiple. Fix
11934 the "invalid register" test.
11936 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11938 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11939 PID for Cygwin. Add Cygwin specific strings to check for in some
11941 (do_attach_tests): Add a test for user interaction when attaching
11942 to a process with no matching symbol table already loaded.
11944 2004-06-26 Andrew Cagney <cagney@gnu.org>
11946 Test PR java/1567 and PR java/1565.
11947 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11948 * gdb.java/jmisc2.exp: Delete file.
11950 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11952 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11954 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11956 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11959 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11961 * gdb.cp/pr-1553.exp: Remove.
11963 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11965 * gdb.cp/pr-1553.cc: Remove.
11966 * gdb.cp/pr-1553.exp: Disable this test.
11968 2004-06-20 Jim Blandy <jimb@redhat.com>
11970 Fix PR testsuite/1680.
11971 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11972 regular expressions.
11974 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11976 Fix PR testsuite/1679.
11977 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11978 Issue an UNSUPPORTED result instead.
11980 2004-06-18 Jim Blandy <jimb@redhat.com>
11982 * gdb.base/charset.exp: Only send a control-C if we see a new
11983 prompt and incomplete command.
11985 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11987 * gdb.cp/pr-574.cc: Add copyright notice.
11989 2004-06-17 Jim Blandy <jimb@redhat.com>
11991 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11992 cases where the regexp has no groups; this grabs random text from
11993 the previous test suite, whatever that was.
11995 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11997 * gdb.cp/printmethod.cc: Add copyright notice.
11999 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12001 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12003 2004-06-16 Andrew Cagney <cagney@gnu.org>
12005 * gdb.base/signull.c: Update copyright. Include <string.h>.
12006 (bowler): Replace data_pointer with data_read
12007 and data_write cases. Add code_descriptor case.
12008 (zero, desc): New array and pointer.
12009 (data, code): Change to simple pointers.
12010 * gdb.base/signull.exp: Fix probe pattern matching a function
12011 descriptor SIGSEGV. Replace data_pointer with data_read and
12014 2004-06-16 Andrew Cagney <cagney@gnu.org>
12016 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12018 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12020 * gdb.base/long_long.c: Add copyright notice.
12022 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12024 * gdb.base/long_long.exp: Remove reference to
12025 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12026 to gdb_breakpoint and gdb_continue_to_breakpoint.
12028 2004-06-14 Jim Blandy <jimb@redhat.com>
12030 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12033 2004-06-14 Andrew Cagney <cagney@gnu.org>
12035 * gdb.base/gcore.exp (capture_command_output): Delete the always
12036 passing tests containing inferior values.
12037 * gdb.base/ending-run.exp: Do not include the breakpoint address
12038 in the test message. Update copyright.
12039 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12040 size in the test name, use gdb_test_multiple. Update copyright.
12042 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12044 * gdb.cp/ref-types.cc: Add copyright notice.
12046 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12048 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12050 * lib/compiler.cc: Likewise.
12051 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12052 'set' commands. Log diagnostics for other lines. Set
12053 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12055 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12057 * gdb.cp/try_catch.cc: Add copyright notice.
12059 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12061 * gdb.cp/userdef.cc: Add copyright notice.
12063 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12065 * gdb.cp/virtfunc.cc: Add copyright notice.
12067 2004-06-11 Randolph Chung <tausq@debian.org>
12069 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12072 2004-06-10 Andrew Cagney <cagney@gnu.org>
12074 * lib/compiler.cc, lib/compiler.c: Append either
12075 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12076 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12077 instead of gcc-3-3.
12079 2004-06-09 Andrew Cagney <cagney@gnu.org>
12081 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12082 gdb/1455, bug is specific to "long long" and "double".
12084 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12085 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12086 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12089 2004-06-09 Andrew Cagney <cagney@gnu.org>
12091 * gdb.base/structs.exp (test_struct_returns): Replace
12092 "return_value_unknown" and "finish_value_unknown" by
12093 "return_value_known" and "finish_value_known". Instead of
12094 "return_value_unknown" iff "finish_value_unknown", check
12095 "return_value_known" implies "finish_value_known".
12097 2004-06-08 Martin Hunt <hunt@redhat.com>
12099 * gdb.base/float.exp: Add pattern for mips targets.
12101 2004-06-08 Randolph Chung <tausq@debian.org>
12103 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12104 message for unknown architectures more clear.
12106 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12108 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12109 start the execution of the program.
12111 2004-06-07 Jim Blandy <jimb@redhat.com>
12113 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12114 * gdb.arch/i386-cpuid.h: New helper file.
12116 2004-06-07 Randolph Chung <tausq@debian.org>
12118 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12121 2004-06-04 Roland McGrath <roland@redhat.com>
12124 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12125 differently to be robust to output buffering differences.
12127 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12129 * gdb.threads/pthreads.exp: Update copyright years.
12130 (check_control_c): Change asynchronous 'after' to synchronous.
12132 2004-06-04 Roland McGrath <roland@redhat.com>
12134 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12137 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12140 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12141 calls to synchronous.
12143 2004-05-26 Jim Blandy <jimb@redhat.com>
12145 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12147 2004-05-24 Randolph Chung <tausq@debian.org>
12149 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12150 * gdb.asm/pa.inc: New file.
12152 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12154 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12156 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12157 Daniel Jacobowitz <drow@mvista.com>
12159 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12162 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12164 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12165 setjmp/longjmp. Use sigaction instead of signal.
12167 2004-05-19 J. Brobecker <brobecker@gnat.com>
12168 Michael Snyder <msnyder@redhat.com>
12170 * gdb.threads/pthread_cond_wait.c: New file.
12171 * gdb.threads/pthread_cond_wait.exp: New testcase.
12173 2004-05-13 Andrew Cagney <cagney@redhat.com>
12175 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12176 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12178 2004-05-11 Andrew Cagney <cagney@redhat.com>
12180 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12181 fixed but revealed gdb/1639.
12183 2004-05-10 Andrew Cagney <cagney@redhat.com>
12185 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12186 func1" and "next to 2nd alarm", kernel bug avoided.
12188 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12191 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12192 XFAIL if it is smaller than bytes_allocated.
12193 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12194 (main): Make chunks_allocated unsigned. Correct comment.
12196 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12198 * gdb.arch/powerpc-aix-prologue.c: New file.
12199 * gdb.arch/powerpc-aix-prologue.exp: New file.
12201 2004-05-07 Jim Blandy <jimb@redhat.com>
12203 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12204 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12206 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12208 * gdb.base/sep.exp: No longer setup_kfail when the program was
12211 2004-05-05 Jim Ingham <jingham@apple.com>
12213 * gdb.base/pending.exp: Make sure pending breakpoints
12214 preserve the ignore count.
12216 2004-04-27 Jerome Guitton <guitton@gnat.com>
12218 * i386-prologue.exp: Add testcase for jump instruction as first
12219 instruction of the real code.
12220 * i386-prologue.c (jump_at_beginning): New function.
12222 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12224 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12227 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12229 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12232 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12234 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12235 expression that checks the return type.
12237 2004-04-23 Andrew Cagney <cagney@redhat.com>
12239 * gdb.base/call-sc.exp: New test of scalar call/return values.
12240 * gdb.base/call-sc.c: Ditto.
12242 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12244 * gdb.threads/manythreads.c: Reduce thread stack size.
12246 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12248 * gdb.threads/manythreads.c: Add copyright notice.
12250 2004-04-23 Andrew Cagney <cagney@redhat.com>
12252 * gdb.base/siginfo.exp: Better handle step out of signal.
12253 * gdb.base/sigstep.exp: Ditto.
12255 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12256 Daniel Jacobowitz <drow@mvista.com>
12258 * gdb.threads/manythreads.c: New testcase.
12259 * gdb.threads/manythreads.exp: Ditto.
12261 2004-04-22 Jim Blandy <jimb@redhat.com>
12263 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12264 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12266 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12268 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12270 2004-04-21 Andrew Cagney <cagney@redhat.com>
12272 * gdb.base/sigstep.c: New file.
12273 * gdb.base/sigstep.exp: New file.
12275 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12277 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12278 call to observer_notify_normal_stop.
12280 2004-04-15 Andrew Cagney <cagney@redhat.com>
12282 * gdb.base/siginfo.c: New file.
12283 * gdb.base/siginfo.exp: New file.
12285 2004-04-12 J. Brobecker <brobecker@gnat.com>
12287 * gdb.base/sep.exp: Fix typo in comment.
12289 2004-04-12 J. Brobecker <brobecker@gnat.com>
12291 * gdb.base/sep.c: New file.
12292 * gdb.base/sep-proc.c: New file.
12293 * gdb.base/sep.exp: New testcase.
12295 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12297 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12300 2004-04-05 Andrew Cagney <cagney@redhat.com>
12302 * gdb.base/sigaltstack.c: New file.
12303 * gdb.base/sigaltstack.exp: New file.
12305 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12307 * gdb.base/foll-fork.exp: Update the expected output for
12308 "help set follow-fork-mode", to match a change that was made
12309 to the help of this variable on 2004-01-13.
12311 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12313 * lib/ada.exp: Add copyright notice.
12314 * bar.ads: Likewise.
12315 * bar.adb: Likewise.
12316 * null_record.adb: Likewise.
12317 * null_record.exp: Likewise.
12318 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12320 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12322 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12323 * configure: Regenerate.
12325 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12327 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12328 to build the application. Remove the message printed when in
12329 verbose mode, redundant with the UNSUPPORTED message above.
12331 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12333 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12334 * gdb.ada (null_record.exp): New testcase.
12336 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12338 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12340 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12342 * gdb.ada: New subdirectory.
12343 * gdb.ada/Makefile.in: New file.
12344 * gdb.ada/gnat_ada.gpr.in: New file.
12346 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12348 * lib/ada.exp: New file.
12350 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12352 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12353 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12355 2004-03-22 Andrew Cagney <cagney@redhat.com>
12357 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12358 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12359 Problem identified by Ulrich Weigand.
12361 2004-03-17 David Carlton <carlton@kealia.com>
12363 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12366 2004-03-16 Roland McGrath <roland@redhat.com>
12368 * gdb.base/auxv.exp: New file.
12369 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12371 2004-03-12 David Carlton <carlton@kealia.com>
12373 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12374 * gdb.cp/pr-1553.cc: Ditto.
12375 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12378 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12380 * gdb.cp/templates.exp: Accept more template types.
12382 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12384 From Corinna Vinschen with modifications.
12385 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12386 local variable obj_with_enum.
12387 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12388 results with obj_with_enum.
12390 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12392 * gdb.cp/classes.cc: New file, copied from misc.cc.
12393 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12395 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12397 * gdb.cp/misc.cc: Add copyright notice.
12399 2004-03-05 David Carlton <carlton@kealia.com>
12401 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12402 * gdb.cp/rtti.h: Update copyright.
12403 (namespace n2::n3): New.
12404 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12405 (n2::n3::func3): New.
12406 (main): Call n2::n3::func3.
12407 * gdb.cp/rtti2.cc: Update copyright.
12408 (n2::create3): New.
12410 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12412 * gdb.asm/openbsd.inc: Fix typo.
12414 2004-03-03 Fred Fish <fnf@redhat.com>
12416 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12417 "val" instead of unused "size". Update copyright year.
12419 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12421 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12422 to use unsigned char.
12423 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12424 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12426 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12428 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12431 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12433 * gdb.base/relocate.c (dummy): Initialize.
12435 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12437 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12438 a breakpoint at exit.
12440 2004-02-27 Fred Fish <fnf@redhat.com>
12442 * gdb.base/chng-syms.exp: Add expect condition to match failing
12443 case that isn't a timeout.
12445 2004-02-27 Andrew Cagney <cagney@redhat.com>
12447 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12450 2004-02-26 Fred Fish <fnf@redhat.com>
12452 * gdb.arch/gdb1431.c: Remove.
12453 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12454 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12455 of "until" incorrectly.
12457 2004-02-26 J. Brobecker <brobecker@gnat.com>
12459 * gdb.cp/class2.cc (empty): New class.
12460 (refer): New function.
12461 (main): Declare an object of type empty and use it.
12462 * gdb.cp/class2.exp: Print the value of an object of type empty.
12464 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12466 * gdb.base/langs.exp: Update query string to match the
12467 new nquery format used for pending breakpoints.
12469 2004-02-26 Andrew Cagney <cagney@redhat.com>
12472 * gdb.base/charset.c: Update copyright notice.
12473 (main, init_string): Remove the escape character '\e' tests.
12474 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12475 * gdb.base/charset.exp (valid_host_charset): Ditto.
12476 * gdb.base/setvar.exp: Ditto.
12478 2004-02-24 Andrew Cagney <cagney@redhat.com>
12480 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12481 mmapped data in core file" PASS and FAIL messages consistent.
12483 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12484 setting a breakpoint. Work around PR java/1565.
12486 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12488 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12490 * gdb.base/pending.exp: Ditto.
12492 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12494 * configure.in: Run stabs tests on *BSD.
12495 * configure: Regenerated.
12497 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12499 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12501 2004-02-20 Fred Fish <fnf@redhat.com>
12503 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12504 blank in test for "returns short", for consistency with other
12505 "returns xxx" tests. Update copyright year.
12507 2004-02-19 Fred Fish <fnf@redhat.com>
12509 New testcase for PR breakpoint/1558.
12510 * gdb.arch/gdb1558.exp: New file.
12511 * gdb.arch/gdb1558.c: New file.
12513 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12515 * gdb.base/nodebug.exp: Fix typo.
12517 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12519 Committed by Jim Blandy <jimb@redhat.com>.
12521 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12523 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12525 * gdb.base/float.exp: Support s390*-*-* targets.
12527 2004-02-17 Adam Fedor <fedor@gnu.org>
12529 * gdb.base/gdb1555.exp: New file.
12530 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12532 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12534 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12536 2004-02-16 Fred Fish <fnf@redhat.com>
12538 * gdb.arch/gdb1291.c: Remove
12539 * gdb.arch/gdb1291.s: New test input file.
12540 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12541 fail. Test for correct result, known incorrect result, other
12542 failures and timeouts.
12544 2004-02-16 Andrew Cagney <cagney@redhat.com>
12546 * gdb.base/bigcore.exp: New file.
12547 * gdb.base/bigcore.c: New file.
12549 2004-02-13 Andrew Cagney <cagney@redhat.com>
12551 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12552 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12553 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12554 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12555 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12556 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12557 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12558 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12559 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12560 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12562 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12564 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12565 executed is an alloc instruction.
12567 2004-02-11 David Carlton <carlton@kealia.com>
12569 * gdb.cp/breakpoint.exp: New.
12570 * gdb.cp/breakpoint.cc: New.
12572 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12574 Partial fix for PR gdb/1543.
12575 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12576 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12577 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12578 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12579 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12580 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12581 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12582 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12583 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12584 to bug-gdb@prep.ai.mit.edu .
12585 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12586 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12587 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12590 2004-02-10 Andrew Cagney <cagney@redhat.com>
12592 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12593 using gdb_internal_error_resync.
12595 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12597 * gdb.threads/thread-specific.exp: Stop early if no threads are
12600 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12602 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12604 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12606 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12609 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12611 * config/sim.exp (gdb_load): Handle $arg == "".
12612 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12613 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12615 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12617 * gdb.base/maint.exp: Update test to reflect
12620 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12622 * gdb.base/pendshr.c (pendfunc): New function that calls
12624 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12626 2004-02-04 Fred Fish <fnf@redhat.com>
12628 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12629 function symbols and update copyright years.
12630 * gdb.arch/gdb1291.c: Ditto.
12632 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12634 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12636 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12638 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12640 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12642 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12644 2004-02-02 Fred Fish <fnf@redhat.com>
12646 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12647 remote targets. Update copyright years.
12649 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12651 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12653 * gdb.base/langs.exp: Fix test which attempts to create
12654 breakpoint on non-existent function to handle new pending
12656 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12658 * gdb.base/pending.exp: New test.
12659 * gdb.base/pending.c: New file.
12660 * gdb.base/pendshr.c: Ditto.
12662 2004-02-02 David Carlton <carlton@kealia.com>
12664 * gdb.cp/overload.exp: Add overloadNamespace tests.
12665 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12666 (overloadNamespace, XXX): New.
12667 (main): Call XXX::marker2.
12669 2004-02-01 Fred Fish <fnf@redhat.com>
12671 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12672 * gdb.base/finish.exp: Ditto.
12673 * gdb.base/gcore.exp: Ditto.
12674 * gdb.base/huge.exp: Ditto.
12675 * gdb.base/info-proc.exp: Ditto.
12676 * gdb.base/return2.exp: Ditto.
12677 * gdb.threads/gcore-thread.exp: Ditto.
12679 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12681 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12683 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12685 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12686 that opening the file succeeds on OpenBSD.
12688 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12690 * gdb.threads/thread-specific.c: New file.
12691 * gdb.threads/threads-specific.exp: New test script.
12692 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12695 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12697 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12698 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12699 only on the "print_small_structs from print_long_arg_list" test.
12701 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12703 * gdb.base/completion.exp: Kill a stray backslash.
12705 From Jim Ingham <jingham@apple.com>:
12706 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12707 agrees with the result from sending a tab.
12709 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12711 * gdb.base/chng-syms.exp: Remove stray newline.
12713 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12715 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12717 * gdb.asm/openbsd.inc: New file.
12719 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12721 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12722 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12723 *-*solaris2*. Remove commented out default settings for
12724 asm-flags. Replace gdb_compile with target_link.
12726 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12728 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12729 for all tests. Remove old hp-ux and cygnus xfail cases.
12731 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12733 * gdb.base/chng-syms.exp: New file.
12734 * gdb.base/chng-syms.c: New file.
12736 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12738 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12739 Provide arms for current output in all my configurations.
12741 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12743 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12744 * lib/compiler.cc: Likewise.
12745 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12746 get the right preprocessor. Eval the output directly. Remove
12747 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12748 hp_f77_compiler and hp_f90_compiler completely.
12749 (gdb_preprocess): Delete.
12750 (get_compiler): Delete.
12752 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12754 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12757 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12759 * gdb.mi/mi-stack.exp: Update copyright.
12761 2004-01-23 David Carlton <carlton@kealia.com>
12763 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12764 test for cp_lookup_transparent_type.
12765 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12768 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12770 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12773 2004-01-23 David Carlton <carlton@kealia.com>
12775 * gdb.cp/namespace.cc (C::ensureRefs): New.
12776 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12778 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12780 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12781 case "-stack-list-locals 2".
12782 * gdb.mi/mi-var-child.exp: Test for case
12783 "-var-list-children --all-values NAME".
12785 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12787 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12789 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12791 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12792 used with gdb_test_multiple.
12794 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12795 read at address 0. This fixes PR testsuite/1504.
12797 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12799 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12800 Remove downloading, guessing the host executable, the calls to
12801 gdb_file_cmd and gdb_target_cmd, and "load" support.
12802 (infer_host_exec): New function broken out from gdb_load.
12803 (gdb_load): New wrapper for gdbserver_gdb_load.
12804 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12805 gdb_target_cmd. Use -target-select.
12806 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12807 Download binaries to the host. Clear last_mi_remote_file when
12808 we load a new binary.
12809 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12810 call gdbserver_gdb_load and mi_gdb_target_cmd.
12812 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12814 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12817 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12819 * gdb.cp/templates.exp: Fix typo in test name of
12820 "print Foo<volatile char*>::foo".
12822 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12824 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12826 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12828 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12829 (clean mostlyclean): Remove empty rm.
12831 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12833 * gdb.base/setvar.exp: Add copyright years.
12835 2004-01-14 David Carlton <carlton@bactrian.org>
12837 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12838 PR c++/1511 and update coment.
12839 * gdb.cp/templates.exp: Update patterns to match current output.
12840 If changes involve something other than whitespace, KFAIL
12841 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12843 2004-01-14 David Carlton <carlton@kealia.com>
12845 * gdb.cp/namespace.exp: Add tests involving classes defined within
12847 * gdb.cp/namespace.cc (C::CClass): New.
12848 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12850 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12852 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12853 what debug info we have. Print a better message if something goes
12854 wrong while producing the separate debug info file.
12856 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12858 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12860 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12862 * gdb.base/callfuncs.c: Add copyright notice.
12864 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12866 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12867 inheritance. PR gdb/1498, PR gcc/13539.
12869 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12871 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12872 test specific name.
12873 * gdb.mi/gdb669.exp: Ditto.
12874 * gdb.mi/mi-pthreads.exp: Ditto.
12875 * gdb.mi/mi1-pthreads.exp: Ditto.
12876 * gdb.mi/mi2-pthreads.exp: Ditto.
12878 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12880 * gdb.cp/member-ptr.cc: Add copyright notice.
12882 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12884 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12885 some patterns for recent versions of gcc and hpacc. Delete
12886 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12887 Delete tests that access a NULL pointer-to-member-data. This
12888 script is still disabled for gcc.
12890 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12892 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12895 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12897 * gdb.base/sepdebug.exp: New file.
12898 * gdb.base/sepdebug.c: New file.
12899 * lib/gdb.exp (separate_debug_filename): New procedure.
12900 (gdb_gnu_strip_debug): New procedure.
12902 2004-01-12 Andrew Cagney <cagney@redhat.com>
12904 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12905 * gdb.mi/ChangeLog-1999-2003: New file.
12907 2004-01-12 Andrew Cagney <cagney@redhat.com>
12909 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12910 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12911 or EEXIST", treat EBUSY as an XFAIL.
12913 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12915 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12918 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12920 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12923 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12925 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12926 and "(aCC)" decorations. Remove obsolete doco about old
12929 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12931 * gdb.cp/exception.exp: Fix typo in doco.
12933 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12935 * gdb.base/gdb1476.exp: Fix typo.
12937 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12939 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12942 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12944 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12945 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12946 Use gdb_compile. Remove restriction on gcc. Add some patterns
12947 for recent version of gdb. Delete second half, which was a copy
12948 of the first half with different build flags. This test is
12949 still disabled because it is still not ready for production.
12951 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12953 * gdb.cp/exception.cc: Add copyright notice.
12954 * gdb.cp/exception.exp: Add a notice that this file is broken
12955 because of line number changes caused by addition of copyright
12958 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12960 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12961 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12963 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12965 * gdb.cp/classes.exp: Accept gnu abi 2.
12966 * gdb.cp/derivation.exp: Likewise.
12967 * gdb.cp/overload.exp: Likewise.
12968 * gdb.cp/virtfunc.exp: Likewise.
12970 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12972 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12973 semicolon after end of function.
12975 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12977 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12978 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12979 boilerplate code for compiling and running the program under
12980 test. Add some string method tests.
12982 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12984 * gdb.cp/bs15503.cc: Add copyright notice.
12985 * gdb.cp/bs15503.exp: Adjust line number.
12987 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12989 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12990 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12992 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12994 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12997 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12999 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13000 * gdb.cp/ctti.exp: Use the marker instead of "next".
13001 With gcc, run further before bailing.
13003 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13005 * gdb.cp/cttiadd.cc: Add copyright notice.
13006 * gdb.cp/cttiadd1.cc: Likewise.
13007 * gdb.cp/cttiadd2.cc: Likewise.
13008 * gdb.cp/cttiadd3.cc: Likewise.
13010 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13012 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13013 Use gdb_test, gdb_test_multiple. Use floating-point values that
13014 have exact representations in IEEE-ish formats.
13016 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13018 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13019 compilers. Delete duplicate call to get_compiler_info.
13020 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13021 * gdb.base/volatile.exp: Likewise.
13023 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13025 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13026 memory at address 0.
13028 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13030 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13031 to test for hp-ux assembler. Fix copyright years.
13033 2004-01-07 Andrew Cagney <cagney@redhat.com>
13035 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13037 2004-01-07 Andrew Cagney <cagney@redhat.com>
13039 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13040 when creating the read-only file. From analysis by Roland McGrath
13043 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13045 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13047 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13049 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13052 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13054 * gdb.cp/m-static.exp: Compile one source file at a time.
13055 Delete unused call to get_compiler_info.
13057 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13059 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13060 * gdb.base/call-rt-st.exp: Likewise.
13061 * gdb.base/nodebug.exp: Likewise.
13062 * gdb.base/volatile.exp: Likewise.
13063 * gdb.cp/ref-types.exp: Likewise.
13064 * gdb.cp/templates.exp: Likewise.
13066 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13068 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13070 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13072 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13075 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13077 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13080 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13081 sparc64-*-* and sparc*-solaris2*.
13083 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13085 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13086 return ${tests}" test. The ${tests} already mentions the
13089 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13091 * gdb.cp/local.exp: Accept gcc abi 2.
13093 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13095 * gdb.cp/templates.exp: Accept gcc abi 2.
13097 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13099 * lib/compiler.cc: Remove supports_template_debugging.
13100 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13102 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13104 * gdb.cp/namespace.exp: Accept gcc abi 2.
13106 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13108 * gdb.cp/method.exp: Accept gcc abi 2.
13110 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13112 * gdb.cp/classes.exp: Generate identical results as old version.
13113 * gdb.cp/derivation.exp: Likewise.
13114 * gdb.cp/overload.exp: Likewise.
13115 * gdb.cp/virtfunc.exp: Likewise.
13117 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13119 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13120 mysterious bug with sourceware version of expect.
13122 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13124 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13125 current versions of gcc, including gcc abi 2. Remove gratuitous
13126 restart of test program. Use gdb_test_multiple and gdb_test for
13127 all tests. Add patterns to xfail missing "const" in "const char *"
13128 and kfail PR gdb/1155.
13130 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13132 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13133 current versions of gcc, including gcc abi 2. Remove gratuitous
13134 restart of test program. Use gdb_test_multiple and gdb_test for
13135 all tests. Add patterns to kfail PR gdb/1498.
13137 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13139 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13140 current versions of gcc, including gcc abi 2. Use "breakpoint"
13141 and "continue" instead of restarting the target program. Use
13142 gdb_test_multiple and gdb_test for all tests.
13144 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13146 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13149 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13151 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13152 current versions of gcc, including gcc abi 2. Use "breakpoint"
13153 and "continue" instead of restarting the target program several
13154 times. Use gdb_test_multiple and gdb_test for all tests.
13156 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13158 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13161 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13163 * gdb.base/environ.exp: Handle compiling test case from multiple
13166 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13168 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13170 2003-12-17 Jim Blandy <jimb@redhat.com>
13172 * gdb.base/freebpcmd.c: Add copyright notice.
13174 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13176 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13178 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13180 2003-12-13 Jim Blandy <jimb@redhat.com>
13182 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13184 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13186 * gdb.asm/frv.inc: New file.
13187 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13189 2003-12-09 Fred Fish <fnf@redhat.com>
13191 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13192 functions to break1.c and leave prototypes behind. Add more
13193 "set breakpoint NN here" comments.
13194 * gdb.base/break1.c: New file.
13196 * gdb.base/break.exp: Handle compiling test case from multiple
13197 source files and change source file references as needed.
13198 * gdb.base/completion.exp: Ditto.
13199 * gdb.base/condbreak.exp: Ditto.
13200 * gdb.base/define.exp: Ditto.
13201 * gdb.base/ena-dis-br.exp: Ditto.
13202 * gdb.base/info-proc.exp: Ditto.
13203 * gdb.base/maint.exp: Ditto.
13204 * gdb.base/until.exp: Ditto.
13206 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13207 hardcoded line numbers.
13208 * gdb.base/define.exp: Ditto.
13209 * gdb.base/ena-dis-br.exp: Ditto.
13210 * gdb.base/maint.exp: Ditto.
13211 * gdb.base/until.exp: Ditto.
13213 * gdb.base/completion.exp: Use "break1" for completion tests since
13214 "break" is no longer a unique prefix.
13216 2003-12-06 Andrew Cagney <cagney@redhat.com>
13218 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13219 "return_value_unimplemented". When an unimplemented struct return
13220 architecture, report incorrect values as a KFAIL
13222 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13224 * gdb.cp/rtti.exp: Accept new wording of warning from
13225 cp_lookup_rtti_type.
13227 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13229 Partial fix for PR testsuite/1456.
13230 * gdb.base/scope.exp (test_at_main): Replace references to
13231 gcc_compiled with calls to test_compiler_info.
13232 (test_at_foo): Likewise.
13233 (test_at_bar): Likewise.
13235 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13237 Partial fix for PR testsuite/1456.
13238 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13239 to test_compiler_info.
13241 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13243 * gdb.base/so-impl-ld.exp: Update copyright notice.
13245 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13247 Partial fix for PR testsuite/1456.
13248 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13249 to test_compiler_info.
13251 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13253 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13254 from current versions of gdb. Clean up regular expressions.
13255 Delete redundant timeout case.
13257 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13259 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13260 from current versions of gdb. Clean up regular expressions.
13261 Delete redundant timeout case.
13263 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13265 Partial fix for PR testsuite/1456.
13266 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13267 gcc_compiled with call to test_compiler_info.
13269 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13271 Partial fix for PR testsuite/1456.
13272 * gdb.base/list.exp (test_list_function): Delete unused declaration
13275 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13277 Partial fix for PR testsuite/1456.
13278 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13279 call to test_compiler_info.
13281 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13283 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13284 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13285 it to create the appropriate note.inc.
13286 * gdb.asm/asmsrc1.s: Include "note.inc".
13287 * gdb.asm/netbsd.inc: New file.
13288 * gdb.asm/empty.inc: New file.
13290 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13292 Partial fix for PR testsuite/1456.
13293 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13294 calls to test_compiler_info.
13296 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13298 Partial fix for PR testsuite/1456.
13299 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13300 calls to test_compiler_info.
13302 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13304 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13305 pattern for the KFAILs.
13307 2003-11-25 Adam Fedor <fedor@gnu.org>
13309 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13310 * gdb.objc/objcdecode.m: New file.
13312 2003-11-25 Adam Fedor <fedor@gnu.org>
13314 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13315 * gdb.objc/nondebug.m: New file.
13317 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13319 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13320 NetBSD as it does on FreeBSD. Modelled on a similar change by
13321 Mark Kettenis on 2003-05-30.
13322 (link-flags): Set to "--entry _start" regardless of target.
13323 Special linker flags are to be appended to $link-flags.
13324 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13326 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13328 * gdb.cp/method.exp: Accept output of new demangler.
13330 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13332 * gdb/class2.exp: New file.
13333 * gdb/class2.cc: New file.
13335 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13337 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13340 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13342 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13345 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13347 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13348 "continue" into "run".
13350 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13352 Partial fix for PR testsuite/1456.
13353 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13354 call to test_compiler_info.
13355 * gdb.cp/ctti.exp: Likewise.
13356 * gdb.cp/derivation.exp: Likewise.
13357 * gdb.cp/member-ptr.exp: Likewise.
13358 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13359 reference to gcc_compiled.
13361 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13363 Fix PR testsuite/1463.
13364 * gdb.base/structs.exp (start_structs_test): Call
13365 get_debug_format before using the debug format.
13367 2003-11-22 Andrew Cagney <cagney@redhat.com>
13369 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13370 * gdb.base/structs.exp: Use gdb_test_multiple.
13372 2003-11-20 Andrew Cagney <cagney@redhat.com>
13374 * gdb.base/structs.exp: Handle and recover from internal errors.
13375 Replace "foo${n}" with "foo<n>" in test messages.
13377 * gdb.base/structs.exp: Update copyright. Rewrite.
13378 * gdb.base/structs.c: Update copyright. Rewrite.
13380 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13381 resync count exceeded.
13383 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13384 from the internal error.
13385 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13386 Original from Jim Blandy.
13387 (gdb_test_multiple): Use gdb_internal_error_resync.
13389 2003-11-19 Andrew Cagney <cagney@redhat.com>
13391 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13394 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13396 New testcase for PR backtrace/1435.
13397 * gdb.arch/i386-unwind.exp: New file.
13398 * gdb.arch/i386-unwind.c: New file.
13400 2003-11-17 Andrew Cagney <cagney@redhat.com>
13402 * lib/gdb.exp (compiler_info): New global.
13403 (test_compiler_info): New function.
13404 (get_compiler_info): Set compiler_info.
13405 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13406 "compiler_info" to gcc-<major>-<minor>.
13408 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13410 * gdb.trace/configure: Remove.
13412 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13414 * gdb.base/break.c: Add comments to aid finding line numbers for
13416 * gdb.base/break.exp: Remove all references to explicit line
13419 2003-11-11 Nick Clifton <nickc@redhat.com>
13421 * gdb.base/shreloc.exp: Do not run for targets which do not
13422 support shared objects.
13424 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13426 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13427 Don't run tests if nofileio flag is given.
13429 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13431 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13432 as well as 'Watchpoint'.
13434 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13436 Reported by Jim Ingham <jingham@apple.com>:
13437 * gdb.base/annota1.exp: Match at least one occurrence of the
13438 signal handler annotation.
13440 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13442 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13443 as well as 'Watchpoint'.
13445 2003-11-05 Michael Chastain <mec@shout.net>
13447 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13449 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13451 * gdb.arch/gdb1291.c: New test file.
13452 * gdb.arch/gdb1291.exp: New test script.
13453 * gdb.arch/gdb1431.c: New test file.
13454 * gdb.arch/gdb1431.exp: New test script.
13456 2003-10-22 Michael Chastain <mec@shout.net>
13458 * gdb.mi/pthreads.c: Add copyright notice.
13460 2003-10-22 Michael Chastain <mec@shout.net>
13462 * gdb.threads/pthreads.c: Add copyright notice.
13464 2003-10-20 Michael Chastain <mec@shout.net>
13466 * gdb.base/gdb1056.exp: New test script.
13468 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13470 * gdb.threads/killed.exp: Use gdb_run_cmd.
13472 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13474 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13475 create a core file.
13476 * gdb.threads/gcore-thread.exp: Likewise.
13478 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13480 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13481 type, based on char type.
13482 (struct bit_flags_short_t): New bitfield type, based on short type.
13483 (init_bit_flags_char): New fuction.
13484 (init_bit_flags_short): Ditto.
13485 (print_bit_flags_char): Ditto.
13486 (print_bit_flags_short): Ditto.
13487 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13489 2003-10-11 Michael Chastain <mec@shout.net>
13491 * gdb.base/call-rt-st.exp: Update copyright year.
13493 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13495 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13496 * gdb.disasm/sh3.s: Ditto.
13498 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13500 * gdb.threads/switch-threads.exp: New test.
13501 * gdb.threads/switch-threads.c: New source file.
13503 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13505 * gdb.base/ending-run.exp: Add sh specific case.
13507 2003-10-06 Andrew Cagney <cagney@redhat.com>
13509 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13510 * gdb.disasm/mn10200.exp: Delete obsolete file.
13512 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13514 * ChangeLog: Correct an entry command.exp -> commands.exp.
13515 * gdb.base/commands.exp (bp_deleted_in_command_test)
13516 (temporary_breakpoint_commands): Check noargs.
13518 2003-09-25 David Carlton <carlton@kealia.com>
13520 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13521 of some print tests, where appropriate. Add tests for C::D::cd,
13522 E::ce, F::cXfX, G::XgX.
13523 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13525 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13527 * lib/java.exp (java_init): Import target_alias before using it.
13529 2003-09-25 David Carlton <carlton@kealia.com>
13531 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13533 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13535 * gdb.base/selftest.exp: Accomodate more instruction reordering
13538 2003-09-17 Michael Chastain <mec@shout.net>
13540 * gdb.cp/gdb1355.exp: New file.
13541 * gdb.cp/gdb1355.c: New file.
13543 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13545 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13546 * gdb.asm/sh.inc: New file.
13548 2003-09-11 David Carlton <carlton@kealia.com>
13550 * gdb.cp/namespace.exp: Add tests for namespace types.
13551 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13552 (test_namespace): New.
13554 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13556 * gdb.base/relocate.exp: Handle new gdb output at startup.
13557 * gdb.stabs/weird.exp: Ditto.
13559 2003-09-08 Michael Chastain <mec@shout.net>
13561 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13563 2003-09-07 Michael Chastain <mec@shout.net>
13565 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13568 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13570 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13572 2003-08-30 Michael Chastain <mec@shout.net>
13574 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13575 * gdb.gdb/observer.exp: Ditto.
13576 * gdb.gdb/xfullpath.exp: Ditto.
13578 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13580 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13583 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13585 * gdb.base/dump.exp: Skip for ia64.
13587 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13589 * gdb.asm/asm-source.exp: Add ia64 support.
13590 * gdb.asm/ia64.inc: New file.
13592 2003-08-22 Michael Chastain <mec@shout.net>
13594 * gdb.cp: New directory.
13595 * gdb.cp/*: Copy from gdb.c++/*.
13596 * gdb.c++/*: Remove.
13597 * Makefile.in: Change gdb.c++ to gdb.cp.
13598 * configure.in: Ditto.
13599 * configure: Regnerate.
13601 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13603 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13604 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13606 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13608 * mi-var-display.exp (-var-list-children weird): Accept function
13609 pointers with argument types.
13610 * mi1-var-display.exp (-var-list-children weird): Likewise.
13611 * mi2-var-display.exp (-var-list-children weird): Likewise.
13613 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13615 * gdb.base/annota3.exp: Add missing newline.
13617 2003-08-06 Michael Chastain <mec@shout.net>
13619 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13621 2003-08-12 Michael Snyder <msnyder@redhat.com>
13623 * gdb.base/float.exp: Add test for SH.
13625 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13627 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13629 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13631 * gdb.base/completion.exp: Remove reduntant completion test
13634 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13636 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13637 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13638 gdb.trace/save-trace.exp: Make sure that full pathnames are
13641 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13643 * configure.in: Don't generate config.h from config.hin.
13644 * configure: Regenerate.
13645 * config.hin: Remove file.
13646 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13647 * gdb.threads/pthreads.c: Ditto.
13649 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13651 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13652 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13653 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13654 Replace ld24 with seth/add3.
13656 2003-08-02 Andrew Cagney <cagney@redhat.com>
13658 * gdb.base/annota3.exp: New file.
13659 * gdb.base/annota3.c: New file.
13660 * gdb.c++/annota3.exp: New file.
13661 * gdb.c++/annota3.cc: New file.
13663 2003-07-29 Michael Chastain <mec@shout.net>
13665 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13667 (do_pass): Likewise.
13668 * gdb.threads/tls.exp: Always initialize no_of_threads.
13670 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13672 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13674 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13675 * gdb.threads/tls.exp: Recognize one case of the host library not
13678 2003-07-27 Andrew Cagney <cagney@redhat.com>
13680 * gdb.base/fileio.exp: Use SH when running commands using
13683 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13685 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13686 * gdb.base/relocate.c (dummy): New padding array.
13688 2003-07-22 Michael Snyder <msnyder@redhat.com>
13690 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13692 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13693 patterns to be more general, accepting old and new output.
13694 Some output chars (such as '+') also must be quoted.
13695 Some addresses are displayed numerically instead of
13698 2003-07-23 Michael Snyder <msnyder@redhat.com>
13700 * gdb.base/return2.exp: Don't test long-long return.
13702 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13703 * gdb.disasm/t01_mov.exp: Ditto.
13704 * gdb.disasm/t02_mova.s: Ditto.
13705 * gdb.disasm/t02_mova.exp: Ditto.
13706 * gdb.disasm/t03_add.s: Ditto.
13707 * gdb.disasm/t03_add.exp: Ditto.
13708 * gdb.disasm/t04_sub.s: Ditto.
13709 * gdb.disasm/t04_sub.exp: Ditto.
13710 * gdb.disasm/t05_cmp.s: Ditto.
13711 * gdb.disasm/t05_cmp.exp: Ditto.
13712 * gdb.disasm/t06_ari2.s: Ditto.
13713 * gdb.disasm/t06_ari2.exp: Ditto.
13714 * gdb.disasm/t07_ari3.s: Ditto.
13715 * gdb.disasm/t07_ari3.exp: Ditto.
13716 * gdb.disasm/t08_or.s: Ditto.
13717 * gdb.disasm/t08_or.exp: Ditto.
13718 * gdb.disasm/t09_xor.s: Ditto.
13719 * gdb.disasm/t09_xor.exp: Ditto.
13720 * gdb.disasm/t10_and.s: Ditto.
13721 * gdb.disasm/t10_and.exp: Ditto.
13722 * gdb.disasm/t11_logs.s: Ditto.
13723 * gdb.disasm/t11_logs.exp: Ditto.
13724 * gdb.disasm/t12_bit.s: Ditto.
13725 * gdb.disasm/t12_bit.exp: Ditto.
13726 * gdb.disasm/t13_otr.s: Ditto.
13727 * gdb.disasm/t13_otr.exp: Ditto.
13729 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13731 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13733 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13735 * gdb.threads/tls.c : New file.
13736 * gdb.threads/tls.exp : New file.
13737 * gdb.threads/tls-main.c : New file.
13738 * gdb.threads/tls-shared.c : New file.
13739 * gdb.threads/tls-shared.exp : New file.
13741 2003-07-22 Andreas Schwab <schwab@suse.de>
13743 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13745 2003-07-20 Andreas Schwab <schwab@suse.de>
13747 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13748 due to insn reordering.
13750 2003-07-15 Andrew Cagney <cagney@redhat.com>
13752 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13754 2003-07-15 Michael Chastain <mec@shout.net>
13756 * gdb.base/gdb1250.exp: New file.
13757 * gdb.base/gdb1250.c: New file.
13759 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13761 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13762 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13764 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13766 * gdb.threads/tls.c: New file.
13767 * gdb.threads/tls.exp: New file.
13768 * gdb.threads/tls-main.c: New file.
13769 * gdb.threads/tls-shared.c: New file.
13770 * gdb.threads/tls-shared.exp: New file.
13772 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13774 * gdb.base/annota1.exp: Make sure that we properly escape the
13775 full path of the source file. Xfail more permissive patterns,
13776 due to a compiler debug info problem.
13778 2003-07-07 Andreas Schwab <schwab@suse.de>
13780 * gdb.asm/m68k.inc: New file.
13781 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13783 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13784 arguments"): Also match negative number.
13786 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13788 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13790 * gdb.base/store.c (charest): New typedef.
13791 (add_char): Rename to add_charest, update.
13792 (wack_char): Rename to wack_charest, update types. Return l + r
13793 to keep r live across the call.
13794 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13795 (wack_double, wack_doublest): Return l + r to keep r live across
13797 * gdb.base/store.exp: Accomodate store.c changes.
13799 2003-06-30 David Carlton <carlton@kealia.com>
13801 * gdb.c++/maint.exp (test_invalid_name): New.
13802 (test_first_component): Add tests for invalid names.
13804 2003-06-29 Michael Chastain <mec@shout.net>
13806 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13807 output of '<VTT for class>' for virtual base classes.
13809 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13811 * gdb.base/completion.exp: Tab-complete "complet" instead of
13813 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13815 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13817 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13818 * gdb.base/volatile.exp: Likewise.
13820 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13822 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13825 2003-06-28 Michael Chastain <mec@shout.net>
13826 Daniel Jacobowitz <drow@mvista.com>
13828 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13829 initial line count of 'captured_main' from 26 to 32.
13830 (test_with_self): Allow xmalloc call to be interleaved with the
13831 preceding two lines.
13833 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13835 * gdb.base/bang.exp: New testcase.
13837 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13839 * gdb.base/langs.exp: Add some tests for the "minimal" language
13842 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13844 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13847 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13849 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13852 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13854 * gdb.c++/pr-1210.cc: New file.
13855 * gdb.c++/pr-1210.exp: New file.
13857 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13859 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13862 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13864 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13865 on *-*-*bsd* instead of *-*-freebsd*.
13867 2003-06-14 Andrew Cagney <cagney@redhat.com>
13869 * gdb.base/store.exp: Test longest and doublest. Test all
13870 parameters. Weaken return statement match.
13871 * gdb.base/store.c: Add longest and doublest - aka long long and
13872 long double functions. Put all parameters into local register
13873 variables. Use negative values.
13875 2003-06-14 Andrew Cagney <cagney@redhat.com>
13877 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13878 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13880 * gdb.base/fileio.exp: Disable target when nointerrupts and
13881 noinferiorio, instead of limiting it to remote. Use remote_exec
13884 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13886 * gdb.base/float.exp: Add ia64 support.
13888 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13890 * gdb.base/fileio.exp: Run only on remote targets.
13892 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13894 * gdb.base/fileio.c: New file, testing File-I/O.
13895 * gdb.base/fileio.exp: Ditto.
13897 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13899 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13900 shared objects after relocation at load time (gdb PR/1132).
13901 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13902 as above, part of the shared object relocation test.
13904 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13906 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13907 fully filled history list.
13908 * gdb.base/gdb_history: New file.
13910 * gdb.base/signals.exp: XFAIL "continue to func1" on
13913 * gdb.base/attach.exp: When trying to attach to a nonexistent
13914 process, make it possible to specify the PID based on the target,
13915 and do so for *-*-freebsd*.
13917 2003-06-02 Richard Henderson <rth@redhat.com>
13919 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13921 2003-06-02 Richard Henderson <rth@redhat.com>
13923 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13925 2003-06-02 Richard Henderson <rth@redhat.com>
13927 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13929 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13931 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13934 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13936 * gdb.asm/asm-source.exp: Check for memory read errors in
13937 disassembler test on *BSD too.
13939 2003-06-01 Richard Henderson <rth@redhat.com>
13941 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13943 (gdbasm_call): Lose ldgp.
13944 (gdbasm_startup): Add frame information.
13945 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13947 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13949 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13952 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13954 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13957 2003-05-29 Richard Henderson <rth@redhat.com>
13959 * gdb.asm/alpha.inc: New file.
13960 * gdb.asm/asm-source.exp: Use it.
13962 2003-05-29 Jim Blandy <jimb@redhat.com>
13964 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13967 2003-05-22 Jim Blandy <jimb@redhat.com>
13969 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13972 2003-05-20 David Carlton <carlton@math.stanford.edu>
13974 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13977 2003-05-19 David Carlton <carlton@bactrian.org>
13979 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13980 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13982 2003-05-19 David Carlton <carlton@bactrian.org>
13984 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13986 Bump copyright date.
13987 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13988 (main): Call C::D::marker2.
13989 * gdb.c++/namespace1.cc: New file.
13991 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13993 Roland McGrath <roland@redhat.com>
13994 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13995 there is no manager thread.
13997 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13999 * gdb.threads/schedlock.exp: Remove assumption that all threads
14000 will run in a particular small time slice. Also ensure we break
14001 in one of the child threads rather than the main thread.
14003 2003-05-07 Jim Blandy <jimb@redhat.com>
14005 Add support for assembly source testing on the s390x.
14006 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14008 * gdb.asm/s390x.inc: New file.
14010 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14011 succession of 'if' statements.
14013 2003-05-05 Andrew Cagney <cagney@redhat.com>
14015 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14017 2003-05-05 Andrew Cagney <cagney@redhat.com>
14019 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14020 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14022 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14024 * gdb.base/charset.exp: Update based on new behavior of set/show
14027 2003-05-01 Andrew Cagney <cagney@redhat.com>
14029 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14030 variable do not give memory errors.
14032 2003-04-30 Adam Fedor <fedor@gnu.org>
14034 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14035 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14036 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14037 gdb.objc/basicclass.m: : New files
14039 * lib/gdb.exp (gdb_compile_objc): New procedure.
14041 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14043 * gdb.base/signals.exp: Make backtrace tests more specific.
14045 2003-04-23 David Carlton <carlton@bactrian.org>
14047 * gdb.c++/maint.exp (test_first_component): Add tests for
14048 'operator' in more locations.
14050 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14052 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14054 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14056 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14057 func marke' instead. Update test name.
14059 2003-04-15 David Carlton <carlton@math.stanford.edu>
14061 * gdb.c++/maint.exp: New file.
14063 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14065 * gdb.threads/schedlock.c: Change type of thread function argument
14066 to long, to avoid warnings on 64-bit platforms.
14068 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14070 * gdb.base/attach.exp: Add new message from ptrace in case of
14071 attaching to nonexistent process.
14073 2003-04-11 Jim Blandy <jimb@redhat.com>
14075 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14076 gdb.c++/userdef.cc: Place comments on the lines to which the
14077 marker function might return.
14078 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14079 gdb.c++/userdef.exp: Look for those comments to check that we've
14080 returned to the right place, instead of checking line numbers.
14082 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14084 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14085 match on sourcefile name, instead of directory name.
14087 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14089 * gdb.base/completion.exp: Use string_to_regexp to match the
14090 working directory name.
14092 2003-04-09 Jim Blandy <jimb@redhat.com>
14094 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14095 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14096 after an inferior function call, report the failure, but allow the
14099 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14101 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14104 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14106 * gdb.base/break.exp: Revert last patch.
14108 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14110 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14113 2003-04-02 Andrew Cagney <cagney@redhat.com>
14115 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14116 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14117 matching directories by the name breakpoint.
14118 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14119 Make "continue to marker1" consistent.
14120 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14121 message consistent.
14122 * lib/gdb.exp: Put "the program is no longer running", and "the
14123 program exited" in parenthesis.
14124 * lib/mi-support.exp: Ditto.
14126 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14128 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14130 2003-03-29 Andrew Cagney <cagney@redhat.com>
14132 * gdb.base/sizeof.c (main): Print the value of '\377'.
14133 * gdb.base/sizeof.exp: Check the sign of '\377'.
14135 2003-03-27 Michael Chastain <mec@shout.net>
14137 * gdb.base/gdb1090.exp: New file.
14138 * gdb.base/gdb1090.cc: New file.
14140 2003-03-27 J. Brobecker <brobecker@gnat.com>
14142 * gdb.gdb/observer.exp: New regression test.
14144 2003-03-27 Michael Chastain <mec@shout.net>
14146 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14147 * gdb.base/ptype.exp: Likewise.
14149 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14151 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14153 2003-03-26 Michael Chastain <mec@shout.net>
14155 * gdb.base/ptype.exp: Actually use some typedef'd types.
14157 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14159 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14160 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14162 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14164 * gdb.base/default.exp: Fix regular expression.
14166 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14168 * gdb.base/args.exp: Fix regular expression.
14170 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14172 * gdb.base/help.exp: Allow Win32 child process.
14174 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14176 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14177 when stepping out of main().
14179 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14181 * gdb.base/default.exp: Check for win32 specific message when calling
14182 "run" without executable.
14184 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14186 * gdb.base/args.exp: Expect .exe in output.
14188 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14190 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14193 2003-03-17 Andrew Cagney <cagney@redhat.com>
14195 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14197 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14198 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14200 2003-03-17 David Carlton <carlton@math.stanford.edu>
14202 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14203 test, for PR breakpoints/38.
14204 Call test_watchpoint_and_breakpoint.
14205 * gdb.base/watchpoint.c (func3): New function.
14206 (main): Call func3.
14208 2003-03-04 David Carlton <carlton@math.stanford.edu>
14210 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14211 Garply<Garply<char> >:: garply".
14212 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14213 with respect to PR c++/1111; note also PR c++/1113.
14214 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14215 respect to PR c++/1062.
14216 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14218 2003-03-03 David Carlton <carlton@math.stanford.edu>
14220 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14221 with respect to PR c++/57.
14222 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14224 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14225 respect to PR c++/57.
14227 2003-03-03 David Carlton <carlton@math.stanford.edu>
14229 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14230 respect to PR c++/33 into FAILs.
14232 2003-03-03 Michael Chastain <mec@shout.net>
14234 * configure.in: Update copyright years.
14236 2003-03-03 Michael Chastain <mec@shout.net>
14238 * Makefile.in: Update copyright years.
14240 2003-02-28 David Carlton <carlton@math.stanford.edu>
14242 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14243 print class instead of struct and/or superfluous protection
14244 specifiers, as long as the resulting output is equivalent to the
14246 Delete FIXME from end of messages on tests that don't need
14249 2003-02-28 David Carlton <carlton@math.stanford.edu>
14251 * gdb.c++/templates.exp (do_tests): Allow const in the two
14252 Foo<volatile char *>::foo tests.
14254 2003-02-27 Michael Snyder <msnyder@redhat.com>
14256 * gdb.base/restore.c (main): Return zero, so exit code
14257 will be consistant.
14259 2003-02-26 David Carlton <carlton@math.stanford.edu>
14261 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14262 char *>::foo" test with respect to PR c++/33. Create a new test
14263 which is identical to that one except that it doesn't put the
14264 space between the "char" and the "*"; KFAIL it, too.
14266 2003-02-26 David Carlton <carlton@math.stanford.edu>
14268 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14269 template types into either PASSes or KFAILs (corresponding to PR
14270 c++/57). Tweak indentation. Update copyright.
14272 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14274 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14276 2003-02-13 Michael Chastain <mec@shout.net>
14278 * gdb.base/exprs.exp: Remove i960 remnants.
14279 * gdb.base/funcargs.exp: Likewise.
14280 * gdb.base/list.exp: Likewise.
14281 * gdb.base/ptype.exp: Likewise.
14283 2003-02-14 David Carlton <carlton@math.stanford.edu>
14285 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14286 pEe->D::vg()" from XFAIL to KFAIL.
14288 2003-02-13 Jason Molenda (jmolenda@apple.com)
14290 * gdb.base/maint.exp: Update maint print statistics regexp to include
14293 2003-02-13 Michael Chastain <mec@shout.net>
14295 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14297 2003-02-12 Michael Chastain <mec@shout.net>
14299 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14300 * gdb.c++/inherit.exp: Likewise.
14301 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14302 * gdb.c++/templates.exp: Likewise.
14303 * gdb.c++/virtfunc.exp: Likewise.
14305 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14307 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14308 why the code is written that way.
14310 2003-02-05 Michael Chastain <mec@shout.net>
14312 * gdb.base/dump.exp: Add missing copyright line.
14314 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14316 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14317 at the beginning so the breakpoint doesn't get set on the loop.
14319 2003-02-05 Michael Chastain <mec@shout.net>
14321 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14322 output for configurations with gcc 2.95.3.
14324 2003-02-05 Keith Seitz <keiths@redhat.com>
14325 Andrew Cagney <ac131313@redhat.com>
14327 * gdb.mi/mi-cli.exp: New file.
14329 2003-02-04 Michael Chastain <mec@shout.net>
14331 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14332 Call perror and then continue.
14334 2003-02-03 Michael Chastain <mec@shout.net>
14336 * gdb.c++/pr-1023.cc: New file.
14337 * gdb.c++/pr-1023.exp: New file.
14339 2003-02-05 Jim Blandy <jimb@redhat.com>
14341 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14342 it's local to foobar. Check for it there, and check that it's not
14344 * gdb.c++/local.cc (marker2): New function.
14345 (foobar): Call marker1.
14346 (main): Call marker2 instead of marker1.
14348 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14350 * gdb.disasm/mn10200.exp: Obsolete file.
14351 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14352 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14353 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14355 2003-02-04 David Carlton <carlton@math.stanford.edu>
14357 * gdb.c++/overload.exp: Test intToChar(1).
14358 * gdb.c++/overload.cc (intToChar): New.
14359 (main): Call intToChar.
14361 2003-02-03 David Carlton <carlton@math.stanford.edu>
14363 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14365 KFAIL some of the continue_to_bp_overloaded calls, according to
14368 2003-02-01 Michael Chastain <mec@shout.net>
14370 * gdb.base/advance.c (marker1): New marker function.
14371 * gdb.base/advance.exp: When the 'advance' command lands on the
14372 return breakpoint, it can legitimately stop on either the
14373 current line or the next line. Accommodate both outcomes.
14374 * gdb.base/until.exp: Likewise.
14376 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14378 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14379 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14380 now a list, not a tuple.
14381 * gdb.mi/mi-var-display.exp: Ditto.
14382 * gdb.mi/gdb792.exp: Ditto.
14384 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14386 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14387 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14389 * gdb.mi/mi-syn-frame.c: Part of same.
14391 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14393 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14394 gdb.mi/mi1-pthreads.exp: Return instead of calling
14395 gdb_suppress_entire_file.
14397 2003-02-01 Mark Salter <msalter@redhat.com>
14399 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14401 2003-01-31 Mark Salter <msalter@redhat.com>
14403 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14406 2003-01-30 Michael Chastain <mec@shout.net>
14408 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14409 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14410 has been fixed in gdb/readline on 2003-01-09.
14412 2003-01-29 Michael Snyder <msnyder@redhat.com>
14414 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14415 * gdb.base/display.exp: Allow for leading underscore in symbol.
14416 * gdb.base/args.exp: Skip if target does not support args passing.
14418 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14420 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14421 gdb_test. Accept a list of expect arguments as the third
14423 (gdb_test): Use it.
14425 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14427 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14428 allow for different test tree configurations. Update some
14429 tescases accordingly.
14430 * gdb.arch/altivec-regs.exp: Ditto.
14431 * gdb.asm/asm-source.exp: Ditto.
14432 * gdb.base/advance.exp: Ditto.
14433 * gdb.base/display.exp: Ditto.
14434 * gdb.base/long_long.exp: Ditto.
14435 * gdb.base/mips_pro.exp: Ditto.
14436 * gdb.base/overlays.exp: Ditto.
14437 * gdb.base/relocate.exp: Ditto.
14438 * gdb.base/setshow.exp: Ditto.
14439 * gdb.base/step-line.exp: Ditto.
14440 * gdb.base/step-test.exp: Ditto.
14441 * gdb.base/until.exp: Ditto.
14442 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14444 2003-01-17 David Carlton <carlton@math.stanford.edu>
14446 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14447 corresponding to PR c++/945.
14450 2003-01-17 David Carlton <carlton@math.stanford.edu>
14452 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14453 corresponding to PR c++/68.
14455 2003-01-17 David Carlton <carlton@math.stanford.edu>
14457 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14458 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14459 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14461 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14463 * gdb.base/break.exp: Fix change of default location, because of
14464 removal of until tests.
14465 * gdb.base/help.exp: Update test for new 'until' help message.
14466 Add test for help on 'advance'.
14467 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14469 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14471 * gdb.base/default.exp: Adapt "info float" test for recent changes
14472 to that command. Add test for "info vector".
14473 * gdb.base/float.exp: New file. Add test for "info float" that
14474 resembles the old test in gdb.base/default.exp.
14476 2003-01-15 David Carlton <carlton@math.stanford.edu>
14478 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14480 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14482 * gdb.base/break.exp: Move the tests of until command from here...
14483 * gdb.base/until.exp: ... to here. New file. Add other tests.
14484 * gdb.base/advance.c: New file.
14485 * gdb.base/advance.exp: New file.
14487 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14489 * gdb.base/args.c: New file.
14490 * gdb.base/args.exp: New file.
14492 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14494 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14496 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14498 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14500 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14502 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14505 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14507 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14509 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14511 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14513 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14515 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14517 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14518 * gdb.mi/mi1-console.exp: Likewise.
14520 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14522 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14523 * gdb.mi/mi1-console.exp: Likewise.
14525 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14527 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14529 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14531 * gdb.base/detach.exp: New test.
14533 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14535 * Makefile.in (ALL_SUBDIRS): New variable.
14536 (subdirs, clean, distclean): Use it.
14537 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14538 regenerating Makefile, since it is generated from the top level.
14539 * gdb.asm/Makefile.in: Likewise.
14540 * gdb.base/Makefile.in: Likewise.
14541 * gdb.c++/Makefile.in: Likewise.
14542 * gdb.disasm/Makefile.in: Likewise.
14543 * gdb.java/Makefile.in: Likewise.
14544 * gdb.mi/Makefile.in: Likewise.
14545 * gdb.threads/Makefile.in: Likewise.
14546 * gdb.trace/Makefile.in: Likewise.
14548 2003-01-09 David Carlton <carlton@math.stanford.edu>
14550 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14551 Add copyright year 2003.
14553 2003-01-06 Michael Chastain <mec@shout.net>
14555 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14556 When selecting a thread, 'line' and 'file' are optional.
14557 * gdb.mi/mi1-pthreads.exp: Likewise.
14559 2003-01-06 Andreas Schwab <schwab@suse.de>
14561 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14564 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14567 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14568 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14570 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14571 instead of calling gdb_suppress_entire_file.
14572 * gdb.threads/print-threads.exp: Likewise.
14573 * gdb.threads/schedlock.exp: Likewise.
14575 * gdb.threads/killed.exp: Return instead of calling
14576 gdb_suppress_entire_file.
14577 * gdb.threads/linux-dp.exp: Likewise.
14578 * gdb.threads/pthreads.exp: Likewise.
14580 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14582 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14584 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14585 * gdb.base/whatis.exp: Always allow (void) after function names.
14587 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14589 * gdb.c++/casts.exp: Correct regexp.
14591 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14593 * configure.in: Call AC_CONFIG_HEADER. Don't call
14594 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14595 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14596 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14597 aforementioned directories in the AC_OUPUT call.
14598 * config.hin: New file.
14599 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14600 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14601 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14602 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14603 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14604 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14605 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14606 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14607 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14608 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14609 gdb.threads/configure.in, gdb.threads/configure,
14610 gdb.threads/config.in, gdb.trace/configure.in,
14611 gdb.trace/configure: Removed.
14613 2003-01-03 Michael Chastain <mec@shout.net>
14615 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14616 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14618 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14620 * gdb.base/store.exp: Fix regular expressions.
14622 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14624 * configure.in: Rewrite.
14625 * configure: Regenerated.
14627 2003-01-03 David Carlton <carlton@math.stanford.edu>
14629 * gdb.base/psymtab.exp: New file.
14630 * gdb.base/psymtab1.c: Ditto.
14631 * gdb.base/psymtab2.c: Ditto.
14633 2002-12-23 Adam Fedor <fedor@gnu.org>
14635 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14637 2002-12-23 David Carlton <carlton@math.stanford.edu>
14639 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14640 and current_directory initialization.
14642 2002-12-22 Jim Blandy <jimb@redhat.com>
14644 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14645 rather than as part of the output file name.
14647 * gdb.base/attach.exp: There's no need to copy the test program to
14648 /tmp; that was only ever necessary on HP/UX, and this test is
14649 entirely disabled there anyway.
14651 2002-12-21 Jim Blandy <jimb@redhat.com>
14653 * gdb.c++/psmang.exp: Doc fix.
14655 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14658 2002-12-20 David Carlton <carlton@math.stanford.edu>
14660 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14662 2002-12-18 Michael Chastain <mec@shout.net>
14664 * gdb.c++/annota2.exp: Add copyright year 2002.
14666 2002-12-17 David Carlton <carlton@math.stanford.edu>
14668 * gdb.c++/try_catch.cc: Add marker comments.
14669 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14670 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14671 * gdb.c++/m-static.cc: Ditto.
14672 * gdb.c++/m-static1.cc: Ditto.
14673 * gdb.c++/try_catch.cc: Ditto.
14675 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14677 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14678 to see whether we are using the new -environment-directory
14679 command which resets via -r or the old version of the command
14680 which may prompt the user. Part of fix for gdb/741.
14682 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14684 * gdb.fortran/types.exp: Update obsolete comment.
14685 * gdb.fortran/exprs.exp: Ditto.
14686 * lib/gdb.exp: Delete obsolete code.
14687 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14688 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14689 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14690 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14691 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14692 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14693 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14694 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14695 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14696 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14697 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14698 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14699 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14700 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14701 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14702 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14703 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14704 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14705 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14706 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14707 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14708 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14709 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14710 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14711 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14712 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14713 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14714 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14715 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14716 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14717 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14718 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14719 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14720 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14721 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14722 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14723 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14725 2002-12-11 David Carlton <carlton@math.stanford.edu>
14727 * gdb.c++/m-data.exp: Add test for members that shadow global
14728 variables: see PR gdb/804.
14729 * gdb.c++/m-data.cc: Ditto.
14731 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14733 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14735 2002-12-06 David Carlton <carlton@math.stanford.edu>
14737 * gdb.base/store.c: Don't declare functions static.
14739 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14741 * gdb.base/store.exp, gdb.base/store.c: New files.
14743 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14745 * gdb.base/selftest.exp: Update for current gdb.
14747 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14749 * gdb.base/maint.exp: Only dump symbols from one source file
14752 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14754 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14757 2002-11-25 Jim Blandy <jimb@redhat.com>
14759 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14760 function appearing in error message.
14762 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14764 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14766 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14768 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14769 for mi1 and current mi is in correct format. New mi startup message
14770 should be in mi console format. This is part of fix for PR gdb/604.
14772 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14774 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14775 which explicitly prints the zero offset as "+0".
14777 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14779 * gdb.threads/schedlock.c (args): Make unsigned.
14781 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14783 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14784 numbers. Allow "foo2|selected stack frame".
14785 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14786 * gdb.asm/asmsrc2.s: Likewise.
14787 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14789 * gdb.asm/mips.inc: New file.
14791 2002-10-18 Adam Fedor <fedor@gnu.org>
14793 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14794 * gdb.base/help.exp: Likewise.
14796 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14798 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14799 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14801 2002-10-02 Jim Blandy <jimb@redhat.com>
14803 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14805 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14807 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14808 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14809 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14810 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14811 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14812 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14813 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14815 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14817 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14818 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14819 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14820 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14821 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14822 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14823 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14825 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14827 * gdb.base/annota1.exp (info break): Make directory components of
14828 path optional since not all compilers emit this debug information.
14830 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14831 step ends up stepping out of the function instead of stopping on
14834 2002-09-26 Keith Seitz <keiths@redhat.com>
14836 * lib/insight-support.exp (gdbtk_start): Figure out where
14837 the insight executable is based on where gdb is. Use this
14838 executable to start insight instead of gdb.
14840 2002-09-25 Andrew Cagney <cagney@redhat.com>
14842 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14844 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14846 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14847 test_isolated_complaints.
14848 (test_empty_complaint): New function.
14849 (test_empty_complaints): New function. Check no output when no
14852 2002-09-19 Jim Blandy <jimb@redhat.com>
14854 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14856 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14858 * gdb.gdb/complaints.exp: New file.
14860 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14862 * gdb.base/maint.exp: Check `help maint internal-warning'.
14864 2002-09-18 David Carlton <carlton@math.stanford.edu>
14866 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14867 numbers, and replace them by a single breakpoint after the
14868 constructors are all finished.
14870 * gdb.c++/m-static.cc: Add test 4.
14871 * gdb.c++/m-static.h: New file.
14872 * gdb.c++/m-static1.cc: New file.
14874 * gdb.c++/printmethod.exp: New file.
14875 * gdb.c++/printmethod.cc: New file.
14877 * gdb.c++/pr-574.exp: New file.
14878 * gdb.c++/pr-574.cc: New file.
14880 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14882 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14883 embedded targets which never actually exit.
14885 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14887 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14888 "don't step after run" as unresolved or unsupported, instead of xfail.
14890 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14892 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14893 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14894 Add newline to expected string in "step out of main (status wrapper)"
14897 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14899 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14900 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14902 2002-09-17 Tom Tromey <tromey@redhat.com>
14904 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14905 \000, not \0, in double-quoted string.
14907 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14909 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14910 string after running the commands execution on breakpoint tests.
14912 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14914 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14916 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14918 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14920 2002-09-10 Keith Seitz <keiths@redhat.com>
14922 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14924 (mi_run_to_main): Use mi_runto.
14925 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14927 2002-09-10 Keith Seitz <keiths@redhat.com>
14929 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14930 regexp for stopping at main. Could have multiple event notifications.
14931 Don't assume that main was declared with no parameters.
14932 (mi_next): Use mi_step_to.
14933 (mi_step): Use mi_next_to.
14935 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14937 * gdb.base/default.exp: Fix expected string in `info float' test.
14939 2002-09-09 Ben Elliston <bje@redhat.com>
14941 * config/mips.exp: Update comments.
14942 * config/mips-idt.exp: Likewise.
14943 * config/nind.exp: Likewise.
14944 * config/slite.exp: Likewise.
14945 * config/sparclet.exp: Likewise.
14946 * config/udi.exp: Likewise.
14947 * config/vx.exp: Likewise.
14948 * config/vxworks29k.exp: Likewise.
14950 2002-09-05 Jim Blandy <jimb@redhat.com>
14952 * gdb.threads/killed.exp: Fix test failure message.
14954 2002-09-04 Keith Seitz <keiths@redhat.com>
14956 * lib/mi-support.exp: Update copyright.
14957 (mi_gdb_test): Increase the priority of the expected pattern
14958 so that it matches gdb_test.
14960 2002-09-03 Keith Seitz <keiths@redhat.com>
14962 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14963 Use integer comparison instead of string comparison for testing
14964 whether binary was built.
14966 2002-09-03 Jim Blandy <jimb@redhat.com>
14968 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14970 2002-08-29 Jim Blandy <jimb@redhat.com>
14972 * gdb.threads/pthreads.exp: Move the portable thread compilation
14973 code into a function in lib/gdb.exp, and call that from here.
14974 * lib/gdb.exp (gdb_compile_pthreads): New function.
14976 2002-08-29 Keith Seitz <keiths@redhat.com>
14978 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14979 expect_out so that callers can get at it.
14981 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14983 * gdb.threads/print-threads.c: New file.
14984 * gdb.threads/print-threads.exp: New file.
14985 * gdb.threads/schedlock.c: New file.
14986 * gdb.threads/schedlock.exp: New file.
14988 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14990 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14993 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14995 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14996 targets. The problem should be fixed now.
14998 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15000 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15001 2002-07-24 change that removes final dots from error messages.
15003 2002-08-13 Tom Tromey <tromey@redhat.com>
15005 * gdb.base/readline.exp: New file.
15007 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15009 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15012 2002-08-01 Andrew Cagney <cagney@redhat.com>
15014 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15015 CHILL_FOR_TARGET and CHILL_LIB.
15016 * configure.in (configdirs): Remove gdb.chill.
15017 * configure: Regenerate.
15018 * lib/gdb.exp: Obsolete references to chill.
15019 * gdb.fortran/types.exp: Ditto.
15020 * gdb.fortran/exprs.exp: Ditto.
15022 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15024 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15025 set Irix-specific compile and link flags.
15027 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15029 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15030 source files. The ``-o'' option doesn't work with the ``-E'' option
15031 when using the Irix compiler.
15033 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15035 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15036 Improve support for reusing an exec file. Copy exec file
15037 to target, and run gdbserver on the target instead of on the host.
15039 2002-07-18 Jim Blandy <jimb@redhat.com>
15041 * gdb.base/ending-run.exp: Don't expect to see the program end in
15042 some orderly fashion when we're running on a real stand-alone
15045 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15046 targets that don't support interrupts.
15048 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15050 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15052 Move comments in expect statements to inside the actions, so that they
15053 don't get matched against.
15055 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15057 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15058 function when asleep" test.
15060 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15062 * gdb.base/page.exp: Rewrite to handle problems with very long
15063 `info set' output. Update copyright.
15065 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15067 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15069 * gdb.hp/configure: Regenerate.
15070 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15071 * gdb.hp/gdb.threads-hp/configure: Delete file.
15072 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15074 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15076 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15077 setlocale, bindtextdomain and textdomain.
15079 2002-06-11 Jim Blandy <jimb@redhat.com>
15081 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15082 preprocessor macro information is present.
15084 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15087 2002-06-06 Michael Snyder <msnyder@redhat.com>
15089 * gdb.base/overlays.exp: Record addresses of overlay
15090 functions in TCL variables rather than in GDB variables,
15091 to avoid having GDB convert them to pointers (with loss
15094 * gdb.base/d10v.ld: Merge in several years worth of
15095 default linker script changes.
15096 * gdb.base/long_long.exp: Add check for sizeof (long double).
15098 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15100 * gdb.asm/asm-source.exp: Add x86-64 target.
15101 * gdb.asm/x86_64.inc: New.
15103 2002-05-30 Michael Chastain <mec@shout.net>
15105 From Benjamin Kosnik <bkoz@redhat.com>:
15106 * gdb.c++/m-static.cc: New file.
15107 * gdb.c++/m-static.exp: New file.
15109 2002-05-28 Michael Snyder <msnyder@redhat.com>
15111 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15114 2002-05-27 Michael Chastain <mec@shout.net>
15116 From Benjamin Kosnik <bkoz@redhat.com>:
15117 * gdb.c++/m-data.cc: New file.
15118 * gdb.c++/m-data.exp: New file.
15120 2002-05-27 Michael Chastain <mec@shout.net>
15122 From Benjamin Kosnik <bkoz@redhat.com>:
15123 * gdb.c++/try_catch.cc: New file.
15124 * gdb.c++/try_catch.exp: New file.
15126 2002-05-27 Michael Chastain <mec@shout.net>
15128 * gdb.c++/local.exp: Accept more nested types in output.
15130 2002-05-26 Michael Chastain <mec@shout.net>
15132 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15134 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15136 * lib/gdb.exp (gdb_wrapper_init): Just because
15137 gdb_wrapper_file exists, this does not mean that the file
15138 should not be rebuilt. That is what gdb_wrapper_initialized
15140 (default_gdb_init): Reset gdb_wrapper_initialized.
15142 2002-05-23 Michael Snyder <msnyder@redhat.com>
15144 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15145 the precision of the floating point test results.
15146 * gdb.base/call-rt-st.exp: Ditto.
15148 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15149 * gdb.base/call-rt-st.exp: Ditto.
15151 2002-05-19 Michael Chastain <mec@shout.net>
15153 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15155 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15157 * configure.in (configdirs): Add gdb.arch.
15158 * configure: Regenerate.
15160 2002-05-17 Jim Blandy <jimb@redhat.com>
15162 * gdb.base/completion.exp: Recognize the more detailed error
15163 messages produced by the macro expander's lexical analyzer.
15165 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15167 * gdb.arch/altivec-abi.c: New file.
15168 * gdb.arch/altivec-abi.exp: New file.
15169 * gdb.arch/altivec-regs.c: New file.
15170 * gdb.arch/altivec-regs.exp: New file.
15172 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15174 * gdb.base/maint.exp (maint print type): Update for new type
15177 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15179 * gdb.arch: New directory.
15180 * gdb.arch/configure.in: New file.
15181 * gdb.arch/configure: New file.
15182 * gdb.arch/Makefile.in: New file.
15184 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15186 * gdb.asm/asm-source.exp: Add v850 as supported target.
15187 * gdb.asm/v850.inc: New file.
15189 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15191 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15193 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15195 * gdb.base/break.exp: Check 'break "marker2"'.
15197 2002-05-10 Michael Snyder <msnyder@redhat.com>
15199 * gdb.base/long_long.exp: Fix typo.
15201 2002-05-10 Jim Blandy <jimb@redhat.com>
15203 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15206 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15207 Recognize more detailed error message produced by the macro
15208 expander's lexical analyzer.
15209 * lib/gdb.exp (test_print_reject): Same.
15211 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15213 * gdb.c++/method.exp: Fix typo.
15215 2002-05-08 Michael Snyder <msnyder@redhat.com>
15217 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15218 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15219 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15220 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15221 Add iftarget clause for strongarm.
15223 2002-05-06 Michael Snyder <msnyder@redhat.com>
15225 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15226 (gdb_continue_to_end): Accept output from status wrapper.
15227 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15228 Clean up fail messages to match pass messages.
15230 Enable the "needs_status_wrapper" testsuite feature.
15231 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15232 (gdb_compile): Conditionally call gdb_wrapper_init.
15233 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15234 * gdb.c++/method.exp: Recognize output from status wrapper.
15236 2002-05-06 Ben Elliston <bje@redhat.com>
15237 From Graydon Hoare <graydon@redhat.com>
15239 * config/sid.exp: Include support for "rawsid" protocol.
15241 2002-05-03 Jim Blandy <jimb@redhat.com>
15243 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15244 * gdb.c++/hang3.C: New file.
15246 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15248 * gdb.base/default.exp: Remove obsolete code.
15249 * gdb.c++/misc.exp: Ditto. Update copyright.
15250 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15251 * gdb.base/whatis.exp: Ditto. Update copyright.
15252 * gdb.base/scope.exp: Ditto. Update copyright.
15253 * gdb.base/ptype.exp: Ditto. Update copyright.
15254 * gdb.base/printcmds.exp: Ditto. Update copyright.
15255 * gdb.base/opaque.exp: Ditto. Update copyright.
15256 * gdb.base/list.exp: Ditto.
15257 * gdb.base/funcargs.exp: Ditto. Update copyright.
15258 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15259 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15260 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15261 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15262 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15263 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15265 2002-05-02 Michael Snyder <msnyder@redhat.com>
15267 * gdb.base/watchpoint.exp: Add xscale target.
15268 * gdb.base/long_long.exp: Add xscale target.
15269 * gdb.base/default.exp: Add xscale target.
15271 2002-05-01 Jim Blandy <jimb@redhat.com>
15273 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15274 gdb.c++/hang.exp: New test.
15276 2002-05-01 Fred Fish <fnf@redhat.com>
15278 * gdb.base/completion.exp: Handle completions of "./Make" for
15279 more than one completion possibility, as is the case when we
15280 build and test in the source tree.
15282 2002-04-29 Anthony Green <green@redhat.com>
15284 * gdb.java/jmisc1.exp: New file.
15285 * gdb.java/jmisc2.exp: New file.
15287 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15289 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15291 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15293 * gdb.base/help.exp: Change 'help status' to allow for target
15294 dependent output differences.
15296 2002-04-22 Michael Chastain <mec@shout.net>
15298 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15300 2002-04-22 Michael Chastain <mec@shout.net>
15302 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15304 2002-04-17 David S. Miller <davem@redhat.com>
15306 * gdb.asm/sparc64.inc: New file.
15307 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15309 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15311 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15312 instruction file directly into the build tree. Clean up at end of
15315 2002-04-18 David S. Miller <davem@redhat.com>
15317 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15318 handle 64-bit platforms correctly.
15319 * gdb.base/maint.exp: Likewise.
15321 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15323 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15324 ``-fpic'' when compiling files comprising a shared library, but
15325 it does need additional linker flags in order to find shared
15326 libraries at run time.
15328 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15330 * gdb.base/cvexpr.c (use): New function.
15331 (main): Invoke use() on all global variables to prevent
15332 some linkers from deleting these otherwise unused symbols.
15334 2002-04-17 Michael Chastain <mec@shout.net>
15335 From David S. Miller <davem@redhat.com>
15337 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15338 handle 64-bit platforms correctly.
15340 2002-04-12 Michael Snyder <msnyder@redhat.com>
15341 From Jim Blandy <jimb@redhat.com>
15342 * gdb.base/foo.c (foox): Remove section attribute; the linker
15343 script can handle this instead.
15344 * gdb.base/bar.c (barx): Same.
15345 * gdb.base/baz.c (bazx): Same.
15346 * gdb.base/grbx.c (grbxx): Same.
15348 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15349 manager doesn't automatically unmap overlays unnecessarily.
15351 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15353 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15354 stepping out of main.
15356 2002-04-09 Michael Chastain <mec@shout.net>
15358 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15359 scope so that the nested scope tests will make sense.
15360 * gdb.c++/local.exp: Write patterns that actually work with gcc
15361 (the HP patterns "were never known to work with gcc").
15362 Keep the old aCC patterns too.
15364 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15366 * gdb.base/attach.exp: Correct target board test.
15368 2002-04-08 Michael Chastain <mec@shout.net>
15370 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15371 in a const method. Add some xfail and fail cases for configurations
15372 that do not emit the "const ...".
15374 2002-04-07 Michael Chastain <mec@shout.net>
15376 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15377 Accept "A * const" and "const A * const" as type of "this".
15378 Fix spelling of getFunky throughout. Make messages uniform.
15380 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15382 Work around for PR gdb/285:
15383 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15385 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15387 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15388 instructions file at run time instead of configure time.
15389 Sometimes we run the test in a directory that is not the one we
15391 * gdb.asm/configure.in: Delete creation of symlink.
15392 * gdb.asm/configure: Regenerate.
15394 2002-04-05 J. Brobecker <brobecker@gnat.com>
15396 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15397 xfullpath () function.
15399 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15401 * gdb.asm/Makefile.in: Correct dependencies.
15403 * gdb.asm/powerpc.inc: New file.
15404 * gdb.asm/asm-source.exp: Add PowerPC.
15405 * gdb.asm/configure.in: Likewise.
15406 * gdb.asm/configure: Regenerated.
15408 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15410 * gdb.base/relocate.exp: New file.
15411 * gdb.base/relocate.c: New file.
15413 2002-04-04 Fred Fish <fnf@redhat.com>
15415 * gdb.base/step-test.exp: Update comment regarding stopping in
15416 memcpy/bcopy calls inserted as part of the compiler runtime.
15418 2002-04-04 Michael Snyder <msnyder@redhat.com>
15420 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15422 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15424 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15425 (gdb_expect): Remove $notransfer hack.
15427 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15429 * gdb.c++/classes.exp ("calling method for small class"): Match
15430 updated register output.
15432 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15435 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15436 when finished. Make gdb_file_cmd send "exec-file" when
15439 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15441 * gdb.base/attach.exp: Remove extra setup_xfail.
15443 2002-03-26 Michael Snyder <msnyder@redhat.com>
15445 * gdb.base/default.exp: Add tests for dump, append, and restore.
15446 * gdb.base/help.exp: Add tests for dump, append, and restore.
15447 * gdb.base/dump.exp: New file, test dump, append and restore.
15448 * gdb.base/dump.c: New file.
15450 2002-03-27 Michael Snyder <msnyder@redhat.com>
15452 * gdb.base/help.exp: Modify expect strings to reflect
15453 clean-ups in help messages.
15455 2002-03-26 Fred Fish <fnf@redhat.com>
15457 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15458 have debugging info for those functions and the compiler uses them
15459 internally to copy structs around.
15461 2002-03-26 Fred Fish <fnf@redhat.com>
15463 * gdb.base/list.exp: Revert the change made yesterday and add note
15464 about why we don't list the default lines for remote targets.
15466 2002-03-25 Michael Snyder <msnyder@redhat.com>
15468 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15470 2002-03-25 Fred Fish <fnf@redhat.com>
15472 * gdb.base/list.exp: This test works on remote targets so remove
15473 the short circuit for remote targets. Update copyright.
15475 2002-03-25 Fred Fish <fnf@redhat.com>
15477 * gdb.base/attach.exp: Fix logic error that was suppressing this
15478 test for all non hppa*-*-hpux* targets, instead of the hp target.
15479 Move comments closer to the suppression point. Also now need to
15480 check that we are running natively.
15482 2002-03-22 Michael Snyder <msnyder@redhat.com>
15484 * gdb.base/default.exp: Add test for gcore. Update copyright.
15485 * gdb.base/help.exp: Add test for gcore. Update copyright.
15487 2002-03-06 Fred Fish <fnf@redhat.com>
15489 * gdb.base/funcargs.c: Remove extraneous ';' character.
15490 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15492 2002-03-04 Michael Chastain <mec@shout.net>
15494 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15495 accommodate gcc v3 function signature.
15496 * gdb.mi/mi0-var-cmd-exp: Ditto.
15498 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15500 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15501 ``GNU/Linux'' or ``Linux kernel''
15502 * testsuite/gdb.threads/pthreads.c: Ditto.
15504 2002-02-24 Michael Chastain <mec@shout.net>
15506 * gdb.threads/pthreads.c (thread1): Add a return statement.
15507 (thread2): Likewise.
15510 2002-02-23 Michael Chastain <mec@shout.net>
15512 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15515 2002-02-23 Michael Chastain <mec@shout.net>
15517 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15518 test "ptype bint". The test passes on all my stabs configurations.
15520 2002-02-21 Jim Blandy <jimb@redhat.com>
15522 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15523 filename at a time, and watch for the ones we want to see.
15525 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15526 types of pointers to prototyped functions.
15528 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15530 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15531 signed, unsigned and straight char.
15532 (padding_char, padding_short, padding_int, padding_long,
15533 padding_long_long, padding_float, padding_double,
15534 padding_long_double): New global variables.
15535 (fill, fill_structs): New functions.
15537 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15538 for correctly sized writes. Update copyright.
15539 (get_valueof): New procedure.
15540 (get_sizeof): Call get_valueof.
15541 (check_valueof): New procedure.
15542 (check_padding): New procedure.
15544 2002-02-20 Michael Chastain <mec@shout.net>
15546 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15547 to setup_xfail. Document some of the remaining calls.
15549 2002-02-18 Michael Chastain <mec@shout.net>
15551 * gdb.c++/userdef.exp: Update copyright year.
15553 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15555 * gdb.c++/userdef.exp: Test overloaded operators properly.
15558 2002-02-14 Michael Snyder <msnyder@redhat.com>
15560 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15562 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15564 * gdb.base/a2-run.exp: Check for a remote target properly.
15565 * gdb.base/annota1.exp: Likewise.
15566 * gdb.base/list.exp: Likewise.
15567 * gdb.base/reread.exp: Likewise.
15568 * gdb.base/scope.exp: Likewise.
15569 * gdb.base/shlib-call.exp: Likewise.
15570 * gdb.base/term.exp: Likewise.
15571 * gdb.c++/annota2.exp: Likewise.
15573 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15575 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15577 2002-02-10 Michael Chastain <mec@shout.net>
15579 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15580 (call_after_alloca): Ditto.
15582 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15584 * gdb.base/ending-run.exp: Guard "cont" test with
15585 gdb_skip_stdio_test.
15587 2002-02-06 Jim Blandy <jimb@redhat.com>
15589 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15591 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15592 To here. Disable this test on non-HP platforms. Add big comment.
15594 2002-02-04 Michael Snyder <msnyder@redhat.com>
15596 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15597 other than d10v and m32r.
15599 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15601 * gdb.base/default.exp: Rewrite test patterns to reduce time
15602 taken to match them.
15604 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15606 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15607 Allow a start function above main.
15608 * gdb.threads/linux-dp.exp: Fix copyright date.
15610 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15612 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15613 (check_philosopher_stack): Check for manager thread before checking
15614 for a just-starting thread.
15616 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15618 From Neil Booth <neil@daikokuya.demon.co.uk>:
15619 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15622 2002-01-21 Fred Fish <fnf@redhat.com>
15624 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15627 2002-01-21 Jim Blandy <jimb@redhat.com>
15629 * gdb.base/reread.exp: Check that GDB properly re-reads the
15630 executable file when it changes while no inferior is running.
15632 2002-01-21 Fred Fish <fnf@redhat.com>
15634 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15635 optionally accept the "shlib events" variation.
15637 2002-01-21 Jim Blandy <jimb@redhat.com>
15639 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15640 call `fflush' after every `printf', so that the output is produced
15641 at predictable points, regardless of whatever buffering does (or
15642 doesn't) take place.
15643 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15644 at different points.
15646 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15648 * gdb.c++/inherit.exp: Update copyright years.
15649 * gdb.c++/method.exp: Likewise.
15651 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15653 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15654 artificial methods/arguments.
15655 * gdb.c++/derivation.exp: Likewise.
15656 * gdb.c++/inherit.exp: Likewise.
15657 * gdb.c++/method.exp: Likewise.
15658 * gdb.c++/virtfunc.exp: Likewise.
15660 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15662 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15663 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15664 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15665 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15666 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15667 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15669 2002-01-17 Jim Blandy <jimb@redhat.com>
15671 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15672 anchoring the pattern matching the entry point symbol's name.
15674 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15676 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15677 continue/quit query. Update copyright.
15679 2002-01-14 Michael Snyder <msnyder@redhat.com>
15681 * gdb.base/gcore.exp: Remove extra debugging output.
15683 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15685 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15686 for slightly dubious v2 mangled string.
15688 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15690 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15692 2002-01-10 Jason Merrill <jason@redhat.com>
15694 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15696 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15698 * gdb.c++/derivation.exp: Likewise.
15699 * gdb.c++/templates.exp: Likewise.
15700 * gdb.c++/virtfunc.exp: Likewise.
15702 2002-01-10 Michael Snyder <msnyder@redhat.com>
15704 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15706 2002-01-08 Michael Snyder <msnyder@redhat.com>
15708 * gdb.base/gcore.exp: New test for generate-core-file command.
15709 * gdb.base/gcore.c: Testcase for above.
15710 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15712 2002-01-08 Jason Merrill <jason@redhat.com>
15714 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15716 2002-01-07 Fred Fish <fnf@redhat.com>
15718 * gdb.c++/overload.exp: Remove unconditional xfails for:
15719 print foo_instance1.overloadargs(1)
15720 print foo_instance1.overloadargs(1, 2)
15721 print foo_instance1.overloadargs(1, 2, 3)
15722 print foo_instance1.overloadargs(1, 2, 3, 4)
15723 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15724 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15725 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15726 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15727 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15728 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15729 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15730 print foo_instance1.overload1arg()
15731 print foo_instance1.overload1arg((char)arg2)
15732 print foo_instance1.overload1arg((signed char)arg3)
15733 print foo_instance1.overload1arg((unsigned char)arg4)
15734 print foo_instance1.overload1arg((int)arg7)
15735 print foo_instance1.overload1arg((unsigned int)arg8)
15736 print foo_instance1.overload1arg((float)arg11)
15737 print foo_instance1.overload1arg((double)arg12)
15739 2002-01-07 Michael Snyder <msnyder@redhat.com>
15741 * gdb.base/huge.exp: New test. Print a very large target data object.
15742 (skip_huge_test): New test variable. Define if you want to skip this
15743 test. The test reads an 8 megabyte data object from the target, so it
15744 might be very time consuming on remote targets with a slow connection.
15745 * gdb.base/huge.c: New file. Test case for above.
15747 2002-01-07 Fred Fish <fnf@redhat.com>
15749 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15750 g_instance.bfoo, and g_instance.cfoo.
15752 2002-01-07 Jeffrey A Law <law@redhat.com>
15754 * gdb.base/break.c (multi_line_if_conditional): New function.
15755 (multi_ilne_while_conditional): Likewise.
15756 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15757 IF or WHILE condition puts the breakpoint at the start of
15760 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15761 hppa*-*-hpux* expected failure.
15762 * gdb.base/structs.exp (do_function_calls): Similarly.
15764 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15767 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15770 * gdb.base/structs.exp: Replace skip for a29k with skip for
15771 gdb,cannot_call_functions.
15772 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15773 * gdb.base/callfuncs.exp: Ditto.
15774 * gdb.base/call-rt-st.exp: Ditto.
15775 * gdb.base/call-strs.exp: Ditto.
15776 * gdb.base/callfwmall.exp: Ditto.
15777 * gdb.base/scope.exp: Obsolete xfail a29k.
15778 * gdb.c++/misc.exp: Ditto.
15779 * gdb.c++/cplusfuncs.exp: Ditto.
15780 * gdb.base/ptype.exp: Ditto.
15781 * gdb.base/printcmds.exp: Ditto.
15782 * gdb.base/opaque.exp: Ditto.
15783 * gdb.base/list.exp: Ditto.
15784 * gdb.base/funcargs.exp: Ditto.
15785 * gdb.base/default.exp: Ditto.
15787 2002-01-04 Michael Snyder <msnyder@redhat.com>
15789 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15790 * gdb.base/maint.exp: Add tests for maint info sections options.
15792 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15794 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15796 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15798 * gdb.asm/arm.inc: New file.
15799 * gdb.asm/asm-source.exp: Add arm targets.
15800 * gdb.asm/configure.in: Ditto.
15801 * gdb.asm/configure: Recreated from configure.in.
15803 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15805 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15806 with HP's compiler.
15807 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15808 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15809 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15810 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15812 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15813 either HP's compilers or GCC.
15815 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15816 a SIGBUS or SIGSEGV.
15818 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15820 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15821 can be compiled with either HP's compiler or GCC.
15823 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15824 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15825 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15827 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15828 to match current gdb output. Update due to using auto-solib-limit
15829 for limiting instead of overloading auto-solib-add.
15830 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15833 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15834 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15835 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15836 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15837 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15838 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15839 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15840 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15841 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15842 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15843 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15844 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15845 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15847 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15848 a SIGTRAP to the inferior.
15850 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15852 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15853 Substitute call to target_link by call to gdb_compile.
15855 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15857 * gdb.base/break.exp: Fix HP specific search string when testing
15858 backtracing in a called function.
15860 * gdb.base/constvars.exp: Only set lang to C++ if we're
15861 compiling the test with HP's compilers.
15862 * gdb.base/volatile.exp: Similarly.
15864 2001-12-19 Jim Blandy <jimb@redhat.com>
15866 * gdb.base/printcmds.exp: Expect the null character to be printed
15867 as '\0', and the '\013' to be printed as '\v'.
15868 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15869 * gdb.base/setvar.exp: Same.
15871 2001-12-17 Jim Blandy <jimb@redhat.com>
15873 * gdb.base/completion.exp: Rather than completing very long
15874 filenames, which can make the readline library produce output we
15875 don't recognize, cd to the directory first, and then complete
15876 using nice, short relative paths.
15878 * gdb.base/completion.exp: On some systems, there is, in fact, a
15879 variable named `b' in scope, since GDB treats all static
15880 variables as being in scope. So use `no_var_named_this'
15883 * gdb.base/corefile.exp: Recognize the message saying that GDB
15884 can't find the core file's registers as a failure.
15886 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15888 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15889 test expect string more specific.
15891 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15893 * gdb.asm/asm-source.exp: Add support for xstormy16.
15894 * gdb.asm/configure.in: Ditto.
15895 * gdb.asm/configure: Rebuild.
15896 * gdb.asm/xstormy16.inc: New file.
15898 2001-12-10 Fred Fish <fnf@redhat.com>
15900 * gdb.base/maint.exp: Update to match changes in type dumping code.
15902 2001-12-10 Jim Blandy <jimb@redhat.com>
15904 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15905 matching the entry point symbol's name at the beginning of the
15908 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15910 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15911 gdb.c++/inherit.exp, gdb.c++/method.exp,
15912 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15913 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15914 and class layout support.
15916 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15918 * gdb.c++/classes.exp: Add test for static member function.
15919 * gdb.c++/misc.cc: Add class with static member function.
15921 2001-12-07 Jim Blandy <jimb@redhat.com>
15923 If GDB says it can't find the struct the function returned, report
15924 those tests as `unsupported'.
15925 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15926 Rewrite subsequent tests to use it.
15928 If GDB says it can't find the struct the function returned, report
15929 those tests as `unsupported'.
15930 * gdb.base/structs.exp (call_struct_func): New function.
15931 (do_function_calls): Use call_struct_func to call the functions
15934 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15935 whether functions are prototyped or not, so we can't possibly pass
15936 arguments to t_float_values2 properly.
15938 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15939 value of `timeout' for targets other than the mips*tx39-*.
15941 2001-12-06 Michael Snyder <msnyder@redhat.com>
15943 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15944 and detect whether the start symbol has a leading underscore.
15946 2001-12-04 Jim Blandy <jimb@redhat.com>
15948 * gdb.base/completion.exp: Clarify indentation.
15950 2001-12-03 Jim Blandy <jimb@redhat.com>
15952 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15953 variables on the S/390, not `.word'.
15955 2001-11-30 Jim Blandy <jimb@redhat.com>
15957 Add assembly-source tests for s390-ibm-linux.
15958 * gdb.asm/s390.inc: New file.
15959 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15960 the S/390 architecture.
15961 * gdb.asm/configure: Regenerated.
15963 2001-11-30 Michael Snyder <msnyder@redhat.com>
15965 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15966 next, info source, info sources, info line, global and static
15967 variables, and static functions.
15968 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15969 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15970 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15971 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15972 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15973 (gdbasm_leave): Restore frame pointer.
15974 (gdbasm_startup): Copy stack set-up from crt0.S.
15976 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15978 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15979 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15980 to a local (non-static) variable. Copy tstruct.a to a static buffer
15981 and return a pointer to that buffer.
15982 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15984 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15986 * gdb.asm/configure.in: Fix recognition of ix86 target.
15987 * gdb.asm/configure: Regenerate.
15989 2001-11-21 Michael Snyder <msnyder@redhat.com>
15991 * gdb.asm/sparc.inc: New file.
15992 * gdb.asm/asm-source.exp: Recognize sparc target.
15993 * gdb.asm/configure.in: Recognize sparc target.
15994 * gdb.asm/configure: Regenerate.
15996 2001-11-21 Michael Snyder <msnyder@redhat.com>
15998 * gdb.asm/m32r.inc: New file.
15999 * gdb.asm/asm-source.exp: Recognize m32r target.
16000 * gdb.asm/configure.in: Recognize m32r target.
16001 * gdb.asm/configure: Regenerate.
16003 2001-11-20 Michael Snyder <msnyder@redhat.com>
16005 * gdb.asm/i386.inc: New file.
16006 * gdb.asm/asm-source.exp: Recognize ix86 target.
16007 * gdb.asm/configure.in: Recognize ix86 target.
16008 * gdb.asm/configure: Regenerate.
16010 * gdb.c++/namespace.exp: Fix quotes in output messages.
16012 2001-11-14 Michael Snyder <msnyder@redhat.com>
16014 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16015 qualifier in a type cast expression, to designate an address
16016 in the instruction space (Harvard architecture).
16018 2001-11-13 Michael Snyder <msnyder@redhat.com>
16020 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16021 Tests for expressions using 'const' and 'volatile'.
16023 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16025 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16027 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16029 * lib/mi-support.exp (mi_run_to_helper): Move comments
16030 outside of gdb_expect.
16032 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16034 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16035 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16036 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16037 mi0_run_to): New functions.
16038 * gdb.mi/mi-simplerun.exp: Use them.
16039 * gdb.mi/mi0-simplerun.exp: Likewise.
16040 * gdb.mi/mi-var-cmd.exp: Likewise.
16041 * gdb.mi/mi0-var-cmd.exp: Likewise.
16043 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16045 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16046 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16048 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16050 * gdb.base/restore.exp: Include $expected value in restored test
16053 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16055 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16058 2001-11-08 Michael Snyder <msnyder@redhat.com>
16060 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16061 Add pass/fail message for stop at breakpoint in call dummy function.
16063 2001-11-07 Michael Snyder <msnyder@redhat.com>
16065 * gdb.c++/templates.exp (test_template_breakpoints):
16066 If we get an overload menu, but it does not match what
16067 we expect, we still need to issue the "cancel" command.
16068 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16069 making the whitespace optional. Argument for "new" may be
16070 "unsigned" as well as "unsigned int/long".
16071 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16072 making the whitespace optional. Also replace "(void) with
16073 "((void|)), making the keyword "void" optional.
16074 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16075 making the whitespace optional. Also replace "(void) with
16076 "((void|)), making the keyword "void" optional.
16077 * gdb.base/callfuncs.c (t_float_values): This function must
16078 _not_ be prototyped, and the following function (t_float_values2)
16079 must be prototyped (if the compiler supports it), so that GDB
16080 can be tested against both cases. Usually one case involves
16081 promotion of float to double, while the other does not.
16082 * gdb.base/callfwmall.c: Ditto.
16083 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16084 includes a stack frame for "start".
16086 2001-11-05 Jim Blandy <jimb@redhat.com>
16088 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16089 pointers are 32 bits long, and that offsets of relocs are always
16090 stored in the data (REL-style), and not in the reloc entry itself
16092 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16095 2001-11-01 Michael Snyder <msnyder@redhat.com>
16097 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16098 and regular expression operators by using quoting.
16100 2001-10-31 Michael Snyder <msnyder@redhat.com>
16102 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16103 depending on what the symbol table contains.
16104 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16105 the output of the ptype command. Similarly, accept both "const &"
16108 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16110 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16111 symbol `STORAGE' to allow to choose the storage class of
16112 the local datastructures.
16113 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16114 compiler directive.
16116 2001-10-30 Michael Snyder <msnyder@redhat.com>
16118 * gdb.base/jump.exp: Allow it to run for all targets.
16120 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16122 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16123 with new double_array size.
16124 (main): Change storage class of all local variables to static.
16125 Reduce size of double_array to 9.
16126 * gdb.base/call-ar-st.exp: Increase timeout value.
16127 Change expected output for double array to match new size in
16130 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16132 * gdb.base/ending-run.exp: Create identical output when passing
16133 `step to end of run' case. Add regular expression branch satisfying
16136 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16138 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16139 that we catch the expected failure under Linux/x86.
16141 2001-10-29 Orjan Friberg <orjanf@axis.com>
16143 * gdb.base/setvar.exp: Escape curly braces.
16144 * gdb.stabs/weird.exp: Ditto.
16146 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16148 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16149 * gdm.mi/mi0-hack-cli.exp: Likewise.
16151 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16153 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16156 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16158 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16159 checking MI enabled.
16161 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16163 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16165 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16167 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16168 if gdb child process crashes, just signal an error.
16170 2001-10-02 Jim Blandy <jimb@redhat.com>
16172 * lib/gdb.exp (test_xfail_format): Simplify.
16174 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16175 front of the variable name `format'. Simplify `if'.
16177 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16179 * gdb.threads/pthreads.exp: Wait for output and delay
16182 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16184 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16185 some incorrect output instead of timing out.
16186 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16188 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16190 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16191 check to allow additional `int'.
16193 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16195 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16196 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16198 2001-09-27 Michael Snyder <msnyder@redhat.com>
16200 * lib/gdb.exp (test_debug_format): New proc.
16201 (setup_xfail_format): Use new proc test_debug_format.
16202 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16203 proc; use new service proc test_debug_format.
16204 Replace all other "gcc_compiled" tests with this test.
16205 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16206 proc; use new service proc test_debug_format.
16207 Replace all other "gcc_compiled" tests with this test.
16209 2001-09-27 Michael Snyder <msnyder@redhat.com>
16211 * gdb.base/cvexpr.exp: New file.
16212 * gdb.base/cvexpr.c: New file
16213 Test for expressions using const and volatile keywords.
16215 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16217 * gdb.base/constvars.exp: Check for different orders of keywords
16218 and additional "int" strings in output.
16220 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16222 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16223 responses from "help maint".
16225 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16227 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16228 to localhost:NNN instead of :NNN, in case Xvfb is listening
16231 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16233 * gdb.base/recurse.exp: When checking leaving the watchpoint
16234 scope, recognize when gdb is in function's epilogue and pass.
16236 2001-09-18 Keith Seitz <keiths@redhat.com>
16238 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16239 support for running tests against sid targets.
16240 (gdbtk_done): Ditto.
16242 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16244 * gdb.base/ending-run.c (main): Set stdout buffersize
16245 to the same reasonable value for any target.
16246 * gdb.base/ending-run.exp: Add a regular expression
16247 to make testsuite happy on Sanyo Stormy16 target.
16249 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16251 * gdb.base/display.c (do_loops): Add float variable `f'.
16252 Increment f in loop.
16253 * gdb.base/display.exp: Increment timeout by 60 seconds.
16254 Change float display test to use variable `f'.
16256 2001-09-17 Jim Blandy <jimb@redhat.com>
16258 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16259 overflowing the limited breakpoint tables on some ROM monitors
16262 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16264 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16265 the "-ac" (disable access control) flag.
16267 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16269 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16272 2001-08-30 Keith Seitz <keiths@redhat.com>
16274 * lib/gdb.exp: Move all insight-related functionality into
16276 * lib/insight-support.exp: New file.
16278 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16280 * config/sid.exp (sid_start): Never set sid verbosity; disable
16281 expect_background {} that consumed its stdout; tolerate </dev/null.
16282 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16284 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16286 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16287 CLI jump command to start it.
16288 (mi_run_to_main): Fail immediatly when unexpected output.
16290 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16292 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16293 beginning of function. Fix PR gdb/191.
16295 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16297 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16298 what to force sid endianness to.
16300 2001-08-15 Keith Seitz <keiths@redhat.com>
16302 * lib/gdb.exp (gdbtk_start): Don't set environment
16303 variables for TCL_LIBRARY and friends. Insight will
16304 now figure these out for itself.
16306 2001-08-02 Michael Snyder <msnyder@redhat.com>
16308 * gdb.base/completion.exp: Remove the symbol "a64l" from
16309 the expect string; this is target-specific, and not related
16310 to what is being tested.
16312 2001-08-02 Dave Brolley <brolley@redhat.com>
16314 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16316 2001-07-25 Michael Snyder <msnyder@redhat.com>
16318 * gdb.base/consecutive.exp: New file. Test stepping over
16319 breakpoints on consecutive instructions.
16320 * gdb.base/consecutive.c: New file.
16322 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16323 curly braces in regular expressions.
16325 2001-07-25 Michael Snyder <msnyder@redhat.com>
16327 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16328 legitimate output from stepping out of main.
16330 2001-07-22 Keith Seitz <keiths@redhat.com>
16332 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16333 the empty string, do not run the tests.
16335 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16337 * gdb.base/long_long.exp: Detect size of pointer. Take into
16338 account 2-byte pointers when testing for p/a results.
16340 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16342 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16343 and defined to 1K for m68hc11.
16344 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16345 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16346 (sizeof_random_data): New variable to tell the size of the data table;
16347 don't test past this size; always run to main.
16349 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16351 * gdb.base/return2.exp: return of long long and double fails for
16352 68HC11; don't execute these tests on that platform.
16353 * gdb.base/return.exp: Return of a double fails for 68hc11.
16355 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16357 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16358 tests that print a float.
16359 * call-rt-st.exp: Likewise.
16361 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16363 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16364 running this test on Linux.
16366 2001-06-24 Michael Chastain <chastain@redhat.com>
16368 * gdb.base/arithmet.exp: Remove some tests to make all test names
16371 2001-07-03 Michael Snyder <msnyder@redhat.com>
16373 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16374 the output of the ptype command.
16376 2001-07-02 Michael Snyder <msnyder@redhat.com>
16378 * gdb.base/completion.exp: Don't assume that break.c is the only
16379 source file that may contain functions named "marker".
16380 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16382 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16384 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16385 of files to delete.
16387 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16388 * gdb.disasm/h8300s.exp: New file.
16389 gdb.disasm/h8300s.s: Likewise.
16391 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16393 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16394 empty breakpoint tables.
16396 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16398 * lib/mi-support.exp: Update args=... part of stop-reason
16399 patterns. Accept either a list or a tuple.
16401 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16403 * lib/mi-support.exp: Remove local emacs variable defining
16404 change-log-default-name.
16406 2001-06-22 Michael Chastain <chastain@redhat.com>
16408 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16409 This is operationally compatible with the previous version.
16411 2001-06-13 Jim Blandy <jimb@redhat.com>
16413 * lib/gdb.exp (gdb_test): Doc fix.
16415 2001-06-10 Michael Chastain <chastain@redhat.com>
16417 * gdb.base/exprs.exp: Remove a duplicate test.
16419 2001-06-06 Jim Blandy <jimb@redhat.com>
16421 * gdb.base/return2.exp (main): Use values to test float and double
16422 returns that are not NaN's, to avoid being confused by IEEE
16425 2001-06-04 Michael Snyder <msnyder@redhat.com>
16427 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16428 non-zero if control_c fails. Terminate the test on failure,
16429 rather than wait for 12 more tests to time out.
16431 2001-06-06 Jim Blandy <jimb@redhat.com>
16433 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16434 Don't forget to match the GDB prompt.
16436 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16438 2001-06-04 Jim Blandy <jimb@redhat.com>
16440 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16443 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16445 * gdb.base/annota1.exp (info break): Match four or more spaces
16448 2001-05-31 Michael Chastain <chastain@redhat.com>
16450 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16451 (dm_type_int_star): Likewise.
16452 (dm_type_long_star): Likewise.
16453 (dm_type_void_star): Likewise.
16455 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16457 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16458 to a known value in order to get consistent results regardless
16459 of the setting of INPUTRC or the presence or contents of .inputrc.
16461 2001-05-24 Michael Snyder <msnyder@redhat.com>
16463 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16464 Don't require that the main thread and the manager thread are the
16467 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16468 debugging. If test fails, issue an "unsupported" not a "fail".
16470 2001-05-24 Jim Blandy <jimb@redhat.com>
16472 Don't assume that short is shorter than int.
16473 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16474 assume that shorts are smaller than ints. On a 16-bit machine,
16476 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16477 an int, is not equal to ~0 stored in an unsigned char. This tests
16478 the same thing that the previous test meant to, but works on
16479 16-bit machines, too.
16480 ("print unsigned char != (~0)"): Same test, complemented.
16482 2001-05-24 Michael Snyder <msnyder@redhat.com>
16484 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16485 test for (full_coverage == 0). This makes the test run faster,
16486 and prevents dejagnu getting out of step.
16488 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16490 * gdb.base/finish.exp (finish_void): Revise pattern for
16491 stopping on the call statement to not permit stopping at
16492 the start of the instructions comprising the call sequence.
16494 2001-05-19 Michael Chastain <chastain@redhat.com>
16496 * gdb.base/callfuncs.exp: Make all test names unique.
16497 * gdb.base/commands.exp: Make all test names unique.
16498 * gdb.base/condbreak.exp: Make all test names unique.
16499 * gdb.base/dbx.exp: Make all test names unique.
16500 * gdb.base/default.exp: Make all test names unique.
16501 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16502 and TIMEOUT messages to their corresponding PASS message.
16503 * gdb.base/ending-run.exp: Make all test names unique.
16504 * gdb.base/long_long.exp: Remove duplicate test.
16506 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16508 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16509 stop on the call statement as well as the statement after the
16512 2001-05-21 Michael Snyder <msnyder@redhat.com>
16514 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16516 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16518 * gdb.base/completion.exp: Revamp test. Make it execute on all
16521 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16523 * config/gdbserver.exp (gdb_load): Handle the case
16524 in which the arguments to gdbserver are given in the
16525 baseboard configuration file.
16526 Also handle the case in which the server needs to do a
16529 2001-05-07 Keith Seitz <keiths@cygnus.com>
16531 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16532 set up the display for testing.
16533 (gdbtk_start): Convert all paths to paths that tcl will like.
16534 Export target information to environment.
16535 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16537 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16538 (to_tcl_path): New proc to convert a given pathname into
16539 a path acceptible as an argument to a tcl command.
16540 (_gdbtk_export_target_info): New proc to export target info
16541 into the environment for gdbtk testing.
16542 (gdbtk_done): New proc to signal end-of-test.
16544 2001-05-06 Jim Blandy <jimb@redhat.com>
16546 * restore.c: Make the code of caller0 correspond to its comment.
16548 2001-05-03 Michael Snyder <msnyder@redhat.com>
16550 * config/sid.exp (gdb_target_sid): Check for error messages.
16551 On error or timeout, don't make expect exit (which will terminate
16552 all subsequent tests); instead just make gdb exit.
16553 (gdb_load): Check for error messages. On error or timeout,
16554 return a negative value.
16556 2001-04-24 Jim Blandy <jimb@redhat.com>
16558 * gdb.c++/templates.exp: If we see the prompt for the overload
16559 list, but we haven't recognized any of the longer patterns,
16560 arrange for this test to fail, not hang.
16562 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16565 2001-04-22 Michael Chastain <chastain@redhat.com>
16567 * gdb.c++/local.exp: Use the 'runto' library function.
16568 * gdb.c++/namespace.exp: Likewise.
16569 * gdb.c++/overload.exp: Likewise.
16571 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16573 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16574 * gdb.base/step-line.exp: New file. Test step/next in presence of
16576 * gdb.base/step-line.c: New file. Test program for the above.
16577 * gdb.base/step-line.inp: New file. We pretend that this file has
16578 been transformed by some other tool into step-line.c.
16580 2001-03-21 Jim Blandy <jimb@redhat.com>
16582 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16583 unmangled operator names.
16585 2001-03-20 Jim Blandy <jimb@redhat.com>
16587 * gdb.threads/linux-dp.exp: Recognize an additional message
16588 generated by GDB when it doesn't understand how to debug threads
16589 on the target system.
16591 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16593 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16595 2001-03-12 Michael Chastain <chastain@redhat.com>
16597 * gdb.c++/derivation.exp: Use the 'runto' library function.
16599 2001-03-12 Michael Chastain <chastain@redhat.com>
16601 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16603 2001-02-24 Michael Chastain <chastain@redhat.com>
16605 * gdb.c++/ref-types.exp: Change handwritten code to library
16608 2001-03-16 Orjan Friberg <orjanf@axis.com>
16610 * gdb.base/signals.exp: Set count to 0 explicitly.
16612 2001-03-15 Mark Salter <msalter@redhat.com>
16614 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16615 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16616 (gdb_load): Add support for additional target_info: gdb_download_size
16617 and gdb_load_timeout.
16619 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16621 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16622 file -- to prevent failing when the compile fails but we have no
16623 intention of running the tests anyway.
16625 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16628 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16631 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16632 * gdb.c++/namespace.exp: Ditto.
16634 2001-03-07 Orjan Friberg <orjanf@axis.com>
16636 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16637 * gdb.base/pointers.exp: Relax pattern match of decimals.
16639 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16641 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16642 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16643 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16644 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16645 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16646 config/sh.exp, config/sid.exp, config/slite.exp,
16647 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16648 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16649 config/vxworks.exp, config/vxworks29k.exp,
16650 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16651 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16652 gdb.base/arithmet.exp, gdb.base/assign.exp,
16653 gdb.base/async.exp, gdb.base/attach.exp,
16654 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16655 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16656 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16657 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16658 gdb.base/commands.exp, gdb.base/completion.exp,
16659 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16660 gdb.base/constvars.exp, gdb.base/corefile.exp,
16661 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16662 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16663 gdb.base/ending-run.exp, gdb.base/environ.exp,
16664 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16665 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16666 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16667 gdb.base/funcargs.exp, gdb.base/help.exp,
16668 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16669 gdb.base/logical.exp, gdb.base/long_long.exp,
16670 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16671 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16672 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16673 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16674 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16675 gdb.base/regs.exp, gdb.base/relational.exp,
16676 gdb.base/remote.exp, gdb.base/reread.exp,
16677 gdb.base/restore.exp, gdb.base/return2.exp,
16678 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16679 gdb.base/selftest.exp, gdb.base/setshow.exp,
16680 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16681 gdb.base/sigall.exp, gdb.base/signals.exp,
16682 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16683 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16684 gdb.base/step-test.exp, gdb.base/structs.c,
16685 gdb.base/structs.exp, gdb.base/structs2.exp,
16686 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16687 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16688 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16689 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16690 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16691 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16692 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16693 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16694 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16695 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16696 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16697 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16698 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16699 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16700 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16701 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16702 gdb.trace/circ.exp, gdb.trace/collection.exp,
16703 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16704 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16705 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16706 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16707 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16708 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16709 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16712 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16714 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16715 first arg is int not float.
16717 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16719 * gdb.base/reread.exp: Unsupported for non-native targets;
16720 doesn't work for remote debugging.
16722 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16724 From Drew Moseley <dmoseley@redhat.com>
16725 * gdb.base/ending-run.exp: Properly handle the BSP state when
16726 stepping past the end of main.
16728 2001-02-19 John Moore <jmoore@redhat.com>
16730 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16731 Converted HPUX fix for non-expected items following multiple
16732 step commands into general solution for all platforms.
16734 2001-02-18 Michael Chastain <chastain@redhat.com>
16736 * gdb.c++/classes.exp (do_tests): Change runto statements
16737 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16738 statements demangler agnostic.
16739 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16740 (gdb_virtfunc_restart): Likewise.
16742 2001-02-14 Michael Chastain <chastain@redhat.com>
16744 * gdb.c++/inherit.exp (do_tests): Change runto statements
16745 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16746 statements demangler agnostic.
16748 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16750 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16751 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16752 before calling common_routine 15 times'' tests.
16754 2001-02-11 Michael Chastain <chastain@redhat.com>
16756 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16757 Helps the test script figure out which demangler is in use.
16758 (dm_type_foo_ref): Ditto.
16759 (dm_type_int_star): Ditto.
16760 (dm_type_long_star): Ditto.
16761 (dm_type_unsigned_int): Ditto.
16762 (dm_type_void): Ditto.
16763 (dm_type_void_star): Ditto.
16764 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16765 Probe the gdb demangler and set variables to accommodate
16766 formatting differences.
16767 (info_func_regexp): New function. Same as info_func, but
16768 matches against a regexp.
16769 (info_func): Match against a literal string.
16770 (print_addr_2): New function. Match against a literal string,
16771 which can be different from the input to gdb.
16772 (print_addr): Simply call print_addr_2 with the same argument twice.
16773 (test_lookup_operator_functions): Use demangler formatting variables.
16774 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16775 the tests in the same order as the C++ class declaration.
16776 (test_paddr_operator_functions): Ditto.
16777 (test_paddr_overloaded_functions): Ditto.
16778 (test_paddr_hairy_functions): Use demangler formatting variables.
16779 Add reference to gdb/19 for related tests.
16780 (do_tests): Call probe_demangler.
16782 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16784 * gdb.c++/templates.cc (printf): Remove unused function definition.
16786 2001-01-26 Felix Lee <flee@redhat.com>
16788 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16790 2001-01-25 matthew green <mrg@redhat.com>
16792 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16794 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16796 2001-01-25 matthew green <mrg@redhat.com>
16798 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16799 Deprecate $sid_spawn_id.
16800 (sid_exit): Remove code necessary only for `spawn.'
16802 2001-01-25 matthew green <mrg@redhat.com>
16804 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16806 2001-01-28 Michael Chastain <chastain@redhat.com>
16808 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16809 to call when tests fail. It takes gdb out of the overloaded
16810 function choice menu back to the main prompt, so that the test
16811 program stays synchronized.
16812 (set_bp_overloaded): New proc to collect all the common
16813 code for setting a breakpoint on an overloaded name. Calls
16814 take_gdb_out_of_choice_menu when needed.
16815 (menu_overload1arg): New variable to collect the repeated
16816 instances of the expected menu for an overloaded name. Change
16817 the regular expression to handle changes in g++ type encoding:
16818 "void" can be either "void" or "", and "unsigned int" can be
16819 either "unsigned int" or "unsigned".
16820 (continue_to_bp_overloaded): Change regular expressions to handle
16821 changes in g++ type encoding.
16822 (no proc): Call take_gdb_out_of_choice_menu when needed.
16823 Remove redundant calls to "info break". Accept either "canceled"
16824 or "cancelled". Change regular expressions in "info break"
16825 calls to handle changes in g++ type encoding. Give all tests
16828 2001-01-17 Ben Elliston <bje@redhat.com>
16830 * config/sid.exp: New file.
16832 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16834 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16836 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16838 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16839 Add a RE to accept a non-ascii char if one is ever presented.
16841 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16843 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16845 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16847 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16848 in regexp. One '\' does not suffice on Linux.
16850 2000-12-09 Michael Chastain <chastain@redhat.com>
16852 * gdb.base/break.exp (test_clear_command): Use a marker function
16853 rather than 'main' for the test function. Also move this
16854 test to an execution point where the marker function names are
16855 guaranteed to be bound to functions. (Executing tests after a
16856 'finish' from main runs into name conflicts with local names
16857 in __libc_start_main).
16859 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16861 * gdb.base/finish.exp: New test for gdb's "finish" command.
16862 * gdb.base/return2.exp: New test for gdb's "return" command.
16863 * gdb.base/return2.c: New source file for above.
16865 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16867 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16868 * gdb.base/miscexprs.exp: Ditto.
16869 * gdb.base/pointers.exp: Ditto.
16870 * gdb.c++/derivation.exp: Ditto.
16871 * gdb.c++/local.exp: Ditto.
16872 * gdb.c++/namespace.exp: Ditto.
16873 * gdb.c++/overload.exp: Ditto.
16874 * gdb.c++/ref-types.exp: Ditto.
16876 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16878 * gdb.base/constvars.exp: Test result of "up" command.
16879 * gdb.base/miscexprs.exp: Ditto.
16880 * gdb.base/pointers.exp: Ditto.
16881 * gdb.base/scope.exp: Ditto.
16882 * gdb.c++/derivation.exp: Ditto.
16883 * gdb.c++/local.exp: Ditto.
16884 * gdb.c++/namespace.exp: Ditto.
16885 * gdb.c++/overload.exp: Ditto.
16886 * gdb.c++/ref-types.exp: Ditto.
16888 2000-11-22 Michael Chastain <chastain@redhat.com>
16890 * mips_pro.exp: Accept either "middle -> top -> main" or
16891 "middle -> main" in the backtrace, because gcc can optimize
16892 tail calls to jumps. Remove setup_xfail for the hppa case.
16893 Add a comment with the original warning messages from PR 3016,
16894 which was filed in 1993, to preserve them for posterity.
16896 2000-11-17 Nick Duffek <nsd@redhat.com>
16898 * lib/gdb.exp (gdb_test): Override timeout with board info.
16900 2000-11-17 Nick Duffek <nsd@redhat.com>
16902 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16903 the second kill and detach messages.
16905 2000-11-17 Nick Duffek <nsd@redhat.com>
16907 * configure.in: Add AC_EXEEXT.
16908 * configure: Regenerate.
16909 * Makefile.in (just-check): Export EXEEXT.
16910 * lib/gdb.exp ($EXEEXT): Import from environment.
16911 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16912 expect "maint dump-me" on Cygwin.
16913 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16916 2000-11-17 Nick Duffek <nsd@redhat.com>
16918 * gdb.base/break.exp: Test backtrace and finish from called
16919 function on all platforms, not just HP-UX.
16921 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16923 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16924 code from gdb_target_monitor, so it can be used independantly
16925 for gdbserver. Also comment out an unnecessary PUTS.
16927 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16929 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16930 * gdb.base/corefile.exp: Expect the message "Program is being
16931 debugged already" when we send the "corefile" command, since
16932 the preceeding gdb_load may have connected gdb to a remote target.
16933 * gdb.base/display.exp: Disable hardware watchpoints if new
16934 board info variable "no_hardware_watchpoints" is true.
16935 Replace single-letter commands with more readable ones.
16936 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16937 if new board info variable "no_hardware_watchpoints" is true.
16938 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16939 to see if stdio (printf) testing is possible.
16940 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16941 board info variable "no_hardware_watchpoints" is true. Use new
16942 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16944 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16946 From Orjan Friberg <orjanf@axis.com>:
16947 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16948 in array print pattern match.
16950 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16952 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16953 spelling "cancelled" to U.S. spelling "canceled" to match changes
16955 * gdb.c++/ovldbreak.exp: Ditto.
16957 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16959 * gdb.base/callfuncs.c (main): Moved to end of file, call
16960 t_double_values to initialize the FPU before inferior calls are made.
16961 * gdb.base/callfuncs.exp: Test for register preservation after calling
16962 inferior functions. Add tests for continuining, finishing and
16963 returning from a stop in a call dummy.
16965 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16967 * gdb.base/commands.exp: Break up long lines, and re-indent.
16969 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16971 * config/gdbserver.exp: Rewritten from the ground up, to make it
16972 compatible with the current dejagnu tree, and to make it work with
16973 the new "gdbserver" in libremote.
16975 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16977 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16978 * gdb.base/varargs.exp: Skip entire test if no printf support.
16979 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16980 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16982 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16984 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16985 no floating point support.
16986 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16987 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16988 * gdb.base/call-rt-st.exp: Ditto.
16989 * gdb.base/call-strs.exp: Ditto.
16991 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16993 * gdb.base/sizeof.c: include <stdio.h>.
16995 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16996 'finish', otherwise uncaptured gdb_prompt would potentially
16997 throw remaining test points out of sync.
16999 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17001 * gdb.base/recurse.exp: Run tests for all targets.
17002 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17003 gnu-oldld case on ARM.
17004 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17007 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17009 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17010 * gdb.java/configure: Rebuild.
17012 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17014 * gdb.java/jv-exp.exp: New file.
17016 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17018 * configure: Rebuilt.
17019 * configure.in (configdirs): Add gdb.java.
17020 * gdb.java/jmisc.java: New file.
17021 * gdb.java/jmisc.exp: New file.
17022 * gdb.java/Makefile.in: New file.
17023 * gdb.java/configure: Rebuilt.
17024 * gdb.java/configure.in: New file.
17025 * lib/java.exp: New file.
17027 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17029 * gdb.base/exprs.exp: Test casts to a pointer including over and
17032 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17034 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17035 and the compilers sizes.
17037 2000-07-09 Nick Duffek <nsd@redhat.com>
17039 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17040 (use_methods): New function.
17041 (main): Call use_methods().
17042 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17043 (do_tests): Call test_method_param_class.
17045 2000-07-09 Nick Duffek <nsd@redhat.com>
17047 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17049 (test_enums): New procedure. Move enum tests from end of script
17050 to here. Set breakpoint on function name instead of line number.
17051 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17052 (enums2): New marker function.
17053 (enums1): New function.
17054 (main): Call enums1(). Move enum tests to enums1().
17056 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17058 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17059 compile/link program. Update line numbers.
17060 * gdb.asm/d10v.inc: Define ``startup''.
17061 * gdb.asm/asmsrc1.s: Add definition of _start.
17063 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17065 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17067 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17069 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17070 of 'help maint print' command.
17072 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17074 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17075 they use gdb_expect_list.
17077 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17079 * gdb.base/commands.exp: Use ``set remote
17080 memory-read-packet-size'' instead of ``set endian big'' to test
17083 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17085 * gdb.c++/templates.exp (do_tests): Make all of these work under
17086 g++, and stop skipping them.
17088 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17091 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17094 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17096 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17097 the regular expression: accept an (almost) arbitrary sequence of
17098 "frames-invalid" and "breakpoints-invalid" messages both before
17099 and after the "starting" message.
17101 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17103 * gdb.c++/local.exp: This test has never been known to work with g++.
17105 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17107 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17108 Relax the regular expression a little, make it pass on Solaris 8.
17110 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17112 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17113 a call, do not require that gdb stop on the line after the call.
17114 Instead, it is permissible for gdb to stop on the line of the
17117 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17119 * gdb.base/break.exp (bp on small function, optimized file):
17120 Add a second pass pattern. The behavior differs here between stabs
17121 and dwarf for one-line functions. Stabs preserves two line symbols
17122 (one before the prologue and one after) with the same line number,
17123 but dwarf regards these as duplicates and discards one of them.
17124 Therefore the address after the prologue (where the breakpoint is)
17125 has no exactly matching line symbol, and GDB reports the breakpoint
17126 as if it were in the middle of a line rather than at the beginning.
17128 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17130 * gdb.base/interrupt.exp: Make "pass" message say "send"
17131 rather than "send_gdb" (for consistancy).
17133 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17135 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17136 * gdb.c++/templates.cc: Properly check for GCC version number.
17137 * lib/compiler.cc: Likewise
17139 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17141 * gdb.base/break.exp: When compiled with -O2 optimization,
17142 gdb may not stop at the first line of main, due to code motion.
17144 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17146 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17147 This test depends on parsing the printf output from the target.
17148 Since the sparclet stub doesn't do stdio, this will never work.
17149 * gdb.base/call-rt-st.exp: ditto.
17150 * gdb.base/call-strs: ditto.
17152 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17154 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17156 * gdb.base/ending-run.exp: After connecting to a remote target,
17157 but before running, the target will appear to be in a random
17158 location. Specify both a file and a line for breakpoints.
17159 Also, the function that calls main may be called 'init'
17160 rather than 'start'.
17162 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17164 * gdb.base/help.exp: Update output for add-symbol-file command.
17166 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17168 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17169 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17171 2000-04-07 J.T. Conklin <jtc@redback.com>
17173 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17175 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17177 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17179 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17180 values that can be represented exactly.
17181 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17182 above change, and to not check against the directory part of the source
17184 (step into print_long_arg_list): Likewise.
17185 (print print_small_structs from print_long_arg_list): Likewise.
17186 (print print_long_arg_list): Likewise.
17188 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17190 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17192 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17194 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17196 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17198 * gdb.base/commands.exp (deprecated_command_test): Add test for
17199 deprecate with no arguments.
17201 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17203 * gdb.base/break.exp: Add new test for setting breakpoints on
17204 optimized code so we can test breakpoints work even when function
17205 prologues may be optimized away
17207 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17209 From David Whedon <dwhedon@gordian.com>
17210 * gdb.base/commands.exp : Added command deprecator tests.
17212 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17214 * gdb.base/help.exp: Added test for new apropos command.
17216 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17218 * gdb.base/pointers.c (usevar): New function.
17219 (main): Make sure that global variables v_int_pointer2, rptr,
17220 and y are all referenced someplace in the program by calling
17221 usevar() on them. [Some linkers delete symbols which are
17222 never referenced. The space remains, but there's no way to
17223 get a (symbolic) handle on the variable from the debugger.]
17225 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17227 * gdb.base/printcmds.c: Add typedeffed arrays.
17229 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17230 procedure to test arrays that are typedef'd.
17232 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17234 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17235 the library directories.
17237 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17239 * configure.in (configdirs): Add sub directory gdb.mi.
17240 * configure: Re-generate.
17242 * gdb.mi: New directory.
17244 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17246 * gdb.base/long_long.exp: Correct test suite failure when printing
17247 a long long value as a double on ARM platforms.
17249 2000-02-16 Jim Blandy <jimb@redhat.com>
17251 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17252 default source file is set properly before running this test.
17254 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17256 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17257 gdbtk/library directory, not in gdbtcl2.
17259 2000-02-04 Jim Blandy <jimb@redhat.com>
17261 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17262 backslash from regexp pattern.
17264 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17265 procedure. Use it to run all the "continue to bp overloaded"
17266 tests. Note that this changes the names of the tests slightly.
17267 If the breakpoint hit message includes a hex PC value, because
17268 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17269 from the real source code, still consider that a pass.
17271 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17272 XFAIL here if the breakpoint message contains a hex address. Note
17273 similar change on 1999-11-02.
17275 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17277 * gdb.base/ptype.exp: Establish a default source file before
17278 calling get_debug_format.
17280 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17282 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17284 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17286 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17287 of successive stepi commands -- while in the prologue we should see
17288 the function entry bracket.
17290 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17292 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17293 reach __change_mode() when stepping through the end of main().
17295 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17297 * gdb.base/default.exp: Fix expected pattern.
17298 * gdb.base/help.exp: Same.
17300 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17302 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17303 Don't use xfail's because that affects only the following test.
17305 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17308 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17310 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17312 * gdb.base/display.exp: Some yacc parsers like to say
17313 "A syntax error" rather than "A parse error". Accept both.
17315 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17317 * gdb.base/default.exp: Remove OS dependent string from "target
17319 * gdb.base/help.exp: Same for "help target remote" test.
17321 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17323 From Jim Kingdon <kingdon@redhat.com>:
17325 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17326 prompt (cleanup rather than necessity, but still might keep output
17327 from spilling to next test).
17329 2000-01-02 Fred Fish <fnf@cygnus.com>
17331 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17332 AIX, which defines them in <sys/types.h>.
17334 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17336 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17339 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17341 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17343 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17344 outermost frame disallowed".
17346 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17348 * gdb.base/setvar.exp: New tests for setting the value of a struct
17349 with a constant list.
17351 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17353 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17354 require the user to type a cast before setting the value of a struct.
17356 1999-12-06 Jim Blandy <jimb@cygnus.com>
17358 * gdb.base/default.exp: Expect the new 'info float' command on
17359 all i386 platforms.
17361 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17362 LinuxThreads libraries that don't support debugging.
17364 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17366 * gdb.base/remote.c: Fill the buffer with truely random data.
17367 Change the buffer type to ``unsigned char'' to simplify size
17370 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17371 stub only handles 400-1 byte packets. Verify that the download
17374 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17376 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17377 tests, using UNRESOLVED for the untested cases. Also, does not wait
17378 for a timeout if the prompt was received before a recognizable pattern.
17380 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17382 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17384 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17386 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17389 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17391 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17393 * gdb.c++/local.exp: Be more flexible in recognizing local class
17394 name mangling. Don't allow horribly truncated method names.
17395 * gdb.c++/derivation.exp: Expect protected inheritance.
17396 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17397 * gdb.c++/virtfunc.exp: Likewise.
17398 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17399 when printing a nested enum.
17401 1999-11-22 Jim Blandy <jimb@cygnus.com>
17403 * gdb.base/step-test.exp: Properly await GDB's response to setting
17404 a breakpoint on the call to large_struct_by_value.
17406 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17407 just because we have debug info for the `start' function.
17409 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17411 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17412 "Unknown signal" messages, which indicate (on LinuxThreads) that
17413 GDB doesn't know how to debug threads on this system. This is
17414 better than hanging while philosopher 0 dumps chatter into gdb.log.
17416 1999-11-18 Tom Tromey <tromey@cygnus.com>
17418 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17420 1999-11-18 Fred Fish <fnf@cygnus.com>
17422 * gdb.base/coremaker2.c: Add sample program for generating
17423 cores that is more self contained than coremaker.c. Eventually
17424 I'll add more code to this and tie it into the testsuite.
17426 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17428 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17430 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17432 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17434 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17437 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17439 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17440 'continue with watch' test point.
17442 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17444 Merged from p2linux-990323-branch:
17446 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17448 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17450 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17451 {limit,fixed}''. Test ``set download-write-size''.
17453 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17455 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17458 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17460 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17462 1999-11-03 Mark Salter <msalter@cygnus.com>
17464 * gdb.base/break.exp: Fix "stub continue" pattern.
17466 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17468 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17470 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17472 * gdb.base/display.exp ("finish"): Add timeout clause.
17474 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17475 plain prompt clause, so this doesn't have to time out in order to
17478 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17479 breakpoint hit messages include an address.
17481 * gdb.base/display.exp: Don't forget to escape parens in regular
17482 expressions. Unix regexp notatation sucks.
17484 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17486 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17487 order for 'signalled' message.
17489 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17491 From Jimmy Guo <guo@cup.hp.com>:
17492 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17493 * gdb.base/annota1.c: Add code for tests to work with.
17495 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17497 * gdb.base/remote.exp: New test for remote downloading settings.
17498 * gdb.base/remote.c: New file with large .data.
17500 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17502 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17503 for LinuxThreads support, merged from the Code Fusion branch.
17505 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17507 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17508 containing exp_continue into a while within an expect. Don't
17509 attempt a start more than three times. Check return value from
17512 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17514 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17517 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17519 * gdb.base/break.c (main): Added a statement that we can step
17521 * gdb.base/break.exp: Added tests for setting a breakpoint
17522 at an offset and stepping onto a breakpoint.
17524 1999-10-01 Fred Fish <fnf@cygnus.com>
17526 * gdb.base/help.exp (help add-symbol-file): Update to match current
17529 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17531 * gdb.base/break.exp: Code locations are in hex, don't forget!
17534 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17536 * condbreak.exp: Use break.c as test program.
17537 * condbreak.c: Remove, redundant with break.c.
17539 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17541 * config/monitor.exp (gdb_target_monitor): Disable X- and
17542 Z-packets if the target needs it.
17544 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17546 * gdb.c++/overload.exp: Added tests for listing overloaded
17547 functions with function pointers in the arg, explicitly calling
17548 out the version you want.
17550 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17552 * long_long.exp: Add variations of test cases that work for
17553 targets with 16-bit ints and 32-bit doubles.
17555 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17557 * break.c (main): Compare a possibly-uninitialized argc with an
17558 unlikely value that fits in 16 bits.
17560 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17562 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17563 0xfeeb, don't want negative numbers if ints are 16 bits.
17565 * lib/gdb.exp (skip_cplus_tests): New proc.
17566 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17567 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17568 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17569 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17570 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17571 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17572 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17573 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17575 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17577 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17579 * gdb.base/corefile.exp (up): Allow a parameter to appear
17580 in the frame that we're going up to.
17582 From Jim Blandy <jimb@cygnus.com>:
17584 * gdb.base/default.exp (info float): Expect some output now.
17586 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17587 returning floating-point values to fail on the x86.
17588 * gdb.base/callfwmall.exp (do_function_calls): Same.
17590 * gdb.base/list.exp (test_listsize): Correct expectations for
17591 listing line 1 with listsize 2. Also, listing a single line
17592 works now, as does listing three lines. [Kevin's note: There
17593 were a number of other cases fixed too where the expectations
17596 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17598 * gdb.base/selftest.exp: Add case for when version prints as
17599 constant string instead of char pointer.
17601 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17603 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17604 stepping out of main.
17606 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17609 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17610 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17612 * gdb.c++/ovldbreak.exp: Update match string in test that
17613 includes a warning of multiple breakpoints.
17615 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17617 * gdb.base/display.exp: Improve precision of step-after-finish
17620 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17623 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17624 configs when using G++, not just hppa*.
17626 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17628 * gdb.base/async.c: New file.
17629 * gdb.base/async.exp: New file.
17631 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17633 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17636 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17638 * gdb.base/display.exp: "finish" can leave us mid-line on many
17639 targets, deal with it. Add a small constant to main, instead of
17640 1000 since main+1000 may not be a valid address in the target.
17642 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17645 * gdb.base/attach.exp: Handle another hpux11 error message variant
17646 when attaching to a process that does not exist.
17648 1999-08-19 J.T. Conklin <jtc@redback.com>
17650 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17651 characters in 'continue to 1241' test.
17653 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17655 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17656 stop in print_long_arg_list, define and use a whitespace
17657 variable in print_small_structs test, add an XFAIL for Solaris.
17658 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17659 interested enough to fix.
17661 1999-08-13 Keith Seitz <keiths@cygnus.com>
17663 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17664 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17665 proc knows about targets other than the natives.
17666 (test_assign): Use "gdb_run_cmd" to "run" the target.
17667 Check that we've actually hit the breakpoint at main.
17668 When we attempt to assign a value to a local variable, check
17669 that the variable is in the current scope, i.e., don't use
17670 a test with an empty result.
17672 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17674 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17677 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17679 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17680 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17681 gdb.compat, gdb.threads-hp.
17682 gdb.hp/configure, gdb.hp/configure.in: New files.
17683 gdb.hp/Makefile.in: Recurse into new subdirs.
17684 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17685 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17687 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17689 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17691 * gdb.base/display.exp: Help expect by putting a newline in the
17692 funky printf, remove a bogus p/a test.
17694 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17696 * gdb.base/display.exp: Make sure that when we say 'run', we are
17697 connected to the target. This is necessary when running not
17700 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17702 * gdb.base/step-test.exp: Removed some extraneous messages.
17704 * gdb.base/long_long.exp: Don't run memory examination tests
17705 on little-endian targets (they will need a different set of
17708 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17710 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17711 until somebody decides to fix GDB.
17713 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17715 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17716 matches for a couple x/2 commands.
17718 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17720 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17721 by merging in ref-types2 tests.
17722 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17724 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17725 * gdb.c++/Makefile.in: Add standard actions.
17726 (EXECUTABLES): Rename from PROGS, update list.
17727 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17729 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17730 foo and bar locals.
17731 * gdb.c++/anon-union.exp: Fix tests to match.
17732 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17733 expect matches to handle output variations.
17734 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17735 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17736 output, add HP alternatives for new and delete prints.
17737 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17738 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17739 * gdb.c++/demangle.exp: Use $style when reporting failure.
17740 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17741 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17742 match alternatives.
17743 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17745 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17746 * gdb.c++/method.exp: Add match alternatives.
17747 * gdb.c++/misc.cc: Add bool types.
17748 * gdb.c++/misc.exp: Add tests for bool types.
17749 * gdb.c++/overload.exp: Add xfails.
17750 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17751 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17752 add some more template parameter tests (only for HP currently).
17753 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17754 * gdb.c++/virtfunc.cc: Add return type and value for main.
17755 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17756 match alternatives.
17758 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17760 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17762 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17764 * gdb.base/signals.exp: Don't expect getting a backtrace from
17765 within a signal handler to fail on Linux.
17767 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17769 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17770 * lib/gdb.exp: Remove some gratuitious semicolons.
17771 (delete_breakpoints): Increase timeout.
17772 (gdb_expect): Add -notransfer option.
17773 (gdb_test): Use -notransfer option.
17774 (get_compiler_info): Add f77 case.
17775 (get_compiler): New proc, split out from gdb_preprocess, add f77
17777 (gdb_preprocess): Call get_compiler.
17779 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17780 * gdb.base/attach.exp, gdb.base/display.exp,
17781 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17782 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17783 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17784 third arg to gdb_test.
17785 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17786 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17787 HP-UX xfails, add others.
17788 * gdb.base/completion.exp: Reflect name change of self-test.
17789 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17790 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17791 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17793 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17794 useless HP-UX 10.30 references.
17795 * gdb.base/maint.exp: Loosen matches.
17796 * gdb.base/pointers.c (main): Declare more_code.
17797 * gdb.base/pointers.exp: Match on output of a `next'.
17798 * gdb.base/structs.c: Add prototypes.
17799 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17800 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17802 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17804 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17807 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17809 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17810 Fix run to main failures. Watchpoint can be hardware watchpoint.
17812 * gdb.base/annota1.exp: Clean up some more, in case printf has
17813 debug info. Deal with lack of signal hanlder info in stack.
17815 From Jim Kingdon <kingdon@redhat.com>:
17816 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17818 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17820 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17821 gdb.base/foll-vfork.exp: Don't run for crosses.
17823 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17825 * gdb.base/configure.in: Check for gdbvars.exp instead of
17827 * gdb.base/configure: Re-generate.
17829 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17831 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17832 in trying to run first and name is too long.
17834 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17835 pointers2.c and pointers2.exp, respectively.
17836 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17839 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17841 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17842 callfuncs2.c and callfuncs2.exp.
17844 * gdb.base/list.exp: Remove mistaken xfails.
17845 * gdb.base/list0.h: Add optional prototypes.
17847 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17849 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17851 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17852 * ptype.exp: Move test for get_debug_format to before its first
17855 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17857 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17858 * gdb.base/annota2.cc, annota2.exp: Move from here.
17859 * gdb.c++/annota2.cc, annota2.exp: To here.
17860 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17862 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17864 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17865 a consistent format.
17867 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17869 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17870 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17871 HP compilers, also set the globals $true and $false.
17873 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17874 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17875 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17876 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17877 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17878 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17879 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17880 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17881 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17882 whatis.c} Add C++ compatible function definitions and return
17883 types, add includes for library functions.
17884 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17885 * gdb.base/step-test.c (myglob): Rename from glob.
17886 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17887 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17888 files, move here from gdb.hp.
17889 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17890 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17891 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17892 Adjust line numbers in regexps.
17894 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17895 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17898 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17899 foll-vfork.exp: New files, move here from gdb.hp.
17900 * gdb.base/page.exp: New file, test of pagination command.
17902 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17904 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17906 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17907 gdb.base/solib.exp: Fix compiler invocation process.
17909 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17910 HP-UX 11, turn off overload resolution explicitly.
17911 * gdb.base/commands.exp: Set argument list explicitly, add
17913 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17915 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17916 expressions properly.
17917 * gdb.base/corefile.exp: Loosen the match slightly.
17918 * gdb.base/default.exp: Allow "Error accessing memory" message
17920 * gdb.base/display.exp: Skip over x/0 j if PA64.
17921 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17922 * gdb.base/interrupt.exp: Ditto.
17923 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17925 * gdb.base/list.exp: Add xfails for HP-UX.
17926 * gdb.base/long_long.exp: Refine some of the numeric matches.
17927 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17928 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17929 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17930 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17931 * gdb.base/ptype.exp: Succeed on more varieties of output.
17932 * gdb.base/scope.exp: Add xfails for HP-UX.
17933 * gdb.base/sect-cmd.exp: Add more cases.
17934 * gdb.base/setvar.exp: Add xfails for HP-UX.
17935 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17936 * gdb.base/signals.exp: Match on void symbolically.
17937 * gdb.base/step-test.exp: Add case for PA64.
17938 * gdb.base/term.exp: Add exit and restart.
17939 * gdb.base/twice.exp: Clean up after self.
17940 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17941 * gdb.base/whatis.exp: Allow more ways to pass tests.
17943 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17946 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17948 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17950 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17951 print_double_array(double_array)", "continuing to breakpoint
17952 1018", "print print_double_array(array_d)" and "continuing to
17955 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17957 * Makefile.in: Add empty html and install-html targets.
17959 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17961 * config/mt-*: Remove, these haven't been used since 1996.
17963 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17965 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17966 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17967 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17969 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17971 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17972 simpler match case for the ptype of the big class.
17974 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17976 * gdb.exp: Fix test for gdb_prompt existence.
17978 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17980 * gdb.exp (gdb_test): Add fail after calls to perror.
17982 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17984 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17986 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17988 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17990 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17992 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17993 malloc() is linked in.
17995 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17997 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18000 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18002 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18004 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18006 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18008 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18009 * gdb.base/mips_pro.exp: Likewise.
18011 1999-06-02 Keith Seitz <keiths@cygnus.com>
18013 * gdb.c++/templates.cc: Change all "new" operators to throw
18015 * gdb.c++/cplusfuncs.cc: Likewise.
18017 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18019 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18021 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18022 * gdb.base/ending-run.exp: When stepping out of main, accept a
18023 step into an arbitrary assembler file.
18025 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18027 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18028 "breakpoint-invalid" to be printed.
18029 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18030 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18031 * gdb.base/annota2.cc: Initialize a.x to 0.
18033 1999-05-17 Keith Seitz <keiths@cygnus.com>
18035 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18036 when "skip_float_tests" set.
18037 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18038 "print print_ten_doubles", and "step into print_long_arg_list".
18039 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18040 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18041 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18042 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18043 "skip_float_tests" is set.
18044 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18045 when "skip_float_tests" set.
18047 1999-05-06 Keith Seitz <keiths@cygnus.com>
18049 * gdb.base/annota2.cc: Include stdio.h.
18051 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18053 * gdb.base/crossload.exp: Remove, this has been disabled ever
18054 since BFD stopped including all targets, and cross-GDB gets
18055 plenty of testing anyway.
18056 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18057 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18058 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18059 * gdb.base/README: Remove, was doc for this.
18060 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18063 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18065 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18068 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18069 * gdb.base/annota2.exp: New file. More annotation tests.
18070 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18071 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18073 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18075 * config/cfdbug.exp: New file.
18077 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18079 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18080 Marcus Daniel's and Dale Hawkins's demangler crashes.
18082 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18083 test_lucid_style_demangling, test_arm_style_demangling,
18084 test_hp_style_demangling): Try Tom Tromey's core-dumping
18085 identifier under each demangling style.
18087 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18089 * gdb.c++/demangle.exp: Include the current demangling style
18091 (current_demangling_style): New global variable.
18092 (set_demangling_style, test_demangling_core, test_demangling,
18093 test_demangling_exact): New functions.
18094 (test_gnu_style_demangling, test_lucid_style_demangling,
18095 test_arm_style_demangling, test_hp_style_demangling): Use those,
18096 instead of calling gdb_test and gdb_test_exact directly.
18097 (catch_demangling_errors): New function, which reports errors
18098 signalled by the demangling test functions in an orderly way.
18099 (do_tests): Use catch_demangling_errors.
18101 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18103 * gdb.base/signals.exp (test_handle_all_print): Use () for
18104 grouping in expressions, not {}.
18106 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18109 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18111 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18114 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18116 * gdb.stabs/weird.exp: Test for CC being defined before
18117 looking at its value.
18119 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18121 * gdb.base/call-ar-st.exp: Remove stray '#'.
18122 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18123 "short int" and "long int".
18124 * gdb.c++/overload.cc: Cast the string added in the previous
18125 change, to mollify finicky HP compiler.
18126 * gdb.hp/reg-test.exp (testfile): Fix file name.
18127 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18129 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18130 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18131 alternate form of enum ptype.
18133 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18135 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18136 * gdb.hp/*.exp: Change all to run compiler probe only after
18137 passing skip_hp_tests, so as not to waste time on guaranteed
18140 * gdb.c++/overload.cc: Pass string instead of char addr, always
18142 * gdb.c++/templates.cc: Fix syntax error.
18144 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18146 * gdb.base/commands.exp: Add test for correct position of '>'
18147 when issuing the 'commands' command after a 'while' or 'if'
18150 1999-03-18 James Ingham <jingham@cygnus.com>
18152 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18154 * gdb.c++/method.exp: It was testing an uninitialized int on the
18155 stack and assuming it was positive.
18157 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18159 * gdb.base/step-test.exp: Catch a case where finish is broken and
18160 keep it from killing the rest of the tests.
18161 Use gdb_continue_to_end.
18163 * gdb.base/sigall.exp: use gdb_continue_to_end.
18165 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18167 * gdb.base/display.exp: use runto_main, not run.
18169 * gdb.base/default.exp: Check for the current error message in the
18170 r abbreviation test.
18171 Add strongarm to the targets that know info float.
18173 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18174 run which doesn't work with monitors.
18176 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18178 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18180 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18181 program. Traps the case (in Cygmon) when the program never really
18182 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18183 more places, so I used my name. Sorry Mark...
18185 * config/monitor.exp (gdb_target_monitor): added another
18186 target_info parameter: remotebinarydownload. This will set the
18187 remotebinarydownload flag if this is causing some boards trouble.
18189 1999-03-18 Mark Salter <msalter@cygnus.com>
18191 * lib/gdb.exp (continue_to_exit): New function.
18193 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18194 * gdb.base/ending-run.exp: Ditto.
18195 * gdb.base/step-test.exp: Ditto.
18197 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18199 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18200 (suggested by Art Haas <ahaas@neosoft.com>).
18202 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18204 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18206 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18208 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18209 descriptions of types (short unsigned int vs unsigned short, etc).
18211 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18213 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18214 a call to strlen; sometimes we do have sources.
18216 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18218 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18219 character, so GDB won't print garbage after its end.
18221 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18222 breakpoint there instead. Sometimes GCC emits memcpy to handle
18223 the large structures being passed by value, so we step into that
18224 instead of sum_array_print, which obscures what we're really testing.
18225 * gdb.base/step-test.exp: However, we do want a test that notices
18226 the bizarre steps into memcpy, so do that here. Add check for
18227 stepping into function calls that pass large structures by value.
18228 ("Is that a noun clause, or are you just happy to see me?")
18229 Remove all references to specific line numbers.
18230 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18231 New type and function.
18232 (main): Call large_struct_by_value, passing it a large struct by value.
18233 * lib/gdb.exp (gdb_get_line_number): New function.
18235 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18238 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18240 * lib/gdb.exp: Doc fixes.
18242 1999-03-05 Nick Clifton <nickc@cygnus.com>
18244 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18246 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18248 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18249 commands. They're not germane to this test, and they don't work
18250 that way on remote targets.
18252 1999-03-01 James Ingham <jingham@cygnus.com>
18254 * Changelog entries merged over from gdb development branch.
18256 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18258 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18259 for outputting results of test run.
18261 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18263 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18265 1999-02-25 Felix Lee <flee@cygnus.com>
18267 * lib/gdb.exp (debug_format): initialize
18269 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18271 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18272 * gdb.base/call-rt-st.c: Ditto.
18274 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18276 * gdb.threads/pthreads.exp (horiz): New variable.
18277 (test_startup): Fix regexps that capture thread numbers.
18279 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18281 * gdb.base/smoke.exp: Disambiguate two test case names (both
18284 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18286 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18289 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18291 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18292 actual output formatting.
18293 * gdb.base/smoke.exp: GDB removes leading 0's.
18294 * gdb.base/volatile.exp: Don't check type of remuneration;
18295 that variable is no longer defined in constvars.c.
18296 * gdb.base/step-test.c (main): Exit with explicit exit code.
18297 * gdb.base/step-test.exp: Remove two nexti checks--they are
18300 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18302 * gdb.base/help.exp ("help delete display"): Fix test to match
18305 * gdb.base/long_long.c (known_types): Initialize values to zero.
18306 * gdb.base/long_long.exp: Step one more line
18307 so 'dec' is initialized in "get to known place". GDB removes
18308 leading zeros. Explicitly ask for hex formatting. Use
18309 unique test case names.
18311 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18313 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18315 * gdb.c++/method.exp: Add missing close brace.
18317 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18319 * gdb.base/maint.exp: Use 'set height 0' to disable page
18320 prompting, not 'set height 400'.
18322 Fix a bunch of timeouts.
18323 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18324 four separate tests, so expect doesn't take forever to match a ton
18325 of text against a regexp with lots of .* forms.
18326 ("maint print psymbols", "maint print symbols"): Make some of
18327 these greps more selective, so that expect doesn't try to wade
18328 through huge piles of output and time out.
18330 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18332 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18333 tests: one which doesn't expect shlib events to be reported, and
18334 another which does, but is XFAIL for all platforms other than
18337 * gdb.base/break.exp: Teach the test suite that the `catch
18338 fork', `catch vfork', and `catch exec' commands produce error
18339 messages on platforms that don't provide these features.
18341 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18343 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18344 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18345 (shortening names from solib_threshold.exp etc), won't run on
18346 anything but HP-UX for the foreseeable future.
18347 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18350 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18352 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18353 gdb.trace/Makefile.in (clean): Remove all test executables.
18355 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18357 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18358 successfully re-sets breakpoints in shared libraries.
18359 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18361 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18363 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18364 and compiled w/o GCC.
18366 * gdb.hp/watch-cmd.exp: ditto.
18368 * gdb.hp/watch-hp.exp: ditto.
18370 * gdb.hp/xdb1.exp: ditto.
18372 * gdb.hp/xdb2.exp: ditto.
18374 * gdb.hp/dbx.exp: ditto.
18376 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18378 * constvars.c: Remove C++-isms.
18379 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18382 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18384 The following changes are part of the HP merge.
18386 * gdb.base/break.exp: new tests to verify that catchpoints for
18387 fork, vfork, and exec don't trigger inappropriately.
18389 * gdb.base/opaque.exp: compile one file at a time, then link.
18391 * gdb.base/signals.exp: be more restrictive about which hppa
18392 systems receive a setup_xfail. new tests.
18394 * gdb.base/solib_threshold.build: new file.
18395 * gdb.base/solib_threshold.exp: new file.
18396 * gdb.base/solib_threshold.link_opts: new file.
18397 * gdb.base/solib_threshold.mk: new file.
18398 * gdb.base/gen_solib_threshold.c: new file.
18400 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18401 tests. New tests for enums inside classes.
18403 * gdb.c++/compiler.cc: indicate support of template debugging.
18405 * gdb.c++/demangle.exp: run hp style demangling tests.
18407 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18410 * gdb.c++/misc.cc: changes to support new tests.
18412 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18413 to support new tests.
18415 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18416 gcc, then skip these tests.
18418 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18420 The following files are part of the HP merge; some had longer
18421 names at HP, but have been renamed to be no more than 14
18422 characters in length.
18424 * gdb.hp/ambiguous.cc: new file.
18425 * gdb.hp/ambiguous.exp: new file.
18426 * gdb.hp/attach.exp: new file.
18427 * gdb.hp/attach2.exp: new file.
18428 * gdb.hp/classes-hp.exp: new file.
18429 * gdb.hp/ctti.exp: new file.
18430 * gdb.hp/ctti-add.cc: new file.
18431 * gdb.hp/ctti-add1.cc: new file.
18432 * gdb.hp/ctti-add2.cc: new file.
18433 * gdb.hp/ctti-add3.cc: new file.
18434 * gdb.hp/dbx.exp: new file.
18435 * gdb.hp/exception.cc: new file.
18436 * gdb.hp/exception.exp: new file.
18437 * gdb.hp/foll-exec.c: new file.
18438 * gdb.hp/foll-exec.exp: new file.
18439 * gdb.hp/foll-fork.c: new file.
18440 * gdb.hp/foll-fork.exp: new file.
18441 * gdb.hp/foll-vfork.c: new file.
18442 * gdb.hp/foll-vfork.exp: new file.
18443 * gdb.hp/inherit-hp.exp: new file.
18444 * gdb.hp/more-steps.exp: new file.
18445 * gdb.hp/namespace.cc: new file.
18446 * gdb.hp/namespace.exp: new file.
18447 * gdb.hp/optimize.exp: new file.
18448 * gdb.hp/pxdb.c: new file.
18449 * gdb.hp/pxdb.exp: new file.
18450 * gdb.hp/quicksort.exp: new file.
18451 * gdb.hp/reg-test.exp: new file.
18452 * gdb.hp/reg-test.s: new file.
18453 * gdb.hp/sized-enum.c: new file.
18454 * gdb.hp/sized-enum.exp: new file.
18455 * gdb.hp/start-stop.exp: new file.
18456 * gdb.hp/templ-hp.cc: new file.
18457 * gdb.hp/templ-hp.exp: new file.
18458 * gdb.hp/thr-lib.c: new file.
18459 * gdb.hp/thr-lib.exp: new file.
18460 * gdb.hp/thr-lib.h: new file.
18461 * gdb.hp/thr-liblib.c: new file.
18462 * gdb.hp/virtfun-hp.c: new file.
18463 * gdb.hp/virtfun-hp.exp: new file.
18464 * gdb.hp/watch-cmd.exp: new file.
18465 * gdb.hp/watch-hp.exp: new file.
18466 * gdb.hp/xdb1.exp: new file.
18467 * gdb.hp/xdb2.exp: new file.
18468 * gdb.hp/xdb3.exp: new file.
18470 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18472 The following files are part of the HP merge; some had longer
18473 names at HP, but have been renamed to be no more than 14
18474 characters in length.
18476 * gdb.base/ss.h: new file.
18477 * gdb.base/call-ar-st.c: new file.
18478 * gdb.base/call-ar-st.exp: new file.
18479 * gdb.base/call-rt-st.c: new file.
18480 * gdb.base/call-rt-st-exp: new file.
18481 * gdb.base/call-strs.exp: new file.
18482 * gdb.base/ena-dis-br.exp: new file.
18483 * gdb.base/environ.exp: new file.
18484 * gdb.base/long_long.exp: new file.
18485 * gdb.base/sect-cmd.exp: new file.
18486 * gdb.base/shlib-cl2.exp: new file.
18487 * gdb.base/smoke.exp: new file.
18488 * gdb.base/so-impl-ld.c: new file.
18489 * gdb.base/so-impl-ld.exp: new file.
18490 * gdb.base/so-indr-cl.c: new file.
18491 * gdb.base/so-indr-cl.exp: new file.
18492 * gdb.base/varargs.exp: new file.
18493 * gdb.base/volatile.exp: new file.
18494 * gdb.base/whatis-exp.exp: new file.
18495 * gdb.base/display.exp: new file.
18496 * gdb.c++/derivation.exp: new file.
18497 * gdb.c++/local.exp: new file.
18498 * gdb.c++/member-ptr.exp: new file.
18499 * gdb.c++/overload.exp: new file.
18500 * gdb.c++/ovldbreak.exp: new file.
18501 * gdb.c++/ref-types.exp: new file.
18502 * gdb.c++/ref-types2.exp: new file.
18503 * gdb.c++/userdef.exp: new file.
18505 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18507 * gdb.base/default.exp: Reflect wording change in remote.c.
18509 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18511 * gdb.base/help.exp: Update to reflect current text.
18513 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18515 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18516 they're stack variables and contain garbage.
18517 * gdb.c++/anon-union.exp: new file.
18519 The following changes were made by David Taylor
18520 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18521 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18524 * gdb.base/bitops.exp: new file.
18525 * gdb.base/default.exp: change expected messages for catch and
18526 info catch tests to reflect HP merge changes.
18527 * gdb.base/enable-disable-break.exp
18528 * gdb.base/ending-run.c: new file.
18529 * gdb.base/long_long.c: new file.
18530 * gdb.base/maint.exp: new file.
18531 * gdb.base/pointers2.exp: new file.
18532 * gdb.base/shlib-call2.exp: new file.
18533 * gdb.base/solib.exp: new file.
18534 * gdb.base/step-test.c: new file.
18535 * gdb.c++/anon-union.cc: new file.
18536 * gdb.c++/local.cc: new file.
18537 * gdb.c++/member-pointer.cc: new file.
18538 * gdb.c++/method.cc: new file.
18539 * gdb.c++/ref-types.cc: new file.
18540 * gdb.c++/ref-types2.cc: new file.
18541 * gdb.c++/userdef.cc: new file.
18543 * gdb.base/scope.exp: compile one file at a time, then link.
18544 * gdb.base/langs.exp: ditto.
18545 * gdb.base/list.exp: ditto.
18547 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18549 The following changes were made by David Taylor
18550 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18551 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18554 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18555 skip tests. When compiling pass c++ flag to gdb_compile.
18558 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18559 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18560 (skip_hp_tests): new function.
18561 (gdb_preprocess): new function.
18563 * configure.in (hpdir): decide whether to configure gdb.hp.
18564 * configure: regenerated.
18566 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18567 to delete on clean.
18568 (EXECUTABLES): update to reflect new additions.
18569 * gdb.base/commands.exp: update message expected.
18570 * gdb.base/default.exp: add copyright notice.
18571 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18572 * gdb.base/help.exp: update messages to reflect current text.
18573 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18574 targets for recurse tests.
18575 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18578 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18579 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18581 * gdb.c++/misc.exp: ditto.
18582 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18583 run the tests. tell gdb_compile that it's a c++ compilation.
18585 * gdb.threads/pthreads.exp: fix typo in message.
18587 * gdb.base/all-bin.exp: new file.
18588 * gdb.base/arithmet.exp: new file.
18589 * gdb.base/assign.exp: new file.
18590 * gdb.base/completion.exp: new file.
18591 * gdb.base/cond-expr.exp: new file.
18592 * gdb.base/condbreak.exp: new file.
18593 * gdb.base/define.exp: new file.
18594 * gdb.base/dollar.exp: new file.
18595 * gdb.base/environment.exp: new file.
18596 * gdb.base/eval-skip.exp: new file.
18597 * gdb.base/jump.exp: new file.
18598 * gdb.base/logical.exp: new file.
18599 * gdb.base/pointers.exp: new file.
18600 * gdb.base/relational.exp: new file.
18601 * gdb.base/section_command.exp: new file.
18602 * gdb.base/whatis-expr.exp: new file.
18604 * gdb.base/all-types.c: new file.
18605 * gdb.base/call-array-struct.c: new file.
18606 * gdb.base/call-return-struct.c: new file.
18607 * gdb.base/call-strings.c: new file.
18608 * gdb.base/callfuncs2.c: new file.
18609 * gdb.base/condbreak.c: new file.
18610 * gdb.base/constvars.c: new file.
18611 * gdb.base/display.c: new file.
18612 * gdb.base/int-type.c: new file.
18613 * gdb.base/jump.c: new file.
18614 * gdb.base/miscexprs.c: new file.
18615 * gdb.base/pointers.c: new file.
18616 * gdb.base/pointers2.c: new file.
18617 * gdb.base/shmain.c: new file.
18618 * gdb.base/shr1.c: new file.
18619 * gdb.base/shr2.c: new file.
18620 * gdb.base/solib.c: new file.
18621 * gdb.base/solib1.c: new file.
18622 * gdb.base/solib2.c: new file.
18623 * gdb.base/varargs.c: new file.
18624 * gdb.c++/derivation.cc: new file.
18625 * gdb.c++/overload.cc: new file.
18626 * gdb.c++/ovldbreak.cc: new file.
18627 * gdb.hp/attach.c: new file.
18628 * gdb.hp/attach2.c: new file.
18629 * gdb.hp/average.c: new file.
18630 * gdb.hp/compiler.c: new file.
18631 * gdb.hp/compiler.cc: new file.
18632 * gdb.hp/execd-program.c: new file.
18633 * gdb.hp/follow-exec.c: new file.
18634 * gdb.hp/follow-fork.c: new file.
18635 * gdb.hp/follow-vfork-and-exec.c: new file.
18636 * gdb.hp/misc-hp.cc: new file.
18637 * gdb.hp/more-steps.c: new file.
18638 * gdb.hp/optimize.c: new file.
18639 * gdb.hp/quicksort.c: new file.
18640 * gdb.hp/run-hp.c: new file.
18641 * gdb.hp/start-stop.c: new file.
18642 * gdb.hp/sum.c: new file.
18643 * gdb.hp/templates-hp.cc: new file.
18644 * gdb.hp/thread-local-in-lib.c: new file.
18645 * gdb.hp/thread-local-in-lib.h: new file.
18646 * gdb.hp/thread-local-in-lib.lib.c: new file.
18647 * gdb.hp/vforked-program.c: new file.
18648 * gdb.hp/virtfunc-hp.cc: new file.
18649 * gdb.hp/watchpoint-hp.c: new file.
18650 * gdb.hp/xdb.c: new file.
18651 * gdb.hp/xdb0.c: new file.
18652 * gdb.hp/xdb0.h: new file.
18653 * gdb.hp/xdb1.c: new file.
18655 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18657 The following change was made by Edith Epstein
18658 <eepstein@cygnus.com> as part of a project to merge in changes
18659 originally made by HP; HP did not create ChangeLog entries.
18661 * gdb.c++/demangle.exp: changed the expected output for some
18662 ARM-style mangling -- removed second reference to datatype.
18663 For example, maint demangle __dt__11T1__pt__2_cFv
18664 T1<char>::~T1<char>(void)
18666 maint demangle __dt__11T1__pt__2_cFv
18667 T1<char>::~T1(void)
18669 (test_hp_style_demangling): new hp specific demangling test cases.
18671 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18673 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18674 * gdb.trace/backtrace.exp: Likewise.
18675 * gdb.trace/circ.exp: Likewise.
18676 * gdb.trace/collection.exp: Likewise.
18677 * gdb.trace/deltrace.exp: Likewise.
18678 * gdb.trace/infotrace.exp: Likewise.
18679 * gdb.trace/limits.exp: Likewise.
18680 * gdb.trace/packetlen.exp: Likewise.
18681 * gdb.trace/passc-dyn.exp: Likewise.
18682 * gdb.trace/passcount.exp: Likewise.
18683 * gdb.trace/report.exp: Likewise.
18684 * gdb.trace/save-trace.exp: Likewise.
18685 * gdb.trace/tfind.exp: Likewise.
18686 * gdb.trace/tracecmd.exp: Likewise.
18687 * gdb.trace/while-dyn.exp: Likewise.
18688 * gdb.trace/while-stepping.exp: Likewise.
18690 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18692 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18694 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18696 From Brendan Kehoe:
18697 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18700 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18702 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18703 remote dos host testing right.
18705 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18707 * gdb.base/corefile.exp: remove some xfails.
18709 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18711 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18712 have different timestamps.
18714 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18716 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18717 gdb.base/default.exp: Replace "exec" with "executable".
18719 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18721 * gdb.base/default.exp: Change else if to elseif from previous
18724 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18726 * gdb.base/default.exp: Add brace missing from previous delta.
18728 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18730 * gdb.base/default.exp: Support test for info float for all
18731 varieties of arm toolchain.
18733 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18735 * gdb.trace/*.exp: remove "remote_download" command.
18737 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18739 * gdb.trace/*.exp: remove -gdwarf from compile.
18741 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18743 * gdb.trace/configure.in(AC_INIT): typo
18744 * gdb.trace/configure: regenerated
18746 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18748 * config/m68k-emc.exp: New file.
18749 * lib/<emc-support.exp trace-support.exp}: New files.
18750 * configure.in: add new test directory gdb.trace.
18751 * gdb.trace/{configure configure.in Makefile.in}: New files.
18752 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18753 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18754 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18755 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18756 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18757 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18758 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18760 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18762 * gdb.c++/classes.exp: Change all regular expressions to match
18763 arbitrary combinations of newline/carriage-return, so that they
18764 will work equally well on Unix and Windows.
18765 * gdb.c++/inherit.exp: ditto.
18766 * gdb.c++/virtfunc.exp: ditto.
18768 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18770 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18772 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18774 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18775 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18776 to use a0-a3/d0-d3 as needed.
18778 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18780 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18781 * gdb.disasm/am33.exp: Corresponding changes.
18783 1998-07-11 Felix Lee <flee@cygnus.com>
18785 * gdb.base/callfuncs.exp: add cmp10 test.
18786 * gdb.base/callfuncs.c (cmp10): new function.
18788 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18790 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18791 into two parts to get around a synchronization problem in expect.
18793 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18795 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18797 * configure.in: Add options for gdbtk testsuite.
18799 * configure: Regenerate.
18801 * gdb.gdbtk: New directory to hold gdbtk tests.
18803 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18805 * gdb.fortran/types.exp: Escape brackets in expect patterns
18806 for test_float_literal_types_accepted tests.
18807 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18810 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18812 * am33.exp: Just compile, do not link the testcase.
18813 * am33.s: Add ".am33" pseudoop to force am33 mode.
18815 1998-06-25 Felix Lee <flee@cygnus.com>
18817 * gdb.base/setshow.exp: make sure $pc is sane.
18819 * gdb.stabs/weird.exp: split expect patterns properly.
18821 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18823 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18824 * gdb.disasm/am33.exp: Run it.
18826 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18828 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18829 match processing (and eliminate spurious timeouts when running).
18831 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18833 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18834 exception test, but conditionalize it on target [mach | gnu].
18836 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18838 * gdb.base/overlays.exp: fixup compile line for linker script.
18840 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18842 * gdb.fortran/types.exp: don't guess at float size.
18844 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18846 * gdb.base/exprs.exp: delete test that depends on int size.
18848 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18850 * config/sim.exp: Removed checks for target triplets.
18851 (gdb_target_sim): Use gdb,target_sim_options.
18853 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18855 * gdb.base/reread.exp: New file.
18856 * gdb.base/reread1.c: New file.
18857 * gdb.base/reread2.c: New file.
18859 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18861 * config/sim.exp: Use 'target sim -sparclite' when running
18862 SPARClite programs.
18864 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18866 * gdb.base/structs2.exp: New file.
18867 * gdb.base/structs2.c: New file.
18869 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18871 * gdb.asm/common.inc: New file.
18872 * gdb.asm/d10v.inc: New file.
18873 * asm-source.exp: Pass -I's to gas to find .inc files.
18874 Update line numbers in expected output.
18875 * asmsrc1.s: Rewrite.
18876 * asmsrc2.s: Rewrite.
18877 * configure.in: Create arch.inc symlink.
18878 * configure: Regenerate.
18879 * Makefile.in (distclean): Delete arch.inc.
18881 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18883 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18884 (t_enum_value2): ditto
18885 (t_enum_value3): ditto
18887 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18889 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18890 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18892 Use gdb_test instead of send_gdb/gdb_expect sequences.
18894 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18896 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18899 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18901 * gdb.base/branches.c: Code with lots of loops and
18902 subroutines. Used to test gdbs ability to single step through PC
18903 changes, especially to test mips-tdep.c:mips_next_pc
18905 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18907 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18908 more rigorous EGCS C++ error checking.
18910 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18912 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18914 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18915 function when asleep.
18916 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18917 for i*86 Linux and SVR4 signal handling problems.
18918 Remove linux xfail for `next to handler in signals_tests_1', fixed
18919 by recent infrun.c change.
18920 Limit backtrace to 10 frames to avoid timeout problems with infinite
18922 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18923 target.[ch] change.
18925 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18927 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18928 for a newline from gdb before continuing.
18929 (default_gdb_exit): Just look for y or n.
18930 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18931 it does, fail the rests of the tests in the file.
18933 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18935 * config/cygmon.exp: New file.
18937 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18939 * gdb.base/list.exp: Fix problem with "list default lines around
18940 main" test on remote targets.
18942 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18943 run test on remote targets.
18945 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18947 * gdb.asm: New directory.
18948 * configure.in: Configure it.
18949 * configure: Regenerate.
18950 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18951 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18953 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18955 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18957 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18959 * gdb.base/overlays (several files): Merge the two overlay
18960 managers into one. Change variables (foox, barx, bazx, grbxx)
18961 back into ints but force them to load in their proper sections.
18963 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18965 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18966 on-chip insn memory and IMAP1 to upper 128k.
18967 (D10VCopy): Handle memory regions crossing 16k boundaries.
18968 (D10VCopy): Transfer data in 32 bit chunks.
18970 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18972 * gdb.base/overlays.c (main): Exit normally when result is
18975 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18976 map. Include space for printf in .text segment.
18978 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18979 updated d10v memory VMA/LMA map.
18980 (D10VCopy): Call D10VTranslate.
18982 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18984 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18986 * gdb.base/bar.c (barx, bar): Change variable to small array so
18987 that it won't be put into the .sdata - small data -
18988 section. Update reference.
18989 * gdb.base/baz.c (bazx, baz): Ditto.
18990 * gdb.base/foo.c (foox, foo): Ditto.
18991 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18993 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18996 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18998 * gdb.base/overlays.exp: fix up and get working again.
18999 Add tests for backtraces from an overlay function.
19001 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19003 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19004 "calling function with watchpoint enabled".
19006 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19008 * gdb.base/break.exp (test_next_with_recursion): Remove
19009 gdb_suppress_tests for d10v-*-*.
19010 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19011 pending review of whether it is useful or not.
19013 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19015 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19017 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19019 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19020 * config/dve.exp: New file to support Densan boards.
19022 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19024 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19027 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19029 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19032 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19034 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19036 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19039 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19040 target_sizeof_long and target_bigendian_p.
19041 (structs_by_value, structs_by_reference): Check values according
19042 to targets word size and endianess.
19044 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19046 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19049 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19051 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19052 Update test of set args help to match source change.
19054 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19056 * gdb.base/default.exp: Expect help system output to be in
19057 alphabetical order.
19058 * gdb.base/help.exp: Ditto.
19060 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19062 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19063 "i*86-pc-linux-gnu*".
19064 * gdb.base/interrupt.exp: Ditto.
19065 * gdb.base/corefile.exp: Ditto.
19067 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19068 define vxworks when building the testcase.
19070 * gdb.base/ptype.exp: Fix testnames to be unique.
19071 * gdb.base/radix.exp: Ditto.
19072 * gdb.base/term.exp: Ditto.
19073 * gdb.base/whatis.exp: Ditto.
19074 * gdb.c++/classes.exp: Ditto.
19076 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19078 * gdb.base/callfuncs.exp: Fix indentation.
19080 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19081 suppress_flag has been set.
19082 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19085 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19087 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19090 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19091 set_debug_traps() and breakpoint().
19092 * gdb.c++/misc.cc (main): Ditto.
19093 * gdb.c++/templates.cc (main): Ditto.
19094 * gdb.c++/virtfunc.cc (main): Ditto.
19096 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19098 * lib/gdb.exp(gdb_step_for_stub): New function.
19099 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19100 exists, reload the executable and do a "continue" instead of
19102 (runto_main): Use gdb_step_for_stub.
19104 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19105 tests to have unique names.
19106 * gdb.base/callfuncs.exp: Ditto.
19107 * gdb.base/commands.exp: Ditto.
19108 * gdb.base/default.exp: Ditto.
19109 * gdb.base/help.exp: Ditto.
19110 * gdb.base/list.exp: Ditto.
19111 * gdb.base/opaque.exp: Ditto.
19112 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19115 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19116 * gdb.c++/cplusfuncs.cc: Ditto.
19117 * gdb.c++/virtfunc.cc: Ditto.
19119 * config/monitor.exp: Keep track of the last file we saw, rather
19120 than trying to get the info from gdb.
19122 * gdb.fortran/types.exp: Move comment to previous line.
19124 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19126 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19129 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19132 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19133 string from GDB when it connects.
19135 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19137 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19139 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19140 if we can't get a debug format from GDB (we may be testing an
19141 older GDB). Use a 10 second timeout when checking for the format.
19143 * gdb.stabs/weird.exp: Fix quoting.
19145 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19147 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19149 * config/arm-ice.exp: New file.
19151 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19153 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19154 until it has been modified to work with the new testsuite.
19156 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19157 testcase won't compile, cause all of the testcases in the file to
19160 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19161 (gdb_clear_suppressed): New procedure.
19162 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19163 it contains a positive value.
19165 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19167 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19169 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19171 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19173 * lib/gdb.exp (setup_xfail_format): New function.
19174 (get_debug_format): New function to get debug format.
19175 (debug_format): New global variable to hold last value set
19176 by get_debug_format.
19177 * gdb.base/list.exp: Call get_debug_format and expect some
19178 tests to fail for DWARF 1 and COFF formats.
19179 * gdb.c++/ptype.exp: Ditto.
19180 * gdb.c++/classes.exp: Ditto.
19181 * gdb.c++/cplusfuncs.exp: Ditto.
19182 * gdb.c++/inherit.exp: Ditto.
19183 * gdb.c++/templates.exp: Ditto.
19184 * gdb.c++/virtfunc.exp: Ditto.
19186 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19188 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19189 host doesn't have a currently-open connection.
19191 * config/sparclet.exp: Cleanups and fixes to make it generic for
19192 any gdb stub target. Handle cases where gdb doesn't respond when
19193 interrupted in a sane fashion.
19195 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19196 same thing in a totally different way.
19198 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19200 (gdb_start): We set the global gdb_prompt variable in
19201 default_gdb_init now.
19203 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19205 * gdb.base/printcmds.exp: Fix "check for floating addition"
19206 regexp to accept results within approx +/- .01 of exact value.
19207 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19209 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19211 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19213 (gdb_expect): Add optional timeout parameter, and add timeout
19214 value to various calls.
19215 (gdb_suppress_tests): Only give one warning message per group.
19217 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19219 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19220 global variables. Handle getting a value for $timeout more
19223 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19225 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19227 (default_gdb_init): New procedure; allow gdb_init to be overridden
19228 by a target configuration file.
19229 (gdb_expect): Pass the timeout to remote_expect.
19231 * config/monitor.exp(gdb_load): Fix typo in regexp.
19233 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19235 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19237 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19239 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19240 here. Call gdb_target_exec before rebooting the target, to make
19241 sure the connection to the target is closed.
19242 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19243 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19244 Also detect "Timeout reading from remote" error.
19246 * config/gdbserver.exp: Pass the executable being loaded to
19247 gdb_target_monitor. Don't call gdb_file_cmd here; let
19248 gdb_target_monitor do it.
19250 * gdb.disasm/hppa.exp: Don't use exec_output.
19252 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19254 * gdb.base/list.exp: If we're debugging a non-native target,
19255 try to set the pc register to point to the start of the
19256 program before doing the first list command.
19258 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19259 test_calls after restarting.
19261 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19264 * gdb.base/watchpoint.exp: Fix typo.
19266 * gdb.base/setshow.exp: Check for use_gdb_stub.
19268 * gdb.base/break.exp: Fix continue until exit test for the gdb
19270 * gdb.base/langs.exp: Ditto.
19272 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19273 gdb_load_offset. If we weren't given a file to load, figure out
19274 what the current file is and use it.
19276 * config/i386-bozo.exp: New file.
19278 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19280 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19283 * config/proelf.exp: New entry.
19285 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19287 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19290 * gdb.base/watchpoint.exp: Don't run the test_stepping
19291 tests if gdb can't call functions on the target.
19293 * gdb.base/setshow.exp: Don't run the set prompt tests if
19294 the board has gdb_prompt set.
19296 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19298 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19299 * gdb.base/commands.exp: Likewise.
19300 * gdb.base/setshow.exp: Likewise.
19302 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19304 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19307 * config/i960.exp: New file.
19309 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19311 * gdb.base/funcargs.exp: Check for gdb,short_int target
19312 feature instead of looking for explicit target triplets.
19314 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19316 * gdb.base/printcmds.exp: add a couple more tests a la
19317 "p 123DEADBEEF", to check parse_number.
19318 * top.c: change "to enable to enable" to "to enable" in a couple
19321 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19323 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19326 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19328 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19329 where the test executable is run with explicit args.
19330 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19332 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19334 * gdb.base/run.c: Use FAKEARGV to build test executable that
19335 does not require a command line arg, since most simulators
19336 don't currently support passing such an arg into the simulated
19338 * gdb.base/commands.exp: Change tests to insert the proper
19339 value as the arg to the first recursive factorial call. Change
19340 compilation line to define FAKEARGV at compile time.
19342 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19344 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19345 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19346 function with watchpoint enabled" test.
19348 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19350 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19351 Don't call gdb_test when the command doesn't return to a gdb prompt.
19353 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19354 "Tests restarted" messages.
19356 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19358 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19360 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19362 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19363 for INFO SYMBOL; add help tests for OVERLAY commands.
19364 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19365 add tests for OVERLAY commands
19366 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19367 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19368 * gdb.base/sigall.c: add usestubs code frag
19369 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19371 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19373 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19375 (gdb_stop_suppressing_tests): Note that tests have restarted.
19377 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19379 * config/h8300.exp: New file.
19381 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19383 * gdb.base/setshow.exp: Check for the existence of a
19384 feature, not its value.
19386 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19388 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19390 * gdb.base/scope.exp: It's now init0(), not init().
19392 * gdb.base/scope0.c: For now, change init() to be init0().
19394 * config/monitor.exp: Use gdb_serial in preference to serial
19397 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19398 and it's not already set.
19400 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19402 * gdb.base/setshow.exp: Only test the run command if the target
19403 isn't using a stub and if it supports argument passing.
19405 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19407 * config/udi.exp(gdb_start): Make sure UDICONF is set
19408 properly before starting gdb.
19410 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19412 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19413 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19414 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19416 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19418 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19419 specialized code to reboot the board, use remote_reboot instead.
19421 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19423 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19425 * config/monitor.exp: Make sure we disconnect from the target.
19426 Also, try a reboot/reload cycle instead of failing if the
19429 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19431 * gdb.base/default.exp: Don't set match_max.
19432 * gdb.base/help.exp: Ditto.
19433 * gdb.base/list.exp: Ditto.
19434 * gdb.base/signals.exp: Ditto.
19436 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19437 set, use remote_ld to download the testcase instead of
19440 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19442 * config/vr5000.exp: New file.
19444 * config/monitor.exp(gdb_target_monitor): Add pattern for
19445 "Ending remote" to detect errors in connecting.
19447 * gdb.base/setshow.exp: Add .* within auto language test.
19449 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19452 * config/monitor.exp(gdb_load): Check for a failure when loading,
19453 and reboot the board if necessary.
19455 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19456 a set of tests. Remove print.* from the patterns being checked.
19458 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19460 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19461 refer to gdb_spawn_id.
19463 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19465 * config/sparclet.exp: Ditto.
19466 * config/sparclet-old.exp: Ditto.
19467 * config/slite.exp: Ditto.
19468 * config/sim.exp: Ditto.
19469 * gdb.base/funcargs.exp: Ditto.
19471 * lib/gdb.exp:Remove references to gdb_spawn_id.
19472 (gdb_expect): Move to remote.exp.
19474 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19476 * config/monitor.exp: Detect the "Couldn't establish connection"
19479 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19481 * gdb.base/bitfields.exp: Use runto instead of explicit
19482 gdb_run_cmd/gdb_expect sequences.
19484 * gdb.base/break.exp(text_next_with_recursion): Add match for
19487 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19488 We also need to handle the "A program is being debugged already"
19489 prompt from gdb. Use gdb_test to set the baud rate.
19491 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19492 to 20000. Really. I mean it.
19494 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19496 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19497 fails. If suppress_flag is set, skip perror message about not
19498 being able to send to GDB.
19499 (send_gdb): If suppress_flag is set, don't try to send commands to
19501 (gdb_expect): If suppress_flag is set, always fail immediately.
19502 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19503 (gdb_init): Call gdb_stop_suppressing_tests.
19504 (default_gdb_exit): Ditto.
19505 (default_gdb_start): Ditto.
19507 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19508 gdb_stop_suppressing_tests as appropriate.
19509 * gdb.base/break.exp: Ditto.
19510 * gdb.base/callfuncs.exp: Ditto.
19511 * gdb.base/commands.exp: Ditto.
19512 * gdb.base/exprs.exp: Ditto.
19513 * gdb.base/funcargs.exp: Ditto.
19514 * gdb.base/list.exp: Ditto.
19515 * gdb.base/recurse.exp: Ditto.
19516 * gdb.base/scope.exp: Ditto.
19517 * gdb.base/structs.exp: Ditto.
19518 * gdb.c++/inherit.exp: Ditto.
19520 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19522 * config/vr4300.exp: New file.
19524 * gdb.*/*.exp: Call gdb_expect instead of expect.
19526 * lib/gdb.exp(gdb_expect): New function.
19528 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19530 * lib/gdb.exp(gdb_init): New function.
19532 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19533 for each individual variable set.
19535 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19538 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19540 * gdb.base/scope.exp: Use gdb_test.
19542 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19543 aborting; the testsuite driver will do that for us (see
19544 gdb_finish). Also, use gdb_test in a few more places.
19546 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19548 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19550 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19552 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19553 and "add_tests" are not at the same address.
19555 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19557 * gdb.base/ptype.exp: Use gdb_test.
19559 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19561 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19562 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19563 left in. No longer expect them to fail.
19565 * gdb.stabs/*.mt; Deleted, no longer used.
19566 * gdb.stabs/configure.in: Remove references to target makefile
19568 * gdb.stabs/configure: Rebuilt.
19570 * gdb.disasm/*.mt: Deleted, no longer used.
19571 * gdb.disasm/configure.in: Remove references to target makefile
19572 frags. Use "sh3.s" as the unique filename for this directory.
19573 * gdb.disasm/configure: Rebuilt.
19575 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19576 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19577 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19579 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19581 * config/udi.exp: Use mondfe,name instead of remote_host.
19583 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19585 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19586 a function with a watchpoint enabled on the mn10200.
19588 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19589 before trying to create it!
19591 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19593 * config/vx.exp: Use hostname instead of netport.
19595 * config/vxworks.exp: New file.
19597 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19599 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19600 gdb before assuming everything worked. Send a ^C if a timeout
19603 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19604 $gdb_spawn_id directly.
19605 (gdb_run_cmd): Try _start as well as start. Use the target feature
19606 gdb,start_symbol as the symbol to start from when jumping.
19608 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19610 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19613 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19614 it doesn't lose for 16bit integer systems.
19616 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19618 * gdb.fortran/types.exp: If the target doesn't support "double"
19619 data types, then expect "real" types to only be 4 bytes.
19621 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19622 call tests if the target doesn't support inferior function calls.
19624 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19627 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19629 * gdb.base/help.exp: Disable "help set", "help show", and
19630 "help support". Simplify regexp for "help stack".
19632 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19633 to 60 seconds. Temporarily set match_max to 15000 around the
19634 "info copying" test.
19636 * gdb.base/nodebug.exp: Don't try to do an inferior function
19637 call if the target doesn't support them.
19638 * gdb.base/printcmds.exp: Likewise.
19639 * gdb.base/setvar.exp: Likewise.
19640 * gdb.base/structs.exp: Likewise.
19641 * gdb.c++/templates.exp: Likewise.
19642 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19644 * gdb.base/recurse.exp: Enable for the mn10200.
19646 * configure.in: Do configure gdb.stabs directory for *-*-elf
19648 * configure: Rebuilt.
19650 * gdb.base/break.exp: Check for gdb,noresults before testing
19651 exit status and/or results from the target.
19652 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19653 * lib/gdb.exp: Remove old (now bogus) initialization of
19654 noinferior, noargs, noresults and nosignals.
19656 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19658 * config/sh.exp: New file.
19660 * config/slite.exp: Try to connect multiple times to the board
19661 before rebooting. Only send a "monitor run" if need_monitor_run
19664 * gdb.base/break.exp: Don't do the "stub continue" test if
19665 the target has gdb_stub set.
19667 * gdb.base/callfuncs.exp: Increase the timeout.
19669 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19670 if the target has gdb,noinferiorio set.
19672 * gdb.base/list.exp: Increase match_max to 10000 characters.
19674 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19676 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19679 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19681 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19683 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19684 trying to delete the copy of gdb. Catch the file delete so we
19685 don't die if the delete fails; also, the file should be copied to
19686 the host, not to the build.
19688 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19690 * lib/gdb.exp(gdb_test): Surround the result pattern with
19691 parenthesis in case it contains multiple regexps separated
19694 * gdb.base/watchpoint.exp: Use gdb_test.
19695 * gdb.base/default.exp: Ditto.
19697 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19699 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19701 * gdb.base/scope.exp: Use gdb_test.
19702 * gdb.c++/classes.exp: Ditto.
19703 * gdb.c++/inherit.exp: Ditto.
19705 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19707 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19708 remote_exec instead.
19709 * gdb.base/corefile.exp: Don't be ridiculous.
19710 * gdb.base/*.c: Add missing stub invocations.
19712 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19714 * config/slite.exp: Miscellaneous fixes.
19716 * lib/gdb.exp: Fix runto.
19718 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19721 * gdb.base/watchpoint.exp: Fix regexp.
19723 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19724 close and wait commands, as the descriptor may now be
19725 invalid. Always call "remote_close host".
19727 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19729 Major rewrite for testsuite revision.
19731 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19732 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19733 instead of relying on spawn_id to always contain a valid
19735 (get_compiler_info): New procedure to build the ${binfile}.ci
19736 file, instead of replicating this in N different places.
19737 (gdb_compile): New procedure.
19739 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19740 appropriate arguments) instead of compile. Use gdb_test in a lot
19741 more places. Use send_gdb instead of send. Always run gdb_start
19742 at the start of a testcase, as this is no longer done magically.
19744 config/*-gdb.exp: Rename without the -gdb suffix.
19746 config/mips.exp: Use remote_close instead of exit_remote_shell.
19747 config/monitor.exp: Use target_info instead of looking at
19748 baud, timeout, etc.
19749 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19751 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19753 * gdb.c++/templates.exp (test_ptype_of_templates),
19754 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19755 Update expect patterns for destructors and assignment operators
19756 to match corresponding c-typeprint.c changes.
19757 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19758 to destructor breakpoint test, GDB should be able to set the
19759 destructor breakpoint without specifying arguments.
19761 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19763 * gdb.threads/pthreads.exp: Change result for failure to compile due
19764 to lack of pthreads runtime support from an error to simply an
19765 unsupported test, per dejagnu standards.
19767 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19769 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19770 where GDB exits to reduce pattern match time.
19771 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19773 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19775 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19777 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19778 * gdb.base/default.exp: ditto.
19779 * gdb.base/nodebug.exp: ditto.
19780 * gdb.base/printcmds.exp: ditto.
19781 * gdb.base/ptype.exp: ditto.
19782 * gdb.base/setvar.exp: ditto.
19783 * gdb.base/structs.exp: ditto.
19784 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19786 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19788 * configure, */configure: Rebuild with autoconf 2.12.
19790 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19792 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19793 use new i*86-pc-linux*-gnu quads.
19794 * gdb.base/corefile.exp: Ditto.
19795 * gdb.base/signals.exp: Ditto.
19796 * gdb.base/sigall.exp: Ditto.
19797 * gdb.base/interrupt.exp: Ditto.
19799 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19800 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19803 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19804 linux. This allows the test case to at least compile on latest
19805 linux, but still not run due to missing the threads runtime library.
19807 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19809 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19810 directory to search gdb directory. Accept and step over conditional
19811 stack alignment code. Consume $prompt in failure cases.
19812 Reset timeout to $oldtimeout instead of some arbitrary value.
19813 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19814 timeout problems with infinite stack backtraces.
19815 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19816 Accept function parameters for linkfunc member.
19818 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19820 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19821 (CXXFLAGS): Remove, unreferenced.
19822 (B_OPTIONS): Add for -B options and add code to initialize with
19823 previous -B options and also add -B option to pick up cross compiled
19825 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19826 doing cross compiles.
19827 (target_alias): Declare global.
19828 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19829 to verify that gcc exists in build tree, and if so set CC to that
19830 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19832 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19834 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19835 ptype test for anonymous union. Fixup testcase to match
19836 current gcc debug output.
19838 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19840 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19841 force argument to an unsigned long type.
19843 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19845 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19846 tests and anonymous union print/ptype tests.
19847 * gdb.base/list.exp (test_forward-search): Increase timeout by
19848 5 minutes for the "search extremely long line" case.
19849 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19850 completely optional and that the pass/fail messages use the command as
19851 the message if that third arg is a null string.
19852 (gdb_test_exact): Arrange that a null string pattern means match a
19853 null string output rather than any output, which might include random
19855 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19857 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19858 always failing and failure is now exposed by gdb.exp changes.
19860 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19862 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19863 weren't being noted.
19865 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19867 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19868 * gdb.stabs/weird.exp: Remove v_comb xfails.
19870 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19872 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19873 list.exp scope.exp watchpoint.exp]
19874 Make all timeout error msgs explicitly say "(timeout)".
19876 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19878 * config/monitor.exp: Increase download timeout to 1000 seconds.
19880 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19882 * config/m32r.exp: Increase timeout to 120 seconds.
19884 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19886 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19887 and accept older ordering as obsolescent gcc or gdb.
19888 * gdb.c++/templates.exp: Ditto.
19889 * gdb.c++/virtfunc.exp: Ditto.
19891 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19893 * gdb.base/coremaker.c: Add code to mmap some data so we
19894 can check that it ends up in the core file.
19895 * gdb.base/corefile.exp: Add test to read mmapped data
19898 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19900 * config/m32r.exp: New file.
19902 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19904 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19905 that cflags can contains -gstabs, and work correctly for other tests.
19907 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19909 * gdb.base/setshow.exp: New file, tests show and set.
19910 * gdb.base/setshow.c: New file, tests show and set.
19911 * gdb.base/help.exp: Add test for help set|show annotate.
19912 * gdb.base/default.exp: Add test for set|show annotate.
19914 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19916 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19918 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19921 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19923 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19924 and width commands. This is done elsewhere.
19925 * (gdb_start): Don't call gdb_start_sim here. That's already
19926 done in gdb_load. This fixes lots of failures in default.exp.
19928 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19930 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19931 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19932 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19933 in the same we we treat other failures (since it may be an expected
19934 condition), rather than as an error.
19935 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19938 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19940 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19941 (distclean maintainer-clean realclean): No need to remove files
19942 twice. Nuke the duplicates.
19943 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19944 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19945 Remove config.h along with other config files.
19947 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19949 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19950 "p func1 ()" and note that rests of tests are skipped.
19951 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19952 setup_xfails for "print func2::coremaker_local".
19953 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19954 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19955 affected by the previous run test.
19956 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19957 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19958 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19959 "pass int powerset tuple" and "pass modeless int powerset tuple".
19960 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19961 "real write 4" and "real write 8".
19962 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19963 setup_xfails for "print vs1 after tuple assign 2",
19964 "print \$i after tuple assign 2", and
19965 "print vs2 after tuple assign 2".
19966 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19967 meaningful error message and return -1 so the caller can
19968 suppress further tests and avoid a cascade of errors.
19970 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19972 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19973 format for printing version.
19974 * gdb.base/default.exp: Ditto.
19975 * gdb.base/interrupt.exp: Fix problem with cascade of
19976 errors if child process dies while calling a function.
19978 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19980 * Makefile.in (VPATH): Add
19981 * Makefile.in (Makefile, config.status): Fix rules so things get
19982 remade when necessary.
19984 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19986 * Makefile.in (just-check): Add path to sibling expect dir
19987 to environment variable specified by RPATH_ENVVAR.
19989 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19991 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19992 (just-check): Add shared library paths for libstdc++, tk,
19993 tcl, bfd, and opcodes to the environment variable specified
19995 * configure.in: Add support to recognize --enable-shared flag
19996 and generate correct value for RPATH_ENVVAR.
19997 * configure: Regenerated with autoconf.
19999 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20001 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20002 include all osf versions.
20003 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20004 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20005 when target is linux. When failing to build pthreads test
20006 executable, give more meaningful message.
20007 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20008 arg for pthread_create.
20010 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20012 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20013 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20014 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20015 and -lpthreads (everybody else).
20016 (test_startup): Fail gracefully if threads are not supported.
20017 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20018 "p/c array_index("abcdef",2)" when not gcc compiled.
20019 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20020 "print func2::coremaker_local" when not gcc compiled.
20021 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20022 "ptype on opaque struct tagname (statically)",
20023 "ptype on opaque struct tagname (dynamically) 1", and
20024 "ptype on opaque struct tagname (dynamically) 2"
20025 for not compiled with gcc.
20026 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20027 backtrace when compiled with gcc.
20028 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20029 than always return success.
20031 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20033 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20035 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20037 * gdb.base/structs.exp: Undo last change.
20039 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20041 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20042 encapsulate all the steps/nexts done during self test, starting
20043 at main, and makes them less sensitive to optimization issues.
20044 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20045 signal handler" test.
20046 * gdb.threads/pthreads.exp: Only run this for native configs.
20047 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20048 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20050 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20051 for "runto test_calls(void)" test.
20053 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20055 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20056 and don't expect address info in breakpoint confirmations.
20058 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20060 * gdb.base/list.exp (test_forward_search): Increase timeout
20061 temporarily by 60 seconds for searching extremely long line,
20062 and then reset to old value when done. Increase expect input
20065 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20067 * gdb.base/list.exp (test_forward_search): Fix to handle very
20068 long source line without overflowing expect's input buffer.
20070 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20072 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20075 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20078 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20081 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20084 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20086 * configure.in (configdirs): Add gdb.threads.
20087 * configure: Regenerated with autoconf.
20088 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20089 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20090 * gdb.threads/configure: New, generated with autoconf.
20092 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20094 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20096 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20098 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20099 each signal's status in the output of "handle all print".
20100 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20101 the \r\n sequence that immediately precedes the gdb prompt.
20102 * gdb.base/a1-selftest.exp: Save original timeout and restore
20105 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20107 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20110 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20112 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20114 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20116 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20117 timeout by 60 seconds.
20119 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20121 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20122 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20125 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20127 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20128 gdb initialization, also report how long dejagnu waited. Restore
20129 old timeout before doing error return. Temporarily increase timeout
20130 by 3 minutes to allow for slow startups over heavy NFS use.
20132 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20134 * lib/gdb.exp: Report timeout value for verbosity level 2.
20135 * config/gdbserver.exp: Ditto.
20136 * config/hppro.exp: Ditto.
20137 * config/mips-gdb.exp: Ditto.
20138 * config/monitor.exp: Ditto.
20139 * config/netware.exp: Ditto.
20140 * config/sim-gdb.exp: Ditto.
20141 * config/slite-gdb.exp: Ditto.
20142 * config/udi-gdb.exp: Ditto.
20143 * config/unix-gdb.exp: Ditto.
20144 * config/vx-gdb.exp: Ditto.
20145 * gdb.base/a1-selftest.exp: Ditto.
20146 * gdb.base/a2-run.exp: Ditto.
20147 * gdb.base/break.exp: Ditto.
20148 * gdb.base/corefile.exp: Ditto.
20149 * gdb.base/list.exp: Ditto.
20150 * gdb.base/recurse.exp: Ditto.
20151 * gdb.base/scope.exp: Ditto.
20152 * gdb.base/signals.exp: Ditto.
20154 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20156 * gdb.threads/Makefile.in (docdir): Removed.
20158 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20160 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20161 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20163 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20164 autoconf 2.5 or higher.
20165 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20167 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20169 * configure: Regenerated.
20170 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20171 avoid name clashes with SunOS headers.
20173 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20175 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20177 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20179 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20180 prototype information ends up in the compiler info file.
20182 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20184 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20185 attempting to regenerate it. Eliminate use of a temporary file
20186 and just generate the info file directly. Source it immediately,
20187 for consistency of use.
20188 * gdb.base/corefile.exp: Ditto
20189 * gdb.base/exprs.exp: Ditto.
20190 * gdb.base/funcargs.exp: Ditto.
20191 * gdb.base/langs.exp: Ditto.
20192 * gdb.base/list.exp: Ditto.
20193 * gdb.base/mips_pro.exp: Ditto.
20194 * gdb.base/nodebug.exp: Ditto.
20195 * gdb.base/opaque.exp: Ditto.
20196 * gdb.base/ptype.exp: Ditto.
20197 * gdb.base/scope.exp: Ditto.
20198 * gdb.base/setvar.exp: Ditto.
20199 * gdb.base/signals.exp: Ditto.
20200 * gdb.base/whatis.exp: Ditto.
20201 * gdb.c++/templates.exp: Ditto.
20202 * gdb.c++/virtfunc.exp: Ditto.
20203 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20204 whether or not to add -lstdc++ to the compile command line args.
20206 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20208 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20209 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20210 Increase timeout, a lot of single stepping might be needed if the
20211 target has no hardware watchpoints.
20213 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20215 * gdb.base/break.exp: Ignore compiler warnings when compiling
20217 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20218 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20220 * gdb.base/exprs.exp: Add h8300 xfails.
20221 * gdb.base/funcargs.exp: Likewise.
20222 * gdb.base/nodebug.exp: Likewise.
20223 * gdb.base/printcmds.exp: Likewise.
20224 * gdb.base/ptype.exp: Likewise.
20225 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20227 * gdb.base/return.exp: Handle float/double precision problems
20229 * gdb.base/funcargs.c: Explicitly make last constant argument to
20230 call_after_alloca_subr an unsigned long type.
20231 * gdb.base/return.c: Include stdio.h.
20233 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20235 * config/abug.exp: New file for the older Motorola Bug monitor
20236 that runs on the mvme13x series VME boards.
20237 * config/monitor.exp: Use the new config array for target settings
20240 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20242 * sim-gdb.exp: Make the SH simulator allocate less space when
20245 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20247 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20250 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20252 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20253 "rs6000-*-*" for "list function in include file" when gcc compiled.
20254 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20255 for "p ctable1[120]".
20256 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20257 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20258 Remove setup_xfail for "rs6000-*-*" for
20259 "print 'scope0.c'::filelocal before run".
20260 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20261 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20262 since some compilers don't allow both options to be given
20263 on the same command line. Create object file and move it.
20265 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20267 * gdb.base/corefile.exp: Always regenerate the core file, since
20268 we always regenerate the coremaker program. Detect special case
20269 where registers cannot be read from core file.
20271 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20273 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20274 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20275 * gdb.c++/templates.exp: Only match on basename of file since
20276 some formats like xcoff don't encode directory information.
20277 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20278 and rs6000 AIX xcoff targets.
20279 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20280 * configure: Regenerate.
20281 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20282 here, rather than in distclean.
20284 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20286 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20287 defined, and use it to compile the test case with -O2. The
20288 native compilation still uses no optimization.
20289 * gdb.base/mips_pro.c: Remove inline assembly code since
20290 it is compiled PIC by default, which results in assembler
20291 warnings that make the testsuite think the compilation
20294 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20296 * gdb.c++/misc.exp: Add note to message for
20297 "print s.a for foo struct" that this is a known gcc 2.7.2
20300 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20302 * gdb.base/break.exp: Fix pattern for matching "Delete all
20303 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20304 setup_xfail for deleting all breakpoints test. Fix various
20305 timeout messages to include "(timeout)".
20306 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20307 for "p t_float_values2(3.14159,float_val2)".
20308 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20309 for "continue to call2g" when gcc compiled.
20310 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20311 "up to foo in langs.exp", "show language at foo in langs.exp",
20312 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20313 and "show language at fsub in langs.exp".
20314 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20315 "list line 1 in include file", "list message for lines past EOF",
20316 "list function in include file", "list list0.h:foo", and
20317 "list filename:function; nonexistant function".
20318 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20319 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20320 and "ptype t_char_array" to be for native cc only.
20322 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20324 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20325 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20326 "print func2::coremaker_local", and "backtrace in corefile.exp".
20328 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20330 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20331 "bt in signals.exp". This problem only appears when running
20332 the testsuite, and then only intermittently.
20334 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20336 * gdb.base/return.exp (return_tests): Differentiate between
20337 two tests of continuing.
20339 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20341 * */Makefile.in (maintainer-clean): Remove config.log.
20342 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20343 * gdb.c++/Makefile.in (PROGS): Add inherit.
20344 (clean): Remove *.ci.
20346 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20348 * gdb.c++/misc.cc: Add test code from Mike Stump.
20349 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20351 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20353 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20354 to "alpha-*-osf2*" and add comment.
20355 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20356 setup_xfail for "step over execarg initialization" and
20357 "step over corearg initialization".
20358 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20359 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20360 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20361 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20362 "print func2::coremaker_local", and "backtrace in corefile.exp".
20363 * gdb.base/signals.exp: Build and source signals.ci.
20364 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20365 to be for gcc only.
20366 * lib/gdb.exp: Move verbose statements outside conditionals.
20368 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20370 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20371 Feb 3 procfs.c change.
20373 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20375 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20377 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20379 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20380 from dejagnu's apparent default of 10 seconds, which gives random
20381 results when running the tests over NFS on moderately loaded systems.
20382 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20384 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20386 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20387 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20390 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20392 * configure.in (CY_AC_PATH_TCLH): Remove.
20393 * configure: Regenerate.
20395 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20397 * gdb.c++/Makefile.in (clean): Add missing '{'.
20399 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20401 * lib/gdb.exp: Provide a default value for noinferior.
20403 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20406 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20408 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20409 the executable, not the .o to run the tests from.
20411 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20413 * gdb.base/break.exp: Don't test for program exit or exit status
20414 if $noresults if nonzero.
20415 * gdb.base/langs.exp: Likewise.
20416 * gdb.base/watchpoint.exp: Likewise.
20418 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20419 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20420 trying to compile the testcase.
20422 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20424 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20425 * gdb.base/signals.exp (continue to handler): Likewise.
20427 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20429 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20431 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20433 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20435 * gdb.base/corefile.exp: Recognize "not found" as failure
20436 when trying to determine if a core file was generated.
20437 If no core file was generate the first time, try again without
20438 the ulimit -c to work around braindamaged shells.
20440 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20442 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20443 [] tests with "test" and enclose string in quotes.
20444 * gdb.stabs/configure: Rebuild
20446 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20448 Changes in sync with expect:
20449 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20450 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20451 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20452 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20453 argument to AC_REQUIRE.
20454 * configure: Regenerated.
20456 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20458 * gdb.base/corefile.exp: When generating a core, discard any
20459 error messages about ulimit not found and the "core dumped"
20460 message from the shell that runs the coredumper.
20462 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20464 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20466 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20467 which sed script to run. Expect failure for v_comb test
20470 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20472 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20473 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20475 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20477 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20478 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20479 "sparc-sun-solaris*" xfails for "p v_comb".
20480 * lib/gdb.exp (default_gdb_start): Fix typo.
20481 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20482 messages to not include the full program name that caused
20483 the core dump since some systems (such as solaris) apparently
20484 truncate this path to about 80 characters.
20485 When generating a core file first try increasing the core file
20486 size limit to unlimited since some systems may default it to
20487 zero, and it is harmless to try it. Move the test for failing
20488 to generate a core file to where it will actually get executed.
20489 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20490 new gdb result from g++ debug info improvements and make old
20491 pattern obsolescent. Also account for size_t differences
20492 (may be int or long).
20493 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20494 initialization before function call is placed in the delay slot
20495 and thus appears to be skipped over by commands such as "next".
20497 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20499 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20501 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20503 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20504 input source file; fix code to compile test to deal with this
20506 * gdb.c++/*.exp: Likewise.
20508 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20510 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20511 "bt in signals.exp".
20513 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20515 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20516 "step over execarg initialization" and
20517 "step over corearg initialization".
20519 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20521 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20522 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20524 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20526 From Rob Savoye (rob@poseidon.cygnus.com)
20527 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20528 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20529 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20530 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20531 configure.in}: Major reworking for autoconfig.
20532 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20533 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20535 * config/unix-gdb.exp: Make GDB global.
20536 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20537 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20538 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20539 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20540 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20541 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20542 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20543 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20544 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20545 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20546 pr-8136.exp, result.exp, string.exp, tuples.exp},
20547 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20548 to returns as necessary, arrange for test to compile own testcase
20550 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20552 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20554 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20555 clear_xfail at end of test which might not call either pass or fail.
20556 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20557 "backtrace through signal handler".
20559 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20561 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20562 continuing from a job control stop signal.
20563 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20565 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20567 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20568 * gdb.base/corefile.exp: Likewise.
20569 * gdb.base/funcargs.exp: Likewise.
20571 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20573 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20574 * config/monitor.exp: Add support for setting baud rate.
20576 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20578 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20579 i*86-*-linux* xfails for "backtrace through signal handler".
20580 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20581 "print func2::coremaker_local".
20582 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20583 alpha-dec-osf2* xfail for
20584 "delete all breakpoints when none".
20586 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20588 * gdb.base/break.exp: Change test that deletes all breakpoints
20589 when no user breakpoints are installed. A post 4.15 change
20590 causes gdb to no longer prompt in this case.
20592 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20594 * gdb.base/return.exp (return_tests): Change xfail for test
20595 "correct value returned double test" to stop xfailing at
20596 Solaris 2.5. Apparently the bug has been fixed.
20598 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20600 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20601 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20603 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20605 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20606 * gdb.disasm/hppa.s: Corresponding changes.
20608 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20610 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20612 * config/mt-hpux: Deleted.
20614 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20616 * Many files: When warning about suppressed tests due to a
20617 nonexistant test binary, avoid incrementing the warning count.
20619 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20621 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20623 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20625 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20626 "sparc-*-solaris2*".
20628 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20630 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20631 Add global and local variables and initialize them.
20632 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20633 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20634 extracts the file name and terminating signal from the core file.
20635 * TODO: Remove note about tests for correct mapping of corefile.
20636 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20637 from optimizing it away.
20638 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20639 handles common blocks.
20641 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20643 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20644 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20646 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20648 * Makefile.in (maintainer-clean): New target, synonym for
20650 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20651 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20652 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20653 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20654 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20655 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20657 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20659 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20660 xfails when not gcc compiled for "print foo::funclocal".
20661 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20662 "print foo::funclocal at foo",
20663 "print 'scope1.c'::foo::funclocal at foo",
20664 "print foo::funclocal_bss at foo",
20665 "print 'scope1.c'::foo::funclocal_bss at foo",
20666 "print foo::funclocal_ro at foo",
20667 "print 'scope1.c'::foo::funclocal_ro at foo",
20668 "print bar::funclocal at foo" and
20669 "print 'scope1.c'::bar::funclocal at foo".
20670 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20671 gcc compiled for "print foo::funclocal at bar".
20672 Expand all messages to ensure that they identify that
20673 the test is at bar().
20674 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20676 "ptype on opaque struct pointer (statically)",
20677 "ptype on opaque struct tagname (statically)",
20678 "ptype on opaque struct pointer (dynamically) 1",
20679 "ptype on opaque struct tagname (dynamically) 1",
20680 "ptype on opaque struct pointer (dynamically) 2" and
20681 "ptype on opaque struct tagname (dynamically) 2
20682 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20685 "whatis datalocal",
20688 "whatis bsslocal", and
20690 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20691 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20692 when not gcc compiled.
20693 * gdb.base/funcargs.exp (float_and_integral_args): Add
20694 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20696 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20697 "backtrace from call6a" when not gcc compiled.
20698 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20699 "backtrace from call7a" when not gcc compiled.
20700 * gdb.base/callfuncs.exp (do_function_calls):
20701 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20702 "p t_char_array_values(char_array_val2,char_array_val1)",
20703 "p t_char_array_values(char_array_val1,char_array_val2)",
20704 "p t_char_array_values("carray 1","carray 2")",
20705 "p t_char_array_values("carray 1",char_array_val2)",
20706 "p t_char_array_values(char_array_val1,"carray 2")",
20707 "p sum_args(1,{2})",
20708 "p sum_args(2,{2,3})",
20709 "p sum_args(3,{2,3,4})",
20710 "p sum_args(4,{2,3,4,5})"
20711 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20712 "backtrace in corefile.exp" when not gcc compiled.
20714 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20716 * gdb.base/signals.exp: Rewrite `handle all print' test as
20717 a procedure. Accept blanks or TABs as whitespace, increase
20718 timeout and expect input buffer size for the large output
20719 from the command. Remove "i*86-*-bsdi2.0" xfail.
20721 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20723 * gdb.base/setvar.exp: Add new testcases for truncation when
20724 assigning invalid values to bitfields.
20726 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20728 * gdb.base/callfuncs.exp (do_function_calls): Remove
20729 mips-sgi-irix* xfail for
20730 "call inferior func with struct - returns char *"
20731 and fix test so that an optional (unsigned char *) cast is
20732 accepted in the result.
20734 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20736 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20737 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20738 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20739 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20740 that accidentally got checked in.
20742 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20744 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20745 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20747 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20748 Add mips-sgi-irix5* xfail for not gcc compiled.
20749 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20750 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20751 "p top", "whatis top", "p middle", and "whatis middle".
20752 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20753 "whatis signed char" for not gcc compiled.
20754 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20755 "set variable signed char=-1 (-1)" and
20756 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20757 * gdb.base/funcargs.exp (float_and_integral_args):
20758 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20759 Add mips-sgi-irix* xfail when not gcc compiled for
20760 "continue to call2b".
20761 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20762 "continue to call2g".
20763 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20764 "backtrace from call6a"
20765 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20766 "backtrace from call7k".
20767 Add mips-sgi-irix5* xfail when not gcc compiled for
20768 "backtrace from call7a".
20769 (localvars_after_alloca): Fix gdb_test cmds for
20770 "print * after runto ...".
20771 Remove rs6000-*-* xfails for
20772 "print i after runto localvars_after_alloca" and
20773 "print l after runto localvars_after_alloca"
20775 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20776 when not compiled with gcc, for:
20777 "print signed char == (minus)",
20778 "print signed char != (minus)",
20779 "print signed char < (minus)",
20780 "print signed char > (minus)".
20781 * gdb.base/callfuncs.exp (do_function_calls):
20782 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20783 "call inferior func with struct - returns char *".
20784 * gdb.base/return.exp (return_tests): Change xfail for
20785 "correct value returned double test" to include Solaris 2.4.
20786 * gdb.base/funcargs.exp (float_and_integral_args):
20787 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20789 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20791 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20792 enumeration bitfields if compiling with GNU C.
20793 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20796 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20798 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20799 test for PRO targets.
20801 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20802 breakpoints in the inferior at any given time by making
20803 two groups of breakpoints for call2*, call6* and call7*
20806 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20808 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20809 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20810 from optimizing it away.
20811 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20812 "call inferior func with struct".
20814 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20816 * configure.in: Only configure gdb.chill for particular targets.
20818 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20820 * gdb.base/Makefile.in: Add action to .c.o transformation
20821 rule that generates a .ci file for each .o file and remove
20822 explicit .c.o rules except for callfuncs.o.
20823 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20824 generates a .ci file for each .o file and remove explicit
20826 (clean): Remove *.tmp *.ci files.
20827 (EXECUTABLES): Remove templ-info.exp.
20828 * gdb.base/compiler.c: New file.
20829 * gdb.c++/compiler.cc: New file
20830 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20831 Change rs6000-*-* xfail for
20832 "print 'scope0.c'::filelocal_ro" and
20833 "print 'scope1.c'::filelocal" and
20834 "print 'scope1.c'::filelocal_bss" and
20835 "print 'scope1.c'::filelocal_ro" and
20836 "print 'scope1.c'::foo::funclocal" and
20837 "print 'scope1.c'::foo::funclocal_ro" and
20838 "print 'scope1.c'::bar::funclocal" and
20839 "print 'scope0.c'::filelocal_ro" and
20840 "print 'scope1.c'::filelocal at foo" and
20841 "print 'scope1.c'::filelocal_bss at foo" and
20842 "print 'scope1.c'::filelocal_ro at foo" and
20843 "print 'scope1.c'::foo::funclocal at foo" and
20844 "print 'scope1.c'::foo::funclocal_bss at foo" and
20845 "print 'scope1.c'::foo::funclocal_ro at foo" and
20846 "print 'scope1.c'::bar::funclocal at foo" and
20847 "print 'scope0.c'::filelocal_ro" and
20848 "print 'scope1.c'::filelocal" and
20849 "print 'scope1.c'::filelocal_bss" and
20850 "print 'scope1.c'::filelocal_ro" and
20851 "print 'scope1.c'::foo::funclocal" and
20852 "print 'scope1.c'::foo::funclocal_bss" and
20853 "print 'scope1.c'::foo::funclocal_ro" and
20854 "print 'scope1.c'::bar::funclocal" and
20855 "print 'scope1.c'::bar::funclocal_bss"
20856 to only be xfail'd when not compiled with gcc.
20857 Add rs6000-*-* xfail for
20858 "print 'scope0.c'::filelocal_bss before run"
20859 when compiled with gcc.
20860 (test_at_main): Add rs6000-*-* xfail for
20861 "print filelocal_ro in test_at_main"
20862 when compiled with gcc.
20863 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20864 Add rs6000-*-aix* xfail for
20865 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20866 "ptype t_char_array", not compiled with gcc.
20867 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20868 xfail for "list foo (in include file)" when gcc compiled.
20869 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20870 (integral_args): Add rs6000-*-* xfail for
20871 "run to call0a" if not compiled with gcc.
20872 (unsigned_integral_args): Add rs6000-*-* xfail for
20873 "run to call1a" if not compiled with gcc.
20874 (float_and_integral_args): Add rs6000-*-* xfail for
20875 "run to call2a" if not compiled with gcc and for
20876 "continue to call2b" for any compiler.
20877 Add rs6000-*-* xfail to
20878 "print f1 after run to call2a" for gcc compiled.
20879 (discard_and_shuffle): Add rs6000-*-* xfail for
20881 (shuffle_round_robin): Add rs6000-*-* xfail for
20882 "backtrace from call7a" if not compiled with gcc.
20883 Add rs6000-*-* xfail for
20884 "backtrace from call7b" if compiled with gcc.
20885 (call_after_alloca): Add rs6000-*-* xfail for
20886 "print c in call_after_alloca" and
20887 "print s in call_after_alloca" and
20888 "backtrace from call_after_alloca_subr"
20889 if not compiled with gcc.
20890 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20891 "print c in localvars_in_indirect_call" and
20892 "print c in localvars_in_indirect_call" and
20893 "backtrace in indirectly called function" and
20894 "stepping into indirectly called function"
20895 if not compiled with gcc.
20896 (localvars_after_alloca): Add rs6000-*-* xfail for
20897 "print c after runto localvars_after_alloca" and
20898 "print s after runto localvars_after_alloca" and
20899 "print i after runto localvars_after_alloca" and
20900 "print l after runto localvars_after_alloca"
20902 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20903 than whatis-info.exp.
20904 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20905 than opaque-info.exp.
20906 Setup rs6000-*-* xfail for
20907 "ptype on opaque struct pointer (statically)" and
20908 "ptype on opaque struct pointer (dynamically)" when
20909 not compiled with gcc.
20910 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20911 rather than callf-info.exp.
20912 (do_function_calls): Add clear_xfail for rs6000-*-* for
20913 "p t_float_values2(3.14159,float_val2)". Seems to work
20914 fine there, both with xlc and gcc. Need to find out what
20915 it is doing right and fix other platforms.
20916 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20917 "call inferior func with struct - returns int",
20918 "call inferior func with struct - returns long",
20919 "call inferior func with struct - returns float",
20920 "call inferior func with struct - returns double",
20921 "call inferior func with struct - returns char *",
20922 but only if not gcc compiled (presumes xlc compiled).
20923 Change rs6000-*-* xfails for
20924 "call inferior func with struct - returns char" and
20925 " call inferior func with struct - returns short" to only
20926 xfail if not using gcc.
20927 (clean mostlyclean): Remove *.ci and *.tmp files.
20928 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20929 than templ-info.exp.
20930 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20931 Add rs6000-*-* xfail for "up to foo in langs.exp"
20932 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20933 when not gcc compiled.
20935 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20937 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20938 * gdb.base/corefile.exp: Likewise.
20939 * gdb.base/list.exp: Likewise.
20940 * gdb.base/scope.exp: Likewise.
20941 * gdb.base/siganls.exp: Likewise.
20943 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20945 * gdb.base/whatis.exp: Likewise.
20947 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20949 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20950 failure (opcode table has been fixed to match reality).
20952 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20954 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20955 "call inferior func with struct - returns char",
20956 "call inferior func with struct - returns short"
20958 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20959 "print 'scope0.c'::filelocal at main",
20960 "print 'scope0.c'::filelocal_bss in test_at_main",
20961 "print 'scope0.c'::filelocal at foo",
20962 "print 'scope0.c'::filelocal_bss in test_at_foo",
20963 "print 'scope0.c'::filelocal at bar",
20964 "print 'scope0.c'::filelocal_bss in test_at_bar"
20966 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20967 in source file 1". This bug seems to have been fixed with both
20968 gcc and native cc (was native assembler bug?).
20970 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20972 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20973 "backtrace through signal handler" to "i*86-*-sysv4*".
20974 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20975 continue" case. Add "known SVR4 bug" to fail message.
20976 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20977 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20978 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20979 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20980 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20981 "up to foo in langs.exp", "show language at foo in
20982 langs.exp", "up to cppsub_ in langs.exp", "show
20983 language at cppsub_ in langs.exp", "up to fsub in
20984 langs.exp", and "show language at fsub in langs.exp".
20985 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20986 "bactrace in corefile.exp".
20987 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20988 "call inferior function with struct - returns float" and
20989 "call inferior function with struct - returns double".
20991 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20993 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20994 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20995 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20996 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20998 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21000 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21001 (or overriden) "CHILL" macro rather then bare "gcc".
21002 Also look for ../../gcc/xgcc since that is what we will
21003 actually need, not "Makefile". Remove following assignment
21004 of CHILL to CHILL_FOR_TARGET because that results in
21005 recursive definition.
21007 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21009 * gdb.base/corefile.exp: Change xfail for backtrace in
21010 corefile.exp from linuxaout to all linux.
21011 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21012 cases where we miss the breakpoint at the signal handler
21013 for some reason. Setup xfail for linuxoldld/linuxaout and
21014 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21015 hitting SIGURG breakpoint.
21016 * gdb.base/signals.exp: Setup xfail for "next" acting like
21017 continue to add linuxoldld. Setup xfail for all linux for
21018 "next to handler in signals_tests_1", "backtrace in
21019 signals_tests_1", "continue to func1", "pass SIGUSR1",
21020 and continue to handler".
21022 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21024 * Update all FSF addresses except those in COPYING* files.
21026 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21028 * gdb.base/a2-run.exp: Change messages to be more explicit about
21029 the status of args, and quote binfile in results.
21031 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21033 * gdb.base/callfuncs.exp: Add tests for passing structs to
21034 inferior functions and return various types.
21035 * gdb.base/callfuncs.c: Add functions to receive a struct
21036 and return a member of the struct, in various types.
21038 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21040 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21042 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21044 * config/vxworks29k.exp: New file, sources vxworks.exp.
21046 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21048 * config/gdbremote.exp: New file. Testing framework using
21051 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21053 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21054 "call function when asleep" and "send end of file".
21055 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21056 for "backtrace in corefile.exp".
21057 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21058 for "backtrace through signal handler".
21059 * gdb.base/corefile.exp: Make sure we actually generate a core file
21060 before trying the core tests. Some systems allow the user to suppress
21061 generation of core files and default to that (linux for example).
21062 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21063 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21065 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21067 * gdb.threads: New directory with some crude multi-threaded
21068 gdb tests (step.exp and step2.exp).
21069 * config/mt-lynx (STEP_EXECUTABLE): Define.
21070 (THREADFLAGS): Define.
21072 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21074 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21076 * gdb.base/signals.exp: Disable whole file for lynx until
21079 * gdb.base/signals.exp: xfail test where "next" acts like
21080 "continue" for lynx.
21082 * gdb.base/interrupt.exp: xfail test for calling function while
21083 inferior is asleep for lynx.
21085 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21086 than one cr-lf after each command.
21088 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21090 * configure.in: Reinstate setting of stabsdirs variable, fix
21091 typo in setting up configdirs for native builds.
21093 * gdb.base/return.exp: Fix typo in return double test.
21094 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21095 compiler from optimizing them away.
21097 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21099 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21100 sequences to be echo'd by gdb when using gdb_test.
21101 * gdb.chill/chexp.exp: Likewise.
21102 * gdb.fortran/exprs.exp: Likewise
21104 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21106 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21107 after the inferior gdb has started.
21109 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21110 after each command.
21111 * gdb.base/funcargs.exp: Likewise.
21112 * gdb.base/gdbvars.exp: Likewise.
21113 * gdb.base/interrupt.exp: Likewise.
21114 * gdb.base/list.exp: Likewise.
21115 * gdb.base/watchpoint.exp: Likewise.
21116 * gdb.c++/demangle.exp: Likewise.
21117 * gdb.c++/inherit.exp: Likewise.
21118 * gdb.chill/chexp.exp: Likewise.
21119 * gdb.fortran/exprs.exp: Likewise.
21121 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21122 test if we can't handle IO to/from the inferior.
21124 * gdb.c++/misc.exp: Always check for a program already being
21125 started after sending a "run" command to gdb.
21127 * gdb.base/twice.exp: Start with a fresh gdb.
21129 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21130 only depend on gdb's expression code, not the chill runtime.
21132 * gdb.base/return.c: Put return values into variables so we
21133 can have gdb print them rather than depending on the program
21135 * gdb.base/return.exp: Corresponding changes.
21137 * lib/gdb.exp: Provide default value for noinferiorio.
21138 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21141 * gdb.base/break.exp: Always check for a program already being
21142 started after sending a "run" command to gdb.
21143 (text_next_with_recursion): Don't check the output from the
21144 program's printf statement. Instead just make sure the program
21147 * gdb.base/commands.exp: Protect tests which need arguments with
21148 $noargs conditionals.
21150 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21152 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21153 of structure member arrays to match gdb/valops.c:value_addr change.
21155 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21157 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21160 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21162 * configure.in (configdirs): Remove gdb.chill from default list
21163 of subdirs and then add it back in only if doing a native build.
21164 The current chill compiler does not yet work in any cross build.
21165 * Revert all signal changes from Jul 6.
21166 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21167 for sh-hms targets, allowing these tests to link, with no other
21168 changes. Testing is suppressed by setting "nosignals" in site.exp.
21170 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21172 * configure.in (signaldirs): Define and add to configdirs for all
21173 targets except some specific ones that are known to not support signals.
21174 Also clean up formatting.
21175 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21176 (signals, sigall): Remove rules to build.
21177 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21178 Moved to new gdb.signals directory.
21179 * gdb.signals: New test directory.
21180 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21181 signals.c signals.exp}: New or moved files.
21183 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21185 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21187 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21189 * gdb.base/return.exp: Xfail `return double' test failure
21190 on at least Solaris 2.3 and handle future/past versions on
21191 a case by case basis as appropriate. Also update message
21192 to include i*86 failures.
21194 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21196 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21198 * lib/gdb.exp: Fix comment which erroneously identified
21199 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21200 gdb_file_cmd not gdb_load).
21201 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21203 * gdb.base/setvar.exp: Make test names consistent between pass and
21204 fail cases. Use gdb_test more.
21206 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21208 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21210 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21212 * gdb.base/help.exp: Fix expected help string for `show commands'.
21214 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21216 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21218 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21221 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21223 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21224 that loop eventually terminates. Fix Connection refused logic so
21225 that testsuite will expire nicely.
21227 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21229 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21230 config/rom68k.exp: New tcl glue for the appropriate monitors.
21231 These all just end up calling monitor.exp.
21232 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21233 refused' by retrying. Cleanup some timeout issues.
21234 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21235 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21236 callers don't have to set/restore global timeout variable.
21238 * The following set of changes centralizes management of the global
21239 timeout variable. This way, it can be set in one target dependent
21240 place instead of dozens of places scattered throughout the test suite.
21241 If you need to lengthen a timeout, then you should either set timeout
21242 in one of the config/{target}.exp files, or multiply it by a factor.
21243 Setting it to an absolute value is always going to lose for some
21245 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21246 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21247 * gdb.base/funcargs.exp: Don't set timeout.
21248 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21249 * gdb.base/printcmds.exp (test_print_string_constants
21250 test_print_array_constants): Don't set timeout.
21251 * gdb.base/ptype.exp: Don't set timeout.
21252 * gdb.base/recurse.exp: Don't set timeout.
21253 * gdb.base/return.exp: Don't set timeout.
21254 * gdb.base/watchpoint.exp: Don't set timeout.
21255 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21256 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21258 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21260 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21262 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21264 * lib/gdb.exp: Disable chill tests for irix5.
21266 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21268 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21269 each test pass or fail.
21271 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21273 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21276 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21278 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21280 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21282 * config/est.exp: Fix copyright and comments. Remove dead code.
21283 Use targetname, serialport and baud variables instead of fixed
21285 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21286 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21288 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21290 * gdb.base/watchpoint.exp: Don't run
21291 test_watchpoint_triggered_in_syscall for sunos.
21293 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21295 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21296 they don't seem to exist. Do include stdio.h.
21298 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21300 * gdb.base/a1-selftest.exp: Add alpha xfail.
21302 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21304 * gdb.base/watchpoint.c (main): Prompt before calling read().
21305 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21306 Revise accordingly. Remove cruft about sending "123" several
21307 times, until it gets noticed. Clean up the "print buf[0]" stuff
21308 so that it passes or fails, and waits for prompts in the usual way.
21310 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21312 * gdb.base/recurse.exp: Fix comment.
21314 * TODO: Remove item about printing variables in nodebug.exp. Add
21315 item about enabling tests which are only run on some targets.
21317 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21318 fail, make test names unique, use new gdb_test convention
21319 regarding pattern, use gdb_test more, etc.).
21321 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21322 fail, make test names unique, etc.).
21324 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21326 * gdb.base/nodebug.c: Change return type of top and middle to
21328 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21329 are fixed by the recent mdebugread.c changes. Allow `short ()'
21330 as type for top and middle.
21332 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21334 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21335 nearly as I can tell, the whole thing was an accident in Stu's
21336 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21337 to replace a send/expect pair with gdb_test, but ended up only
21338 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21339 of 30 Mar 1995 took care of it, but left this vestigial comment
21340 which I am now nuking.
21342 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21344 * gdb.base/break.exp: Look for different line number for
21345 breakpoint at main depending on usestubs.
21347 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21349 * gdb.base/list.exp: Adjust some alternate expect patterns to
21350 match recent list0.c change. Add alternate expect pattern for
21351 output from `list default lines around main' for optimizing
21354 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21356 * lib/gdb.exp: If nosignals is not set, set it to 0.
21358 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21360 * config/slite-gdb.exp: Responds to load symbol table prompt.
21361 * gdb.base/break.exp: Adjust line number, fix rerun.
21362 * gdb.base/langs0.c: Add #ifdef usestubs.
21364 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21366 * gdb.base/list.exp: Adjust line contents after adding new lines in
21367 list0.c. Also fix a syntax error.
21369 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21370 * gdb.base/break.exp: ditto.
21371 * gdb.base/list.exp: ditto.
21372 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21373 * gdb.base/run.c: ditto.
21374 * gdb.base/list0.c: ditto.
21375 * gdb.base/funcargs.c: ditto.
21377 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21379 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21380 $targetname, $serialport and $baud instead of hardwired variables.
21381 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21382 target doesn't support signals.
21384 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21386 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21388 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21390 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21391 Don't rely on the value of an auto variable before it has been
21392 initialized. Use gdb_test more.
21394 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21396 * lib/gdb.exp (default_gdb_version): A version number must start
21397 with a digit, but other than that contains all characters up to
21398 the first whitespace character.
21400 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21402 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21404 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21406 * gdb.c++/*.exp: Warn if executable does not exist. The original
21407 reason for skipping the warning was that configure.in sometimes
21408 intentionally skipped building the executables but the tcl code
21409 had no way of knowing. That (a) was always bogus with respect to
21410 error handling, (b) is no longer true (right now there is no way
21411 to skip C++ tests).
21413 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21415 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21417 * gdb.base/list.exp: Add expect patterns for output from
21418 SunPRO compiled executables.
21419 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21422 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21424 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21425 number (we are already testing that the correct source line text
21428 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21429 that is what is intended, but something needed to be done to get
21430 sunos4 native working again.
21432 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21434 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21435 apparently went with a (very) old xfail.
21437 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21439 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21440 runto_main is a proc in gdb.exp that will do 'step' for target use
21442 * gdb.base/exprs.exp: ditto.
21443 * gdb.base/interrupt.exp: ditto.
21444 * gdb.base/opaque.exp: ditto.
21445 * gdb.base/printcmds.exp: ditto.
21446 * gdb.base/ptype.exp: ditto.
21447 * gdb.base/scope.exp: ditto.
21448 * gdb.base/setvar.exp: ditto.
21449 * gdb.base/signals.exp: ditto.
21450 * gdb.base/twice.exp: ditto.
21451 * gdb.c++/classes.exp: ditto.
21452 * gdb.c++/inherit.exp: ditto.
21453 * gdb.c++/templates.exp: ditto.
21454 * gdb.base/break.exp: no run and hit main for stubs. Change line
21455 numbers for breakpoints and info breakpoint.
21456 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21458 * gdb.base/callfuncs.c: ditto.
21459 * gdb.base/exprs: ditto.
21460 * gdb.base/interrupt.c: ditto.
21461 * gdb.base/opaque0.c: ditto.
21462 * gdb.base/printcmds.c: ditto.
21463 * gdb.base/ptype.c: ditto.
21464 * gdb.base/scope0.c: ditto.
21465 * gdb.base/setvar.c: ditto.
21466 * gdb.base/signals.c: ditto.
21467 * gdb.base/twice.c: ditto.
21468 * gdb.c++/misc.cc: ditto.
21469 * gdb.c++/templates.cc: ditto.
21471 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21473 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21475 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21476 somewhere between `read' and `main.c'. I'm pretty sure the
21477 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21478 and it isn't particularly useful.
21480 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21482 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21484 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21486 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21488 * config/mt-slite: add LIBS and -nostdlib.
21489 * config/slite-gdb.exp: add this new file to support sparclite target.
21491 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21493 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21495 * gdb.base/a2-run.exp: Change argument to istarget from
21496 "*-*-vxworks" to "*-*-vxworks*".
21497 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21499 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21501 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21502 will not runto main but do a 'step' to step out of breakpoint().
21503 * config/mt-slite: add -Dusestubs.
21505 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21507 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21510 * gdb.base/signals.exp: Add test for "handle all print".
21511 * TODO: Remove "handle all print". Also remove item about
21512 checking copyright date (I don't like the idea of a spurious FAIL
21513 based on when we run the tests).
21515 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21516 for SunOS4 (reason for failure not investigated). Remove
21517 redundant test for $binfile.
21519 * gdb.base/nodebug.c (array_index): Call malloc.
21521 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21523 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21525 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21526 conventions and slightly simplify the matching regexp.
21528 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21530 * gdb.base/break.exp: Update gdb_test invocation to use new
21533 * lib/gdb.exp: If noargs is not set, set it to 0.
21535 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21538 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21540 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21542 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21543 one argument of type "<non-float parameter>".
21545 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21547 * config/rom68k.exp: New file to support Motorola IDP board.
21548 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21549 * gdb.base/break.c: Change things around so that this program
21550 doesn't depend upon args. This is necessary to make remote
21551 targets work (in general, they can't take args).
21552 * gdb.base/break.exp: Don't try to send args to program. Don't
21553 expect output. Also, replace lots of code with gdb_test.
21555 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21557 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21558 printing of '\'' (which is what the comment says we are testing,
21559 even though we were not), not '''.
21560 (test_integer_literals_rejected): Test that printing ''' is an error.
21562 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21563 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21564 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21565 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21566 Use gdb_test not test_print_accept.
21567 * lib/gdb.exp: Remove test_print_accept.
21569 * gdb.base/signals.exp (signal_tests_1): Make pass message
21570 consistent with fail message.
21572 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21573 unsigned char; the bug (PR 1821) is fixed.
21575 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21577 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21578 successful tests--makes xfailing them work right.
21580 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21582 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21583 only \r\n, not .*. The test can pass .* as the last thing in
21584 $pattern if that is what it wants. In addition to providing this
21585 flexibility, this change should speed up pattern matching in cases
21586 where the pattern already ended with .* (there were a number of
21587 them). This change also helps catch bad patterns--in the old
21588 scheme the typo "char \*" instead of "char \\*" would pass. Now
21590 * Many .exp files: Update callers.
21592 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21593 clearer and does not spuriously match multiple ('s. Likewise for
21596 * gdb.base/nodebug.exp: Test ability to call a function and pass
21597 it a string (even with no debugging info).
21599 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21600 "p '\'", which is the same as "p ''" once tcl gets done with
21601 quoting, to "p '\\'", which I suspect is what is intended (one
21602 backslash gets sent to GDB).
21604 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21606 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21608 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21609 1817) was fixed literally years ago.
21611 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21613 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21614 test, it causes stepping out of call_after_alloca_subr with
21615 optimizing compilers.
21616 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21619 * gdb.c++/templates.exp: Source templ-info.exp only if
21620 the templates executable exists.
21622 * gdb.c++/misc.cc (class Contains_static_instance,
21623 class Contains_nested_static_instance),
21624 gdb.c++/classes.exp (test_static_members): Test printing of
21625 a class that contains a static instance of the class.
21627 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21629 * gdb.base/langs2.c (cppsub_): Don't prototype.
21630 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21633 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21635 * lib/gdb.exp (skip_chill_tests): New procedure.
21637 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21639 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21641 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21642 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21644 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21646 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21648 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21649 disassemble 8, not 16, instructions for part 4.
21651 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21652 support the latter anymore.
21654 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21656 * gdb.base/callfuncs.c: Control use of prototypes based on
21657 NO_PROTOTYPES, not __STDC__.
21658 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21659 t_float_values2 tests if prototypes in use.
21661 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21662 t_double_values): When checking differences against DELTA, check
21663 that difference is within the range (-DELTA,DELTA), not just
21666 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21668 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21669 'file' command firts, then 'target', then 'load', this is due to gdb
21671 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21673 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21675 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21676 FP load/store variants.
21677 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21679 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21681 * gdb.base/term.exp: Do not give a warning if not native, it is
21682 not an abnormal condition.
21684 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21686 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21689 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21691 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21692 are getting the version number.
21694 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21695 if not native, it is not an abnormal condition.
21697 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21699 * lib/gdb.exp: Just use "file exists", rather than undocumented
21700 dejagnu procedure "findfile".
21702 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21704 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21705 (LDFLAGS): Set to -Xlinker -Ur.
21707 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21708 Removed, these values are set by lib/gdb.exp.
21710 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21712 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21714 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21715 of replicating gdb startup code.
21717 * config/mt-vxworks (LDFLAGS): Set to -r.
21718 (CFLAGS_FOR_TARGET): Removed.
21720 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21721 (gdb) and gdb for vxworks uses (vxgdb).
21723 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21724 executable is not in the tree and host != target, use sed and
21725 program_transform_name to determine the gdb name used by the
21728 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21729 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21731 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21733 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21734 floats, chars, and shorts where there are ANSI-style function
21737 * gdb.base/langs.exp, gdb.base/langs*: New test.
21738 * gdb.base/Makefile.in: Build it.
21739 * TODO: Remove item about checking that C names don't get C++
21740 demangling applied; this test tests it.
21742 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21744 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21745 went with the const70 xfail. The xfail went away a year ago.
21747 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21749 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21752 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21754 * gdb.base/a1-selftest.exp: Don't run on hp300.
21756 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21758 * Makefile.in (site.exp): Set host_alias and target_alias as well
21759 as host_triplet and target_triplet.
21761 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21763 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21765 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21766 places as other ecoff systems).
21768 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21771 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21773 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21775 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21776 variable and "variable" in addition to "data variable".
21777 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21779 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21781 * gdb.base/list1.c (long_line): Add additional statement at start
21783 * gdb.base/list.exp (test_forward_search): Update line number to
21784 reflect new statement.
21786 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21788 * gdb.base/signals.exp: Reinitialize searched source directories
21789 after gdb_start call.
21791 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21793 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21794 * gdb.stabs/Makefile.in: Likewise.
21796 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21797 change. Instead split the tests into smaller pieces.
21798 * gdb.disasm/hppa.s: Corresponding changes.
21800 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21802 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21803 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21805 * gdb.base/funcargs.exp: Modify many tests so that every test
21806 either passes or fails. Make some test names unique.
21808 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21810 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21811 Call stty to set interrupt character.
21813 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21814 for HP assembler versus GNU assembler based on actual behavior of
21815 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21817 * TODO: Suggest a few more stepping tests.
21819 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21821 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21822 restart GDB for h8300 after a continue.
21823 (return): Add pattern to match a29k-udi behavior.
21824 * gdb.base/nodebug.exp: Remove obsolete comment.
21825 * gdb.base/regs.exp: New file, testing of register displays.
21826 * gdb.base/return.exp: Fix typo in reference to $objdir.
21827 * gdb.base/whatis.exp: Always start with a fresh GDB.
21829 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21831 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21832 higher, these tests generate a lot of output.
21834 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21836 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21837 code following the catch silently ignored some errors; without the
21838 catch they should be thrown like any other tcl error. Also, the
21839 catch used "" instead of {} which meant all the callers who wanted
21840 to include one of the characters "[]$ had to quote it an extra time.
21841 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21842 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21843 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21844 Remove extra quoting.
21846 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21848 * gdb.base/commands.exp: Make test names unique; every test either
21849 passes or fails. Update some comments.
21851 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21853 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21855 The following fixes a FAIL caused by the fact that the alpha stabs
21856 configuration didn't use the ".if alpha" code in weird.def.
21857 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21858 bit pointer, so the 32 bit version works even on the alpha.
21859 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21860 Remove the stuff which allowed us to have separate versions for
21861 alpha and everything else.
21863 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21864 regexp which "info func operator\[\](" is supposed to match. Fix
21865 string to send to GDB. Note that GDB still doesn't work right. Add a
21866 new test for "info func .perator\[\](" which GDB does handle correctly.
21868 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21870 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21872 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21873 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21874 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21875 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21876 it makes the tests harder to understand and confuses test-o-matic.
21877 The preferred style is that each test provides a PASS or a FAIL,
21878 and has a unique message (e.g. "continue #54" not just "continue")
21879 which is the same for the pass and the fail.
21880 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21881 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21883 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21884 prt_accept which was basically the same thing. Likewise for
21885 test_print_reject and prt_reject.
21886 * lib/gdb.exp (test_print_reject): Add some more error message
21887 patterns to match from the former printcmds.exp (prt_reject).
21888 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21889 One defect of the passcount stuff is that some of it failed to
21890 report XPASS where appropriate.
21891 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21892 stuff before and after arg in expected pattern.
21893 (test_paddr_operator_functions): Re-do test without print_addr_of;
21894 this is the only test which seems to want extra stuff there.
21896 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21898 * gdb.base/nodebug.exp: Update new tests to reflect improved
21899 wording of gdb output.
21901 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21902 and "ptype" work on variables in files compiled without -g.
21903 Replaces commented out "maint print msymbol" tests.
21905 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21907 * gdb.base/setvar.c (dummy): Call malloc.
21909 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21910 losing with the irix4 sed.
21912 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21915 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21917 * TODO: Remove items about corefile.exp testing new exec-file and
21918 backtrace; both are now done. Add items about printing enums.
21920 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21922 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21923 "get signal $thissig" test fails.
21925 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21927 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21929 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21930 compiler warning with dec alpha compiler.
21932 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21933 extra \n from gdb_test call (this explains why the prompt test
21934 that I removed yesterday was there).
21935 (user_defined_command_test): Remove extra \n and prompt test.
21937 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21938 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21940 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21941 Also remove alpha workaround, which turns out to be because
21942 SIGABRT == SIGLOST.
21944 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21946 * gdb.base/help.exp: Don't test "help show".
21948 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21950 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21951 "set print address" is on.
21952 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21953 pass prompt to gdb_test; gdb_test already looks for the prompt.
21955 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21957 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21958 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21959 was to make sure that gdb can read a core file. But (a) the "read
21960 the corefile" part didn't make it to a1-selftest.exp, we just
21961 delete the corefile after creating it, and (b) we test reading
21962 corefiles in corefile.exp anyway. Also, this test left around a
21963 xgdb process on Solaris.
21965 * gdb.base/corefile.exp: Also test backtrace.
21967 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21969 * gdb.base/commands.exp: Test a simple user defined command with
21970 arguments and if/while statements; verify the full user command is
21971 printed by "show user".
21973 * gdb.base/commands.exp: Test if/while commands as part of a
21974 breakpoint command list; verify they appear in breakpoint
21977 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21979 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21980 than by dividing by zero.
21982 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21984 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21985 performing an inferior call with watchpoints enabled.
21986 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21989 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21991 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21994 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21995 Add additional pattern for when "int operator int(void);" appears
21996 in a different order.
21998 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22000 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22002 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22003 and "signal" with ".*".
22005 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22007 * TODO: Add note about "handle all nostop".
22009 * gdb.base/{sigall.c, sigall.exp}: New test.
22010 * gdb.base/Makefile.in: Add it.
22012 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22014 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22015 when invoking GDB, suppresses any windowing interface.
22017 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22019 * config/sim-gdb: New file, simulator testing support.
22021 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22023 * gdb.base/interrupt.exp: Test calling func1 twice.
22025 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22027 * gdb.base/list.exp (test_forward_search): Set timeout higher
22028 when we'll be getting lots of output from gdb.
22030 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22031 "init_malloc" to after the expect statement. Run it if that
22032 regexp is taken, but also for two others which happen if source
22035 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22037 * gdb.base/printcmds.exp: New test, for printing register before
22038 program is running.
22040 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22042 * gdb.base/list.exp: Correct some alternate expect patterns
22043 to reflect changes in list1.c.
22045 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22047 * TODO: Add item regarding large frames.
22049 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22051 * TODO: Remove item about enabling return.exp; it
22052 is enabled. Suggest a few more "return" tests.
22054 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22056 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22059 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22061 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22062 and pr-5646.o, so "make" is the same as "make all", not "make
22065 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22067 * gdb.base/list.exp: Adjust expectations to reflect changes in
22069 (test_forward_search): New test proc.
22070 * gdb.base/list1.c (long_line): New function, has long source line.
22072 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22074 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22075 additional line of code that was added.
22077 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22079 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22080 tests so as not to overflow expect's input buffers.
22081 * gdb.disasm/hppa.exp: Corresponding changes.
22083 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22085 Beginnings of template debugging tests.
22086 * gdb.c++/templ-info.cc: New file to test for template
22087 debugging capability of the compiler.
22088 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22090 * gdb.c++/templates.cc: Add explicit template instantiations
22091 to enable compiling with -fno-implicit-templates. Add destructor
22092 and 'value' method to T5 class for template tests.
22093 * gdb.c++/templates.exp: Add testcases for printing of template
22094 types, setting breakpoints on template methods and calling a
22097 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22099 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22100 branch target since some assemblers (gas-2.5) may emit a
22101 relocation for the branch instead of resolving it in the
22104 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22106 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22107 through signal handler.
22109 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22111 * configure.in (*-*-netware): Use config/mt-netware.
22113 * config/mt-netware: New file.
22114 * config/mt-i386-netware: Removed, separate configs for different
22115 netware architectures are no longer needed now that we have
22118 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22120 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22121 by the recent changes to use ANSI C arithmetic conversions.
22123 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22125 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22126 bug involving using inferior_pid to figure out whether to select a
22129 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22131 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22132 match the current disassembler output.
22134 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22136 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22137 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22138 types, expect "int" as type of integer values (for now).
22140 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22142 * gdb.base/commands.exp: New tests for if/while commands.
22144 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22146 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22147 by .*, since hex values have different syntax in Chill mode.
22149 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22151 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22152 linefeed from expect pattern for repeated types with indices > 9.
22154 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22156 First part of Fortran test suite.
22157 * gdb.fortran: New directory.
22158 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22160 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22162 * gdb.base/default.exp: Update expect pattern for load command
22165 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22167 * configure.in: Change i386 to i[345]86.
22168 * gdb.base/configure.in: Likewise.
22169 * gdb.c++/configure.in: Likewise.
22170 * gdb.chill/configure.in: Likewise.
22172 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22174 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22175 patterns, since that is not a valid context for comments.
22177 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22179 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22180 repeated types and repeated types with indices > 9.
22182 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22184 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22185 2417; old bug has been fixed.
22187 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22189 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22190 send the newline ourselves instead of assuming gdb_test will do
22191 so when passed an empty input string.
22193 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22196 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22198 * lib/gdb.exp (gdb_test): Don't send anything if the first
22199 argument is an empty string. This makes cases where we want to
22200 match output that is already in expect's buffers (for example,
22201 matching a breakpoint after gdb_run_cmd has been called) work
22204 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22206 * config/netware.exp: New file.
22208 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22210 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22211 the -B and -L prefixes so we can find the debugging stub.
22213 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22214 there and we are using the gcc from the tree.
22216 * gdb.base/types.c: Removed.
22218 * gdb.base/configure.in: Look for makefile fragments in ../config.
22219 Recognize i386-*-netware.
22220 * gdb.c++/configure.in: Likewise.
22222 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22224 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22225 the correct TCL syntax.
22227 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22229 * gdb.base/opaque.exp: use runto instead of messing around with
22230 breakpoints. Simplify by using gdb_test.
22232 * gdb.base/bitfields.exp: restart between tests on netware targets
22233 because breakpoints aren't relocated after target death. Run
22234 processes to completion.
22236 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22238 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22240 * Makefile.in: Remove extra tabs that confuse some versions
22241 of "make". Use the newly built gdb to test with by default,
22242 rather than the first one in the tester's search path.
22244 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22246 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22248 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22251 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22253 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22255 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22257 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22258 * gdb.base/funcargs.exp: Likewise.
22260 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22261 * gdb.base/funcargs.exp: Likewise.
22263 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22266 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22268 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22269 return,signals,twice}.exp: Handle non-existant binaries
22272 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22273 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22274 might testing a cross development system.
22276 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22278 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22279 runtest script is relative to ${srcdir}, not ${rootdir}.
22281 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22283 * gdb.base/signals.exp: Allow for optionality of breakpoint
22286 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22288 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22290 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22292 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22293 for size_t definition.
22294 * gdb.c++/templates.cc: Likewise
22296 * config/mt-i386-netware: New file.
22298 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22301 * gdb.base/Makefile.in: Added support for systems that name core
22302 files by appending "core" to the program name.
22303 * gdb.base/a1-selftest.exp: Likewise.
22305 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22307 * gdb.base/return.exp: Add comment and message for `return double'
22308 test failure on Sparc Solaris.
22310 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22312 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22314 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22316 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22317 from optimizing them away.
22318 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22319 patterns to include default constructors and assignment operators,
22320 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22321 character in the output of the virtual base pointer.
22323 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22325 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22326 expression match in print_addr_of to avoid unintented matches.
22327 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22328 versions up to 2.5.8.
22330 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22332 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22333 included file to run under newer versions of expect.
22334 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22335 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22336 Remove xfail for the virtual table of BDDHookV.
22338 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22340 * lib/gdb.exp (string_to_regexp): Set a default result.
22341 (default_gdb_start): Fix misleading message.
22343 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22345 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22346 Remove all CC, etc definitions.
22347 * config/mt-hpux: New file.
22348 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22349 (CFLAGS, LDFLAGS): Define.
22350 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22352 * Makefile.in (site.exp): Don't insert host_os, etc.
22353 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22354 (distclean): Check existence of subdir.
22355 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22356 * gdb.base/Makefile.in: General cleanup and simplification.
22357 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22358 to build executables. Use default rule to build .o files.
22359 (EXPECT, RUNTEST, CC): Fix relative pathname.
22360 (site.exp): Don't insert host_os, etc.
22361 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22362 and/or SIGUSR1 defined.
22363 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22364 * gdb.c++/Makefile.in: General cleanup and simplification.
22365 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22367 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22369 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22371 * gdb.base/recurse.exp: Misc changes to get tests running again
22372 after Kung's changes to the watchpoint code.
22373 * gdb.base/watchpoint.exp: Likewise.
22375 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22377 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22379 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22381 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22382 * lib/gdb.exp (default_gdb_start): Define.
22383 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22384 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22385 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22386 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22387 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22388 Don't call gdb_target_udi in between tests.
22390 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22392 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22393 (which was basically just a local version of the same thing). In
22394 addition to avoiding duplication, gdb_test_exact is faster.
22395 * lib/gdb.exp (gdb_test_exact): Fix typo.
22397 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22398 don't give an error.
22400 * gdb.base/term.exp: Call delete_breakpoints before starting.
22402 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22403 (t10): Add comment.
22405 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22407 Reorganization of the GDB Test Suite.
22409 * gdb.base: New directory, contains all the basic tests.
22410 * gdb.c++: New directory, tests specific to C++.
22411 * gdb.chill: New directory, tests specific to Chill.
22412 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22413 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22414 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22415 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22416 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22418 * */gdbme.*: Rename to match appropriate expect scripts.
22419 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22420 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22421 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22422 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22423 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22424 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22425 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22426 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22427 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22428 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22429 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22430 gdb.c++/virtfunc.cc: New names of C++ files.
22431 * gdb.chill/chillvars.ch: New name of Chill file.
22432 * gdb.base/configure.in, gdb.c++/configure.in,
22433 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22434 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22435 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22436 * configure.in (configdirs): Update to reflect directory changes.
22437 (target_abbrev): No longer define for any configuration.
22438 * Makefile.in: Cosmetic improvements to header comments.
22440 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22442 Various changes to gdb.t31:
22444 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22445 * gdbme.ch: Make all key-words and predefineds be upper-case.
22446 * chillvars.exp: Expect key-words and predefinds in upper-case.
22448 * chillvars.exp: Use gdb_test_exact many places.
22449 Change expected output for arrays (which now includes index labels).
22451 * pr-5020.exp, gdme.ch (module PR_5020):
22452 New test, for PR-5020.
22454 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22456 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22457 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22459 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22461 * Makefile.in: Fix bit-rot in definitions of CHILL,
22462 CHILL_FOR_TARGET and Chill_LIB.
22463 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22464 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22465 CHILL, and CHILL_LIB.
22467 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22469 * Revert the previous changes. Please see Rob's directory
22470 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22472 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22474 * Makefile.in, configure.in, config/mips-gdb.exp,
22475 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22476 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22477 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22478 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22479 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22480 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22481 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22482 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22483 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22484 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22485 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22486 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22487 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22488 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22489 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22492 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22494 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22495 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22496 Rob's new testing fragments.
22498 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22500 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22501 lib/gdb.exp: Replace error proc calls with perror.
22503 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22505 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22506 version also, match on casted version strings, and match on
22507 gdb startup case where the line numbers might be messed up.
22509 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22511 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22512 (CFLAGS): Delete it from here.
22514 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22516 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22518 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22520 * Makefile.in (RUNTEST): Default to just "runtest".
22522 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22524 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22525 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22526 the code has been restructured.
22528 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22530 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22531 \n, not just one of each.
22533 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22534 /bin/cc gives a warning if you do.
22536 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22538 * gdb.t24/demangle.exp: change expect pattern of
22539 __t10ListS_link1ZUiRCUiPT0
22541 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22543 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22544 on local variables in recursive functions.
22546 * gdb.t07/Makefile.in: Build the new test.
22548 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22550 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22551 directly. Instead compare the return values from actual calls.
22553 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22555 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22557 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22559 * From Peter Schauer with minor modifications.
22560 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22561 stops in mid-line in the caller. Add xfail for returning a float
22562 value on X86 targets.
22564 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22566 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22567 to avoid expect lossage.
22568 (fmem_LRbug_tests): Likewise.
22569 * gdb.disasm/hppa.s: Corresponding changes.
22571 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22572 conditions to work with latest dejagnu/expect.
22574 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22575 expected to fail on the PA.
22576 (backtrace in call with trampolines): Explicitly require main
22577 to be frame #1 (no trampolines should show up in backtrace).
22579 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22580 "continue -expect".
22581 * gdb.t06/break.exp: Likewise.
22582 * gdb.t07/watchpoint.exp: Likewise.
22583 * gdb.t13/bitfields.exp: Likewise.
22584 * gdb.t15/{funcargs,return}.exp: Likewise.
22585 * gdb.stabs/weird.exp: Likewise.
22586 * config/{mips,udi}-gdb.exp: Likewise.
22588 * hppa.sed: Enclose comments within a sed command to avoid
22589 losing with the old OSF1 sed.
22591 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22593 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22595 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22596 * gdb.t15/funcargs.exp: Conditionally step again to really
22597 finish from marker_call_with_trampolines. Handle the case where
22598 the first step from within call_with_trampolines already steps
22600 * gdb.t15/gdbme.c: Add comment to closing brace of
22601 call_with_trampolines for funcargs.exp.
22603 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22605 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22608 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22610 * gdb.t07/gdbme.c: More code for watchpoint testing.
22612 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22613 "Hardware watchpoint" throughout file.
22614 (test_watchpoint_triggered_in_syscall): New test.
22615 (test_complex_watchpoint): New test.
22617 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22619 * gdbme.c (call_with_trampolines): New function to try and step
22620 into. Tests trampoline problems on the PA.
22622 * funcargs.exp (localvars_in_indirect_call): No longer expect
22623 stepping into indirect call to fail on PAs.
22624 (test_stepping_over_trampolines): New test.
22626 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22628 * TODO: Add suggestions for static member function tests, and
22631 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22633 * TODO: Add suggestions for "p/a" tests.
22635 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22636 (default_gdb_exit): Replace all the hair with sending "quit" to
22637 the process with a simple close.
22639 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22641 * TODO: Add suggestions for shared library tests.
22643 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22645 * TODO: Add suggestions for x/s tests.
22647 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22649 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22650 "enable once", and "enable breakpoints once" with ".*".
22652 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22654 * TODO: Add suggestions about structure passing tests.
22656 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22658 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22659 the primary1 test, use work around if __GNUC__ < 2.
22660 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22661 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22662 Test for bad output rather than waiting for timeout. Issue
22663 second continue only if first continue failed.
22665 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22667 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22668 operator[] test with gdb_test because the old code didn't seem to
22669 be getting the quoting right with the new dejagnu.
22671 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22673 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22675 * Makefile.in: Use a fresh expect if there is one, use runtest
22676 from the src tree if there is one.
22678 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22680 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22681 next over recursive call. Revise the tests from that point on
22682 (which had been skipped) to match GDB's actual (correct) output.
22684 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22685 with next over a breakpoint whose condition is false.
22687 * gdb.t00/help.exp: Comment out "help set print" tests just like
22688 (and for same reason as) "help set" test.
22690 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22692 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22693 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22695 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22697 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22698 necessary gdb_target_udi.
22700 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22702 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22703 1838 and 2417; they are fixed.
22705 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22706 gdb.t03/ptype.exp (ptype structure, ptype union):
22707 Remove xfails; the test is looser than when the xfails were added.
22709 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22710 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22712 * gdb.t01/run.exp: Only run shell test if isnative.
22714 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22715 since "run" automatically loads if necessary. Call gdb_target_udi
22716 after the "file" since "file" kills any execution target.
22718 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22719 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22720 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22723 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22725 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22727 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22729 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22731 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22732 properly quoting regexps. This makes the second argument to
22733 demangle a fixed string, which matches the callers, instead of a
22734 shell-style pattern which is what the previous implementation
22735 used. Update some of the callers.
22737 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22739 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22740 (comib_nullified_tests): Fix typo.
22741 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22742 strings. No longer expected to fail.
22744 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22745 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22746 strings. No longer expected to fail.
22748 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22749 string. No longer expected to fail.
22751 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22753 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22754 No longer expected to fail.
22756 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22757 string. No longer expected to fail.
22759 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22761 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22762 only in the names (I probably got most of them). I was even
22763 generous with some which differed in underscores in names, and
22764 probably missed a few, and I *still* was able to remove almost a
22765 third of the file with almost no impact on testsuite coverage.
22767 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22769 * gdb.t00/default.exp: Match udi_attach error message as well as
22770 the one from child_attach.
22772 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22774 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22776 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22777 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22779 * Move test with enums and partial symbols back to
22780 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22781 Reverts the change of 26 May 93. Per today's change to
22782 stabs.texinfo, the behavior that weird.exp was expecting was
22783 unreasonable; what is important is that the compiler+gdb get
22784 things right, which happens with a recent gcc. Also fix the test
22785 to deal with native compilers which put out the stab gdb can't
22788 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22790 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22791 in the names. The main thing these accomplish is to slow things down.
22792 Many more such duplicates surely remain.
22794 * gdb.t00/help.exp: Comment out "help support" test just like
22795 (and for same reason as) "help set" test.
22797 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22799 * gdb.t06/break.exp: Remove setup_xfails for
22800 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22801 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22802 about known bug in gcc to include up through 2.5.8.
22803 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22805 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22806 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22807 with latest gcc and gdb.
22808 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22811 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22813 * configure.in (hppa*-*-*): Also configure and build stabs-only
22816 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22818 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22819 * gdb.t10/configure.in (hppa*-*-*): Use it.
22821 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22823 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22825 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22827 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22828 versions prior to 1.13.5.
22830 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22832 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22833 the prompt is at the start of a line.
22835 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22837 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22838 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22839 in the copr tests now.
22840 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22841 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22844 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22846 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22847 gdb.t31/chillvars.exp, lib/gdb.exp:
22848 Tweak to run under either version of expect.
22849 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22850 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22851 * gdb.t11/list.exp: Remove extraneous whitespace.
22853 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22855 * gdb.t16/printcmds.exp (test_print_strings): Accept
22856 "(unsigned char *) " before the string.
22858 * TODO: Add notes about printing of fancy types and GDB expressions.
22860 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22862 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22863 * gdb.t06/configure.in: Don't try to compile signals test program
22864 if doing mips-idt-ecoff.
22866 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22868 * Most .exp files: Tweak to run under either version of expect.
22870 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22872 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22873 xfails; I'm not sure why they are failing, but not because of PR 1806.
22875 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22877 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22878 defined in lib/gdb.exp.
22880 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22882 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22883 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22884 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22885 have to be typeless.
22887 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22889 * TODO: Add suggestion for copyright year test.
22891 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22893 * configure.in (*-*-lynxos*): Add stabs tests.
22895 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22897 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22898 so insert a tab before any assembler directive in column zero.
22900 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22902 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22904 (fpu_short_memory_tests): Likewise.
22906 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22908 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22909 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22910 .stabs directives in comments.
22912 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22914 * TODO: New file, describing tests we could write.
22915 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22917 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22919 * gdb.t06/signals.exp: Add kludge to force re-sync.
22921 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22922 to xgdb instead of gdb, get out of gdb.
22924 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22926 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22929 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22931 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22932 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22933 * gdb.stabs/hppa.sed: New sed script for the PA.
22935 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22937 * gdb.stabs: Re-write weird.def and configuration to use sed
22938 instead of cpp. sed is portable and POSIX; cpp is neither.
22940 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22942 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22944 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22946 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22948 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22950 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22952 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22953 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22955 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22957 * lib/gdb.exp: Comment out code which depends on non-existent
22958 `transform' procedure.
22960 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22962 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22963 * lib/gdb.exp: Transform tool name.
22964 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22965 1.1's new error handling system.
22967 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22969 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22971 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22973 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22974 They made pattern matching so slow that timeouts happened on
22975 heavily loaded systems. Now any output from "show print" which
22976 gets us back to the GDB prompt is a PASS.
22978 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22980 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22982 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22984 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22986 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22987 It is not from PR 3220.
22989 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22991 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22992 just started failing because they depended on the order the
22993 subcommands are presented, or exact docstring text. This kind of
22994 test is a pain and has minimal benefit.
22996 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22998 * gdb.t09/corefile.exp: At end of test, use "core" command with
23001 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23003 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23004 17}/Makefile.in: Make it possible to run the testsuite with Sun
23005 make and CC = cross gcc by adding explicit build rules for .o
23008 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23010 * gdb.t15/funcargs.exp: Don't put comments on same line as
23011 setup_xfail (@#$*%& tcl braindamage!).
23013 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23015 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23017 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23019 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23020 * gdb.t20/inherit.exp: remove three dumplicate entries.
23022 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23024 * gdb.t06/break.exp: For "next over recursive call", fail on any
23025 incorrect output, not just on "factorial (value=2)".
23027 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23029 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23030 working now. Add an xfail if accesing a bss variable causes
23031 a memory error if the target is not yet run.
23033 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23035 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23036 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23037 name of __st* demangling (2 strings). Did Kung really get the
23038 more than 95 others right without testing them?
23040 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23042 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23044 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23046 * configure.in (configdirs): Add gdb.disasm
23047 * gdb.disasm: New directory for GDB disassembler tests.
23048 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23050 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23052 * gdb.t00/help.exp: Don't test "help set".
23054 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23055 from within expect statements. None of these happen anymore and
23056 they cause regressions to be silently unnoticed.
23058 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23059 messages) about known failures with gcc cygnus-2.4.5-930417.
23061 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23062 comp-info.exp so it gets built if it doesn't exist.
23064 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23065 it is no longer used.
23066 * gdb.t13/comp-info.c: Removed.
23068 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23070 * gdb.t06/signals.exp: Add xfail for sun3.
23072 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23074 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23075 relevant because ^C doesn't get sent but failure can be reproduced
23078 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23080 * gdb.stabs/alpha.mt: New configuration file for alpha.
23081 * gdb.stabs/configure.in: Use it.
23082 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23083 sharing with alpha.mt, redefine long to word via preprocessor.
23084 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23086 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23088 * gdb.t00/teststrategy.exp: Change expect string so that we
23089 consume the `(xgdb)' from the command echo and from the gdb prompt.
23090 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23091 gdb currently compares all values as long, so this failure probably
23092 applies to any configuration where LONGEST is bigger than a target int.
23093 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23095 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23096 to handle opaque pointers, gcc is.
23097 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23098 as first argument. Include <sys/types.h> and change all operator
23099 new definitions to use size_t.
23100 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23101 now that we use size_t.
23103 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23105 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23106 a long or float array cast all array members to the same type.
23107 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23109 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23111 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23113 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23115 * gdb.t24 (demangle.exp): Constructors of templates have names like
23116 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23117 section 14.6 of the ARM.
23119 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23120 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23121 accomplish little and slow down the testsuite.
23123 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23124 Accept spaces various places.
23126 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23128 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23129 with watchpoint enabled.
23131 * Makefile.in: Remove definition of CC and remove the second
23132 definition of CXX (the "CXX = gcc" one remains). These definitions
23133 were causing backquotes to be expanded within backquotes, which
23136 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23138 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23140 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23142 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23143 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23144 by mips cc and contains no stabs entries.
23146 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23148 * config/vx-gdb.exp: Use fake device to load files rather than
23150 * lib/gdb.exp: New proc to do "file" command.
23151 * config/unix-gdb.exp: Use new "file" proc.
23153 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23155 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23156 Rework board rebooting slightly.
23157 (gdb_exit): Don't exit from the remote shell; there isn't one.
23158 * gdb.stabs/weird.exp: If a program is being debugged already,
23160 * gdb.t04/setvar.exp: Stop and restart gdb.
23161 * gdb.t05/expr.exp: Likewise.
23162 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23163 restart gdb and reload the program.
23164 * gdb.t08/opaque.exp: Likewise.
23165 * gdb.t12/scope.exp: Likewise.
23166 * gdb.t13/bitfields.exp: Likewise.
23167 * gdb.t15/funcargs.exp: Likewise.
23168 * gdb.t20/classes.exp: Likewise.
23169 * gdb.t03/ptype.exp: Increase timeout.
23170 * gdb.t16/printcmds.exp (test_print_string_constants,
23171 test_print_array_constants): Likewise.
23172 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23173 * gdb.t20/classes.exp (do_tests): Likewise.
23174 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23176 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23178 * gdb.stabs: Renamed *wierd* to *weird*.
23180 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23182 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23183 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23185 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23187 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23188 (do_tests): Remove xfail for whatis on one_var and two_var.
23190 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23192 * Makefile.in: Made cross building work better by adding
23193 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23195 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23197 * gdb.t15/{return.c,return.exp,Makefile.in}:
23198 New test, currently commented out.
23200 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23202 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23203 still running and removes the leftover named socket so GDb can do
23206 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23208 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23210 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23211 cross testing works better with "make check"
23212 * config/unix-gdb: Use default procedures for exit and version.
23213 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23214 with the newest VxWorks.
23216 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23218 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23221 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23222 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23224 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23226 * config/unix-gdb.exp: Remove this version of gdb_exit
23227 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23228 Rob says he'll look at it when he gets back to testing boards.
23230 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23232 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23233 an expected fail for certain ptype commands.
23235 * gdb.t20/classes.exp: Update expected results of "ptype class
23236 Base1" to account for the constructor that now appears in the type.
23238 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23240 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23241 disappeared from list.
23242 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23243 "alldone" proc with call to cleanup and exit.
23244 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23245 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23246 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23247 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23248 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23249 "alldone" proc with simple returns that suppress remaining
23250 tests. The alldone proc went away many months ago.
23252 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23254 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23256 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23258 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23260 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23261 as vax gdb will display them.
23263 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23265 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23268 * scope.exp: Change "bad value for localval" messages so each one
23271 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23272 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23274 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23276 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23278 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23279 doesn't exist (due to optimization).
23281 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23283 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23284 contains \r because the filename is long.
23286 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23287 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23289 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23291 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23292 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23294 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23296 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23298 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23300 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23302 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23303 to match does not match the passing case but still matches the
23306 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23308 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23310 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23312 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23313 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23314 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23315 Remove various versions of gdb_exit.
23316 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23318 * config/unix-gdb.exp: gdb_exit remains here, and should override
23319 the generic version, since it's doing a lot of wierd stuff that
23320 the other versions aren't. FIXME, fold it in, or abandon this
23323 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23325 * gdb.t24/demangle.exp: Add tests for PR 3220.
23327 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23329 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23331 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23333 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23334 "i386-*-*". Works for i486 as well.
23336 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23337 bug, and expand domain of xfail to all SVR4 systems, since the
23338 actual problem is likely to be in generic SVR4 /proc support.
23340 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23342 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23344 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23346 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23347 xfails for other systems. Match a missing 'Continuing.' as an
23348 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23350 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23351 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23352 Only issue warning for missing executables if -all option is used.
23354 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23355 file if -all option is used. It's like an unpredictable XFAIL.
23357 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23359 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23360 for dynamically linked binaries.
23362 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23364 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23366 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23367 to state that this is a known bug in old versions of g++.
23369 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23371 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23372 while waiting for `Continuing'.
23374 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23376 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23377 in text, data, and bss.
23378 * gdb.t10/nodebug.c: Add local and global test variables for
23379 initialized and uninitialized data.
23381 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23383 * config/unix-gdb.exp (gdb_exit): Add "wait".
23385 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23387 * gdb.t06/signals.exp: xfail the continue from the handler for all
23390 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23391 function with watchpoints enabled, the i386 call dummy starts with
23394 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23395 386 bsd names its corefiles.
23397 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23399 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23400 compilers don't grok it.
23401 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23402 with small octal ints rather than character constants, which
23403 are signed and might not fit if first promoted to int.
23405 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23407 * gdb.t09/Makefile.in (clean): Remove corefile.
23409 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23411 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23413 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23414 and Jim Kingdon (kingdon@cygnus.com)
23416 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23417 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23418 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23420 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23422 * gdb.t17/interrupt.exp: Add xfail for hppa.
23424 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23426 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23427 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23428 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23429 to determine signed-ness of bitfields and use the result to setup
23431 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23432 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23433 call line is reached if necessary.
23435 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23437 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23439 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23441 * gdb.t06/break.exp: Also test `clear' command.
23443 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23445 * gdb.t00/teststrategy.exp: Remove extra quote.
23447 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23448 watchpoint enabled to be for all non-68k machines.
23450 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23452 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23454 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23455 targets use aout.mt instead of ecoff.mt as gas understands
23456 standard aout format.
23458 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23460 * lib/gdb.exp (runto): Don't insist that function we are running to
23461 was compiled with -g.
23463 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23465 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23466 to get back into the read system call.
23467 Accept leading newline in case where we woke it up.
23469 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23471 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23472 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23473 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23474 enable ecoff configuration.
23476 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23478 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23480 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23482 * gdb.t16/printcmds.exp: Add another printf test.
23484 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23486 * configure.in: If configured -with-stabs on any target, add
23487 stabsdirs to configdirs.
23489 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23491 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23492 fun" so pattern does not match the command itself.
23494 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23496 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23498 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23500 * gdb.t17/interrupt.exp: Test for more things.
23502 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23504 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23505 compiler arranges the code and line numbers.
23507 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23509 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23511 * gdb.t00/help.exp: Increase expect input buffer size.
23513 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23515 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23517 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23519 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23521 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23522 [0-9]*, not just [0-9].
23524 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23526 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23528 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23530 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23532 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23534 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23536 * gdb.t06/signals.c: Add xfails for sun3.
23538 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23540 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23541 test_stepping tests.
23543 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23545 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23547 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23549 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23550 rather than actually putting it through cpp twice.
23552 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23554 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23556 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23559 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23561 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23563 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23564 C++ features prints as "struct", make it a pass, not an xfail.
23566 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23568 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23569 Don't require VA to print as "class" rather than "struct".
23571 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23573 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23575 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23577 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23579 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23581 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23584 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23586 * gdb.t16/printcmds.exp: Add printf tests.
23588 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23590 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23592 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23594 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23595 pass counts, to counteract any existing or future setup_xfails.
23597 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23599 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23600 {BEGIN,END}_COMMON for common block instead of STAB.
23601 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23603 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23604 intp_var should be N_GSYM not N_LSYM.
23605 wierd-aout.S: Use a label for the value of the N_SO.
23606 wierd.def: Remove all backslashes.
23607 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23609 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23611 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23612 get the expected next to inheritance3.
23614 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23616 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23617 now that gcc-2.4 gets it right.
23619 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23621 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23623 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23624 generating comp-info.exp which works for cross-compilation.
23626 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23628 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23631 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23633 * gdb.t01/run.exp: Start with a fresh gdb.
23634 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23637 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23639 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23640 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23641 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23642 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23645 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23647 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23648 test cases from bug reports.
23650 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23652 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23653 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23654 avoid spurious xfails.
23655 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23656 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23657 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23659 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23661 * gdb.t00/teststrategy.exp: Rework to provide more useful
23662 description of each test, fix problem with systems that define
23663 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23664 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23665 results for "next over recursive call" so timeouts aren't taken
23668 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23670 * gdb.t12/scope.exp: Test printing of variables before run.
23672 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23673 printed in wrong order due to sorting.
23675 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23677 * gdb.t00/teststrategy.exp: Fix expected results for printing
23678 user entered string constant. Is array of char, prints with no
23681 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23683 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23684 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23685 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23686 of struct of char arrays.
23687 * gdb.t00/radix.exp: New tests for radix commands.
23689 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23691 * gdb.t16/printcmd.exp: Print a variable before running program
23692 (with xfail for AIX).
23694 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23696 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23698 * gdb.t16/printcmd.exp: Don't print variables before running program.
23700 * gdb.t06/break.exp: Don't require envp argument to main.
23702 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23704 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23705 Add xfails for rs6000.
23707 * gdb.t02/whatis.exp: Change other tests not to re-test something
23710 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23711 each type used has a variable of that type.
23713 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23715 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23717 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23719 * configure.in: change srctrigger to be a file, not a directory
23721 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23723 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23725 * gdb.t11/list.exp: Fixed a couple of typos.
23727 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23729 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23730 is fixed and PR is closed.
23731 * gdb.t16 (gdbme.c): Add simple test string variable.
23732 * gdb.t16 (printcmds.exp): Add tests with simple test string
23733 variable, primarily for boundaries on "set print elements".
23735 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23737 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23738 Make leading 0's optional and don't expect a tab in the middle
23741 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23743 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23744 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23745 don't end command passed to gdb_test with newline.
23747 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23748 signed keyword away, don't expect signed bitfields to be signed.
23750 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23751 printing with only as many 1's as are in the field as well as printing
23752 with 32 1's (see comment).
23754 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23756 * gdb.t00/default.exp: Start with a fresh gdb.
23757 * configure.in (configdirs): Remove gdb.t31 until the chill
23758 compiler works again. It no longer is able to find chillrt0
23759 since it isn't in libchill.a anymore.
23760 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23761 wierd.o, make more modular.
23762 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23763 spurious newlines that caused problems.
23765 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23767 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23768 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23769 gdb.stabs/wierd.{exp,def}: Many new tests.
23771 * gdb.t00/default.exp: update info line for new message.
23773 * gdb.t02/{whatis.exp,gdbme.c}:
23774 Test that "char *" doesn't print as "caddr_t".
23776 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23778 * gdb.t00/help.exp: Use .* in place of some help messages which
23780 gdb.t00/default.exp: Update "info frame" test for new message.
23781 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23784 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23786 * gdb.t03/{gdbme.c,ptype.exp}:
23787 Add tests for typedef'd struct and union without tags.
23788 Also check "whatis" on a variable of a typedef'd enum without a tag.
23790 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23791 PRMS 1823; the bug still exists but isn't reproduced by this test
23792 anymore), and remove rs6000 XFAIL (the bug is fixed).
23794 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23795 duplicated from whatis.exp. For those that are left, accept
23796 "long", "long int", or "int" for long variables (whatis.exp already
23797 has an XFAIL for "int", so no need to fail it here).
23799 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23800 Deal with GCC's names for types now that GDB uses the compiler's names.
23802 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23803 setup_xfail's for sunos4. If we #defined the signed keyword away,
23804 don't expect GDB to know that char it is signed.
23806 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23808 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23810 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23811 should work on any system, regardless of debugging format.
23812 * gdb.t21/demangle.exp: Move to gdb.t24.
23813 * gdb.t24/demangle.exp: Move from gdb.t21.
23814 * gdb.t24/{Makefile.in, configure.in}: New files.
23816 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23818 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23819 * gdb.stabs: New directory.
23821 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23823 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23824 not just "Quit anyway?".
23826 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23828 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23829 that all setup_xfails are immediately followed by clear_xfails.
23831 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23833 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23834 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23835 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23836 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23837 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23838 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23839 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23840 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23841 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23842 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23843 gdb.t31/chillvars.exp, lib/gdb.exp:
23844 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23845 bug-gdb@prep.ai.mit.edu.
23847 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23849 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23850 with 0.0, not integer 0.
23852 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23854 * gdb.t06/break.exp: Update for "Kill the program" message change.
23856 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23858 * Makefile.in (GDBFLAGS): Set to -nx.
23859 * Makefile.in (site.exp): Use GDBFLAGS.
23861 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23863 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23865 (check): depend on just-check.
23866 (just-check): added so that tests can be run without a noop
23869 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23871 Switch to using configure's configdirs.
23872 * Makefile.in (Makefile): add configure.in dependency.
23873 (SUBDIRS): removed redundant assignment.
23874 * configure.in: switch subdirs assignment to configdirs.
23875 * gdb.t*/configure.in: new files.
23877 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23879 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23882 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23884 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23885 in explicit rules. Apparently this is not supported by some makes.
23887 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23889 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23891 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23893 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23896 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23898 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23900 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23902 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23903 watchpoint problem that is now fixed.
23904 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23905 uninitialized convenience variables.
23906 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23909 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23911 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23912 which causes expect to get out of sync with gdb on long output
23914 * gdb.t09/corefile.exp: Make expected pattern for core file
23915 failing signal and frame output format less sun specific.
23917 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23919 * gdb.t31/chillvars.exp: Add and remove initial dummy
23920 breakpoint, so that symbol table is forced in.
23921 (Needed at least on Sunos4, though it seems not SVR4.)
23922 * gdb.t31/chillvars.exp: Update for changed output format.
23924 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23926 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23928 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23930 * Makefile.in: Added --srcdir when invoking runtest, removed the
23931 need for a local config file. (optional now)
23933 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23935 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23936 failure count used to force early termination. Add some more
23937 expected failures for gnu style demangling.
23939 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23941 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23942 pmi variable from gdb.t20/gdbme to get optimized away.
23943 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23944 Check for written corefile upon timeout _and_ eof.
23946 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23948 * config/unix-gdb.exp: Add missing return 0.
23950 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23952 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23955 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23957 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23960 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23962 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23963 time as i860 support works.
23965 * gdb.t15/funcargs.exp: Fix expected outputs to include
23966 "backtrace 100\r" rather than just "backtrace\r", to match last
23969 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23971 * config/udi-gdb.exp (gdb_exit): Remove close command.
23972 (gdb_target_udi): New procedure to set the UDI target.
23973 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23974 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23975 Added waits for prompts after several question responses. Added
23976 some more responses used by a29k-amd-udi-gdb.
23977 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23978 pass different arguments, restart UDI connection after program
23980 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23981 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23982 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23983 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23984 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23985 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23986 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23987 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23988 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23989 after program completion.
23990 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23991 compiled with a SELECT_VECS setting.
23992 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23993 infinite recursion.
23995 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23996 Added checks for COFF results, and made them expected failures for
23997 all targets. It would be better to make them expected failures
23998 for COFF targets only.
24000 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24002 * Makefile.in: add null dvi target, don't bother to recurse
24003 through test directories for info and install-info; rename
24004 $(datadir) to be dejagnu instead of deja-gnu
24006 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24008 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24009 compiler to coredump.
24010 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24013 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24015 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24017 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24020 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24022 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24023 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24024 which in a shell. Deletes xgdb when done.
24025 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24026 Tests the return from the "set height" or "set width" commands.
24027 Added a few return codes where needed.
24029 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24031 * Makefile.in (SUBDIRS): Add gdb.t17.
24032 * configure.in (subdirs): Add gdb.t17.
24033 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24034 files to test gdb's calling of functions in the inferior with
24035 the correct arguments and gdb's ability to retrieve any
24038 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24040 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24041 may be called after gdb goes away. Previous versions of expect
24042 needed these to avoid file descriptor leaks, but they cause
24043 errors with the current revision of expect.
24044 * gdb.t00/gdbvars.exp: Use -re on expected output after
24045 setting sevenbit-strings.
24046 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24047 to set sevenbit-strings consistent across tests.
24048 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24049 set sevenbit-strings consistent across tests.
24051 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24053 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24054 expected output to match current "expect" expectations.
24056 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24058 * gdb.t00/default.exp: Change expected output for default "source"
24059 command, to match new gdb behavior which requires a filename to
24062 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24064 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24065 expected fail for i486-*-* that misses the marker2 function.
24066 * gdb.t10/crossload.exp (bfddefault): Allow successful
24067 recognition of a format to pass even if no symbols are found.
24068 Explicitly catch failures where the format is not recognized
24069 or is ambiguous, and add the reason to the fail message.
24070 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24071 the cause is and invalid target and add reason to failure message.
24072 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24073 elf32-i386, elf32-sparc, and elf32-i860.
24074 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24075 Set up expected failure for 'filename'::variable scope resolution,
24076 which is now apparently broken on all targets.
24077 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24078 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24079 gdb.t23/templates.exp: Change failure for missing binfile into
24081 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24084 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24086 * gdb.t00/default.exp: Add expected output for default "source"
24087 command, to match new gdb behavior.
24088 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24090 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24092 * config/*-gdb.exp: returns an error, rather than exiting on
24095 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24097 * gdb.t03/gdbme.c: Add pointer to struct variable.
24098 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24099 referencing struct members.
24101 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24103 * configure.in (mips-idt-ecoff): New target.
24104 * config/mips-gdb.exp: New file for remote board using MIPS remote
24105 debugging protocol.
24107 * Redid configuration scheme. Removed gdb.t*/configure.in.
24108 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24109 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24110 distclean targets. Built executables via .o files. Adjusted
24111 tests to account for source files in $(srcdir) rather than
24113 * lib/gdb.exp (runto): Don't expect () after the function name,
24114 because it may have arguments.
24116 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24118 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24119 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24120 expected failures for mips-idt-* and mips-sgi-*.
24121 * gdb.t00/default.exp (attach): Kill process if requested.
24122 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24123 that does not read core files.
24124 * gdb.t01/run.exp: Removed checks for exit status code.
24125 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24127 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24128 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24129 appropriate, rather than doing it by hand.
24130 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24132 * gdb.t10/crossload.exp: Kill existing program if needed.
24133 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24134 appropriate, rather than doing it by hand. Always increase
24135 timeout for this test, not just for VxWorks.
24137 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24139 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24140 of Chill STRUCT types and STRUCT values.
24141 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24143 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24144 struct2): New struct definitions and initializations to test
24145 simple Chill STRUCT types.
24147 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24149 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24150 the null byte at the end of strings.
24151 * gdb.t00/default.exp: Make show version insensitive to copyright
24153 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24154 to avoid dependencies on target char signedness.
24155 * gdb.t16/printcmds.exp: Update expected results for explicitly
24157 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24159 * gdb.t21/demangle.exp: Add many more patterns for template
24160 demangling, most of them being expected failures.
24161 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24162 string we are matching for, to match on the whole string.
24163 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24164 and fix a whole bunch that had incorrect expected output but were
24165 passing anyway because of the bug in "proc demangle".
24166 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24168 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24170 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24172 * gdb/testsuite: made modifications to testcases, etc., to allow
24173 them to work properly given the reorganization of deja-gnu and the
24174 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24176 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24178 * gdb/testsuite: Initial creation of gdb/testsuite.
24179 Migrated dejagnu testcases and support files for testing nm to
24180 gdb/testsuite from deja-gnu. These files were moved "as is"
24181 with no modifications. This migration is part of a major overhaul
24182 of dejagnu. The modifications to these testcases, etc., which
24183 will allow them to work with the new version of dejagnu will be
24184 made in a future update.
24186 For additional changes see gdb.mi/ChangeLog-1999-2003.
24188 ;; Local Variables:
24189 ;; mode: change-log
24192 ;; version-control: never
24195 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24196 2003, 2004, 2005 Free Software Foundation, Inc.
24197 Copying and distribution of this file, with or without modification,
24198 are permitted provided the copyright notice and this notice are preserved.