1 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.threads/leader-exit.c: New file.
4 * gdb.threads/leader-exit.exp: New file.
6 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
10 2011-05-27 Marek Polacek <mpolacek@redhat.com>
12 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
13 remove the `supported' variable.
14 * gdb.mi/mi-nonstop.exp: Likewise.
15 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16 * gdb.mi/mi-nsintrall.exp: Likewise.
17 * gdb.mi/mi-nsmoribund.exp: Likewise.
18 * gdb.mi/mi-nsthrexec.exp: Likewise.
20 2011-05-26 Pedro Alves <pedro@codesourcery.com>
22 * gdb.reverse/finish-reverse-bkpt.exp: New test.
24 2011-05-26 Pedro Alves <pedro@codesourcery.com>
26 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
28 2011-05-24 Keith Seitz <keiths@redhat.com>
31 * gdb.cp/cmpd-minsyms.cc (a): New method.
34 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
36 2011-05-24 Pedro Alves <pedro@codesourcery.com>
38 * gdb.base/commands.exp (watchpoint_command_test): Check that the
39 watchpoint's command list didn't execute when the watchpoint went
42 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
44 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
45 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
46 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
47 * gdb.arch/i386-gnu-cfi.exp: Likewise.
48 * gdb.arch/i386-permbkpt.exp: Likewise.
49 * gdb.arch/i386-prologue.exp: Likewise.
50 * gdb.arch/i386-size-overlap.exp: Likewise.
51 * gdb.arch/i386-size.exp: Likewise.
52 * gdb.arch/i386-unwind.exp: Likewise.
53 * gdb.reverse/i386-precsave.exp: Likewise.
54 * gdb.reverse/i386-reverse.exp: Likewise.
55 * gdb.reverse/i386-sse-reverse.exp: Likewise.
56 * gdb.reverse/i387-env-reverse.exp: Likewise.
57 * gdb.reverse/i387-stack-reverse.exp: Likewise.
59 2011-05-24 Pedro Alves <pedro@codesourcery.com>
61 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
62 file doesn't error, using MI.
64 2011-05-23 Tom Tromey <tromey@redhat.com>
66 * gdb.base/charset.exp (string_display): Add tests to assign to
68 * gdb.base/charset.c (short_array, int_array, long_array): New.
70 2011-05-20 Pedro Alves <pedro@codesourcery.com>
74 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
75 into gdb_test + mi_expect_stop.
77 2011-05-20 Pedro Alves <pedro@codesourcery.com>
79 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
80 (callme): Remove printf call.
82 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
84 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
85 quote pattern to avoid problems with Cygwin/mingw expect versions.
86 * gdb.base/default.exp (show convenience): Use double
87 quote pattern for regular expressions.
89 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
91 Fix -readnow for -gdwarf-4 unused type units.
92 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
93 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
95 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
97 * gdb.base/kill-after-signal.c: New file.
98 * gdb.base/kill-after-signal.exp: New file.
100 2011-05-16 Pedro Alves <pedro@codesourcery.com>
102 * gdb.ada/start.exp: Call untested with the correct test filename.
103 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
104 test filename. Make the test's binary unique.
105 * gdb.arch/i386-signal.exp: Call untested with the correct test
107 * gdb.arch/i386-size-overlap.exp: Ditto.
108 * gdb.arch/Makefile.in (EXECUTABLES): Update.
109 * gdb.base/gcore-buffer-overflow.exp: Ditto.
110 * gdb.cp/call-c.exp: Ditto.
111 * gdb.mi/mi-reverse.exp: Call untested with the correct test
112 filename. Make the test's binary unique.
113 * gdb.mi/Makefile.in (EXECUTABLES): Update.
114 * gdb.python/py-mi.exp: Ditto.
115 * gdb.python/Makefile.in (EXECUTABLES): Update.
116 * gdb.reverse/i386-precsave.exp: Ditto.
117 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
119 * gdb.reverse/i387-stack-reverse.exp: Ditto.
120 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
122 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
124 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
125 * gdb.trace/tfile.exp: Ditto.
127 2011-05-14 Yao Qi <yao@codesourcery.com>
129 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
132 2011-05-13 Doug Evans <dje@google.com>
134 * gdb.python/py-objfile-script.exp: New file.
135 * gdb.python/py-objfile-script.c: New file.
136 * gdb.python/py-objfile-script-gdb.py: New file.
137 * testsuite/gdb.python/py-section-script.exp: Test
138 "info auto-load-scripts".
140 2011-05-13 Tom Tromey <tromey@redhat.com>
142 * gdb.dwarf2/clztest.exp: New file.
143 * gdb.dwarf2/clztest.c: New file.
144 * gdb.dwarf2/clztest.S: New file.
146 2011-05-13 Doug Evans <dje@google.com>
148 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
151 2011-05-13 Tom Tromey <tromey@redhat.com>
153 * lib/gdb.exp (is_x86_like_target): New proc.
154 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
155 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
156 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
157 -nostdlib to compiler.
158 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
159 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
160 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
161 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
162 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
164 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
166 * gdb.python/py-function.exp: Test setting a value from a function
167 which executes a command.
169 2011-05-12 Tom Tromey <tromey@redhat.com>
171 * gdb.dwarf2/typeddwarf.S: New file.
172 * gdb.dwarf2/typeddwarf.c: New file.
173 * gdb.dwarf2/typeddwarf.exp: New file.
175 2011-05-12 Marek Polacek <mpolacek@redhat.com>
177 * gdb.mi/mi-basics.exp: Fix races. Honour the
178 `test_exec_and_symbol_mi_operatons' return value.
179 (test_mi_interpreter_selection): Use mi_gdb_test instead of
181 (test_exec_and_symbol_mi_operatons): Likewise.
182 (test_path_specification): Likewise.
184 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
186 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
187 (gdb_touch_execfile): Remove catch wrappers. New variable time.
188 Replace `file copy' and `file rename' by `file mtime'. Twice.
190 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
192 * gdb.base/readline-ask.c: New file.
193 * gdb.base/readline-ask.exp: New file.
194 * gdb.base/readline-ask.inputrc: New file.
196 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
198 * gdb.cell/bt.exp: Delete breakpoints before running to signal
199 to avoid race condition.
200 * gdb.cell/coremaker.c: Use small stack size.
201 * gdb.cell/ea-standalone.exp: Use file name without path as
203 * gdb.cell/fork.exp: Allow other output when continuing to end.
205 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
207 * gdb.threads/corethreads.c: New file.
208 * gdb.threads/corethreads.exp: New file.
210 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
212 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
213 Try to compile the test using -Wl,-z,norelro first.
214 (load_core): New variable libthread_db_seen, initialize it.
215 (zeroed-threads cannot be listed): Protect it by XFAIL on
218 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
221 * gdb.dwarf2/dw2-skip-prologue.S: New file.
222 * gdb.dwarf2/dw2-skip-prologue.c: New file.
223 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
225 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
227 * gdb.cp/psymtab-parameter.cc: New file.
228 * gdb.cp/psymtab-parameter.exp: New file.
230 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
233 * gdb.cp/static-print-quit.exp (print c): Split to ...
234 (print c - <return>, print c - q <return>, print c - to quit):
235 ... these. Make the testfile untested on gdb-7.1.
237 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
239 * lib/gdb.exp (exec_target_file, exec_symbol_file,
240 gdb_rename_execfile, gdb_touch_execfile): New.
241 * gdb.base/reread.exp: Use new procs to handle multiple
244 2011-05-05 Yao Qi <yao@codesourcery.com>
246 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
247 (test_adr_32bit, test_pop_pc): New.
248 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
249 (test_adr_32bit, test_pop_pc): New.
251 2011-05-04 Joseph Myers <joseph@codesourcery.com>
253 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
254 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
256 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
259 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
261 * gdb.base/completion.exp (complete help info wat): Rename to ...
262 (complete 'help info wat'): ... here.
263 Remove all `-re ".*' and `-re "^.*' redundant regexes.
264 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
266 2011-05-04 Pedro Alves <pedro@codesourcery.com>
268 * gdb.base/completion.exp: Use gdb_test_multiple instead of
269 gdb_test and explicit $gdb_prompt/timeout matches.
271 2011-05-04 Yao Qi <yao@codesourcery.com>
273 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
276 2011-05-03 Marek Polacek <mpolacek@redhat.com>
278 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
279 in place of `gdb_test "delete breakpoints"'. This eliminates two
282 2011-05-02 Pedro Alves <pedro@codesourcery.com>
287 * gdb.base/completion.exp: Remove all sleep calls. Remove
288 unnecessary regexs. Don't explicitly expect anything after the
289 prompt. Eat the prompt if necessary.
291 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
293 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
294 accept to show the caller line again as well as the line after.
296 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
300 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
302 * gdb.python/py-prettyprint.exp: Add C++ object for
303 CPLUS_FAKE_CHILD test.
305 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
307 * gdb.base/signest.exp: New file.
308 * gdb.base/signest.c: Likewise.
310 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
312 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
313 thread and breakpoint notifications.
315 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
317 * gdb.base/fortran-sym-case.c: New file.
318 * gdb.base/fortran-sym-case.exp: New file.
319 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
320 * gdb.dwarf2/dw2-case-insensitive.c: New file.
321 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
323 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
325 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
326 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
327 false #1', `if true else false #2' and `if true else false #3'.
329 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
331 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
332 while delivering signal.
334 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
336 MI breakpoint notifications.
338 * testsuite/gdb.mi/mi-cli.exp: Adust.
339 * testsuite/gdb.mi/mi2-cli.exp: Adust.
340 * testsuite/gdb.mi/mi-watch.exp: Adust.
341 * testsuite/gdb.mi/mi2-watch.exp: Adust.
342 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
345 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
347 * gdb.base/gdbindex-stabs-dwarf.c: New file.
348 * gdb.base/gdbindex-stabs.c: New file.
349 * gdb.base/gdbindex-stabs.exp: New file.
351 2011-04-25 Yao Qi <yao@codesourcery.com>
353 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
355 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
357 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
359 * gdb.python/py-value.exp (test_objfiles): Name the first test
360 `py-value in file.filename'.
362 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
364 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
365 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
366 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
367 !gdbserver_reconnect_p..
368 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
370 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
372 * gdb.cp/cpcompletion.exp (complete class methods)
373 (complete class methods beginning with F): Move them above runto. New
374 comment about the runto delimiter.
376 2011-04-20 Pedro Alves <pedro@codesourcery.com>
378 * gdb.base/maint.exp: Test that "maint print registers" works
379 without a running program.
381 2011-04-20 Marek Polacek <mpolacek@redhat.com>
383 * gdb.base/setshow.exp: Fix racy tests.
384 ($old_gdb_prompt): New variable.
386 2011-04-19 Tom Tromey <tromey@redhat.com>
388 * gdb.mi/mi-nsmoribund.exp:
389 * gdb.hp/gdb.objdbg/objdbg01.exp:
390 * gdb.base/structs.exp (test_struct_returns):
391 * gdb.base/call-sc.exp (test_scalar_returns):
392 * gdb.base/bigcore.exp: Remove duplicate words.
394 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
396 * gdb.base/break-interp-lib.c (v, vptr): New variables.
397 * gdb.base/break-interp.exp (test_attach): New comment.
399 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
401 * gdb.threads/gcore-thread.exp ($core0file): New variable.
402 (clear __stack_user.next, clear stack_used.next)
403 (save a zeroed-threads corefile): New test.
404 Call core_load for $core0file.
405 (zeroed-threads cannot be listed): New test.
407 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
409 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
411 ($srcfile): Preserve the original value.
412 ($testfile): Match it the .exp filename.
413 ($corefile): New variable. Substitute it around.
415 ($prev_timeout): Remove.
416 (load_core): Move core loading into this proc.
417 Fix restore of $timeout if load_core fails.
419 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
421 * gdb.base/eu-strip-infcall.c: New file.
422 * gdb.base/eu-strip-infcall.exp: New file.
424 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
426 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
427 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
429 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
431 Fix Python access to inlined frames.
432 * gdb.python/py-frame-inline.c: New file.
433 * gdb.python/py-frame-inline.exp: New file.
435 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
437 * gdb.base/gdb1090.exp: Change breakpoint location to read the
438 content of 's24' correctly (avoiding "optimized out").
439 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
441 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
443 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
445 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
447 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
448 expect a colon in watch -location output.
450 2011-04-13 Marek Polacek <mpolacek@redhat.com>
452 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
453 New testcase `expect response to define backtrace'. Also remove
454 redundant `default' block.
456 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
458 * gdb.python/py-prettyprint.c (struct hint_error): New.
459 (main): New variable hint_error.
460 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
462 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
463 (register_pretty_printers): Register it.
465 2011-04-04 Tom Tromey <tromey@redhat.com>
467 * gdb.cp/maint.exp (test_help): Update.
468 (test_namespace): Likewise.
470 2011-04-01 Joel Brobecker <brobecker@adacore.com>
472 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
473 * gdb.ada/arrayptr.exp: Add new tests.
475 2011-04-01 Joel Brobecker <brobecker@adacore.com>
477 * gdb.ada/mi_catch_ex: New testcase.
479 2011-04-01 Pedro Alves <pedro@codesourcery.com>
481 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
482 base::overload(void) method without specifying "const".
484 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
486 * gdb.arch/thumb-singlestep.S: New file.
487 * gdb.arch/thumb-singlestep.exp: Likewise.
489 2011-03-31 Tom Tromey <tromey@redhat.com>
491 * gdb.python/py-prettyprint.py (exception_flag): New global.
492 (NoStringContainerPrinter._iterator.next): Check it.
493 * gdb.python/py-prettyprint.c (main): New variable nstype2.
494 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
496 2011-03-29 Tom Tromey <tromey@redhat.com>
498 * gdb.cp/anon-struct.cc: New file.
499 * gdb.cp/anon-struct.exp: New file.
501 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
503 Test STT_GNU_IFUNC support.
504 * gdb.base/gnu-ifunc-lib.c: New file.
505 * gdb.base/gnu-ifunc.c: New file.
506 * gdb.base/gnu-ifunc.exp: New file.
508 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
510 Support a ring of related breakpoints.
511 * gdb.base/watchpoint-delete.c: New file.
512 * gdb.base/watchpoint-delete.exp: New file.
514 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
516 * gdb.ada/arrayparam.exp (print first after function call): Use
517 explicit package name. Add a comment
518 (print lasta after function call): Rename ...
519 (print last after function call): ... it and use explicit package
521 (print length after function call): Use explicit package name.
522 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
523 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
524 (multiple matches for symbol i): Rename ...
525 (multiple matches for symbol integervar): ... it.
526 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
527 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
529 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
531 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
532 environment variable to make grep output more predictable. Move
533 all the environment setup into gdb_init so it's done once per test
534 case rather than each time we start gdb.
536 2011-03-24 Tom Tromey <tromey@redhat.com>
538 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
541 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
543 * gdb.dwarf2/dw2-entry-value-main.c: New file.
544 * gdb.dwarf2/dw2-entry-value.S: New file.
545 * gdb.dwarf2/dw2-entry-value.exp: New file.
547 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
551 * gdb.python/py-function.exp: Add GdbError tests.
553 2011-03-18 Pedro Alves <pedro@codesourcery.com>
555 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
556 (reglocal_test_func, statlocal_test_func): New functions.
557 (globals_test_func): Call new functions.
558 * gdb.trace/unavailable.exp (gdb_collect_args_test)
559 (gdb_collect_locals_test): New procedure.
560 (gdb_trace_collection_test): Call new procedures.
562 2011-03-18 Pedro Alves <pedro@codesourcery.com>
564 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
565 (test_register, test_register_unavailable): New procedures.
566 (gdb_unavailable_registers_test): New procedure.
567 (gdb_trace_collection_test): Call it.
569 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
573 * gdb.python/python.exp: Add gdb.write tests.
575 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
577 * gdb.python/Makefile.in: Add py-objfile.
578 * gdb.python/py-objfile.exp: New file.
579 * gdb.python/py-objfile.c: New file.
580 * gdb.python/py-block.exp: Add is_valid tests.
581 * gdb.python/py-inferior.exp: Ditto.
582 * gdb.python/py-infthread.exp: Ditto.
583 * gdb.python/py-symbol.exp: Ditto.
584 * gdb.python/py-symtab.exp: Ditto.
586 2011-03-16 Keith Seitz <keiths@redhat.com>
589 * gdb.cp/cmpd-minsyms.exp: New test.
590 * gdb.cp/cmpd-minsyms.cc: New file.
593 * gdb.cp/ovsrch.exp: New test.
594 * gdb.cp/ovsrch.h: New file.
595 * gdb.cp/ovsrch1.cc: New file.
596 * gdb.cp/ovsrch2.cc: New file.
597 * gdb.cp/ovsrch3.cc: New file.
598 * gdb.cp/ovsrch4.cc: New file.
600 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
603 * gdb.base/Makefile.in: Adjust EXECUTABLES.
604 * gdb.base/break-on-linker-gcd-function.exp: New test.
605 * gdb.base/break-on-linker-gcd-function.cc: New file.
607 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
609 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
611 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
613 * lib/gdb.exp (gdb_unload): Add another termination case.
615 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
617 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
618 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
619 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
620 Provide a stub byte there.
621 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
623 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
625 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
627 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
628 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
630 (altivec_abi_tests): Accept vectors returned by reference.
632 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
634 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
636 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
638 * gdb.python/py-section-script.exp: Skip test if no Python support.
640 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
642 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
644 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
646 * gdb.python/py-parameter.exp: Update tests to the new Python
647 parameter API. Add "no documentation" test. Add deprecated API
648 backward compatibility test.
650 2011-03-09 Tom Tromey <tromey@redhat.com>
652 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
655 2011-03-09 Mark Kettenis <kettenis@gnu.org>
657 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
660 2011-03-09 Tom Tromey <tromey@redhat.com>
662 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
664 (gdb_continue_to_end): Add "allow_extra" parameter. Use
666 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
667 argument to gdb_continue_to_end.
668 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
669 argument to gdb_continue_to_end.
670 * gdb.cp/annota3.exp: Fix regex.
671 * gdb.cp/annota2.exp: Fix regex.
672 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
674 * gdb.base/call-signal-resume.exp: Revert earlier patch.
675 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
678 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
680 * gdb.server/ext-run.exp
681 (load new file without any gdbserver inferior): New test.
683 2011-03-07 Tom Tromey <tromey@redhat.com>
685 * Makefile.in (TAGS): Rewrite.
687 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
689 * gdb.trace/report.exp (12.1: trace report #1): New match for the
690 initial commands echo. New match for `Found trace'. Anchor all the
691 other matches. Anchor and match for `No trace frame found' the final
694 2011-03-07 Tom Tromey <tromey@redhat.com>
696 * Makefile.in (TAGS): New target.
698 2011-03-07 Tom Tromey <tromey@redhat.com>
700 * lib/opencl.exp (skip_opencl_tests): Update for exit message
702 * lib/mi-support.exp (mi_gdb_test): Update for exit message
704 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
706 (skip_altivec_tests): Update for exit message change.
707 (skip_vsx_tests): Likewise.
708 (gdb_continue_to_end): Likewise. Add 'command' argument.
709 * lib/cell.exp (skip_cell_tests): Update for exit message change.
710 * gdb.threads/tls.exp: Update for exit message change.
711 * gdb.threads/thread-unwindonsignal.exp: Use
713 * gdb.threads/step.exp (step_it): Update for exit message change.
714 (continue_all): Likewise.
715 * gdb.threads/print-threads.exp (test_all_threads): Update for
717 * gdb.threads/interrupted-hand-call.exp: Use
719 * gdb.threads/execl.exp: Use gdb_continue_to_end.
720 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
722 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
723 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
724 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
725 * gdb.cp/method.exp: Update for exit message change.
726 * gdb.cp/mb-templates.exp: Update for exit message change.
727 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
728 * gdb.cp/annota3.exp: Update for exit message change.
729 * gdb.cp/annota2.exp: Update for exit message change.
730 * gdb.cell/fork.exp: Use gdb_continue_to_end.
731 * gdb.base/term.exp: Update for exit message change.
732 * gdb.base/step-test.exp (test_i): Update for exit message change.
733 * gdb.base/sigstep.exp (advance): Update for exit message change.
734 (advancei): Likewise.
735 * gdb.base/siginfo.exp: Update for exit message change.
736 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
737 * gdb.base/reread.exp: Use gdb_continue_to_end.
738 * gdb.base/langs.exp: Use gdb_continue_to_end.
739 * gdb.base/interrupt.exp: Update for exit message change.
740 * gdb.base/gdb1555.exp: Update for exit message change.
741 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
742 * gdb.base/ending-run.exp: Update for exit message change.
743 * gdb.base/chng-syms.exp: Update for exit message change.
744 * gdb.base/checkpoint.exp: Update for exit message change.
745 * gdb.base/catch-syscall.exp (check_for_program_end): Use
747 (test_catch_syscall_with_wrong_args): Likewise.
748 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
749 * gdb.base/break-interp.exp (test_ld): Update for exit message
751 * gdb.base/bang.exp: Update for exit message change.
752 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
753 (do_call_attach_tests): Likewise.
754 * gdb.base/a2-run.exp: Update for exit message change.
755 * gdb.arch/ppc-dfp.exp: Update for exit message change.
756 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
757 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
759 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
761 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
763 2011-03-03 Tom Tromey <tromey@redhat.com>
765 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
766 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
767 * gdb.hp/gdb.aCC/configure.ac: Remove.
768 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
769 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
770 * gdb.hp/gdb.base-hp/configure.ac: Remove.
771 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
772 * gdb.hp/gdb.compat/configure (Makefile): Remove.
773 * gdb.hp/gdb.compat/configure.ac: Remove.
774 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
775 * gdb.hp/gdb.defects/configure (Makefile): Remove.
776 * gdb.hp/gdb.defects/configure.ac: Remove.
777 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
778 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
779 * gdb.hp/gdb.objdbg/configure.ac: Remove.
780 * gdb.hp/configure.ac: Remove.
781 * gdb.hp/configure: Remove.
782 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
784 (Makefile): Remove rule.
785 * gdb.cell/configure.ac: Remove.
786 * gdb.cell/configure: Remove.
787 * gdb.stabs/Makefile.in (Makefile): Remove.
788 (distclean): Don't remove config.status or config.log.
789 * gdb.stabs/configure (Makefile): Remove.
790 * gdb.stabs/configure.ac: Remove.
791 * configure: Rebuild.
792 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
793 Remove stabs- and cell-specific logic. Test for existence of
794 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
795 subdirectories, gdb.cell, and and gdb.stabs.
796 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
798 2011-03-03 Joel Brobecker <brobecker@adacore.com>
800 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
803 2011-03-02 Joel Brobecker <brobecker@adacore.com>
805 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
806 gdb_test when running a test where we expected no output back.
808 2011-02-28 Michael Snyder <msnyder@vmware.com>
810 * gdb.cp/overload.cc: Change initializer value to integer.
812 2011-02-27 Michael Snyder <msnyder@vmware.com>
814 * gdb.multi/base.exp: Add test for remove-inferiors.
816 2011-02-26 Joel Brobecker <brobecker@adacore.com>
818 * gdb.python/py-frame.exp: Simplify the initialization phase
819 using prepare_for_testing.
821 2011-02-25 Michael Snyder <msnyder@vmware.com>
823 * gdb.multi/base.exp: Add tests for info inferiors with args.
825 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
827 * gdb.dwarf2/dw2-ranges.S: Rename to ...
828 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
829 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
830 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
831 asmfile3. Comment the STABS (#3) file compilation. Compile
832 everything through assembler. Provide KFAIL for symtab/12497.
833 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
834 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
835 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
836 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
838 2011-02-24 Michael Snyder <msnyder@vmware.com>
840 * gdb.base/break.exp: Add tests for delete breakpoints using
841 convenience variables and value history references.
843 2011-02-24 Michael Snyder <msnyder@vmware.com>
845 * gdb.base/break.exp: Remove debugging 'printf' accidentally
846 left behind in previous check-in.
848 2011-02-23 Michael Snyder <msnyder@vmware.com>
850 * gdb.base/break.exp: Add tests for "info break" with arguments.
851 * gdb.trace/infotrace.exp: Update patterns for error and help.
852 * gdb.base/completion.exp: Update pattern.
853 * gdb.base/ena-dis-br.exp: Update pattern.
854 * gdb.base/help.exp: Update patterns.
856 2011-02-23 Michael Snyder <msnyder@vmware.com>
858 * gdb.base/memattr.exp: New test.
859 * gdb.base/memattr.c: Test load for memattr.exp.
861 2011-02-22 Doug Evans <dje@google.com>
863 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
865 2011-02-22 Michael Snyder <msnyder@vmware.com>
867 * Makefile.in: Make more clean.
868 * gdb.ada/Makefile.in: Ditto.
869 * gdb.arch/Makefile.in: Ditto.
870 * gdb.asm/Makefile.in: Ditto.
871 * gdb.base/Makefile.in: Ditto.
872 * gdb.cp/Makefile.in: Ditto.
873 * gdb.dwarf2/Makefile.in: Ditto.
874 * gdb.java/Makefile.in: Ditto.
875 * gdb.mi/Makefile.in: Ditto.
876 * gdb.modula2/Makefile.in: Ditto.
877 * gdb.python/Makefile.in: Ditto.
878 * gdb.server/Makefile.in: Ditto.
879 * gdb.stabs/Makefile.in: Ditto.
880 * gdb.threads/Makefile.in: Ditto.
881 * gdb.trace/Makefile.in: Ditto.
883 2011-02-22 Michael Snyder <msnyder@vmware.com>
885 * gdb.threads/thread-find.exp: Add tests for bad input to
888 2011-02-22 Joel Brobecker <brobecker@adacore.com>
890 * gdb.python/py-breakpoint.exp: Fix the expected output of
891 one of the "maint info breakpoints" tests to accept the output
892 generated on platforms that do not have hardware watchpoints.
894 2011-02-22 Joel Brobecker <brobecker@adacore.com>
896 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
897 clean_restart. Be a little stricter in the expected output
898 for one of the tests. Fix a typo in one of the comments.
900 2011-02-22 Joel Brobecker <brobecker@adacore.com>
902 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
903 Delete variable binfile, no longer use. Add or modify test
904 comments to make them unique.
906 2011-02-21 Michael Snyder <msnyder@vmware.com>
908 * Makefile.in: Update for make clean.
909 * gdb.ada/Makefile.in: Ditto.
910 * gdb.arch/Makefile.in: Ditto.
911 * gdb.asm/Makefile.in: Ditto.
912 * gdb.base/Makefile.in: Ditto.
913 * gdb.cp/Makefile.in: Ditto.
914 * gdb.dwarf2/Makefile.in: Ditto.
915 * gdb.java/Makefile.in: Ditto.
916 * gdb.mi/Makefile.in: Ditto.
917 * gdb.modula2/Makefile.in: Ditto.
918 * gdb.python/Makefile.in: Ditto.
919 * gdb.server/Makefile.in: Ditto.
920 * gdb.stabs/Makefile.in: Ditto.
921 * gdb.threads/Makefile.in: Ditto.
922 * gdb.trace/Makefile.in: Ditto.
924 2011-02-21 Michael Snyder <msnyder@vmware.com>
926 * gdb.threads/thread-find.exp: Update patterns for changes in
927 output of "info threads" command.
929 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
930 Ulrich Weigand <uweigand@de.ibm.com>
932 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
933 (skip_hw_watchpoint_tests): Likewise.
934 (skip_hw_watchpoint_multi_tests): Likewise.
936 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
938 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
939 (skip_hw_watchpoint_tests): Likewise.
940 (skip_hw_watchpoint_multi_tests): Likewise.
941 (skip_hw_watchpoint_access_tests): Likewise.
943 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
944 * gdb.base/pr11022.exp: Likewise.
945 * gdb.base/watch-read.exp: Likewise.
946 * gdb.base/watch_thread_num.exp: Likewise.
947 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
948 * gdb.base/watchpoint-hw.exp: Likewise.
949 * gdb.base/watchpoint.exp: Likewise.
950 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
951 * gdb.threads/watchthreads-reorder.exp: Likewise.
952 * gdb.threads/watchthreads.exp: Likewise.
953 * gdb.threads/watchthreads2.exp: Likewise.
955 2011-02-21 Joel Brobecker <brobecker@adacore.com>
957 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
958 the debugger is unable to find the array bounds.
960 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
962 * gdb.cp/typedef-operator.exp: New file.
963 * gdb.cp/typedef-operator.cc: New file.
965 2011-02-17 Michael Snyder <msnyder@vmware.com>
967 * gdb.threads/thread-find.exp: Fix regular expressions.
969 2011-02-17 Joel Brobecker <brobecker@adacore.com>
971 * gdb.ada/packed_array: Expand testcase to test printing of
972 unconstrained packed array.
974 2011-02-17 Joel Brobecker <brobecker@adacore.com>
976 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
978 2011-02-16 Pedro Alves <pedro@codesourcery.com>
980 * gdb.trace/collection.c (globalarr3): New global.
981 (main): Initialize it before collecting, and and clear it
983 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
984 collecting with '{type} addr', where the addr expression is not an
987 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
989 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
990 a bool variable. Expect correct OpenCL names for vector types. Use the
991 uc3 variable name instead of referring to the uchar3 built-in type.
992 Escape the asterisk at the half pointer test.
994 2011-02-16 Pedro Alves <pedro@codesourcery.com>
996 * gdb.trace/collection.c (globalarr2): New global.
997 (main): Initialize it before collecting, and and clear it
999 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1000 collecting overlapping memory ranges.
1002 2011-02-15 Michael Snyder <msnyder@vmware.com>
1004 * gdb.base/default.exp: Add tests for thread commands.
1005 * gdb.base/help.exp: Add tests for thread commands.
1006 * gdb.threads/thread-find.exp: New test for thread find command.
1008 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
1010 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1012 2011-02-15 Yao Qi <yao@codesourcery.com>
1015 * gdb.arch/arm-disp-step.S : New test for str instruction.
1016 * gdb.arch/arm-disp-step.exp : Likewise.
1018 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1020 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1021 "vector_register2_vr" test strings. Test the extended floating
1022 point registers (F32~F63).
1023 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1024 IBM XL C compiler. Make the test program use a register provided
1025 by the compiler for the lxvd2x instruction.
1027 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1029 * gdb.trace/unavailable.cc (class Base, class Middle, class
1030 Derived): New types.
1031 (derived_unavail, derived_partial, derived_whole): New globals.
1032 (virtual_partial): New global.
1033 (virtualp): Point at virtual_partial.
1034 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1035 related to unavailable vptr.
1037 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1039 * gdb.trace/unavailable.cc (a, b, c): New globals.
1040 (main): Set and clear them.
1041 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1042 `a' and `c', and check that `b' isn't collected, although `a' and
1045 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1047 * gdb.trace/unavailable.cc (struct Virtual): New.
1048 (virtualp): New global pointer.
1049 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1050 printing a pointer to an object whose type has a vtable, with
1053 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1055 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1056 value repeat handles unavailableness.
1058 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1060 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1061 tests for building arrays from unavailable values, subscripting
1062 non-memory rvalue unvailable arrays, and accessing fields or
1063 baseclasses of non-lazy unavailable values,
1064 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1066 (g_smallstruct, g_smallstruct_b): New globals.
1068 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1070 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1072 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1074 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1075 * gdb.cp/overload-const.exp: New file.
1076 * gdb.cp/overload-const.cc: New file.
1078 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1080 * gdb.opencl/callfuncs.cl: New file.
1081 * gdb.opencl/callfuncs.exp: New test.
1082 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1084 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1086 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1087 when computing result.
1088 * gdb.arch/altivec-abi.exp: Update expected results.
1090 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1092 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1093 * gdb.base/jit.exp: Likewise.
1094 * gdb.base/pie-execl.exp: Likewise.
1095 * gdb.base/solib-nodir.exp: Likewise.
1096 * gdb.base/solib-overlap.exp: Likewise.
1098 2011-02-07 Pedro Alves <pedro@codesourcery.com>
1100 * gdb.trace/collection.c (global_pieces): New.
1101 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1103 (gdb_trace_collection_test): Call it.
1105 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1107 * gdb.python/py-evthreads.c: New file.
1108 * gdb.python/py-evthreads.exp: New file.
1109 * gdb.python/py-events.py: New file.
1110 * gdb.python/py-events.exp: New file.
1111 * gdb.python/py-events.c: New file.
1113 2011-02-04 David Daney <ddaney@caviumnetworks.com>
1115 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1117 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
1119 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1120 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1121 boundary between two compilation units.
1123 2011-02-02 Pedro Alves <pedro@codesourcery.com>
1125 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1126 (Virtual): New structs.
1127 (virtual_o, virtual_middle_b): New globals.
1128 * gdb.cp/virtbase.exp: New tests.
1130 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1132 * gdb.base/jit.exp: New file.
1133 * gdb.base/jit-main.c: New file.
1134 * gdb.base/jit-solib.c: New file.
1136 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1138 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1139 proceed to initial kernel entry point.
1140 * gdb.opencl/datatypes.exp: Likewise.
1141 * gdb.opencl/operators.exp: Likewise.
1142 * gdb.opencl/vec_comps.exp: Likewise.
1144 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1146 * gdb.cp/nsnested.cc: New.
1147 * gdb.cp/nsnested.exp: New.
1148 * gdb.cp/nsnoimports.exp: New.
1149 * gdb.cp/nsnoimports.cc: New.
1151 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1153 * gdb.base/interact.exp: Add extra tests that verify that
1154 the value of the interactive-mode setting does not change
1155 after the script is sourced.
1157 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1159 * gdb.cp/noparam.exp: New file.
1160 * gdb.cp/noparam.cc: New file.
1162 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1164 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1165 there's no stack or registers.
1167 2011-01-26 Tom Tromey <tromey@redhat.com>
1169 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1170 space before string output. Add test for "set print pretty off"
1173 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1175 * gdb.base/frame-args.exp: Adjust.
1176 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1177 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1178 * gdb.dwarf2/pieces.exp: Adjust.
1179 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1180 * gdb.opt/inline-locals.exp: Adjust.
1181 * gdb.threads/fork-child-threads.exp: Adjust.
1183 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1185 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1186 OpenCL kernel function. Add a comment as marker. Add address space
1187 qualifiers for the remaining program scope variables.
1188 * gdb.opencl/datatypes.cl: Likewise.
1189 * gdb.opencl/operators.cl: Likewise.
1190 * gdb.opencl/vec_comps.cl: Likewise.
1191 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1192 Add breakpoint at the marker comment.
1193 * gdb.opencl/datatypes.exp: Likewise.
1194 * gdb.opencl/operators.exp: Likewise.
1195 * gdb.opencl/vec_comps.exp: Likewise.
1197 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1199 * gdb.base/printcmds.c (some_struct): New struct and instance.
1200 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1202 <global scope>: Call it.
1204 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1206 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1207 argument to the gdb_compile_opencl_hostapp call.
1209 2011-01-19 Yao Qi <yao@codesourcery.com>
1211 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1214 2011-01-19 Yao Qi <yao@codesourcery.com>
1216 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1219 * gdb.xml/tdesc-regs.exp: Likewise.
1220 * gdb.python/py-section-script.exp: Replace ARM target triplet
1221 with canonical form.
1222 Match arm*-*-symbianelf*.
1223 * gdb.base/dup-sect.exp: Likewise.
1224 * lib/dwarf.exp: New.
1225 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1227 * gdb.dwarf2/dup-psym.exp: Likewise.
1228 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1229 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1230 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1231 * gdb.dwarf2/dw2-basic.exp: Likewise.
1232 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1233 * gdb.dwarf2/dw2-const.exp: Likewise.
1234 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1235 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1236 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1237 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1238 * gdb.dwarf2/dw2-filename.exp: Likewise.
1239 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1240 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1241 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1242 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1243 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1244 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1245 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1246 * gdb.dwarf2/dw2-producer.exp: Likewise.
1247 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1248 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1249 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1250 * gdb.dwarf2/dw2-strp.exp: Likewise.
1251 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1252 * gdb.dwarf2/implptr.exp: Likewise.
1253 * gdb.dwarf2/mac-fileno.exp: Likewise.
1254 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1255 * gdb.dwarf2/pieces.exp: Likewise.
1256 * gdb.dwarf2/pr11465.exp: Likewise.
1257 * gdb.dwarf2/valop.exp: Likewise.
1258 * gdb.dwarf2/watch-notconst.exp: Likewise.
1259 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1261 2011-01-19 Tom Tromey <tromey@redhat.com>
1263 * gdb.python/py-infthread.exp: Add thread tests.
1265 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1267 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1269 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1271 * gdb.ada/widewide: New testcase.
1273 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1275 * gdb.base/interact.exp: New testcase.
1277 2011-01-12 Tom Tromey <tromey@redhat.com>
1279 * gdb.mi/gdb2549.exp: Update for error message changes.
1280 * gdb.mi/mi-cli.exp: Likewise.
1281 * gdb.mi/mi-disassemble.exp: Likewise.
1282 * gdb.mi/mi-pthreads.exp: Likewise.
1283 * gdb.mi/mi-regs.exp: Likewise.
1284 * gdb.mi/mi-stack.exp: Likewise.
1285 * gdb.mi/mi-var-block.exp: Likewise.
1286 * gdb.mi/mi-var-cmd.exp: Likewise.
1287 * gdb.mi/mi2-cli.exp: Likewise.
1288 * gdb.mi/mi2-disassemble.exp: Likewise.
1289 * gdb.mi/mi2-pthreads.exp: Likewise.
1290 * gdb.mi/mi2-regs.exp: Likewise.
1291 * gdb.mi/mi2-stack.exp: Likewise.
1292 * gdb.mi/mi2-var-block.exp: Likewise.
1293 * gdb.mi/mi2-var-cmd.exp: Likewise.
1295 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1296 Jan Kratochvil <jan.kratochvil@redhat.com>
1298 PR fortran/11104 and DWARF unbound arrays detection.
1299 * gdb.fortran/multi-dim.exp: New file.
1300 * gdb.fortran/multi-dim.f90: New file.
1302 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1304 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1305 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1306 add new tests for opcode dumping.
1308 2011-01-11 Tom Tromey <tromey@redhat.com>
1310 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1312 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1314 Convert hardware watchpoints to use breakpoint_ops.
1315 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1316 type is not supported.
1317 * gdb.base/foll-fork.exp: Likewise.
1318 * gdb.base/foll-vfork.exp: Likewise.
1320 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1322 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1323 Use load_lib gdb-python.exp.
1324 * gdb.python/python.exp: Ditto.
1325 * gdb.python/py-function.exp: Ditto.
1327 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1329 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1331 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1333 * configure: Regenerate.
1335 2011-01-06 Tom Tromey <tromey@redhat.com>
1337 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1339 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1341 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1342 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1343 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1344 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1345 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1346 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1347 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1348 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1349 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1350 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1351 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1352 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1353 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1354 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1355 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1356 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1357 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1358 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1359 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1360 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1361 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1362 gdb.ada/uninitialized_vars.exp,
1363 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1364 Simplify by using clean_restart.
1366 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1368 Add marker to be used as anchor for inserting breakpoints.
1369 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1370 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1373 Remove uses of gdb_start_cmd.
1374 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1375 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1377 Do not run testcase if testing with GDBserver.
1378 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1379 if testing with GDBserver.
1381 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1383 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1384 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1387 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1389 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1390 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1391 testsuite/gdb.fortran/complex.f,
1392 testsuite/gdb.fortran/derived-type.f90,
1393 testsuite/gdb.fortran/library-module-lib.f90,
1394 testsuite/gdb.fortran/library-module-main.f90,
1395 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1396 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1397 Copyright year update.
1399 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1401 * gdb.base/langs1.f: Add copyright header.
1403 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1405 * gdb.base/morestack.exp: New file.
1406 * gdb.base/morestack.c: New file.
1408 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1410 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1412 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1414 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1415 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1417 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1419 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1421 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1423 * gdb.threads/tls.exp: Fix typo.
1425 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1426 * gdb.threads/execl.exp: Update.
1428 2010-12-23 Yao Qi <yao@codesourcery.com>
1430 * gdb.arch/arm-disp-step.exp: New.
1431 * gdb.arch/arm-disp-step.S: New.
1433 2010-12-21 Tom Tromey <tromey@redhat.com>
1435 * gdb.threads/execl.exp: Update.
1436 * gdb.threads/linux-dp.exp: Update.
1437 * gdb.threads/manythreads.exp: Update.
1438 * gdb.threads/tls.exp: Update.
1440 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1442 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1443 (NextOverThrowDerivates) <resumebpt>: New.
1444 (resumebpt_test): New.
1445 (main): Call resumebpt_test.
1446 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1448 2010-12-12 Stan Shebs <stan@codesourcery.com>
1450 * gdb.trace/tsv.exp: Test print command on trace state variables.
1452 2010-12-09 Tom Tromey <tromey@redhat.com>
1454 * gdb.base/interp.exp: Add regression test.
1456 2010-12-09 Tom Tromey <tromey@redhat.com>
1458 * gdb.java/jnpe.java: New file.
1459 * gdb.java/jnpe.exp: New file.
1460 * gdb.cp/nextoverthrow.exp: New file.
1461 * gdb.cp/nextoverthrow.cc: New file.
1463 2010-12-07 Doug Evans <dje@google.com>
1465 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1467 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1469 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1471 2010-11-29 Michael Snyder <msnyder@vmware.com>
1473 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1474 * gdb.base/call-sc.exp: Ditto.
1475 * gdb.base/finish.exp: Ditto.
1476 * gdb.base/return.exp: Ditto.
1477 * gdb.base/return2.exp: Ditto.
1479 2010-11-30 Doug Evans <dje@google.com>
1481 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1482 (gdb_expect_list): Fix spelling errors in comments.
1483 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1484 send_gdb/gdb_expect_list where applicable.
1485 * gdb.base/call-ar-st.exp: Ditto.
1486 * gdb.base/funcargs.exp: Ditto.
1487 * gdb.base/gcore.exp: Ditto.
1488 * gdb.base/page.exp: Ditto.
1489 * gdb.base/sigaltstack.exp: Ditto.
1490 * gdb.base/siginfo.exp: Ditto.
1491 * gdb.base/sigstep.exp: Ditto.
1492 * gdb.base/trace-commands.exp: Ditto.
1494 2010-11-29 Doug Evans <dje@google.com>
1496 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1497 printer-name;subprinter-name.
1499 2010-11-29 Tom Tromey <tromey@redhat.com>
1501 * gdb.dwarf2/implptr.exp: New file.
1502 * gdb.dwarf2/implptr.c: New file.
1503 * gdb.dwarf2/implptr.S: New file.
1505 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1509 * gdb.python/py-breakpoint.exp: Test the delete method.
1511 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1513 Fix step_resume_breakpoint unsaved during an infcall.
1514 * gdb.base/step-resume-infcall.exp: New file.
1515 * gdb.base/step-resume-infcall.c: New file.
1517 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1519 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1521 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1523 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1524 on ppc64's symbols; "finish" and "return" commands must accept to
1525 show the caller line again as well as the line after.
1526 * gdb.asm/powerpc64.inc: New file.
1528 2010-11-23 Doug Evans <dje@google.com>
1530 * lib/gdb.exp (gdb_test_sequence): New function.
1531 (gdb_expect_list): Add verbose -log call for each pattern.
1532 * gdb.base/signals.exp (test_handle_all_print): Call it.
1533 Reduce timeout increment from 6 minutes to 1 minute.
1534 * gdb.server/ext-run.exp: Call it.
1536 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1540 * gdb.python/python.exp: Check that selected_thread raises an
1541 error when no inferior is loaded.
1543 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1545 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1546 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1548 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1550 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1551 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1553 2010-11-18 Doug Evans <dje@google.com>
1555 * gdb.server/ext-run.exp: Fix intermittent failures.
1557 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1559 * gdb.stabs/gdb11479.exp: Use runto_main.
1561 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1563 * gdb.base/break-entry.exp: Skip if using a stub.
1565 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1567 * gdb.python/py-inferior.exp: Pack values in target endianness.
1569 2010-11-12 Tom Tromey <tromey@redhat.com>
1571 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1572 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1574 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1576 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1578 (test_subscript_regression): Update exception type.
1580 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1582 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1585 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1587 * gdb.base/watchpoint.exp: Test "watch -location" with an
1588 innacessible location.
1590 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1591 Luis Machado <luisgpm@br.ibm.com>
1593 * gdb.base/maint.exp: Expect "." prefix.
1594 * gdb.base/nodebug.exp: Expect "." Likewise.
1595 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1596 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1597 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1598 POWER server processors.
1600 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1601 Luis Machado <luisgpm@br.ibm.com>
1603 * gdb.base/break-entry.exp: convert entry point for
1604 ppc64 and expect leading `.' on ppc64's symbols
1606 2010-11-05 Doug Evans <dje@google.com>
1608 * gdb.base/help.exp: Update expected output.
1609 * gdb.python/py-param.exp: Delete, contents moved to ...
1610 * gdb.python/py-parameter.exp: ... here. New file.
1611 Add test for gdb.parameter ("directories").
1613 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1615 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1616 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1617 * configure: Regenerate.
1618 * gdb.opencl/Makefile.in: New File.
1619 * gdb.opencl/datatypes.exp: Likewise.
1620 * gdb.opencl/datatypes.cl: Likewise.
1621 * gdb.opencl/operators.exp: Likewise.
1622 * gdb.opencl/operators.cl: Likewise.
1623 * gdb.opencl/vec_comps.exp: Likewise.
1624 * gdb.opencl/vec_comps.cl: Likewise.
1625 * gdb.opencl/convs_casts.exp: Likewise.
1626 * gdb.opencl/convs_casts.cl: Likewise.
1627 * lib/opencl.exp: Likewise.
1628 * lib/opencl_hostapp.c: Likewise.
1629 * lib/opencl_kernel.cl: Likewise.
1630 * lib/cl_util.c: Likewise.
1631 * lib/cl_util.c: Likewise.
1632 * gdb.base/default.exp (set language): Add "opencl" to the list of
1635 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1637 * gdb.cp/overload.exp: Added test for inheritance overload.
1638 * gdb.cp/overload.cc: Ditto.
1639 * gdb.cp/oranking.exp: Removed releveant kfails.
1641 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1642 Joel Brobecker <brobecker@adacore.com>
1644 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1645 check test_compiler_info.
1647 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1649 * gdb.base/gnu_vector.exp: Adjust expect messages.
1651 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1653 * gdb.base/gnu_vector.exp: Add unary operator tests.
1655 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1657 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1659 2010-11-02 Doug Evans <dje@google.com>
1661 * gdb.python/py-pp-maint.c: New file.
1662 * gdb.python/py-pp-maint.exp: New file.
1663 * gdb.python/py-pp-maint.py: New file.
1665 2010-11-02 Tom Tromey <tromey@redhat.com>
1667 * gdb.base/default.exp: Remove "scheme" from language list.
1669 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1672 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1673 * gdb.threads/sigstep-threads.exp: New file.
1674 * gdb.threads/sigstep-threads.c: New file.
1676 2010-10-20 Michael Snyder <msnyder@vmware.com>
1678 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1680 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1682 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1683 Skip test completely if gdb,no_hardware_watchpoints.
1685 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1687 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1688 strict, but do not check for any particular function name within libc.
1690 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1692 * gdb.cp/smartp.exp: New test.
1693 * gdb.cp/smartp.cc : New test.
1695 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1697 * gdb.cp/converts.exp: Test pointer to bool conversion.
1698 Test pointer to long conversion.
1699 * gdb.cp/oranking.exp: Removed relevant kfail.
1701 2010-10-18 Tom Tromey <tromey@redhat.com>
1703 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1704 argument to lazy_string.
1705 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1706 (pp_ls.to_string): Use it.
1707 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1708 Add "estring2" local.
1710 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1712 Fix s390x compatibility.
1713 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1714 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1716 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1718 * gdb.threads/sigstep-threads.exp: New file.
1719 * gdb.threads/sigstep-threads.c: New file.
1721 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1723 * gdb.base/pie-execl.exp: New file.
1724 * gdb.base/pie-execl.c: New file.
1726 2010-10-13 Doug Evans <dje@google.com>
1727 Jan Kratochvil <jan.kratochvil@redhat.com>
1730 * gdb.cp/ptype-cv-cp.cc: New file.
1731 * gdb.cp/ptype-cv-cp.exp: New file.
1733 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1735 * gdb.cp/converts.cc: New test program.
1736 * gdb.cp/converts.exp: New test.
1737 * gdb.cp/overload.exp: Added test for void* vs int*.
1738 * gdb.cp/overload.exp: Ditto.
1739 * gdb.cp/oranking.exp: Removed related kfail.
1741 2010-10-13 Doug Evans <dje@google.com>
1743 * lib/gdb-python.exp (gdb_check_python_config): New function.
1744 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1745 * gdb.python/lib-types.cc: New file.
1746 * gdb.python/lib-types.exp: New file.
1748 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1750 * gdb.python/py-error.exp: New file.
1751 * gdb.python/py-error.py: New file.
1753 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1755 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1758 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1760 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1761 * gdb.base/prelink.exp: Likewise.
1762 * gdb.base/solib-nodir.exp: Likewise.
1763 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1764 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1765 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1767 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1769 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1770 for the "info files" test to avoid timeouts on slow machines.
1772 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1774 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1775 (main): Make openlib dummy call.
1777 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1780 * break-interp.exp (reach): Move the core body ...
1781 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1782 (test_ld): Provide always real argument, even to the linker. Replace
1783 dl_main by _dl_debug_state.
1785 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 Fix results of prelinked PIEs on ppc*.
1788 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1789 Accept also DISPLACEMENT "PRESENT".
1790 (main): Replace "ZERO" displacements by "PRESENT".
1792 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1794 * gdb.cp/oranking.exp: New test.
1795 * gdb.cp/oranking.cc: New test program.
1797 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1799 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1800 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1802 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1804 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1805 lush, lynx) New constant.
1806 * gdb.base/constvars.exp: Test const array types.
1807 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1809 2010-10-06 Doug Evans <dje@google.com>
1811 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1812 of syscall staging area.
1814 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1816 * gdb.base/gnu_vector.c: Add variable c4.
1817 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1818 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1820 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1822 * gdb.arch/altivec-abi.exp: Fix a typo.
1824 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1826 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1827 to match a thread ID.
1829 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1831 Fix s390x testcase compatibility.
1832 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1834 2010-10-01 Doug Evans <dje@google.com>
1836 * lib/gdb-python.exp: New file.
1837 * gdb.python/py-block.exp: Use it.
1838 * gdb.python/py-breakpoint.exp: Ditto.
1839 * gdb.python/py-frame.exp: Ditto.
1840 * gdb.python/py-inferior.exp: Ditto.
1841 * gdb.python/py-param.exp: Ditto.
1842 * gdb.python/py-prettyprint.exp: Ditto.
1843 * gdb.python/py-shared.exp: Ditto.
1844 * gdb.python/py-symbol.exp: Ditto.
1845 * gdb.python/py-symtab.exp: Ditto.
1846 * gdb.python/py-type.exp: Ditto.
1847 * gdb.python/py-value.exp: Ditto.
1848 * gdb.python/python.exp: Ditto.
1850 2010-09-30 Tom Tromey <tromey@redhat.com>
1852 * gdb.base/anon.exp: New file.
1853 * gdb.base/anon.c: New file.
1855 2010-09-30 Tom Tromey <tromey@redhat.com>
1857 * gdb.base/completion.exp: Test completion through anonymous
1859 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1861 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1863 Fix printing parameters of inlined functions.
1864 * gdb.dwarf2/dw2-inline-param.exp: New file.
1865 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1866 * gdb.dwarf2/dw2-inline-param.S: New file.
1868 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1871 * gdb.base/corefile.exp (quit with a process, no question: load core)
1872 (quit with a core file): New tests.
1874 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1876 Fix GDB crash on inferior calls with self-referencing classes.
1877 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1878 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1879 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1881 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1883 Fix lost siginfo_t for inferior calls.
1884 * gdb.base/siginfo-infcall.exp: New file.
1885 * gdb.base/siginfo-infcall.c: New file.
1887 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1889 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1891 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1893 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1895 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1897 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1899 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1900 type of our const type.
1902 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1904 * gdb.cp/pr12028.cc: New.
1905 * gdb.cp/pr12028.exp: New.
1907 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1909 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1911 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1912 Jan Kratochvil <jan.kratochvil@redhat.com>
1915 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1916 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1917 * gdb.mi/dw2-ref-missing-frame.S New File.
1918 * gdb.mi/dw2-ref-missing-frame.exp New File.
1920 2010-09-14 Tom Tromey <tromey@redhat.com>
1923 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1925 2010-09-14 Tom Tromey <tromey@redhat.com>
1928 * gdb.threads/tls.exp: Use C++.
1929 (check_thread_local): Use K::another_thread_local.
1930 * gdb.threads/tls.c (class K): New.
1931 (another_thread_local): Now a member of K.
1932 (spin): Update. No longer K&R C.
1934 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1936 * gdb.cp/koenig.cc: created class for testing member lookup.
1937 * gdb.cp/koenig.exp: Added test for member lookup.
1939 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1941 Fix false FAILs on sourcetree topdir directory containing "kill".
1942 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1943 source line matching regexp.
1945 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1947 * gdb.python/python.exp (set height 0, collect help from uiout)
1948 (verify help to uiout): New tests.
1950 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1952 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1953 is_lp64_target to check 64bit target.
1955 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1957 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1958 (test_ld) <powerpc64-*>: New.
1960 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1962 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1964 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1966 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1967 (FunctionArg::method): New function.
1968 (empty, arg): New variables.
1969 (main): Call arg.method.
1970 * gdb.cp/templates.exp (test_template_args): New function.
1971 (do_tests): Call it.
1973 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1975 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1976 of "next" to proceed over pthread_exit call.
1978 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1980 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1981 "maint print statistics" output to prevent expect timeouts.
1983 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1985 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1986 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1987 (test_float_rejected): ... here.
1988 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1989 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1990 (test_float_rejected): ... here.
1991 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1992 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1993 (test_float_rejected): ... here.
1994 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1995 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1996 (test_float_rejected): ... here.
1998 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2000 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2001 before disabling hardware watchpoints.
2002 (test_inaccessible_watchpoint): Check that hardware watchpoints
2003 are used. Test for watchpoints on a constant address.
2005 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2007 * gdb.base/ui-redirect.exp: New file.
2009 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2010 Joel Brobecker <brobecker@adacore.com>
2012 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2014 2010-08-31 Doug Evans <dje@google.com>
2016 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2018 2010-08-30 Tom Tromey <tromey@redhat.com>
2021 * gdb.python/py-value.exp (test_subscript_regression): Add
2024 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2026 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2027 instead of running to main. Do not test the main function.
2028 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2031 2010-08-26 Pedro Alves <pedro@codesourcery.com>
2033 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2036 2010-08-24 Doug Evans <dje@google.com>
2039 * gdb.dwarf2/dw4-sig-types.cc: New file.
2040 * gdb.dwarf2/dw4-sig-types.h: New file.
2041 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2042 * gdb.dwarf2/dw4-sig-types.exp: New file.
2044 2010-08-23 Tom Tromey <tromey@redhat.com>
2047 * gdb.python/py-value.c (Base, Derived): New types.
2049 * gdb.python/py-value.exp (test_subscript_regression): Add
2052 2010-08-23 Tom Tromey <tromey@redhat.com>
2055 * gdb.python/py-type.exp (test_fields): Add tests for type
2058 2010-08-23 Tom Tromey <tromey@redhat.com>
2061 * gdb.python/py-type.exp (test_fields): Add tests for array.
2063 2010-08-23 Keith Seitz <keiths@redhat.com>
2065 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2066 have any children. Create a new abbrev for it.
2067 Add missing terminal sequence to .debug_abbrev.
2069 2010-08-20 Keith Seitz <keiths@redhat.com>
2072 * gdb.dwarf2/pr11465.exp: New test.
2073 * gdb.dwarf2/pr11465.S: New file.
2074 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2075 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2077 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2079 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2080 registers. Update data sets with the new v2_double element in the
2081 VSX register union. Add vector_register3_vr data set for the AltiVec
2082 registers. Use gdb_test_no_output instead of send_gdb.
2084 2010-08-19 Pedro Alves <pedro@codesourcery.com>
2086 * gdb.python/py-shared.exp: New file, factored out from
2088 * gdb.python/py-shared.c: New file.
2089 * gdb.python/py-shared-sl.c: New file.
2090 * gdb.python/python-1.c: New file.
2091 * gdb.python/python-sl.c: Delete.
2092 * gdb.python/python.c: Mention python-1.c.
2093 * gdb.python/python.exp: Move shared library tests to
2095 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2096 (MISCELLANEOUS): New.
2097 (clean mostlyclean): Also remove $MISCELLANEOUS.
2099 2010-08-19 Doug Evans <dje@google.com>
2102 * gdb.base/printcmds.exp (test_float_accepted): New function.
2103 Move existing float tests there. Add tests for floats with suffixes.
2104 (test_float_rejected): New function.
2105 * gdb.java/jv-print.exp (test_float_accepted): New function.
2106 (test_float_rejected): New function.
2107 * gdb.objc/print.exp: New file.
2108 * gdb.pascal/print.exp: New file.
2109 * lib/objc.exp: New file.
2111 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2113 * gdb.base/default.exp (info set): Avoid full buffer error and force
2114 reading up to final gdb prompt.
2117 2010-08-18 Tom Tromey <tromey@redhat.com>
2120 * gdb.base/completion.exp: Add test.
2122 2010-08-18 Doug Evans <dje@google.com>
2124 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2125 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2126 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2127 Simplify, early exit if runto_main fails.
2128 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2129 (set_lang_fortran): Moved to lib/fortran.exp.
2130 * gdb.fortran/types.exp: load_lib fortran.exp.
2131 (set_lang_fortran): Moved to lib/fortran.exp.
2132 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2133 * gdb.java/jprint.exp (set_lang_java): Ditto.
2134 * gdb.java/jv-exp.exp: load_lib java.exp.
2135 If set_lang_java fails, issue a warning instead of failure to be
2136 consistent with other set_lang_foo uses.
2137 (set_lang_java): Moved to lib/java.exp.
2138 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2139 If set_lang_java fails, issue a warning instead of failure to be
2140 consistent with other set_lang_foo uses.
2141 * gdb.pascal/types.exp: load_lib pascal.exp.
2142 (set_lang_pascal): Moved to lib/pascal.exp.
2143 * lib/fortran.exp: New file.
2144 * lib/java.exp (set_lang_java): New function.
2145 * lib/pascal.exp (set_lang_pascal): New function.
2147 2010-08-18 Yao Qi <yao@codesourcery.com
2149 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2150 func_nofb_start and func_loopfb_start, so that address of functions
2151 is equal to these labels on Thumb.
2153 2010-08-18 Yao Qi <yao@codesourcery.com>
2155 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2156 to reflect latest c source file.
2158 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2160 * gdb.cp/infcall-dlopen.exp: New file.
2161 * gdb.cp/infcall-dlopen.cc: New file.
2162 * gdb.cp/infcall-dlopen-lib.cc: New file.
2164 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2165 Pedro Alves <pedro@codesourcery.com>
2167 PR breakpoints/11371
2169 * gdb.base/watch-cond-infcall.exp: New file.
2170 * gdb.base/watch-cond-infcall.c: New file.
2172 2010-08-16 Tom Tromey <tromey@redhat.com>
2174 * gdb.base/help.exp: Update.
2175 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2177 (test_watch_location): New proc.
2178 (test_watchpoint_in_big_blob): Delete watchpoint.
2179 * gdb.base/watchpoint.c (func5): New function.
2182 2010-08-16 Doug Evans <dje@google.com>
2184 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2186 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2188 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2191 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2193 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2194 * gdb.base/gnu_vector.c: New File.
2195 * gdb.base/gnu_vector.exp: Likewise.
2197 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2199 * gdb.python/python.c: New File.
2200 * gdb.python/python-sl.c: New File.
2201 * gdb.python/python.exp: Test solib_address and decode_line
2204 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2206 * gdb.python/python.exp (show height, set height 10)
2207 (verify pagination beforehand, verify pagination beforehand: q)
2208 (gdb.execute does not page, verify pagination afterwards)
2209 (verify pagination afterwards: q): New.
2211 2010-08-02 Doug Evans <dje@google.com>
2213 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2214 because of an older gcc, change test2
2215 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2218 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2220 * gdb.base/break-always.exp: Do not expect full paths to file
2222 * gdb.base/commands.exp: Likewise.
2224 2010-07-30 Doug Evans <dje@google.com>
2226 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2227 xfail them when run with older gccs.
2229 * lib/gdb.exp (build_executable): Forward "c++" option to
2232 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2233 "python print ttype.template_argument(1)" and
2234 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2235 if using gcc 4.4 or earlier.
2237 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2238 attach-to-debugger handling.
2240 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2242 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2243 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2244 (main): Use copyreloc.
2245 * gdb.base/prelink.exp (split debug of executable)
2246 (.dynbss vs. .bss address shift): New tests.
2248 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2250 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2251 in gdb_test_multiple.
2253 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2255 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2258 2010-07-28 Tom Tromey <tromey@redhat.com>
2261 * gdb.python/py-type.c (Temargs): New template.
2262 (temvar): New variable.
2263 * gdb.python/py-type.exp (test_template): New proc.
2265 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2267 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2268 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2270 2010-07-28 Tom Tromey <tromey@redhat.com>
2273 * gdb.cp/temargs.exp: New file.
2274 * gdb.cp/temargs.cc: New file.
2276 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2278 * gdb.base/help.exp (help disassemble): Update the content.
2280 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2282 * gdb.threads/ia64-sigill.exp: New file.
2283 * gdb.threads/ia64-sigill.c: New file.
2285 2010-07-27 Tom Tromey <tromey@redhat.com>
2287 * gdb.opt/inline-cmds.c (ATTR): New define.
2291 (outer_inline1): Likewise.
2292 (outer_inline2): Likewise.
2293 * gdb.opt/inline-bt.c (ATTR): New define.
2296 * gdb.opt/inline-locals.c (ATTR): New define.
2300 2010-07-27 Tom Tromey <tromey@redhat.com>
2302 * gdb.stabs/gdb11479.c (hack): New function.
2305 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2306 (int32_search_buf, int64_search_buf): No longer static.
2308 * gdb.base/relocate.c (hack): New function.
2310 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2312 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2313 * gdb.python/py-value.c (func1): New function.
2316 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2318 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2319 as not to clash with .data section.
2321 2010-07-26 Jerome Guitton <guitton@adacore.com>
2323 * gdb.base/code_elim.exp: New file.
2324 * gdb.base/code_elim1.c: New file.
2325 * gdb.base/code_elim2.c: New file.
2327 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2331 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2332 (some_volatile_enum): New variable.
2333 * gdb.base/printcmds.exp (test_print_enums): New.
2334 <top level>: Call it.
2336 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2338 * gdb.cp/fpointer.cc: New test.
2339 * gdb.cp/fpointer.exp: New test.
2341 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2343 * gdb.base/solib-nodir.exp: New file.
2344 * lib/gdb.exp (runto): New case for a GDB internal error.
2346 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2347 Ulrich Weigand <uweigand@de.ibm.com>
2348 Tom Tromey <tromey@redhat.com>
2350 * gdb.base/charset-malloc.c: New file.
2351 * gdb.base/charset.c (malloc_stub): New prototype.
2352 (main): Call it instead of malloc itself.
2353 * gdb.base/charset.exp: Use only prepare_for_testing.
2354 (binfile): Remove the variable.
2356 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2358 Make core files the process_stratum.
2359 * gdb.base/corefile.exp (run: load core again)
2360 (run: sanity check we see the core file, run: with core)
2361 (run: core file is cleared, attach: load core again)
2362 (attach: sanity check we see the core file, attach: with core)
2363 (attach: core file is cleared): New tests.
2364 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2366 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2368 * gdb.arch/altivec-abi.exp: New tests.
2370 2010-07-13 Tom Tromey <tromey@redhat.com>
2372 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2374 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2376 2010-07-13 Tom Tromey <tromey@redhat.com>
2378 * gdb.base/label.exp: New file.
2379 * gdb.base/label.c: New file.
2381 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2382 H.J. Lu <hongjiu.lu@intel.com>
2384 * lib/gdb.exp (is_ilp32_target): New.
2385 (is_lp64_target): Likewise.
2387 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2389 * gdb.arch/amd64-disp-step.exp: Likewise.
2390 * gdb.arch/amd64-dword.exp: Likewise.
2391 * gdb.arch/amd64-i386-address.exp: Likewise.
2392 * gdb.arch/amd64-word.exp: Likewise.
2394 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2396 * gdb.arch/i386-bp_permanent.exp: Likewise.
2397 * gdb.arch/i386-byte.exp: Likewise.
2398 * gdb.arch/i386-disp-step.exp: Likewise.
2399 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2400 * gdb.arch/i386-prologue.exp: Likewise.
2401 * gdb.arch/i386-size-overlap.exp: Likewise.
2402 * gdb.arch/i386-size.exp: Likewise.
2403 * gdb.arch/i386-sse.exp: Likewise.
2404 * gdb.arch/i386-unwind.exp: Likewise.
2405 * gdb.arch/i386-word.exp: Likewise.
2407 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2408 test only when building 64-bit executables. Do not hard-code
2411 2010-07-07 Doug Evans <dje@google.com>
2413 * lib/gdb.exp (gdb_test_list_exact): New function.
2414 * gdb.base/default.exp (show convenience): Call it, add tests for
2415 $_sdata = void, $_thread = 0.
2417 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2418 Joel Brobecker <brobecker@adacore.com>
2420 Fix re-run of PIE executable, PR shlibs/11776.
2421 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2422 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2423 and re-"run" of the inferior.
2425 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2426 Joel Brobecker <brobecker@adacore.com>
2428 Cope with missing /usr/sbin/prelink.
2429 * lib/prelink-support.exp (prelink_no):
2430 <result == 1 && $output is "no such file or directory">: New.
2431 (prelink_yes): Likewise. Return on failed prelink_no.
2433 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2434 Joel Brobecker <brobecker@adacore.com>
2436 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2437 build_executable by build_executable_own_libs. Replace "prelink -R"
2438 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2440 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2441 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2442 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2443 Replace build_executable by build_executable_own_libs's function
2444 build_executable_own_libs.
2445 (prelinkNO): Create new stub to call prelink_no.
2446 (prelinkYES): Create new stub to call prelink_yes.
2447 (test_attach): Rename calls of copy to file_copy.
2448 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2450 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2451 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2452 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2453 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2454 special flags by gdb_compile_shlib. Replace second gdb_compile by
2455 build_executable_own_libs. Replace "prelink -R" execution by a call of
2456 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2457 a second call of prelink_yes. Replace restart commands by
2459 (prelink): Rename to ...
2460 (seen displacement message): ... this test. Extend its expectation
2463 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2465 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2466 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2467 displacement message exactly once.
2469 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2470 Joel Brobecker <brobecker@adacore.com>
2472 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2473 its restore after the <$relink_args != ""> loop. new comment.
2475 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2476 Joel Brobecker <brobecker@adacore.com>
2478 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2479 code for it. New variable relink_args.
2480 (prelinkYES): Call prelinkNO.
2481 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2482 in such case. Move the core code to ...
2483 (test_attach_gdb): ... a new function. Send GDB command "file".
2484 Extend expected "Attaching to " string.
2486 2010-07-02 Tom Tromey <tromey@redhat.com>
2488 * gdb.base/bitops.exp: Remove extraneous "pass".
2490 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2492 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2494 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2496 * gdb.base/help.exp: Adjust expected output.
2498 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2500 * gdb.base/help.exp: Adjust expected output.
2502 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2504 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2505 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2508 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2509 Doug Evans <dje@google.com>
2511 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2512 add .dynamic entry'.
2514 2010-06-29 Doug Evans <dje@google.com>
2517 * gdb.cp/m-static.exp: Add testcase.
2518 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2520 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2521 Tom Tromey <tromey@redhat.com>
2522 Thiago Jung Bauermann <bauerman@br.ibm.com>
2524 * gdb.python/py-inferior.c: New File.
2525 * gdb.python/py-infthread.c: New File.
2526 * gdb.python/py-inferior.exp: New File.
2527 * gdb.python/py-infthread.exp: New File.
2529 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2531 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2532 (ptype ::C::OtherFileClass typedefs): New.
2533 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2534 (C::OtherFileClass::cOtherFileClassVar2): New.
2535 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2536 cOtherFileClassVar2.
2537 (C::cOtherFileType2, C::cOtherFileVar2): New.
2538 (C::cOtherFileVar_use): use also cOtherFileVar2.
2539 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2541 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2543 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2544 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2545 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2546 (print ::C::cOtherFileVar)
2547 (whatis C::OtherFileClass::cOtherFileClassType)
2548 (whatis ::C::OtherFileClass::cOtherFileClassType)
2549 (print C::OtherFileClass::cOtherFileClassVar)
2550 (print ::cOtherFileClassVar)
2551 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2552 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2554 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2555 (C::OtherFileClass::cOtherFileClassVar)
2556 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2557 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2559 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2561 Test PR c++/11703 and PR gdb/1448.
2562 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2565 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2568 (main) <rtti_data>: New.
2569 * gdb.cp/virtbase.exp (print rtti_data): New.
2571 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2572 Joel Brobecker <brobecker@adacore.com>
2574 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2576 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2578 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2580 2010-06-28 Doug Evans <dje@google.com>
2582 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2584 2010-06-27 Doug Evans <dje@google.com>
2586 * gdb.cp/m-static.exp: Update expected test output.
2588 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2590 * gdb.gdb/selftest.exp: Adjust expected message for
2591 capturing start-up runtime.
2593 2010-06-25 Tom Tromey <tromey@redhat.com>
2596 * gdb.python/python.exp: Add new tests.
2598 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2600 * gdb.cp/operator.cc: Created an import loop.
2601 * gdb.cp/operator.exp: Added testcase for import loop.
2603 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2605 Test PR python/11407.
2606 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2607 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2608 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2609 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2610 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2611 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2612 binfile. Call gdb_compile with clean_restart twice.
2613 (func_nofb print, func_nofb backtrace, func_loopfb print)
2614 (func_loopfb backtrace): New.
2616 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2618 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2619 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2621 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2622 i?86 requirement. Remove variables srcfile and binfile. New variable
2623 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2625 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2627 * gdb.cell/dwarfaddr.exp: New file.
2628 * gdb.cell/dwarfaddr.S: New file.
2630 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2633 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2635 2010-06-24 Hui Zhu <teawater@gmail.com>
2637 * gdb.base/eval.exp: New file.
2639 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2641 * gdb.cell/fork.exp: New file.
2642 * gdb.cell/fork.c: Likewise.
2643 * gdb.cell/fork-spu.c: Likewise.
2645 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2647 * lib/gdb.exp (banned_variables_traced): New global variable.
2648 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2649 (gdb_init): Use `trace add variable' instead of obsolete
2652 2010-06-21 Doug Evans <dje@google.com>
2654 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2656 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2658 * gdb.arch/spu-ls.exp: New file.
2659 * gdb.arch/spu-ls.c: Likewise.
2661 2010-06-18 Stan Shebs <stan@codesourcery.com>
2663 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2665 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2667 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2668 * gdb.base/watch-cond.exp: Likewise.
2669 * gdb.python/py-breakpoint.exp: Likewise.
2671 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2673 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2674 clean_restart, make sure every test has a distinct message, and
2675 that messages don't include the executable' full path.
2677 2010-06-17 Doug Evans <dje@google.com>
2679 * gdb.arch/i386-size.exp: Updated expected output for
2680 DISASSEMBLY_OMIT_FNAME.
2682 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2683 Sergio Durigan Junior <sergiodj@redhat.com>
2685 * gdb.base/watch-notconst.c: New file.
2686 * gdb.base/watch-notconst.S: New file.
2687 * gdb.base/watch-notconst2.c: New file.
2688 * gdb.base/watch-notconst2.S: New file.
2689 * gdb.base/watch-notconst.exp: New file.
2690 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2691 (func4): Add operations on `global_ptr_ptr'.
2692 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2693 routine to test watchpoints created with a constant expression.
2694 (test_inaccessible_watchpoint): Include tests for watchpoints
2695 created with a constant expression.
2697 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2699 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2700 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2701 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2702 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2703 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2704 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2705 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2708 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2710 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2711 not supported on the target.
2712 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2713 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2714 * gdb.mi/mi-nsintrall.exp: Likewise.
2715 * gdb.mi/mi-nsmoribund.exp: Likewise.
2716 * gdb.mi/mi-nsthrexec.exp: Likewise.
2718 2010-06-11 Stan Shebs <stan@codesourcery.com>
2720 * gdb.base/permissions.exp: New file.
2722 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2724 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2725 does not support ELF executable class.
2727 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2729 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2731 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2733 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2734 (runto): Catch "The target does not support running in non-stop mode.".
2736 2010-06-11 Michael Snyder <msnyder@vmware.com>
2738 * gdb.base/setshow.exp (set language asm): Don't use
2739 gdb_test_no_output, fails on some targets.
2741 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2743 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2744 * gdb.cp/pr9167.exp: Likewise.
2746 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2748 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2750 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2752 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2754 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2756 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2758 2010-06-11 Tom Tromey <tromey@redhat.com>
2760 PR gdb/9977, PR exp/11636::
2761 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2762 (pieces_test_f6): Update expected output.
2764 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2766 * gdb.base/moribund-step.exp: New.
2768 2010-06-08 Michael Snyder <msnyder@vmware.com>
2770 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2771 * gdb.ada/boolean_expr.exp:
2772 * gdb.ada/frame_args.exp: Ditto.
2773 * gdb.ada/lang_switch.exp: Ditto.
2774 * gdb.ada/ptype_arith_binop.exp: Ditto.
2775 * gdb.ada/ref_param.exp: Ditto.
2776 * gdb.ada/type_coercion.exp:Ditto.
2778 * gdb.asm/asm-source.exp: Ditto.
2780 * gdb.base/attach.exp: Ditto.
2781 * gdb.base/bitfields2.exp: Ditto.
2782 * gdb.base/call-signal-resume.exp: Ditto.
2783 * gdb.base/callfuncs.exp: Ditto.
2784 * gdb.base/commands.exp: Ditto.
2785 * gdb.base/dbx.exp: Ditto.
2786 * gdb.base/default.exp: Ditto.
2787 * gdb.base/dump.exp: Ditto.
2788 * gdb.base/exprs.exp: Ditto.
2789 * gdb.base/freebpcmd.exp: Ditto.
2790 * gdb.base/interrupt.exp: Ditto.
2791 * gdb.base/list.exp: Ditto.
2792 * gdb.base/long_long.exp: Ditto.
2793 * gdb.base/maint.exp: Ditto.
2794 * gdb.base/ptype.exp: Ditto.
2795 * gdb.base/return.exp: Ditto.
2796 * gdb.base/setshow.exp: Ditto.
2797 * gdb.base/sigbpt.exp: Ditto.
2798 * gdb.base/sigrepeat.exp: Ditto.
2800 * gdb.cp/classes.exp: Ditto.
2802 * gdb.dwarf2/dw2-restore.exp: Ditto.
2804 * gdb.gdb/selftest.exp: Ditto.
2806 * gdb.multi/base.exp: Ditto.
2807 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2809 * gdb.python/py-block.exp: Ditto.
2810 * gdb.python/py-prettyprint.exp: Ditto.
2811 * gdb.python/py-template.exp: Ditto.
2813 * gdb.server/ext-attach.exp: Ditto.
2814 * gdb.server/ext-run.exp: Ditto.
2815 * gdb.server/server-mon.exp: Ditto.
2817 * gdb.threads/fork-thread-pending.exp: Ditto.
2818 * gdb.threads/hand-call-in-threads.exp: Ditto.
2819 * gdb.threads/interrupted-hand-call.exp: Ditto.
2820 * gdb.threads/linux-dp.exp: Ditto.
2821 * gdb.threads/manythreads.exp: Ditto.
2822 * gdb.threads/print-threads.exp: Ditto.
2823 * gdb.threads/pthreads.exp: Ditto.
2824 * gdb.threads/schedlock.exp: Ditto.
2825 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2826 * gdb.threads/threadapply.exp: Ditto.
2828 2010-06-08 Michael Snyder <msnyder@vmware.com>
2830 * gdb.ada/exec_changed.exp:
2831 Use ".*" instead of "" as wildcard regexp.
2833 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2834 * gdb.base/call-ar-st.exp: Ditto.
2835 * gdb.base/checkpoint.exp: Ditto.
2836 * gdb.base/default.exp: Ditto.
2837 * gdb.base/dump.exp: Ditto.
2838 * gdb.base/ending-run.exp: Ditto.
2839 * gdb.base/fileio.exp: Ditto.
2840 * gdb.base/miscexprs.exp: Ditto.
2841 * gdb.base/pointers.exp: Ditto.
2842 * gdb.base/readline.exp: Ditto.
2843 * gdb.base/reread.exp: Ditto.
2844 * gdb.base/restore.exp: Ditto.
2845 * gdb.base/shlib-call.exp: Ditto.
2846 * gdb.base/valgrind-db-attach.exp: Ditto.
2847 * gdb.base/volatile.exp: Ditto.
2848 * gdb.base/watchpoints.exp: Ditto.
2850 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2852 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2853 * gdb.python/py-value.exp: Ditto.
2855 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2856 * gdb.trace/circ.exp: Ditto.
2857 * gdb.trace/collection.exp: Ditto.
2858 * gdb.trace/packetlen.exp: Ditto.
2859 * gdb.trace/passc-dyn.exp: Ditto.
2860 * gdb.trace/report.exp: Ditto.
2861 * gdb.trace/tfile.exp: Ditto.
2862 * gdb.trace/tfind.exp: Ditto.
2863 * gdb.trace/while-dyn.exp: Ditto.
2865 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2867 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2869 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2872 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2874 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2876 * gdb.cp/koenig.exp: Test for ADL operators.
2877 * gdb.cp/koenig.cc: Added ADL operators.
2878 * gdb.cp/operator.exp: New test.
2879 * gdb.cp/operator.cc: New test.
2881 2010-06-04 Michael Snyder <msnyder@vmware.com>
2883 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2884 * gdb.base/pending.exp: Ditto.
2886 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2888 2010-06-04 Doug Evans <dje@google.com>
2890 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2892 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2893 (enable_lookup_function): New function.
2895 2010-06-04 Tom Tromey <tromey@redhat.com>
2897 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2900 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2902 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2904 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2905 (empty verbose non-noisy clear, empty verbose noisy clear)
2906 (empty non-verbose noisy clear): Likewise.
2908 2010-06-03 Michael Snyder <msnyder@vmware.com>
2910 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2911 * gdb.base/display.exp: Ditto.
2912 * gdb.base/find.exp: Ditto.
2913 * gdb.base/ifelse.exp: Ditto.
2914 * gdb.base/multi-forks.exp: Ditto.
2915 * gdb.base/recurse.exp: Ditto.
2916 * gdb.base/setshow.exp: Ditto.
2917 * gdb.base/value-double-free.exp: Ditto.
2918 * gdb.base/watch-vfork.exp: Ditto.
2919 * gdb.base/watch_thread_num.exp: Ditto.
2920 * gdb.base/watchpoint-solib.exp: Ditto.
2921 * gdb.base/watchpoint.exp: Ditto.
2922 * gdb.base/watchpoints.exp: Ditto.
2924 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2925 * gdb.cp/overload.exp: Ditto.
2926 * gdb.cp/virtfunc.exp: Ditto.
2928 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2930 * gdb.reverse/watch-precsave.exp:
2931 Replace gdb_test with gdb_test_no_output.
2933 * gdb.threads/attach-into-signal.exp:
2934 Replace gdb_test with gdb_test_no_output.
2935 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2936 * gdb.threads/watchthreads.exp: Ditto.
2937 * gdb.threads/watchthreads2.exp: Ditto.
2939 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2940 * gdb.trace/tfind.exp: Ditto.
2942 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2944 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2945 successful test if message is the empty string.
2947 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2949 * gdb.fortran/module.exp (stopped language detection): New test.
2951 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 Support DW_TAG_module as separate namespaces.
2954 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2955 gdb.fortran/library-module-lib.f90: New.
2956 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2958 (continue to breakpoint: i-is-1, print var_i value 1)
2959 (continue to breakpoint: i-is-2, print var_i value 2)
2960 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2961 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2962 (complete `modmany, complete `modmany`, complete `modmany`var)
2963 (show language, setting breakpoint at module): New tests.
2964 * gdb.fortran/module.f90 (module mod): Remove.
2965 (module mod1, module mod2, module modmany, subroutine sub1)
2966 (subroutine sub2, program module): New.
2968 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2970 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2971 (print value of rUC, print value of rI, print value of UI): ... here.
2972 * gdb.cp/anon-union.exp (pass): Rename to ...
2973 (print z 2): ... here.
2975 2010-06-02 Michael Snyder <msnyder@vmware.com>
2977 * gdb.trace/actions.exp: Use gdb_test_no_output.
2978 * gdb.trace/circ.exp: Ditto.
2979 * gdb.trace/packetlen.exp: Ditto.
2980 * gdb.trace/save-trace.exp: Ditto.
2981 * gdb.trace/tracecmd.exp: Ditto.
2982 * gdb.trace/tsv.exp: Ditto.
2984 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2985 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2986 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2987 * gdb.threads/manythreads.exp: Ditto.
2988 * gdb.threads/print-threads.exp: Ditto.
2989 * gdb.threads/pthreads.exp: Ditto.
2990 * gdb.threads/schedlock.exp: Ditto.
2991 * gdb.threads/staticthreads.exp: Ditto.
2992 * gdb.threads/thread-specific.exp: Ditto.
2993 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2994 * gdb.threads/threadapply.exp: Ditto.
2995 * gdb.threads/watchthreads.exp: Ditto.
2996 * gdb.threads/watchthreads2.exp: Ditto.
2998 * gdb.python/py-block.exp: Use gdb_test_no_output.
2999 * gdb.python/py-prettyprint.exp: Ditto.
3000 * gdb.python/py-template.exp: Ditto.
3001 * gdb.python/py-value.exp: Ditto.
3003 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3004 * gdb.reverse/watch-reverse.exp: Ditto.
3006 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3007 * gdb.server/ext-run.exp: Ditto.
3009 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3010 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3011 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3012 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3013 * gdb.dwarf2/dw2-producer.exp: Ditto.
3014 * gdb.dwarf2/mac-fileno.exp: Ditto.
3016 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3017 * gdb.gdb/selftest.exp: Ditto.
3019 * gdb.multi/base.exp: Use gdb_test_no_output.
3021 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3023 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3025 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3027 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3029 * gdb.cp/class2.exp: Use gdb_test_no_output.
3030 * gdb.cp/classes.exp: Ditto.
3031 * gdb.cp/extern-c.exp: Ditto.
3032 * gdb.cp/inherit.exp: Ditto.
3033 * gdb.cp/maint.exp: Ditto.
3034 * gdb.cp/mb-inline.exp: Ditto.
3035 * gdb.cp/mb-templates.exp: Ditto.
3036 * gdb.cp/method2.exp: Ditto.
3037 * gdb.cp/misc.exp: Ditto.
3038 * gdb.cp/ovldbreak.exp: Ditto.
3039 * gdb.cp/punctuator.exp: Ditto.
3040 * gdb.cp/templates.exp: Ditto.
3041 * gdb.cp/virtbase.exp: Ditto.
3043 * gdb.threads/attach-stopped.exp:
3044 Replace uses of send_gdb / gdb_expect.
3045 * gdb.threads/attachstop-mt.exp:
3046 Replace uses of send_gdb / gdb_expect.
3047 * gdb.threads/gcore-thread.exp:
3048 Replace uses of send_gdb / gdb_expect.
3049 * gdb.threads/hand-call-in-threads.exp:
3050 Replace uses of send_gdb / gdb_expect.
3051 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3052 * gdb.threads/print-threads.exp:
3053 Replace uses of send_gdb / gdb_expect.
3054 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3055 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3056 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3058 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3059 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3060 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3061 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3062 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3063 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3064 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3065 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3066 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3067 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3068 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3070 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3072 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3074 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3076 * gdb.cp/koenig.exp: Added new test case.
3077 * gdb.cp/koenig.cc: Ditto.
3079 2010-06-01 Michael Snyder <msnyder@vmware.com>
3081 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3082 * gdb.base/arrayidx.exp: Ditto.
3083 * gdb.base/attach.exp: Ditto.
3084 * gdb.base/auxv.exp: Ditto.
3085 * gdb.base/bigcre.exp: Ditto.
3086 * gdb.base/break-always.exp: Ditto.
3087 * gdb.base/break-interp.exp: Ditto.
3088 * gdb.base/break.exp: Ditto.
3089 * gdb.base/breakpoint-shadow.exp: Ditto.
3090 * gdb.base/call-ar-st.exp: Ditto.
3091 * gdb.base/call-sc.exp: Ditto.
3092 * gdb.base/call-signal-resume.exp: Ditto.
3093 * gdb.base/callfuncs.exp: Ditto.
3094 * gdb.base/catch-syscall.exp: Ditto.
3095 * gdb.base/charset.exp: Ditto.
3096 * gdb.base/code-expr.exp: Ditto.
3097 * gdb.base/commands.exp: Ditto.
3098 * gdb.base/cond-expr.exp: Ditto.
3099 * gdb.base/condbreak.exp: Ditto.
3100 * gdb.base/cursal.exp: Ditto.
3101 * gdb.base/cvexpr.exp: Ditto.
3102 * gdb.base/default.exp: Ditto.
3103 * gdb.base/del.exp: Ditto.
3104 * gdb.base/detach.exp: Ditto.
3105 * gdb.base/display.exp: Ditto.
3106 * gdb.base/ena-dis-br.exp: Ditto.
3107 * gdb.base/eval-skip.exp: Ditto.
3108 * gdb.base/foll-fork.exp: Ditto.
3109 * gdb.base/foll-vfork.exp: Ditto.
3110 * gdb.base/frame-args.exp: Ditto.
3111 * gdb.base/funcargs.exp: Ditto.
3112 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3113 * gdb.base/gdbvars.exp: Ditto.
3114 * gdb.base/help.exp: Ditto.
3115 * gdb.base/ifelse.exp: Ditto.
3116 * gdb.base/included.exp: Ditto.
3117 * gdb.base/list.exp: Ditto.
3118 * gdb.base/macscp.exp: Ditto.
3119 * gdb.base/maint.exp: Ditto.
3120 * gdb.base/multi-fork.exp: Ditto.
3121 * gdb.base/overlays.exp: Ditto.
3122 * gdb.base/page.exp: Ditto.
3123 * gdb.base/pending.exp: Ditto.
3124 * gdb.base/pointers.exp: Ditto.
3125 * gdb.base/pr11022.exp: Ditto.
3126 * gdb.base/prelink.exp: Ditto.
3127 * gdb.base/printcmds.exp: Ditto.
3128 * gdb.base/psymtab.exp: Ditto.
3129 * gdb.base/randomize.exp: Ditto.
3130 * gdb.base/relational.exp: Ditto.
3131 * gdb.base/relocate.exp: Ditto.
3132 * gdb.base/remote.exp: Ditto.
3133 * gdb.base/sepdebug.exp: Ditto.
3134 * gdb.base/set-lang-auto.exp: Ditto.
3135 * gdb.base/setshow.exp: Ditto.
3136 * gdb.base/setvar.exp: Ditto.
3137 * gdb.base/signals.exp: Ditto.
3138 * gdb.base/signull.exp: Ditto.
3139 * gdb.base/sigstep.exp: Ditto.
3140 * gdb.base/sizeof.exp: Ditto.
3141 * gdb.base/solib-disc.exp: Ditto.
3142 * gdb.base/store.exp: Ditto.
3143 * gdb.base/structs.exp: Ditto.
3144 * gdb.base/structs2.exp: Ditto.
3145 * gdb.base/subst.exp: Ditto.
3146 * gdb.base/term.exp: Ditto.
3147 * gdb.base/trace-commands.exp: Ditto.
3148 * gdb.base/unwindonsignal.exp: Ditto.
3149 * gdb.base/valgrind-db-attach.exp: Ditto.
3150 * gdb.base/varargs.exp: Ditto.
3151 * gdb.base/watch-cond.exp: Ditto.
3152 * gdb.base/watch_thread_num.exp: Ditto.
3153 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3154 * gdb.base/watchpoint.exp: Ditto.
3155 * gdb.base/whatis-exp.exp: Ditto.
3157 2010-06-01 Michael Snyder <msnyder@vmware.com>
3159 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3160 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3161 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3162 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3163 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3164 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3165 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3166 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3167 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3168 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3169 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3170 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3171 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3172 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3173 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3175 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3177 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3179 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3180 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3181 (p *args): ... here and remove excessive trailing newline.
3183 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3185 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3187 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3189 Accept the new Linux kernel "t (tracing stop)" string.
3190 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3192 (state_wait) <T (tracing stop)>: New.
3193 (main): Update the state_wait expect string.
3195 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3197 * limits.c, limits.exp: Delete files.
3198 * Makefile.in (clean mostlyclean): Adjust.
3199 * tracecmd.exp: Adjust.
3201 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3203 * gdb.base/tui-layout.exp: New.
3205 2010-05-28 Michael Snyder <msnyder@vmware.com>
3207 * gdb.reverse/break-precsave.exp:
3208 Replace uses of send_gdb / gdb_expect.
3209 * gdb.reverse/break-reverse.exp:
3210 Replace uses of send_gdb / gdb_expect.
3211 * gdb.reverse/consecutive-precsave.exp:
3212 Replace uses of send_gdb / gdb_expect.
3213 * gdb.reverse/consecutive-reverse.exp:
3214 Replace uses of send_gdb / gdb_expect.
3215 * gdb.reverse/finish-precsave.exp:
3216 Replace uses of send_gdb / gdb_expect.
3217 * gdb.reverse/finish-reverse.exp:
3218 Replace uses of send_gdb / gdb_expect.
3219 * gdb.reverse/i386-precsave.exp:
3220 Replace uses of send_gdb / gdb_expect.
3221 * gdb.reverse/i386-reverse.exp:
3222 Replace uses of send_gdb / gdb_expect.
3223 * gdb.reverse/i386-sse-reverse.exp:
3224 Replace uses of send_gdb / gdb_expect.
3225 * gdb.reverse/i387-env-reverse.exp:
3226 Replace uses of send_gdb / gdb_expect.
3227 * gdb.reverse/i387-stack-reverse.exp:
3228 Replace uses of send_gdb / gdb_expect.
3229 * gdb.reverse/machinestate-precsave.exp:
3230 Replace uses of send_gdb / gdb_expect.
3231 * gdb.reverse/machinestate.exp:
3232 Replace uses of send_gdb / gdb_expect.
3233 * gdb.reverse/sigall-precsave.exp:
3234 Replace uses of send_gdb / gdb_expect.
3235 * gdb.reverse/sigall-reverse.exp:
3236 Replace uses of send_gdb / gdb_expect.
3237 * gdb.reverse/solib-precsave.exp:
3238 Replace uses of send_gdb / gdb_expect.
3239 * gdb.reverse/solib-reverse.exp:
3240 Replace uses of send_gdb / gdb_expect.
3241 * gdb.reverse/step-precsave.exp:
3242 Replace uses of send_gdb / gdb_expect.
3243 * gdb.reverse/step-reverse.exp:
3244 Replace uses of send_gdb / gdb_expect.
3245 * gdb.reverse/until-precsave.exp:
3246 Replace uses of send_gdb / gdb_expect.
3247 * gdb.reverse/until-reverse.exp:
3248 Replace uses of send_gdb / gdb_expect.
3249 * gdb.reverse/watch-precsave.exp:
3250 Replace uses of send_gdb / gdb_expect.
3251 * gdb.reverse/watch-reverse.exp:
3252 Replace uses of send_gdb / gdb_expect.
3254 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3256 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3259 2010-05-27 Michael Snyder <msnyder@vmware.com>
3261 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3262 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3263 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3264 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3265 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3266 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3267 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3268 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3269 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3270 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3271 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3272 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3273 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3274 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3275 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3276 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3277 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3278 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3279 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3281 2010-05-26 Michael Snyder <msnyder@vmware.com>
3283 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3284 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3286 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3287 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3288 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3290 * gdb.reverse/consecutive-reverse.exp:
3291 Replace uses of send_gdb / gdb_expect.
3292 * gdb.reverse/consecutive-precsave.exp:
3293 Replace uses of send_gdb / gdb_expect.
3295 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3296 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3297 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3298 * gdb.mi/mi-ns-stale-regcache.exp:
3299 Replace uses of send_gdb / gdb_expect.
3300 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3301 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3302 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3303 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3304 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3305 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3306 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3307 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3308 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3310 2010-05-26 Michael Snyder <msnyder@vmware.com>
3312 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3314 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3316 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3317 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3318 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3319 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3320 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3321 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3322 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3323 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3324 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3326 2010-05-25 Tom Tromey <tromey@redhat.com>
3328 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3330 2010-05-25 Tom Tromey <tromey@redhat.com>
3332 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3334 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3335 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3337 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3339 * gdb.base/call-sc.exp (setup_kfails): Remove.
3340 (setup_compiler_kfails): Remove.
3341 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3343 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3344 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3345 (advancei): Fix setup_kfail argument order.
3346 * gdb.base/radix.exp: Fix setup_kfail argument order.
3347 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3349 * gdb.base/structs.exp (setup_kfails): Remove.
3350 (setup_compiler_kfails): Fix setup_kfail argument order.
3351 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3353 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3354 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3355 setup_kfail argument order.
3356 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3358 2010-05-25 Tom Tromey <tromey@redhat.com>
3360 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3362 2010-05-25 Michael Snyder <msnyder@vmware.com>
3364 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3365 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3366 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3367 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3368 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3369 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3370 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3371 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3372 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3373 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3374 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3375 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3376 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3377 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3378 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3379 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3380 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3381 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3382 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3383 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3384 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3385 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3386 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3387 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3388 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3389 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3390 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3391 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3392 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3393 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3394 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3395 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3396 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3397 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3398 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3399 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3400 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3401 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3402 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3403 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3404 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3405 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3406 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3407 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3408 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3409 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3410 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3411 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3413 2010-05-25 Doug Evans <dje@google.com>
3415 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3418 2010-05-21 Tom Tromey <tromey@redhat.com>
3420 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3422 * gdb.dwarf2/pieces.S: Update.
3423 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3425 2010-05-21 Tom Tromey <tromey@redhat.com>
3427 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3429 * gdb.dwarf2/pieces.c (struct C): New.
3431 * gdb.dwarf2/pieces.S: Replace.
3433 2010-05-21 Tom Tromey <tromey@redhat.com>
3435 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3438 2010-05-21 Tom Tromey <tromey@redhat.com>
3440 * gdb.dwarf2.pieces.exp: New file.
3441 * gdb.dwarf2.pieces.S: New file.
3442 * gdb.dwarf2.pieces.c: New file.
3444 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3445 Joel Brobecker <brobecker@adacore.com>
3447 * lib/gdb.exp (gdb_test_no_output): New function.
3448 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3449 when testing commands that should produce no output.
3451 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3453 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3454 parameter that we want to watch being a constant.
3456 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3458 * gdb.ada/cond_lang: New testcase.
3460 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3462 * lib/gdb.exp (banned_variables): New variable/constant.
3463 (gdb_init): Add write trace on variables listed in banned_variables.
3464 (gdb_finish): Remove write traces on variables listed in
3467 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3469 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3470 * gdb.cp/koenig.exp: Likewise.
3472 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3476 * gdb.python/py-value.exp (test_value_hash): New function.
3478 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3481 * gdb.base/gdb11530.c: New file.
3482 * gdb.base/gdb11530.exp: New file.
3484 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3486 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3487 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3489 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3491 * gdb.cp/koenig.exp: New test.
3492 * gdb.cp/koenig.cc: New test program.
3494 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3496 Remove the use of prms_id and bug_id throughout the testsuite.
3498 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3501 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3502 use a reference local variable.
3504 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3506 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3507 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3508 variable different_dir. Move debugfile into a full directory pathname
3509 under DIFFERENT_DIR.
3510 * lib/gdb.exp (separate_debug_filename): Remove.
3511 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3512 variable debug_dir and mkdir of it. Update function comments.
3514 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3518 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3521 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3523 * gdb.python/py-param.exp: New File.
3525 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3527 * gdb.base/default.exp: Fix "set language" test.
3529 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3531 PR breakpoints/11531.
3532 * gdb.base/gdb11531.c: New file.
3533 * gdb.base/gdb11531.exp: New file.
3535 2010-04-26 Tom Tromey <tromey@redhat.com>
3537 * gdb.base/completion.exp: Add tests for completion and deprecated
3540 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3542 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3543 (print /x char_array): Escape curly brackets.
3545 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3547 Fix deadlock on looped list of loaded shared objects.
3548 * gdb.base/solib-corrupted.exp: New.
3550 2010-04-23 Doug Evans <dje@google.com>
3552 * gdb.python/py-section-script.c: New file.
3553 * gdb.python/py-section-script.exp: New file.
3554 * gdb.python/py-section-script.py: New file.
3556 2010-04-20 Chris Moller <cmoller@redhat.com>
3560 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3561 * gdb.base/pr10179-a.c:
3562 * gdb.base/pr10179-b.c:
3563 * gdb.base/pr10179.exp: New files.
3565 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3567 Fix crashes on dangling display expressions.
3568 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3570 (lib_flags): Remove the "debug" keyword.
3571 (libsepdebug): New variable for iterating new loop.
3572 (save_pf_prefix): New variable wrapping the loop.
3573 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3574 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3576 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3578 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3580 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3583 * gdb.stabs/gdb11479.exp: New file.
3584 * gdb.stabs/gdb11479.c: New file.
3586 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3588 * gdb.base/charset.c (Strin16, String32): New variables.
3589 * gdb.base/charset.exp (gdb_test): Test correct display
3590 of 16 or 32 bit strings.
3592 2010-04-21 Chris Moller <cmoller@redhat.com>
3595 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3596 * gdb.cp/pr9167.cc: New file.
3597 * gdb.cp/pr9167.exp: New file.
3600 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3603 * gdb.pascal/gdb11492.pas: New file.
3604 * gdb.pascal/gdb11492.exp: New file.
3606 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3608 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3610 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3612 * gdb.ada/dyn_loc: New testcase.
3614 2010-04-20 Chris Moller <cmoller@redhat.com>
3618 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3619 * gdb.cp/pr10687.cc: New file.
3620 * gdb.cp/pr10687.exp: New file.
3623 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3624 Sergio Durigan Junior <sergiodj@redhat.com>
3626 * gdb.fortran/logical.exp: New testcase.
3627 * gdb.fortran/logical.f90: New file.
3629 2010-04-19 Doug Evans <dje@google.com>
3631 * gdb.base/help.exp (help source): Update expected output.
3633 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3635 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3636 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3637 gdb_exit and return.
3638 (executable): New variable.
3641 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3643 PR breakpoints/8554.
3645 * gdb.trace/save-trace.exp: Adjust.
3647 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3650 * gdb.arch/system-gcore.exp: New.
3651 * gdb.arch/gcore.c: Likewise.
3653 2010-04-15 Doug Evans <dje@google.com>
3655 * gdb.python/py-progspace.c: New file.
3656 * gdb.python/py-progspace.exp: New file.
3658 * gdb.base/source.exp: Add tests for "source -s".
3660 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3662 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3663 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3664 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3665 * gdb.python/py-mi.exp: New test for to_string returning None.
3667 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3669 * gdb.python/py-breakpoint.c: Make result global.
3671 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3673 Fix non-GNU make compatibility.
3674 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3676 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3678 * gdb.python/py-breakpoint.exp: New File.
3679 * gdb.python/py-breakpoint.C: Ditto.
3681 2010-04-08 Stan Shebs <stan@codesourcery.com>
3683 * gdb.trace/actions.exp: Clear default-collect.
3684 * gdb.trace/save-trace.exp: Clear default-collect.
3686 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3688 * gdb.python/py-value: Add null string variable.
3689 (test_lazy_string): Test zero length, NULL address lazy
3692 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3694 * gdb.arch/i386-avx.c: New.
3695 * gdb.arch/i386-avx.exp: Likewise.
3697 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3699 2010-04-06 Doug Evans <dje@google.com>
3701 * gdb.base/source-test.gdb: New file.
3702 * gdb.base/source.exp: Test source -v.
3704 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3706 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3708 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3710 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3711 within one line, unless it is followed by a double quote.
3712 * gdb.stabs/hppa.sed: Idem.
3713 * gdb.stabs/weird.def: Add char and String constants
3714 * gdb.stabs/weird.exp: Check for correct parsing of
3715 char and string constants.
3716 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3717 in .stabs to .stabx substitution.
3719 2010-04-05 Stan Shebs <stan@codesourcery.com>
3721 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3723 * gdb.trace/tfile.exp: Try to print them.
3725 2010-04-04 Stan Shebs <stan@codesourcery.com>
3727 * gdb.base/completion.exp: Update for new "info watchpoints".
3728 * gdb.base/default.exp: Ditto.
3729 * gdb.base/help.exp: Ditto.
3730 * gdb.base/watchpoint.exp: Ditto.
3731 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3733 2010-04-04 Stan Shebs <stan@codesourcery.com>
3735 * gdb.trace/tfile.exp: Sharpen tfind test.
3737 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3739 * gdb.base/break-entry.exp: New.
3741 2010-04-02 Hui Zhu <teawater@gmail.com>
3742 Michael Snyder <msnyder@vmware.com>
3744 * gdb.reverse/i386-sse-reverse.exp: New file.
3745 * gdb.reverse/i386-sse-reverse.c: New file.
3747 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3749 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3751 2010-04-01 Stan Shebs <stan@codesourcery.com>
3753 * gdb.trace/actions.exp: Tweak expected output.
3754 * gdb.trace/while-stepping.exp: Tweak expected output.
3756 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3758 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3760 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3762 * gdb.base/commands.exp: Adjust.
3763 * gdb.cp/extern-c.exp: Adjust.
3765 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3767 * gdb.trace/collection.c (local_test_func): Define a local struct,
3770 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3772 * gdb.trace/collection.exp (gdb_collect_args_test)
3773 (gdb_collect_argarray_test): XFAIL the tests that assume the
3774 argarray argument's elements are collected.
3776 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3778 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3779 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3781 2010-03-31 Stan Shebs <stan@codesourcery.com>
3783 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3784 and tracepoint conditionals.
3785 (gdb_verify_tracepoints): Delete unused return.
3787 2010-03-26 Keith Seitz <keiths@redhat.com>
3789 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3790 appear in the output before main.
3791 Remove KFAIL for gdb/2215 aka bz 9320.
3793 2010-03-30 Doug Evans <dje@google.com>
3795 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3797 * gdb.arch/amd64-dword.exp: Ditto.
3799 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3801 (break printf): Ditto.
3803 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3805 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3807 * gdb.cp/shadow.exp: Ditto.
3809 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3811 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3814 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3816 * gdb.trace/collection.exp (executable): New.
3818 (fpreg, spreg, pcreg): New.
3819 (test_register): Use gdb_test_multiple. Pass /x to print.
3820 (prepare_for_trace_test): New.
3821 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3822 (gdb_collect_args_test, gdb_collect_argstruct_test)
3823 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3824 prepare_for_trace_test.
3825 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3826 fpreg, spreg and pcreg.
3827 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3828 prepare_for_trace_test.
3829 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3830 try to detect tracing support here. Don't set breakpoints at
3831 `begin' or `end' here.
3832 <global scope>: Use clean_restart. Run to main before checking
3833 for tracing support. Check for for tracing support here.
3835 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3837 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3838 " as $displacement" to "seen displacement message".
3840 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3842 * gdb.trace/while-dyn.exp (executable): New variable.
3844 (test_while_stepping): New function. Move most tests here. Call
3845 it once for each of the while-stepping, stepping and ws aliases.
3847 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3849 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3850 that do not provide the tagless_struct type name at all.
3851 (test_print_anon_union): Do not check value of uninitialized
3852 union member. Do not use cp_test_ptype_class, so we can accept
3853 "long" as well as "long int".
3855 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3857 * gdb.trace/tfile.c (tohex, bin2hex): New.
3858 (write_error_trace_file): Hexify error description.
3860 2010-03-25 Stan Shebs <stan@codesourcery.com>
3862 * gdb.trace/tfile.c: Generate an additional trace file, improve
3864 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3865 files in a better way.
3867 2010-03-25 Keith Seitz <keiths@redhat.com>
3869 * gdb.java/jprint.exp: XFAIL printing of static class members
3870 because of GCC debuginfo problem.
3872 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3874 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3876 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3878 * gdb.base/completion.exp: Allow long instead of long int.
3879 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3880 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3882 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3883 * gdb.base/pointers.exp: Allow long instead of long int.
3884 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3885 * gdb.base/step-line.exp: Allow a directory before the source file name.
3887 2010-03-24 Tom Tromey <tromey@redhat.com>
3889 PR breakpoints/9352:
3890 * gdb.base/default.exp: Update.
3891 * gdb.base/commands.exp: Update.
3892 * gdb.cp/extern-c.exp: Test setting commands on multiple
3893 breakpoints at once.
3895 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3897 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3899 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3900 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3903 2010-03-24 Stan Shebs <stan@codesourcery.com>
3905 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3907 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3909 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3910 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3911 argument. Handle "short" and "long".
3912 (Top level): Pass overprototyped output for old_fptr and xptr.
3914 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3916 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3917 format strings and add casts to avoid compiler warnings.
3919 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3921 * lib/trace-support.exp (gdb_trace_setactions):
3922 Don't expect whitespace after ">" prompt.
3923 * gdb.trace/actions.exp: Adjust for output changes.
3924 * gdb.trace/while-stepping.exp: Likewise.
3926 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3928 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3931 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3933 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3936 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3938 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3939 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3941 2010-03-19 Stan Shebs <stan@codesourcery.com>
3943 * gdb.trace/ax.exp: New file.
3945 2010-03-19 Doug Evans <dje@google.com>
3947 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3950 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3951 named /usr/sbin/prelink<foo>.
3953 2010-03-18 Stan Shebs <stan@codesourcery.com>
3955 * gdb.trace/circ.exp: Test circular-trace-buffer.
3956 * gdb.trace/tfile.exp: Update tstatus test.
3958 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3960 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3961 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3963 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3965 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3967 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3969 * gdb.base/default.exp: Adjust the expected output of the finish
3970 and until commands when the inferior is not being run.
3972 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3974 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3975 * gdb.cp/nsusing.exp: Ditto.
3977 2010-03-15 Tom Tromey <tromey@redhat.com>
3979 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3980 * gdb.cp/userdef.cc (operator==): New function.
3981 (main): New locals mem1, mem2.
3983 2010-03-15 Jie Zhang <jie@codesourcery.com>
3985 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3986 Declare and use new loadtimeout variable.
3988 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3990 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3993 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3995 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3996 literal. Add missing endlines to prints to stderr.
3998 2010-03-12 Tom Tromey <tromey@redhat.com>
4001 * gdb.cp/m-static.exp: Add regression test.
4002 * gdb.cp/m-static.cc (method): New method.
4005 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4007 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4008 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4010 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4012 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4014 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4016 * lib/gdb.exp (skip_stl_tests): New.
4017 (gdb_compile): Symbian needs -ldl.
4018 (shlib_target_file): New.
4019 (shlib_symbol_file): New.
4020 (gdb_load_shlibs): Use shlib_target_file.
4021 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4022 * gdb.cp/exception.exp: Use skip_stl_tests.
4023 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4024 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4025 * gdb.cp/mb-templates.exp: Ditto.
4026 * gdb.base/commands.exp: Relax regexes.
4027 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4028 shlib_target_file and shlib_symbol_file.
4029 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4031 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4032 * gdb.base/solib-disc.exp: Use
4033 shlib_target_file and shlib_symbol_file.
4034 * gdb.base/unload.exp: Don't skip on symbian. Use
4035 shlib_target_file and shlib_symbol_file.
4036 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4038 2010-03-12 Pedro Alves <pedro@codesourcery.com>
4040 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4041 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4042 Issue a tfind end before looking for a tracepoint frame.
4043 * gdb.trace/tfind.exp: Adjust tstatus output.
4044 Adjust disassembly output.
4045 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4047 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4049 * gdb.base/break-interp.exp: Create new displacement parameter value
4050 for the test_ld calls.
4051 (reach): New parameter displacement, verify its content. New push of
4052 pf_prefix "reach-$func:". Import global expect_out.
4053 (test_core): New parameter displacement, verify its content. New push
4054 of pf_prefix "core:". New command "set verbose on". Import global
4056 (test_attach): New parameter displacement, verify its content. New
4057 push of pf_prefix "attach:". New command "set verbose on". Import
4059 (test_ld): New parameter displacement, pass it to the reach, test_core
4060 and test_attach calls and verify its content in the "ld.so exit" test.
4061 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4062 (prelink): Update expected text, use gdb_test.
4064 2010-03-10 Doug Evans <dje@google.com>
4066 * gdb.base/checkpoint.exp: Fix comment.
4067 Lengthen timeout while doing >600 checkpoints test.
4068 Rename duplicate "kill all one" test to keep test names unique.
4070 2010-03-10 Pedro Alves <pedro@codesourcery.com>
4072 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4074 2010-03-08 Keith Seitz <keiths@redhat.com>
4076 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4077 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4078 (dm_type_long): New function.
4079 (dm_type_unsigned_short): New function.
4080 (dm_type_unsigned_long): New function.
4081 (myint): New typedef.
4082 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4083 long, unsigned shor and long, operator char*, and typedef.
4084 (test_lookup_operator_functions): Add operator char* test.
4085 (test_paddr_operator_functions): Likewise.
4086 (test_paddr_overloaded_functions): Use probe values for
4087 short, long, and unsigned short and long.
4088 (test_paddr_hairy_functions): If the demangler probe detected
4089 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4091 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4092 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4093 and "print null_pmf".
4094 Add test "ptype a.*pmf".
4095 * gdb.cp/overload.exp: Allow optional "int" to appear with
4097 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4098 long expect value for men_overload1arg.
4099 Allow "int" to appear with "short" and "long".
4100 When testing "info break", add argument for main (void).
4101 Also allow "int" to appear with "short" and "long".
4102 Ditto with "unsigned" and "long long".
4103 * gdb.java/jmain.exp: Do not enclose methods names in single
4105 * gdb.java/jmisc.exp: Likewise.
4106 * gdb.java/jprint.exp: Likewise.
4107 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4109 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4110 * gdb.cp/exception.exp (backtrace after first throw)
4111 (backtrace after second throw): Allow a namespace before __cxa_throw.
4112 (backtrace after first catch, backtrace after second catch): Allow
4113 a namespace before __cxa_begin_catch.
4115 * gdb.cp/cpexprs.exp: New file.
4116 * gdb.cp/cpexprs.cc: New file.
4118 From Daniel Jacobowitz <dan@codesourcery.com>
4119 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4120 to use string_to_regexp.
4121 (ctor, dtor): New functions. Use them to match constructor
4122 and destructor function types.
4123 (Top level): Use runto_main.
4125 2010-03-05 Tom Tromey <tromey@redhat.com>
4127 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4129 (pp_ns.to_string): Likewise.
4131 2010-03-04 Keith Seitz <keiths@redhat.com>
4133 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4134 can be quoted. Test that both the filename and function/line
4135 portions can be quoted at the same time.
4137 2010-03-04 Pedro Alves <pedro@codesourcery.com>
4139 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4141 2010-03-03 Doug Evans <dje@google.com>
4143 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4144 libc contains libpthread.
4146 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4147 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4148 of gdb_compile. Add another pattern to match android backtrace.
4150 2010-03-03 Tom Tromey <tromey@redhat.com>
4153 * gdb.base/printcmds.exp (test_printf): Add test.
4155 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4157 * gdb.arch/amd64-byte.exp: New.
4158 * gdb.arch/amd64-dword.exp: Likewise.
4159 * gdb.arch/amd64-pseudo.c: Likewise.
4160 * gdb.arch/amd64-word.exp: Likewise.
4161 * gdb.arch/i386-byte.exp: Likewise.
4162 * gdb.arch/i386-pseudo.c: Likewise.
4163 * gdb.arch/i386-word.exp: Likewise.
4165 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4167 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4168 types. Add structreg, bitfields, and flags registers.
4169 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4172 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4174 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4175 (load_description): Set architecture if defined.
4177 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4179 * gdb.python/py-frame.exp: Add read_var block tests.
4180 * gdb.python/py-frame.c (block): New function.
4182 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4183 Daniel Jacobowitz <dan@codesourcery.com>
4185 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4187 2010-02-25 David S. Miller <davem@davemloft.net>
4189 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4190 fix logic for setting all_syscalls_numbers.
4192 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4194 * Makefile.in: Add py-block and py-symbol.
4195 * gdb.python/py-symbol.exp: New File.
4196 * gdb.python/py-symtab.exp: New File.
4197 * gdb.python/py-block.exp: New File.
4198 * gdb.python/py-symbol.c: New File.
4199 * gdb.python/py-block.c: New File.
4201 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4204 * lib/gdb.exp (skip_python_tests): New function.
4205 * gdb.python/py-cmd.exp: Use skip_python_tests.
4206 * gdb.python/py-frame.exp: Likewise.
4207 * gdb.python/py-function.exp: Likewise.
4208 * gdb.python/py-prettyprint.exp: Likewise.
4209 * gdb.python/py-template.exp: Likewise.
4210 * gdb.python/py-type.exp: Likewise.
4211 * gdb.python/py-value.exp: Likewise.
4213 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4217 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4219 2010-02-19 Tom Tromey <tromey@redhat.com>
4221 PR c++/8693, PR c++/9496:
4222 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4225 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4227 Fix compatibility with m68k as.
4228 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4229 Use only /* comments */.
4231 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4233 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4234 * configure: Regenerate.
4236 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4238 * gdb.python/py-type.exp: Check for Python support.
4240 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4242 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4243 `regsub' syntax available.
4245 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4247 * gdb.base/shmain.c (main): Remove printf call.
4248 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4249 * gdb.base/unload.c (main): Make format of fprintf a string
4250 literal. Add missing endlines to prints to stderr.
4251 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4253 2010-02-17 Tom Tromey <tromey@redhat.com>
4255 * gdb.java/jprint.java (jprint.props): New field.
4256 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4258 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4260 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4263 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4265 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4266 creation to support remote host testing.
4268 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4270 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4271 Recognize "command not found".
4273 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4275 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4278 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4280 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4281 if arguments are not supported.
4283 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4285 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4286 be const or non-const.
4288 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4290 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4291 mi_send_resuming_command to send -exec-continue.
4293 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4295 * gdb.base/list.exp (test_list_filename_and_function): Add test
4297 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4299 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4300 Add KFAIL'd tests for PR gdb/11289.
4302 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4304 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4306 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4308 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4309 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4310 a temporary directory.
4312 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4314 * gdb.base/charset.exp: Use a single regular expression to match
4315 show host-charset and show target-charset output.
4317 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4319 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4320 "Illegal process-id" expect string more exact.
4321 (attach to digits-starting nonsense is prohibited): New.
4323 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4325 * gdb.base/prelink.exp (set verbose on): New.
4327 2010-02-12 Tomas Holmberg <th@virtutech.com>
4329 * mi-reverse.exp: New file. Test for reverse option to the
4330 following MI commands: exec-continue, exec-finish, exec-next,
4331 exec-step, exec-next-instruction, exec-step-instruction.
4333 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4335 * gdb.ada/ptype_tagged_param: New testcase.
4337 2010-02-08 Tom Tromey <tromey@redhat.com>
4340 * gdb.cp/overload.exp: Add tests.
4341 * gdb.cp/overload.cc (struct K): New.
4343 (main): Call new functions.
4344 (K::staticoverload): Define.
4346 2010-02-08 Chris Moller <moller@mollerware.com>
4349 * gdb.cp/pr10728-x.h: New file.
4350 * gdb.cp/pr10728-x.cc: New file.
4351 * gdb.cp/pr10728-y.cc: New file.
4352 * gdb.cp/pr10728.exp: New file.
4353 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4355 2010-02-08 Chris Moller <moller@mollerware.com>
4358 * gdb.cp/pr9067.exp: New
4359 * gdb.cp/pr9067.cc: New
4360 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4362 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4364 * lib/gdb.exp (gdb_test_timeout): New global variable.
4365 Set it to timeout if not already set.
4366 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4368 2010-02-05 Doug Evans <dje@google.com>
4370 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4373 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4376 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4378 2010-02-04 Tom Tromey <tromey@redhat.com>
4380 * gdb.cp/virtbase.exp: Make test case names unique.
4382 2010-02-02 Tom Tromey <tromey@redhat.com>
4384 * gdb.cp/virtbase.exp: Add regression tests.
4385 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4386 (main): Instantiate RHC.
4388 2010-02-02 Tom Tromey <tromey@redhat.com>
4390 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4391 type-printing change.
4393 2010-02-02 Tom Tromey <tromey@redhat.com>
4395 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4396 * gdb.cp/virtbase.cc: New file.
4397 * gdb.cp/virtbase.exp: New file.
4398 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4400 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4403 * gdb.threads/current-lwp-dead.c: Include features.h.
4405 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4407 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4409 * gdb.base/symbol-without-target_section.exp,
4410 gdb.base/symbol-without-target_section.c: New.
4412 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4414 * gdb.base/bigcore.exp: Reset increased timeout.
4415 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4417 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4419 * gdb.base/gcore.exp (capture_command_output): Use
4422 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4424 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4425 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4426 (Top level): Call it.
4428 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4430 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4432 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4434 * gdb.base/call-strs.exp, gdb.base/default.exp,
4435 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4436 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4437 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4438 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4439 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4440 * gdb.base/ending-run.exp: Correct restore of timeout.
4441 * gdb.base/page.exp: Remove unnecessary timeout setting.
4443 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4445 * gdb.ada/rec_return: New testcase.
4447 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4449 * gdb.ada/call_pn: New testcase.
4451 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4453 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4454 (Top level): Use it to resume.
4455 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4456 the Thumb mode displaced stepping error as unsupported.
4458 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4460 * gdb.cp/nsusing.exp: Added more tests.
4461 * gdb.cp/nsrecurs.exp: Ditto.
4462 * gdb.cp/nsusing.cc: Added test functions.
4463 * gdb.cp/nsrecurs.cc: Ditto.
4465 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4467 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4468 absolute directory pathnames in gdb.sum file.
4470 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4472 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4473 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4475 2010-01-26 Tom Tromey <tromey@redhat.com>
4478 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4481 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4483 * gdb.cp/nsrecurs.exp: New test.
4484 * gdb.cp/nsrecurs.cc: New test program.
4485 * gdb.cp/nsstress.exp: New test.
4486 * gdb.cp/nsstress.cc: New test program.
4487 * gdb.cp/nsdecl.exp: New test.
4488 * gdb.cp/nsdecl.cc: New test program.
4490 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4492 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4493 imported into file scope.
4494 Marked test as xfail.
4495 * gdb.cp/namespace-using.cc (marker5): New function.
4496 * gdb.cp/shadow.exp: New test.
4497 * gdb.cp/shadow.cc: New test program.
4498 * gdb.cp/nsimport.exp: New test.
4499 * gdb.cp/nsimport.cc: New test program.
4501 2010-01-25 Tom Tromey <tromey@redhat.com>
4504 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4505 with "set print null-stop on".
4507 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4509 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4510 Adjust it for DISASSEMBLY_OMIT_FNAME.
4512 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4515 * gdb.dwarf2/member-ptr-forwardref.exp,
4516 gdb.dwarf2/member-ptr-forwardref.S: New.
4518 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4520 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4521 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4522 thread1_tid_mutex. Remove gdbstop_mutex handling.
4523 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4524 thread2_tid_mutex. Remove gdbstop_mutex handling.
4525 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4526 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4527 pthread_cond_wait conditionalizations by while loops.
4529 2010-01-20 Tom Tromey <tromey@redhat.com>
4532 * gdb.dwarf2/pr10770.exp: New file.
4533 * gdb.dwarf2/pr10770.c: New file.
4534 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4536 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4538 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4539 that target was removed, and the test always runs native anyway.
4541 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4543 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4544 gdb.base/watchpoint-cond-gone-stripped.c: New.
4546 2010-01-19 Tom Tromey <tromey@redhat.com>
4549 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4551 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4552 (main): Use AAA::SomeEnum.
4554 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4556 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4557 (test_ignore_count): Declare line_callme_body global.
4558 (run to breakpoint with ignore count): Use line_callme_body.
4559 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4560 (set line_main_hello, set line_main_return): Reindent.
4561 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4563 (continue to callee4): Use line_callee4_body.
4564 (check *stopped from CLI command): Use line_callee4_next.
4565 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4566 (set line_main_hello, set line_main_return): Reindent.
4567 (set line_callee4_head, set line_callee4_body): New.
4568 (continue to callee4): Use line_callee4_body.
4570 2010-01-18 Tom Tromey <tromey@redhat.com>
4573 * gdb.cp/casts.cc: Add new classes and variables.
4574 * gdb.cp/casts.exp: Test new operators.
4576 2010-01-18 Tom Tromey <tromey@redhat.com>
4577 Thiago Jung Bauermann <bauerman@br.ibm.com>
4579 * gdb.python/source2.py: New file.
4580 * gdb.python/source1: New file.
4581 * gdb.python/python.exp: Test "source" command.
4583 2010-01-15 Stan Shebs <stan@codesourcery.com>
4585 * gdb.trace/tfile.c: New file.
4586 * gdb.trace/tfile.exp: New file.
4588 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4590 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4592 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4594 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4596 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4598 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4599 (libfunc): New parameter action. Implement also selectable "sleep".
4600 * gdb.base/break-interp-main.c: Include assert.h.
4601 (libfunc): New parameter action.
4602 (main): New parameters argc and argv. Assert argc. Pass argv.
4603 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4604 (test_attach): New proc.
4605 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4606 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4608 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4610 * gdb.base/break-interp.exp (test_core): New proc.
4613 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4615 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4616 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4617 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4618 and gdb_compile_shlib. Use new -Wl compiler options.
4619 (dl bt, main bt): New tests.
4621 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4623 Support PIEs with no symfile_objfile.
4624 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4625 (test_ld): New parameter trynosym.
4626 (test_ld <$trynosym>): New block.
4628 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4630 * gdb.base/break-interp.exp: New file.
4632 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4634 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4635 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4636 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4638 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4639 * gdb.python/py-mi.exp: Add lazy string test.
4641 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4643 * lib/mi-support.exp (mi_check_thread_states): Handle
4644 core number in thread listing.
4646 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4648 * gdb.base/maint.exp: Adjust the expected output for the
4649 "maint print type" test. Use gdb_test_multiple instead of
4650 gdb_sent/gdb_expect.
4652 2010-01-11 Doug Evans <dje@google.com>
4654 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4655 from gdbserver_download. All callers updated.
4657 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4659 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4661 Implement binary numbers parsing.
4662 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4663 (test_integer_literals_rejected): New binary tests.
4665 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4667 * gdb.cell/configure: Regenerate.
4669 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4671 * gdb.base/corefile.exp: Move the core finding block out and call it as
4672 core_find, new variable $corefile, replace corefile by $corefile and
4673 [file tail $corefile] for usage vs. test names resp.
4674 * lib/gdb.exp (core_find): Move it as a new function here. New
4675 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4676 $destcore. Return "" on error.
4678 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4680 Workaround PR binutils/10802.
4681 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4684 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4686 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4688 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4690 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4691 call, to avoid interruption.
4693 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4695 * gdb.stabs/weird.def (args93): New.
4697 2010-01-07 Doug Evans <dje@google.com>
4699 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4701 2010-01-07 Tom Tromey <tromey@redhat.com>
4703 * gdb.base/source.exp: Use correct line number.
4705 2010-01-05 Stan Shebs <stan@codesourcery.com>
4707 * gdb.trace/tracecmd.exp: Test ftrace.
4709 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4711 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4713 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4715 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4716 "uint_for_mi_testing".
4718 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4720 Test indented comment in file being sourced.
4721 * gdb.base/commands.exp: Test indented comment in file being sourced.
4723 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4725 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4726 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4727 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4730 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4732 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4735 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4737 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4738 missing $after_stopped and comma (,) expectation.
4740 2009-12-31 Stan Shebs <stan@codesourcery.com>
4742 * gdb.trace/actions.exp: Test teval action.
4744 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4746 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4747 (top level): Call test_watchpoint_in_big_blob.
4748 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4750 (func3): Write to buf.
4752 2009-12-29 Stan Shebs <stan@codesourcery.com>
4754 * gdb.trace/actions.exp: Test default-collect.
4756 2009-12-28 Stan Shebs <stan@codesourcery.com>
4758 * gdb.trace/tsv.exp: New file.
4759 * gdb.base/completion.exp: Update ambiguous info output.
4761 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4763 * gdb.base/find.c (main): Reference search buffers.
4764 * gdb.base/included.c (main): Reference integer.
4765 * gdb.base/ptype.c (charfoo): Declare.
4766 (intfoo): Call charfoo.
4767 * gdb.base/scope0.c (useitp): New function.
4768 (usestatics): Use useitp.
4769 (useit): Add a type for val.
4770 * gdb.base/scope1.c (useit1): Take a pointer argument.
4771 (usestatics1): Update calls to useit1.
4772 * gdb.cp/call-c.cc: Declare foo.
4774 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4775 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4776 (main): Call C::ensureRefs and ensureOtherRefs.
4777 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4779 (ensureOtherRefs): New function.
4780 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4781 * gdb.cp/templates.cc (main): Call t5i.value.
4783 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4785 Fix compatibility with G++-4.5.
4786 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4787 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4788 (uncaught return): Remove.
4790 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4791 Phil Muldoon <pmuldoon@redhat.com>
4793 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4794 (bp_location13, bp_location14, bp_location17, bp_location18)
4795 (marker3_proto, marker4_proto): New variables.
4796 (breakpoint info): Update output.
4797 (run until breakpoint at marker3, run until breakpoint at marker4): New
4800 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4802 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4803 Replace the printf call of Y by provided "y-set-1" label. New block
4804 for the second shared library.
4805 * gdb.base/unload.exp: Compile also the second library, call
4806 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4807 (single pending breakpoint info): Rename to ...
4808 (pending breakpoint info before run): ... this extended test.
4809 (libfile2, libname2, libsrcfile2, libsrc2)
4810 (lib_sl2): New variables.
4811 (exec_opts): Set also SHLIB_NAME2.
4812 (pending breakpoint info on first run at shrfunc1)
4813 (pending breakpoint info on second run at shrfunc1)
4814 (pending breakpoint info on second run at shrfunc2)
4815 (print y from libfile, print y from libfile2): New tests.
4816 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4817 * gdb.base/unloadshr2.c: New.
4819 2009-12-22 Hui Zhu <teawater@gmail.com>
4821 * gdb.reverse/sigall-reverse.exp: Adjust.
4823 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4827 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4828 (main): Call do_bitfield_tests.
4829 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4831 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4833 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4834 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4835 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4836 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4837 gdb.modula2/unbounded1.c: Update copyright header.
4839 2009-12-10 Chris Moller <moller@mollerware.com>
4842 * gdb.cp/virtfunc2.exp: New tests
4843 * gdb.cp/virtfunc2.cc: New tests
4844 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4846 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4848 * gdb.reverse/i387-env-reverse.c: New file.
4849 * gdb.reverse/i387-env-reverse.exp: New file.
4850 * gdb.reverse/i387-stack-reverse.c: New file.
4851 * gdb.reverse/i387-stack-reverse.exp: New file.
4853 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4855 * gdb.python/py-type.exp (test_range): New test.
4857 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4861 * gdb.python/py-type.exp: New file.
4862 * gdb.python/py-type.c: New file.
4863 * Makefile.in: Add py-type.
4865 2009-12-03 Tom Tromey <tromey@redhat.com>
4867 * gdb.python/py-value.exp (test_parse_and_eval): New
4870 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4874 * gdb.base/pr11022.exp: New test.
4875 * gdb.base/pr11022.c: New test.
4877 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4879 Fix spurious false FAILs.
4880 * gdb.base/structs.c (chartest): New.
4881 (main): Fill-in chartest.
4882 * gdb.base/structs.exp (anychar_re, first): New.
4883 (start_structs_test): Import global anychar_re and first.
4884 New gdb_test call "set print elements 300; ${testfile}"
4885 (start_structs_test <$first>): New block.
4886 (any): Import global anychar_re. New variable ac. Use ${ac}.
4888 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4890 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4892 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4894 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4895 Force $srcfile file.
4896 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4898 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4900 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4901 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4902 * gdb.threads/watchthreads-reorder.exp: Likewise.
4904 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4908 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4909 "if", and "thread". Correct matching in the previous test.
4911 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4913 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4915 2009-11-23 Michael Snyder <msnyder@vmware.com>
4917 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4918 * gdb.reverse-watch-precsave.exp: Ditto.
4920 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4922 * gdb.asm/asm-source.exp: Adjust.
4923 * gdb.base/help.exp: Adjust.
4925 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4927 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4928 (do_syscall_tests_without_xml): Set data-directory to
4929 /the/path/to/nowhere.
4931 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4933 * gdb.threads/local-watch-wrong-thread.c,
4934 gdb.threads/local-watch-wrong-thread.exp: New files.
4936 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4938 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4939 assume new `regsub' syntax available.
4941 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4943 * gdb.base/watchpoint-hw-hit-once.exp,
4944 gdb.base/watchpoint-hw-hit-once.c: New.
4946 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4948 * gdb.threads/watchthreads-reorder.exp,
4949 gdb.threads/watchthreads-reorder.c: New.
4951 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4953 * gdb.xml/tdesc-regs.exp: Use for m68k.
4955 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4957 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4959 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4961 * lib/gdb.exp (current_target_name): New procedure.
4962 (gdb_wrapper_target): New variable.
4963 (gdb_wrapper_init): Set gdb_wrapper_target.
4964 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4967 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4969 * gdb.base/remote.exp: Delete the slowest load test.
4970 Do not load with fixed packet sizes.
4972 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4974 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4976 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4978 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4979 srcfile when setting a breakpoint.
4981 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4983 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4986 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4988 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4990 * gdb.base/display.c (force_mem): New.
4991 (do_loops): Use it. Add breakpoint comments.
4992 (do_vars): Add a breakpoint comment.
4993 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4996 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4998 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4999 instead of a bare "run".
5001 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5003 * gdb.python/py-prettyprint.exp: Adjust.
5005 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5007 * lib/cell.exp (skip_cell_tests): Clean up test files before
5010 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5012 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5013 and the breakpoint menu. Do not call perror if a prompt is seen.
5014 Consume the following GDB prompt.
5015 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5016 * gdb.cp/namespace.exp: Use gdb_test.
5017 * gdb.cp/templates.exp: Use gdb_test.
5018 (test_template_breakpoints): Use gdb_test_multiple.
5020 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5022 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5023 (marker4): Reference values.
5025 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5027 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5030 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5032 * gdb.base/break.c (need_malloc): New.
5033 * gdb.base/constvars.c (main): Reference crass and crisp.
5034 * gdb.base/gdb1821.c (main): Reference bar.
5035 * gdb.cp/gdb1355.cc (main): Reference s1.
5036 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5038 * gdb.cp/hang2.cc (dummy2): Define.
5039 * gdb.cp/hang3.cc (dummy3): Define.
5040 * gdb.cp/m-data.cc (main): Reference shadow.
5042 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5043 Nathan Froyd <froydnj@codesourcery.com>
5045 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5048 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5050 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5051 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5052 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5053 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5054 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5055 * gdb.dwarf2/dw2-producer.exp: Likewise.
5056 * gdb.dwarf2/mac-fileno.exp: Likewise.
5057 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5058 py-prettyprint.py to the remote host.
5059 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5061 2009-11-11 Keith Seitz <keiths@redhat.com>
5063 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5064 use it instead of "Foo".
5065 * gdb.cp/classes.exp (do_tests): Add a test to access
5066 a method through a typedef'd class name.
5068 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5070 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5072 * gdb.base/pointers.exp: Likewise.
5073 * gdb.cp/ref-types.exp: Likewise.
5075 2009-11-11 Keith Seitz <keiths@redhat.com>
5077 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5079 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5081 (probe_demangler): Remove all single-quoting of
5082 method and variable names.
5083 (info_func_regexp): Remove the word "void" from any
5084 occurrence of "(void)".
5085 (print_addr_2): Remove all single-quoting of
5087 (print_addr_2_kfail): Likewise.
5088 (print_addr): Single-quote C function names before
5089 passing to print_addr_2.
5090 (test_paddr_operator_functions): Remove single-quoting
5092 Add tests for operator new[] and operator delete[].
5094 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5096 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5098 2009-11-09 Keith Seitz <keiths@redhat.com>
5100 * gdb.cp/overload.exp: Add tests for resolving overloaded
5101 methods in expression parsing/evaluation.
5103 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5105 * lib/gdb.exp (default_gdb_version): Use --version instead of
5108 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5110 * lib/gdb.exp (gdb_compile_test): New.
5111 (skip_ada_tests, skip_java_tests): New.
5112 (gdb_compile): Use gdb_compile_test for f77.
5113 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5114 * lib/java.exp (compile_java_from_source): Remove runtests check,
5115 use gdb_compile_test to record result.
5116 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5117 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5118 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5119 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5120 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5121 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5122 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5123 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5124 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5125 adjust gdb_compile invocations.
5127 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5129 * Makefile.in (abs_builddir): New.
5130 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5131 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5132 `$(abs_builddir)/site.exp'.
5134 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5136 * config/m68k-emc.exp, lib/emc-support.exp,
5137 gdb.trace/gdb_c_test.c: Delete.
5138 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5139 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5140 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5141 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5142 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5143 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5144 casing for m68k-*-elf.
5146 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5148 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5149 * gdb.arch/i386-prologue.exp: Likewise.
5150 * gdb.arch/i386-unwind.exp: Likewise.
5152 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5154 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5156 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5158 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5160 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5162 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5164 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5166 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5168 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5170 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5171 * gdb.base/sepdebug2.c: New file.
5173 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5175 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5176 the modified warnings for catch syscall. Verify if GDB was compiled
5177 with support for lib expat, and choose which tests to run depending
5180 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5182 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5183 that composite commands are parsed OK. And also test
5184 that breakpoint commands do work.
5186 2009-10-23 Michael Snyder <msnyder@vmware.com>
5188 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5189 to allow for new disassembly style.
5191 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5193 * gdb.asm/asm-source.exp: Adjust.
5195 2009-10-22 Michael Snyder <msnyder@vmware.com>
5197 * gdb.reverse/break-precsave.exp: New test.
5198 * gdb.reverse/consecutive-precsave.exp: Ditto.
5199 * gdb.reverse/finish-precsave.exp: Ditto.
5200 * gdb.reverse/i386-precsave.exp: Ditto.
5201 * gdb.reverse/machinestate-precsave.exp: Ditto.
5202 * gdb.reverse/sigall-precsave.exp: Ditto.
5203 * gdb.reverse/solilb-precsave.exp: Ditto.
5204 * gdb.reverse/step-precsave.exp: Ditto.
5205 * gdb.reverse/until-precsave.exp: Ditto.
5206 * gdb.reverse/watch-precsave.exp: Ditto.
5208 2009-10-22 Michael Snyder <msnyder@vmware.com>
5210 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5211 for gdb_expect. Adjust one test's expect strings for the new
5212 format of disassemble.
5213 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5214 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5216 * gdb.reverse/step-reverse.exp: Delete 'return'.
5217 * gdb.reverse/until-reverse.exp: Delete blank lines.
5218 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5220 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5222 * gdb.base/consecutive.exp: Adjust.
5223 * gdb.base/display.exp: Likewise.
5224 * gdb.base/pc-fp.exp: Likewise.
5225 * gdb.base/sigbpt.exp: Likewise.
5227 2009-10-19 Michael Snyder <msnyder@vmware.com>
5229 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5230 * gdb.reverse/finish-reverse.c: Ditto.
5231 * gdb.reverse/sigall-reverse.c: Ditto.
5232 * gdb.reverse/solib-reverse.c: Ditto.
5233 * gdb.reverse/step-reverse.c: Ditto.
5234 * gdb.reverse/watch-reverse.c: Ditto.
5236 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5237 Stan Shebs <stan@codesourcery.com>
5239 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5240 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5241 "Executing new program".
5242 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5243 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5244 left listed after having been killed.
5245 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5246 * gdb.base/maint.exp: Adjust test.
5248 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5249 * gdb.multi/Makefile.in: New.
5250 * gdb.multi/base.exp: New.
5251 * gdb.multi/goodbye.c: New.
5252 * gdb.multi/hangout.c: New.
5253 * gdb.multi/hello.c: New.
5254 * gdb.multi/bkpt-multi-exec.c: New.
5255 * gdb.multi/bkpt-multi-exec.exp: New.
5256 * gdb.multi/crashme.c: New.
5258 2009-10-13 Tristan Gingold <gingold@adacore.com>
5260 * gdb.base/sepdebug.exp: Check debug info are found.
5262 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5264 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5267 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5269 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5271 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5273 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5276 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5278 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5279 * gdb.base/annota3.exp: Idem.
5280 * gdb.base/maint.exp: Idem.
5282 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5284 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5287 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5289 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5290 mingw and cygwin targets.
5292 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5293 Pedro Alves <pedro@codesourcery.com>
5295 * lib/gdb.exp (gdb_compile): Avoid adding
5296 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5298 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5300 * gdb.base/shr1.c: Use %p in format string.
5301 * gdb.base/unload.c: Avoid warning in fprintf.
5302 * gdb.base/watchpoint-solib.c: Idem.
5304 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5306 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5308 (test_unlink): Correct printf string.
5309 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5310 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5312 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5314 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5315 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5316 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5318 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5320 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5321 * gdb.objc/nondebug.exp: Likewise.
5323 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5325 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5326 target_info setting.
5328 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5329 that detect new threads during "info threads".
5331 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5333 * gdb.threads/manythreads.c (main): Increase thread stack size
5334 to 2*PTHREAD_STACK_MIN.
5335 * gdb.threads/multi-create.c (main): Likewise.
5336 (create_function): Likewise.
5338 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5340 * gdb.base/dump.exp: Pass difference of pointer types instead
5341 of integer types as offset to restore in intarr3.srec case.
5343 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5345 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5347 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5349 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5351 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5353 New test for two watchpoints, with disabling of
5355 * testsuite/gdb.base/watchpoints.c: New file.
5356 * testsuite/gdb.base/watchpoints.exp: New file.
5358 2009-09-25 Tom Tromey <tromey@redhat.com>
5360 * gdb.base/charset.exp: Test utf-16 strings with Python.
5362 2009-09-25 Tom Tromey <tromey@redhat.com>
5364 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5366 * gdb.base/charset.c (utf_32_string): Rename.
5367 (init_utf32): Rename.
5370 2009-09-22 Tom Tromey <tromey@redhat.com>
5372 * gdb.python/py-function.exp: Add regression tests.
5374 2009-09-21 Keith Seitz <keiths@redhat.com>
5376 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5377 with invalid operator.
5379 2009-09-21 Keith Seitz <keiths@redhat.com>
5381 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5382 and destructor using typedef name of class.
5383 * gdb.cp/classes.cc (class Base1): Add a destructor.
5384 (base1): New typedef.
5385 (use_methods): Instanitate an object of type base1.
5386 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5387 (do_tests): Call test_template_typedef.
5388 * gdb.cp/templates.cc (Baz::~Baz): New method.
5389 (intBazOne): New typedef.
5390 (main): Instantiate intBazOne.
5392 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5396 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5398 (run_lang_tests): Add print elements test.
5400 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5402 * gdb.python/py-value.exp (test_subscript_regression): New
5403 function. Test for invalid subscripts.
5404 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5405 (ptr_ref): New function.
5407 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5409 * gdb.base/default.exp: Fix "show convenience".
5411 2009-09-15 Tom Tromey <tromey@redhat.com>
5413 * lib/mi-support.exp (mi_create_varobj): Update.
5414 (mi_create_floating_varobj): Likewise.
5415 (mi_create_dynamic_varobj): New proc.
5416 (mi_varobj_update): Update.
5417 (mi_varobj_update_with_type_change): Likewise.
5418 (mi_varobj_update_kv_helper): New proc.
5419 (mi_varobj_update_dynamic_helper): Rewrite.
5420 (mi_varobj_update_dynamic): New proc.
5421 (mi_list_varobj_children): Update.
5422 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5423 * gdb.python/python-prettyprint.py (pp_outer): New class.
5424 (pp_nullstr): Likewise.
5425 (lookup_function): Register new printers.
5426 * gdb.python/python-prettyprint.c (struct substruct): New type.
5427 (struct outerstruct): Likewise.
5428 (substruct_test): New function.
5429 (struct nullstr): New type.
5430 (string_1, string_2): New globals.
5431 (main): Add new tests.
5432 * gdb.python/python-mi.exp: Added regression tests.
5433 * gdb.mi/mi2-var-display.exp: Update.
5434 * gdb.mi/mi2-var-cmd.exp: Update.
5435 * gdb.mi/mi2-var-child.exp: Update.
5436 * gdb.mi/mi2-var-block.exp: Update.
5437 * gdb.mi/mi-var-invalidate.exp: Update.
5438 * gdb.mi/mi-var-display.exp: Update.
5439 * gdb.mi/mi-var-cmd.exp: Update.
5440 * gdb.mi/mi-var-child.exp: Update.
5441 * gdb.mi/mi-var-block.exp: Update.
5442 * gdb.mi/mi-break.exp: Update.
5443 * gdb.mi/gdb701.exp: Update.
5445 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5447 * Makefile.in: Inclusion of catch-syscall object.
5448 * gdb.base/catch-syscall.c: New file.
5449 * gdb.base/catch-syscall.exp: New file.
5451 2009-09-12 Michael Snyder <msnyder@vmware.com>
5453 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5454 that can support reverse debuggnig.
5456 2009-09-11 Tom Tromey <tromey@redhat.com>
5458 * gdb.dwarf2/valop.S: New file.
5459 * gdb.dwarf2/valop.exp: New file.
5461 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5463 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5465 2009-09-10 Doug Evans <dje@google.com>
5467 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5468 Add $gdb_prompt to second breakpoint regexp.
5470 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5472 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5473 names, add missing ones.
5474 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5475 * gdb.python/py-frame.c: Rename from python-frame.c.
5476 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5478 * gdb.python/py-function.exp: Rename from python-function.exp.
5479 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5481 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5482 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5483 Adjust testfile name.
5484 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5485 * gdb.python/py-template.cc: Rename from python-template.cc.
5486 * gdb.python/py-template.exp: Rename from python-template.exp.
5487 Adjust testfile name.
5488 * gdb.python/py-value.c: Rename from python-value.c.
5489 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5492 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5494 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5496 (Second breakpoint address is valid on ia64)
5497 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5499 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5501 * gdb.base/ending-run.exp: Restrict regular expression matching
5502 line number to require closing brace following.
5504 2009-09-03 Doug Evans <dje@google.com>
5506 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5508 2009-09-02 Tom Tromey <tromey@redhat.com>
5510 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5512 2009-09-02 Tom Tromey <tromey@redhat.com>
5514 * gdb.dwarf2/callframecfa.exp: New file.
5515 * gdb.dwarf2/callframecfa.S: New file.
5517 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5519 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5520 gdb.base/solib-overlap-main.c: New.
5522 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5526 * gdb.base/bitfields.c (struct container, container): New.
5527 (main): Initialize it and call break5.
5528 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5530 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5532 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5533 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5535 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5537 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5539 2009-08-26 Michael Snyder <msnyder@vmware.com>
5541 * gdb.base/i386-reverse.c: New file.
5542 * gdb.base/i386-reverse.exp: New file.
5543 * gdb.base/Makefile.in: Add new files to be removed.
5545 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5547 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5548 environment-pwd for remote host.
5549 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5551 2009-08-24 Keith Seitz <keiths@redhat.com>
5553 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5554 Add two new C++ completer tests which limit the output to a
5557 2009-08-24 Michael Snyder <msnyder@vmware.com>
5559 * gdb.base/del.exp: Fix typo in comment.
5560 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5562 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5564 * configure: Regenerate.
5565 * gdb.hp/configure: Likewise.
5566 * gdb.hp/gdb.aCC/configure: Likewise.
5567 * gdb.hp/gdb.base-hp/configure: Likewise.
5568 * gdb.hp/gdb.compat/configure: Likewise.
5569 * gdb.hp/gdb.defects/configure: Likewise.
5570 * gdb.hp/gdb.objdbg/configure: Likewise.
5571 * gdb.stabs/configure: Likewise.
5573 2009-08-19 Doug Evans <dje@google.com>
5575 * gdb.base/gdbvars.c: New file.
5576 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5578 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5580 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5581 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5583 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5585 * gdb.base/default.exp: Adjust "set language test": it's now an
5586 enum command. Larger help string moved to "help set language".
5587 * gdb.base/help.exp: Adjust "help set language" expected output,
5588 now lists all known languages.
5590 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5592 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5593 all frame arguments.
5594 * gdb.arch/altivec-regs.exp: Likewise.
5596 2009-08-07 Tom Tromey <tromey@redhat.com>
5598 * gdb.base/setshow.exp: Add tests for changes to set language, set
5599 check range, and set check type.
5601 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5603 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5604 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5607 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5609 * configure.ac: Run gdb.cell tests when appropriate.
5610 * configure: Regenerate.
5611 * lib/cell.exp: New file.
5612 * gdb.cell: New directory.
5613 * gdb.cell/configure.ac: New file.
5614 * gdb.cell/configure: New file.
5615 * gdb.cell/Makefile.in: New file.
5616 * gdb.cell/arch.exp: New file.
5617 * gdb.cell/break.c: New file.
5618 * gdb.cell/break.exp: New file.
5619 * gdb.cell/break-spu.c: New file.
5620 * gdb.cell/bt.c: New file.
5621 * gdb.cell/bt2-spu.c: New file.
5622 * gdb.cell/bt-spu.c: New file.
5623 * gdb.cell/bt.exp: New file.
5624 * gdb.cell/coremaker.c: New file.
5625 * gdb.cell/coremaker-spu.c: New file.
5626 * gdb.cell/core.exp: New file.
5627 * gdb.cell/gcore.exp: New file.
5628 * gdb.cell/data.c: New file.
5629 * gdb.cell/data.exp: New file.
5630 * gdb.cell/data-spu.c: New file.
5631 * gdb.cell/ea-cache.exp: New file.
5632 * gdb.cell/ea-cache.c: New file.
5633 * gdb.cell/ea-cache-spu.c: New file.
5634 * gdb.cell/ea-standalone.c: New file.
5635 * gdb.cell/ea-standalone.exp: New file.
5636 * gdb.cell/ea-test.c: New file.
5637 * gdb.cell/ea-test.exp: New file.
5638 * gdb.cell/f-regs.exp: New file.
5639 * gdb.cell/mem-access.c: New file.
5640 * gdb.cell/mem-access.exp: New file.
5641 * gdb.cell/mem-access-spu.c: New file.
5642 * gdb.cell/ptype.exp: New file.
5643 * gdb.cell/registers.exp: New file.
5644 * gdb.cell/size.c: New file.
5645 * gdb.cell/sizeof.exp: New file.
5646 * gdb.cell/size-spu.c: New file.
5647 * gdb.cell/solib.exp: New file.
5648 * gdb.cell/solib-symbol.exp: New file.
5650 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5652 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5654 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5656 * gdb.base/float.exp: Handle VFP registers.
5658 2009-07-14 Michael Snyder <msnyder@vmware.com>
5660 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5661 to bring gdb to the beginning of the calling line.
5663 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5664 confusing the i386 epilogue unwinder.
5666 2009-07-14 Stan Shebs <stan@codesourcery.com>
5668 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5670 2009-07-14 Michael Snyder <msnyder@vmware.com>
5672 * gdb.reverse/step-reverse.exp (stepi into function call):
5673 Call instruction may not be first instruction in the line.
5674 (reverse stepi from a function call): Used wrong line number.
5676 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5678 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5680 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5682 Fix gdb.base/macscp.exp when using custom inputrc.
5683 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5684 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5686 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5687 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5689 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5691 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5692 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5693 Change the compilation target to match the testcase name.
5694 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5696 * a2-run.exp: Use for setup prepare_for_testing. Change the
5697 compilation target to match the testcase name.
5698 * gdb.base/commands.exp: Likewise.
5699 * gdb.base/finish.exp: Likewise.
5700 * gdb.base/float.exp: Likewise.
5701 * gdb.base/info-target.exp: Likewise.
5702 * gdb.base/relational.exp: Likewise.
5703 * gdb.base/term.exp: Likewise.
5704 * gdb.base/until.exp: Likewise.
5705 * gdb.base/volatile.exp: Likewise.
5706 * gdb.base/whatis-exp.exp: Likewise.
5708 2009-07-11 Hui Zhu <teawater@gmail.com>
5710 * gdb.base/help.exp (disassemble): Update expected help text.
5712 2009-07-09 Tom Tromey <tromey@redhat.com>
5714 * lib/gdb.exp: Handle TRANSCRIPT.
5715 (remote_spawn, remote_close, send_gdb): New procs.
5717 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5719 * gdb.python/python-prettyprint.c: Add counted null string
5721 * gdb.python/python-prettyprint.exp: Print null string. Test for
5723 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5724 * gdb.python/python-value.exp (test_value_in_inferior): Add
5725 variable length string fetch tests.
5726 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5728 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5730 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5732 2009-07-07 Tom Tromey <tromey@redhat.com>
5734 * gdb.base/call-rt-st.exp: Update for change to escape output.
5735 * gdb.base/callfuncs.exp: Likewise.
5736 * gdb.base/charset.exp: Likewise.
5737 * gdb.base/constvars.exp: Likewise.
5738 * gdb.base/long_long.exp: Likewise.
5739 * gdb.base/pointers.exp: Likewise.
5740 * gdb.base/printcmds.exp: Likewise.
5741 * gdb.base/setvar.exp: Likewise.
5742 * gdb.base/store.exp: Likewise.
5743 * gdb.cp/ref-types.exp: Likewise.
5744 * gdb.mi/mi-var-child.exp: Likewise.
5745 * gdb.mi/mi-var-display.exp: Likewise.
5746 * gdb.mi/mi2-var-display.exp: Likewise.
5747 * gdb.base/charset.exp: Test octal escape sequence length.
5748 Update for change to escape output.
5750 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5752 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5754 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5756 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5758 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5760 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5761 gdbserver increasing $portnum if "Can't bind address" has been seen.
5763 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5765 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5768 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5770 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5773 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5775 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5776 linux. Adjust to use "inferior", "info inferiors", "detach
5777 inferior" and "kill inferior" instead of "restart", "info fork",
5778 "detach fork" and "delete fork".
5779 * gdb.base/ending-run.exp: Spell out "info".
5780 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5783 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5785 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5786 change to prefix TLS offset in hex with 0x.
5788 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5790 * gdb.base/default.exp: Update test case for "x" changes.
5792 2009-07-01 Tristan Gingold <gingold@adacore.com>
5794 * gdb.base/bigcore.exp: Make darwin untested.
5796 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5798 * gdb.base/completion.exp (directory completion): Create the directory.
5799 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5801 (directory completion 2): Expect now ${escapeuniquesub}.
5802 (Glob remaining of directory test): Remove one excessive newline.
5803 Expect the real output.
5805 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5807 Fix `make check//%' target after `make check' has been ran.
5808 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5810 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5813 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5815 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5816 the expected result record.
5818 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5820 Remove racy FAILs relying just on the timeouts.
5821 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5822 (annotation_level 2): Remove racy FAILs.
5824 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5827 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5829 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5831 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5833 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5835 * gdb.mi/mi-stack.exp: Testing symbolic options
5836 to -stack-list-locals and -stack-list-arguments.
5838 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5840 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5842 2009-06-29 Tom Tromey <tromey@redhat.com>
5844 * dg-extract-results.sh: New file.
5845 * Makefile.in (FORCE_PARALLEL): New variable.
5846 (CHECK_TARGET): New conditional variable.
5847 (check): Use CHECK_TARGET.
5848 (DO_RUNTEST): New variable.
5849 (check-single): New target.
5850 (TEST_DIRS): New variable.
5851 (TEST_TARGETS): Likewise.
5852 (check-parallel): New target.
5853 (check-gdb.%): New pattern.
5854 (BASE1_FILES): New variable.
5855 (BASE2_FILES): Likewise.
5856 (check-gdb.base%): New pattern.
5857 (%/.dir): New pattern.
5858 * configure: Rebuild.
5859 * aclocal.m4 (AM_CONDITIONAL): New defun.
5860 * configure.ac: Check whether user is using GNU make.
5861 (GMAKE): New conditional.
5863 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5865 * gdb.cp/namespace-nested-import.cc: New test.
5866 * gdb.cp/namespace-nested-import.exp: New test.
5868 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5870 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5871 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5872 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5873 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5874 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5875 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5876 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5877 gdb.opt/inline-markers.c: New files.
5878 * lib/gdb.exp (skip_inline_frame_tests): New function.
5879 (skip_inline_var_tests): New function.
5881 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5883 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5886 2009-06-27 Michael Snyder <msnyder@vmware.com>
5888 * gdb.reverse: New directory.
5889 * gdb.reverse/break-reverse.c: New test.
5890 * gdb.reverse/break-reverse.exp: New test.
5891 * gdb.reverse/consecutive-reverse.c: New test.
5892 * gdb.reverse/consecutive-reverse.exp: New test.
5893 * gdb.reverse/finish-reverse.c: New test.
5894 * gdb.reverse/finish-reverse.exp: New test.
5895 * gdb.reverse/machinestate.c: New test.
5896 * gdb.reverse/ms1.c: New test.
5897 * gdb.reverse/machinestate.exp: New test.
5898 * gdb.reverse/Makefile.in: New file.
5899 * gdb.reverse/shr2.c: New test.
5900 * gdb.reverse/solib-reverse.c: New test.
5901 * gdb.reverse/solib-reverse.exp: New test.
5902 * gdb.reverse/step-reverse.c: New test.
5903 * gdb.reverse/step-reverse.exp: New test.
5904 * gdb.reverse/until-reverse.c: New test.
5905 * gdb.reverse/ur1.c: New test.
5906 * gdb.reverse/until-reverse.exp: New test.
5907 * gdb.reverse/watch-reverse.c: New test.
5908 * gdb.reverse/watch-reverse.exp: New test.
5909 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5910 * configure: Regenerate.
5912 2009-06-26 Doug Evans <dje@google.com>
5914 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5916 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5918 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5919 windows problem for 'file delete $binfile'.
5921 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5923 * gdb.cp/namespace-using.exp: New test.
5924 * gdb.cp/namespace-using.cc: New test.
5926 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5928 * gdb.ada/variant_record_packed_array: New testcase.
5930 2009-06-23 Tom Tromey <tromey@redhat.com>
5932 * gdb.base/charset.exp (test_combination): Regression test.
5933 * gdb.base/charset.c (my_wchar_t): New typedef.
5934 (myvar): New global.
5937 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5939 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5942 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5944 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5946 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5948 * gdb.mi/gdb680.exp: Update test for error message.
5950 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5952 * gdb.base/annota1.exp: Allow multiple occurrences of the
5953 frames-invalid annotation.
5954 * gdb.cp/annota2.exp: Likewise.
5956 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5958 * gdb.cp/gdb2495.cc: New file.
5959 * gdb.cp/gdb2495.exp: New file.
5961 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5963 Report error on GDB crash during runto.
5964 * lib/gdb.exp (runto <eof>): New.
5966 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5968 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5969 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5970 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5971 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5972 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5973 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5974 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5975 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5976 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5977 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5978 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5979 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5980 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5981 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5982 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5983 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5984 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5985 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5986 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5987 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5988 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5989 gdb.trace/passcount.exp, gdb.trace/report.exp,
5990 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5991 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5992 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5995 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5997 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5998 defined before referencing it.
6000 2009-06-03 Doug Evans <dje@google.com>
6002 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6003 * gdb.arch/i386-see.c: Ditto.
6005 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6007 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6008 (check_macro): Return 1 if undefined.
6009 If first test fails, check if macro debug information is available,
6010 and report unsupported test if no macro information is found.
6012 2009-05-29 Doug Evans <dje@google.com>
6014 * gdb.threads/hand-call-in-threads.exp: New.
6015 * gdb.threads/hand-call-in-threads.c: New.
6017 2009-05-29 Michael Snyder <msnyder@vmware.com>
6019 * gdb.base/break-always.exp: Change "1" to "on".
6020 Add confirmation check.
6022 2009-05-28 Pedro Alves <pedro@codesourcery.com>
6024 * gdb.threads/threxit-hop-specific.c: New.
6025 * gdb.threads/threxit-hop-specific.exp: New.
6026 * gdb.threads/thread-execl.c: New.
6027 * gdb.threads/thread-execl.exp: New.
6029 2009-05-27 Tom Tromey <tromey@redhat.com>
6030 Thiago Jung Bauermann <bauerman@br.ibm.com>
6032 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6033 (mi_child_regexp): Likewise.
6034 (mi_list_varobj_children_range): Likewise.
6035 (mi_get_features): Likewise.
6036 (mi_list_varobj_children): Rewrite.
6037 * gdb.python/python-mi.exp: New file.
6039 2009-05-27 Tom Tromey <tromey@redhat.com>
6040 Thiago Jung Bauermann <bauerman@br.ibm.com>
6041 Phil Muldoon <pmuldoon@redhat.com>
6042 Paul Pluzhnikov <ppluzhnikov@google.com>
6044 * gdb.python/python-prettyprint.exp: New file.
6045 * gdb.python/python-prettyprint.c: New file.
6046 * gdb.python/python-prettyprint.py: New file.
6047 * gdb.base/display.exp: print/r is now valid.
6049 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6050 Tom Tromey <tromey@redhat.com>
6051 Pedro Alves <pedro@codesourcery.com>
6052 Paul Pluzhnikov <ppluzhnikov@google.com>
6054 * gdb.python/python-template.exp: New file.
6055 * gdb.python/python-template.cc: New file.
6056 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6058 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6060 (test_value_after_death): New proc.
6061 * gdb.python/python-value.c (PTR): New typedef.
6062 (main): New variable 'x'.
6064 2009-05-27 Tom Tromey <tromey@redhat.com>
6066 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6068 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6071 2009-05-27 Pedro Alves <pedro@codesourcery.com>
6073 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6075 2009-05-24 Pedro Alves <pedro@codesourcery.com>
6077 * gdb.threads/fork-thread-pending.c: New.
6078 * gdb.threads/fork-thread-pending.exp: New.
6080 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6082 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6083 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6085 2009-05-18 Jon Beniston <jon@beniston.com>
6087 * gdb.asm/asm-source.exp: Add lm32 target.
6089 2009-05-17 Pedro Alves <pedro@codesourcery.com>
6091 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6092 `gdb_get_line_number'. Call `callee' in both parent and child.
6093 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6094 `gdb_get_line_number' instead of hardcoding line numbers.
6095 (catch_fork_unpatch_child): New procedure to test detaching
6096 breakpoints from child fork.
6097 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6098 hardcoding line numbers.
6099 (do_fork_tests): Run `catch_fork_unpatch_child'.
6101 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6103 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6104 of structure type enters or leaves the scope, it
6105 is reported by -var-update.
6107 2009-05-11 Doug Evans <dje@sebabeach.org>
6109 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6110 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6111 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6113 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6115 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6117 2009-04-30 Doug Evans <dje@google.com>
6119 * gdb.threads/watchthreads2.exp: New testcase.
6120 * gdb.threads/watchthreads2.c: New testcase.
6122 2009-04-29 Doug Evans <dje@google.com>
6124 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6125 * gdb.cp/mb-ctor.cc: Ditto.
6126 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6127 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6128 * gdb.cp/mb-inline1.cc: Call it.
6129 * gdb.cp/mb-inline2.cc: Ditto.
6130 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6131 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6133 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6135 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6136 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6137 Replace all uses of `decimal' by `nonzero'.
6138 (info macro FROM_COMMANDLINE): New test.
6140 2009-04-27 Tom Tromey <tromey@redhat.com>
6142 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6144 2009-04-27 Doug Evans <dje@google.com>
6146 * gdb.threads/watchthreads.c (main): Initialize args before starting
6147 the threads. Plus formatting cleanup.
6148 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6149 biased scheduling of one thread.
6151 2009-04-27 Jerome Guitton <guitton@adacore.com>
6153 * gdb.cp/templates.cc (GetMax): New template.
6154 (main): Declare two instances of GetMax.
6155 * gdb.cp/templates.exp: Add new test.
6157 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6159 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6161 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6163 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6165 2009-04-15 Tom Tromey <tromey@redhat.com>
6167 * gdb.base/charset.exp: Add regression test.
6169 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6171 * gdb.base/exe-lock.exp: New testcase.
6173 2009-04-13 Tom Tromey <tromey@redhat.com>
6175 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6178 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6180 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6181 * gdb.server/ext-attach.exp: Likewise.
6183 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6185 Eliminate some sleep usage.
6187 * gdb.mi/basics.c (do_nothing): New.
6188 (main): Use do_nothing instead of printf, so that
6189 not to introduce race condition between output of
6190 inferiour and output of gdb. Do not use sleep as it
6191 is not generally available on embedded targets.
6193 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6195 * gdb.server/ext-attach.exp: Expect an optional process id after
6196 "Detached from remote process".
6198 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6200 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6201 gdb.dwarf2/dw2-unresolved.exp: New.
6203 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6205 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6208 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6210 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6211 mi_run_to_main. Skip thread exit test on remote targets.
6212 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6214 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6216 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6217 when expecting ^connected. Detect when the target doesn't support
6219 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6220 supported. Return -1 on error, 0 on success.
6221 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6222 (mi_runto): Return mi_runto_helper's result explicitly.
6224 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6226 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6228 2009-04-01 Tom Tromey <tromey@redhat.com>
6230 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6231 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6232 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6233 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6235 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6236 Jan Kratochvil <jan.kratochvil@redhat.com>
6239 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6241 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6243 * dw2-strp.S (DW_AT_language): Change to C++.
6244 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6246 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6248 * gdb.ada/tasks: New testcase.
6250 2009-03-30 Stan Shebs <stan@codesourcery.com>
6252 * gdb.trace/actions.exp: Update to match new info trace format.
6253 * gdb.trace/deltrace.exp: Ditto.
6254 * gdb.trace/infotrace.exp: Ditto.
6255 * gdb.trace/passcount.exp: Ditto.
6256 * gdb.trace/save-trace.exp: Ditto.
6257 * gdb.trace/while-stepping.exp: Ditto.
6258 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6260 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6262 * gdb.python/python-frame.c: New file.
6263 * gdb.python/python-frame.exp: New file.
6265 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6267 * gdb.python/python-value.exp: Add tests for the address
6270 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6272 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6274 2009-03-26 Doug Evans <dje@google.com>
6276 * gdb.mi/mi-nonstop-exit.exp: New file.
6277 * gdb.mi/non-stop-exit.c: New file.
6279 2009-03-26 Tom Tromey <tromey@redhat.com>
6281 Update for change to prologue skipping:
6282 * gdb.mi/mi2-simplerun.exp: Update.
6283 * gdb.mi/mi2-break.exp: Update.
6284 * gdb.mi/mi-simplerun.exp: Update.
6285 * gdb.mi/mi-break.exp: Update.
6286 * gdb.base/ending-run.exp: Update.
6288 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6290 * gdb.python/python-value.exp (test_value_in_inferior): Test
6291 gdb.Value.is_optimized_out attribute.
6293 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6295 * gdb.dwarf2/dw2-noloc-main.c: New file.
6296 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6299 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6300 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6301 (DW_TAG_subprogram func_cu1, noloc): Remove.
6303 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6304 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6305 (file_symbols): New procedure.
6307 2009-03-25 Tom Tromey <tromey@redhat.com>
6309 * gdb.base/charset.exp (valid_target_charset): New proc.
6310 Use it to skip tests on invalid charsets.
6312 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6314 * gdb.base/completion.exp: Add a test for directory completion.
6316 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6319 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6320 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6322 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6324 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6325 * gdb.python/python-function.exp: Add test for function returning
6328 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6330 * gdb.python/python-function.exp: New file.
6332 2009-03-20 Tom Tromey <tromey@redhat.com>
6334 * gdb.base/store.exp: Update for change to escape output.
6335 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6337 * gdb.base/pointers.exp: Update for change to escape output.
6338 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6340 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6342 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6344 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6346 * gdb.base/setvar.exp: Update for change to escape output.
6347 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6348 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6350 (test_print_string_constants): Likewise.
6351 * gdb.base/charset.exp (valid_host_charset): Check size of
6352 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6353 cases. Handle "auto"-related output.
6354 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6355 (uvar, Uvar): New globals.
6357 2009-03-19 Jerome Guitton <guitton@adacore.com>
6359 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6361 * gdb.ada/fixed_points.exp: Ditto.
6363 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6365 * return-nodebug.c: Don't include stdio.h.
6367 (func): Delete definition and provide extern declaration.
6369 (main): Don't call printf. Call func and store its result in t.
6370 * return-nodebug1.c: New.
6371 * return-nodebug.exp: Don't expect stdio output. Instead, print
6372 the global variable t. Drop printf formatters and cast types from
6373 foreach loop. Don't use prepare_for_testing. Compile
6374 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6375 define FORMAT or CAST.
6377 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6379 * gdb.base/solib-display.exp: Disable test for remote targers.
6381 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6383 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6385 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6388 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6389 code from `follow parent, print pids'.
6390 (`follow child, print pids', `follow parent, print pids'): Call it.
6391 Replace `gdb_test "break..."' by gdb_breakpoint.
6393 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6395 * gdb.mi/mi-cli.exp: Adjust for output difference in
6396 sync and async modes.
6398 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6400 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6401 that was checked in by mistake. Remove loading of ada.exp, since
6402 this is not necessary in this case.
6404 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6406 * gdb.ada/ptype_arith_binop.exp: New testcase.
6408 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6410 * gdb.ada/mod_from_name: New testcase.
6412 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6414 * gdb.ada/tick_last_segv: New testcase.
6416 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6418 * gdb.mi/mi-cli.exp: Remove debug print.
6420 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6422 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6423 include the token in ^running and frame info in *stopped.
6425 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6427 * solib-display.exp: New file.
6428 * solib-display-main.c: New file.
6429 * solib-display-lib.c: New file.
6431 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6433 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6435 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6437 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6438 (list_and_check_macro): Use more specific test name.
6439 (next to definition): Make the test names unique.
6441 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6443 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6445 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6447 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6449 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6450 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6451 * lib/mi-support.exp (library_loaded_re): New.
6452 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6454 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6456 * gdb.gdb/observer.exp: Use test_notification observer, not
6457 normal_stop, everywhere.
6458 (test_normal_stop_notifications): Rename to...
6459 (test_notifications): ...this.
6460 (test_observer_normal_stop): Rename to...
6461 (test_observer): ...this.
6463 2009-02-16 Doug Evans <dje@google.com>
6465 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6466 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6467 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6468 (test_prefixed_syscall,test_int3): New tests.
6469 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6470 (test_prefixed_syscall,test_int3): New tests.
6472 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6474 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6475 (mi_expect_interrupt): Likewise.
6476 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6479 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6481 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6482 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6483 Replace calls to get_valueofx by get_hexadecimal_valueof.
6485 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6487 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6488 (get_integer_valueof): New procedure.
6489 (get_sizeof): Use new get_integer_value_of.
6490 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6491 by get_integer_valueof.
6493 2009-02-13 Tom Tromey <tromey@redhat.com>
6495 * gdb.base/remote.exp (get_sizeof): Remove.
6496 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6497 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6498 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6499 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6500 (get_sizeof): Likewise.
6502 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6505 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6507 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6509 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6511 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6513 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6515 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6517 * gdb.python/python-cmd.exp: New file.
6519 2009-02-06 Tristan Gingold <gingold@adacore.com>
6521 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6523 2009-02-05 Tristan Gingold <gingold@adacore.com>
6525 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6526 pointer is dereferenced and use this signal name in regexp.
6527 * gdb.base/signull.exp: Ditto.
6528 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6529 * gdb.base/signull.c (main): Ditto.
6531 2009-02-04 Tom Tromey <tromey@redhat.com>
6532 Thiago Jung Bauermann <bauerman@br.ibm.com>
6534 * gdb.python/python-value.exp: Use `gdb.history' instead of
6535 `gdb.value_from_history'.
6536 (test_value_numeric_ops): Add test for conversion of enum constant.
6537 * gdb.python/python-value.c (enum e): New type.
6538 (evalue): New global.
6541 2009-02-04 Jerome Guitton <guitton@adacore.com>
6543 * gdb.ada/uninitialized_vars: New test program.
6544 * gdb.ada/uninitialized_vars.exp: New testcase.
6546 2009-02-02 Tom Tromey <tromey@redhat.com>
6548 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6549 * gdb.cp/pr2489.cc: Rename...
6550 * gdb.cp/pr9594.cc: ... to this.
6552 2009-02-02 Tom Tromey <tromey@redhat.com>
6554 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6555 * gdb.cp/pr2489.cc: New file.
6556 * gdb.cp/cpcompletion.exp: New file.
6558 2009-02-02 Tom Tromey <tromey@redhat.com>
6561 * gdb.cp/call-c.exp: Add regression test.
6562 * gdb.cp/call-c.cc (FooHandle): New typedef.
6563 (main): New variable 'handle'.
6565 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6567 * lib/mi-support.exp (et_mi_thread_list)
6568 (check_mi_and_console_threads): Adjust for current thread in
6569 -thread-list-ids output.
6571 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6573 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6576 2009-01-28 Doug Evans <dje@google.com>
6578 * gdb.arch/amd64-disp-step.S: New file.
6579 * gdb.arch/amd64-disp-step.exp: New file.
6580 * gdb.arch/i386-disp-step.S: New file.
6581 * gdb.arch/i386-disp-step.exp: New file.
6583 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6585 * gdb.base/find.exp: Set newline variable
6586 using quotes instead of braces to fix cygwin failures.
6588 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6590 * gdb.base/radix.exp: Add tests to ensure that that set
6591 input-radix 0 and set output-radix 0 are really rejected.
6593 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6595 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6598 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6601 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6603 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6606 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6608 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6610 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6611 binfile definition to fix Windows OS failure.
6613 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6616 * gdb.base/interrupt.c (sigint_handler): New.
6617 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6619 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6620 Test "signal SIGINT".
6622 2009-01-19 Doug Evans <dje@google.com>
6624 * gdb.base/break.exp: Update expected gdb output.
6625 * gdb.base/sepdebug.exp: Ditto.
6626 * gdb.mi/mi-syn-frame.exp: Ditto.
6627 * gdb.mi/mi2-syn-frame.exp: Ditto.
6628 * gdb.base/call-signal-resume.exp: New file.
6629 * gdb.base/call-signals.c: New file.
6630 * gdb.base/unwindonsignal.exp: New file.
6631 * gdb.base/unwindonsignal.c: New file.
6632 * gdb.threads/interrupted-hand-call.exp: New file.
6633 * gdb.threads/interrupted-hand-call.c: New file.
6634 * gdb.threads/thread-unwindonsignal.exp: New file.
6636 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6638 * gdb.base/define.exp: Test defining and hooking prefix commands.
6639 * gdb.python/python.exp: Update test for "show user" output.
6641 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6643 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6644 now the output exactly, using less wildcards. Expect also the output
6645 of gfortran-4.3. Update for the f-valprint.c modification from
6647 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6648 Remove gdb_test test names where matching the command.
6650 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6652 PR breakpoints/9681:
6653 * gdb.base/watchpoint.exp: Add regression test.
6655 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6657 * gdb.threads/attach-into-signal.exp: Don't use
6658 gdb_suppress_entire_file.
6659 * gdb.threads/attach-stopped.exp: Ditto.
6660 * gdb.threads/attachstop-mt.exp: Ditto.
6662 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6665 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6667 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6670 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6671 and unsupported output radices are really rejected.
6673 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6675 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6677 2008-12-22 Tom Tromey <tromey@redhat.com>
6679 * gdb.cp/punctuator.exp: New file.
6681 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6683 * gdb.base/completion.exp (Completing non-existing component): New test.
6685 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6687 Fix for PR gdb/8648.
6688 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6689 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6690 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6691 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6693 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6695 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6697 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6699 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6700 compiler actually generate code at the expected line number.
6702 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6704 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6706 2008-12-12 Tom Tromey <tromey@redhat.com>
6708 * gdb.base/commands.exp (redefine_hook_test): New proc.
6711 2008-12-11 Tom Tromey <tromey@redhat.com>
6713 * gdb.base/macscp.exp: New regression test.
6715 2008-12-11 Tom Tromey <tromey@redhat.com>
6717 * gdb.base/macscp.exp: Print "address.addr".
6718 * gdb.base/macscp1.c (struct outer): New struct.
6719 (address): New global.
6721 2008-12-09 Tom Tromey <tromey@redhat.com>
6723 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6726 2008-12-04 Doug Evans <dje@google.com>
6728 * gdb.server/ext-run.exp: Relax regexp for init program.
6730 2008-12-03 Tristan Gingold <gingold@adacore.com>
6732 * gdb.base/macscp.exp: Generate an object file during compilation
6733 to work around Darwin dsymutil limitations.
6735 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6737 Test resolving external references to TLS variables.
6738 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6740 (testfile2, srcfile2): New variables.
6741 * gdb.threads/tls.c (file2_thread_local)
6742 (function_referencing_file2_thread_local): New.
6743 * gdb.threads/tls2.c: New file.
6745 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6747 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6748 rather than integer, as integer might not be big enough when
6751 2008-11-27 Jerome Guitton <guitton@adacore.com>
6753 * gdb.cp/formatted-ref.exp: Add equality test.
6754 * gdb.ada/formatted_ref.exp: Ditto.
6756 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6758 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6759 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6761 2008-11-20 Andreas Schwab <schwab@suse.de>
6763 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6764 matching syscall entry point.
6765 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6766 (tcatch_vfork_then_child_follow): Likewise. Finish through
6767 vfork even if we stopped at the syscall trampoline.
6769 2008-11-20 Doug Evans <dje@google.com>
6771 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6773 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6775 * gdb.arch/ppc-dfp.exp: New file.
6776 * gdb.arch/ppc-dfp.c: New file.
6778 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6780 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6782 2008-11-17 Doug Evans <dje@google.com>
6784 * gdb.mi/mi-syn-frame.exp: Update expected output.
6785 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6787 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6789 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6790 "thread N" results in =thread-selected.
6791 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6792 (mi_send_resuming_command_raw): Be prepared for
6795 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6797 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6798 * lib/mi-support.exp: Likewise.
6800 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6802 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6803 commands from the expected output for "help catch".
6805 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6807 * gdb.ada/int_deref.exp: New testcase.
6809 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6811 * gdb.mi/gdb2549.exp: New file.
6813 2008-11-11 Doug Evans <dje@google.com>
6815 * gdb.base/callexit.exp: New file.
6816 * gdb.base/callexit.c: New file.
6818 2008-11-10 Doug Evans <dje@google.com>
6820 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6821 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6822 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6823 (default_gdb_start,default_gdb_exit): Ditto.
6824 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6825 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6826 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6827 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6828 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6829 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6831 2008-11-03 Andreas Schwab <schwab@suse.de>
6833 * gdb.base/hashline2.exp: Fix typo.
6834 * gdb.base/hashline3.exp: Likewise.
6836 2008-10-30 Tom Tromey <tromey@redhat.com>
6838 * gdb.base/pointers.exp: Add test.
6839 * gdb.base/pointers.c (k, S): New typedefs.
6840 (instance): New global.
6842 2008-10-30 Andreas Schwab <schwab@suse.de>
6844 * gdb.base/args.exp: Add tests for newlines.
6846 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6848 gdb.base/foll-exec.exp: Update the expected output of a couple
6849 of "info breakpoints" tests.
6851 2008-10-28 Tom Tromey <tromey@redhat.com>
6853 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6855 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6857 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6859 Use runto_main before any test that requires execution.
6861 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6863 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6866 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6868 * gdb.base/completion.exp: Update expected output following
6869 the addition of the "info tasks" command.
6871 2008-10-22 Tom Tromey <tromey@redhat.com>
6873 * gdb.base/exprs.exp (test_expr): Add test for string
6876 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6878 * configure.ac: Output gdb.python/Makefile.
6879 * configure: Regenerate.
6880 * gdb.python/Makefile.in: New.
6882 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6884 * gdb.base/foll-fork.exp: Adjust the expected output to match
6885 the new description for fork/vfork catchpoints in the "info
6886 breakpoints" output.
6888 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6890 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6892 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6894 * gdb.python/python-value.c: New file.
6895 * gdb.python/python-value.exp: New file.
6897 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6899 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6901 2008-10-15 Denis Pilat <denis.pilat@st.com>
6903 * gdb.cp/mb-ctor.exp: Fix a typo.
6905 2008-10-09 Tom Tromey <tromey@redhat.com>
6907 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6908 'fprintf' and 'stderr'.
6910 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6912 * gdb.ada/ref_tick_size.exp: New testcase.
6914 2008-10-06 Doug Evans <dje@google.com>
6916 * gdb.dwarf2/dw2-cu-size.exp: New file.
6917 * gdb.dwarf2/dw2-cu-size.S: New file.
6919 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6920 .Ltype_int for clarity.
6922 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6925 * gdb.cp/gdb2384.exp: Extended to test more cases.
6926 * gdb.cp/gdb2384.cc: Likewise.
6927 * gdb.cp/gdb2384-base.h: Likewise.
6928 * gdb.cp/gdb2384-base.cc: Likewise.
6930 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6932 * gdb.base/maint.exp (maint print type): Remove printing
6933 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6935 2008-09-30 Tom Tromey <tromey@redhat.com>
6937 * gdb.base/macscp.exp: Add completion tests.
6938 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6939 (TWENTY_THREE): Likewise.
6940 (FORTY_EIGHT): Likewise.
6942 2008-09-30 Tom Tromey <tromey@redhat.com>
6944 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6946 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6948 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6950 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6951 testcase is derived from. Fix racy dependency on an expected PID
6952 number. No longer support the testcase on Linux kernel 2.4.x.
6954 2008-09-27 Tom Tromey <tromey@redhat.com>
6956 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6959 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6961 * lib/mi-support.exp (mi_expect_interrupt): New.
6962 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6963 from gdb.mi/mi-nonstop.exp.
6964 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6965 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6967 Use mi_check_thread_states throughout. Avoid ".*" and do not
6968 require an anchor after -exec-run.
6970 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6972 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6973 stop is pending. Avoid ".*" when two stops are pending.
6974 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6975 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6976 newlines in fullnames.
6977 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6978 (mi_expect_stop): Update comments. Only anchor in sync mode.
6979 Do not match newlines.
6980 (mi_send_resuming_command_raw): Always return status.
6981 (mi_get_stop_line): Do not match more than one line by accident.
6982 Only anchor in sync mode.
6983 (mi_run_inline_test): If -exec-next fails, give up.
6985 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6987 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6990 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6992 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6994 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6996 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6997 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6998 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6999 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7000 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7001 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7002 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7003 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7004 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7005 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7006 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7007 Include the "= " sequence in the expected output of print tests.
7009 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7011 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7012 description for boolean types.
7014 2008-09-09 Pedro Alves <pedro@codesourcery.com>
7016 * gdb.base/hook-stop-continue.c: New.
7017 * gdb.base/hook-stop-continue.exp: New.
7019 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7021 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7023 2008-09-08 Jerome Guitton <guitton@adacore.com>
7025 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7026 (stack_check_probe_2, stack_check_probe_loop_1)
7027 (stack_check_probe_loop_2): New functions.
7028 (main): Add call to these new functions.
7029 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7030 functions, check that the breakpoint is inserted at the appropriate
7032 (insert_breakpoint): Slightly refine this procedure so that it can
7033 be called several times in the test.
7035 2008-09-08 Jerome Guitton <guitton@adacore.com>
7037 * gdb.base/stack-checking.c: New file.
7038 * gdb.base/stack-checking.exp: New file.
7040 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7042 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7043 * gdb.arch/altivec-regs.exp: Likewise.
7044 * gdb.arch/vsx-regs.exp: Likewise.
7046 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7048 * gdb.arch/ppc-fp.exp: New file.
7049 * gdb.arch/ppc-fp.c: New file.
7051 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7053 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7054 lest gcc-4.3.1 optimizes the whole thing away.
7056 2008-09-04 Michael Snyder <msnyder@vmware.com>
7058 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7059 as "at" (for non-debug functions such as _start).
7061 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7063 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7064 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7065 software watchpoints.
7066 * gdb.base/watch_thread_num.exp: Likewise.
7068 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7070 * gdb.arch/i386-bp_permanent.exp: New test.
7072 2008-08-24 Tom Tromey <tromey@redhat.com>
7074 * gdb.base/maint.exp: Update "maint print type".
7076 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7078 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7079 support. Adjust the order of "*running" notifications.
7080 * gdb.mi/non-stop.c: Don't cast from int to void* and
7083 2008-08-20 Mark Kettenis <kettenis@gnu.org>
7085 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7086 expect to find it in the "info frame" output.
7088 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7090 * gdb.base/interp.exp: Always consume both prompts.
7092 2008-08-20 Pedro Alves <pedro@codesourcery.com>
7094 * gdb.base/pending.exp: Test pending breakpoints without symbols
7097 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7099 * lib/mi-support.exp (mi_expect_stop): Produce
7100 more details on failures.
7101 * gdb.mi/mi-nonstop.exp: New.
7102 * gdb.mi/non-stop.c: New.
7104 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7106 * gdb.mi/mi-async.exp: Use 'set target-async'.
7107 * lib/mi-support.exp: Use 'set/show target-async'.
7109 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7111 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7113 2008-08-17 Tom Tromey <tromey@redhat.com>
7115 * gdb.base/help.exp (help catch): Rewrite.
7117 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7119 * gdb.base/define.exp: Test indented command documentation.
7120 * gdb.python/python.exp: Test indented multi-line command.
7122 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
7124 * testsuite/gdb.arch/vsx-regs.c: New source file.
7125 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7126 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7128 2008-08-14 Tom Tromey <tromey@redhat.com>
7130 * gdb.base/macscp.exp: Add regression test for "macro define" or
7131 "macro undef" with no arguments.
7133 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7135 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7137 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7139 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7141 2008-08-06 Tom Tromey <tromey@redhat.com>
7143 * gdb.python/python.exp: New file.
7145 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7147 Fix for PR gdb/1543.
7148 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7150 (location): New variable.
7151 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7152 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7153 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7154 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7155 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7156 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7157 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7158 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7159 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7160 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7161 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7162 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7163 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7164 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7165 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7166 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7167 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7168 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7169 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7170 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7171 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7172 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7173 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7174 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7175 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7176 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7177 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7178 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7179 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7180 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7181 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7182 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7183 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7184 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7185 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7186 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7187 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7188 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7189 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7190 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7191 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7192 gdb.base/type-opaque.exp, gdb.base/until.exp,
7193 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7194 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7195 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7196 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7197 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7198 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7199 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7200 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7201 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7202 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7203 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7204 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7205 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7206 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7207 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7208 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7209 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7210 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7211 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7212 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7213 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7214 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7215 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7216 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7217 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7218 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7219 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7220 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7221 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7222 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7223 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7224 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7225 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7226 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7227 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7228 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7229 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7230 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7231 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7232 to bug-gdb@prep.ai.mit.edu .
7234 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7236 * lib/mi-support.exp (mi_load_shlibs): New.
7237 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7239 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7241 * lib/mi-support.exp (get_mi_thread_list)
7242 (check_mi_and_console_threads): New, moved from ...
7243 * gdb.mi/mi-pthread.exp: ...here.
7244 * gdb.mi/gdb669.exp (get_mi_thread_list)
7245 (check_mi_and_console_threads): Delete.
7246 * gdb.mi/mi2-pthread.exp: Likewise.
7248 2008-07-28 Tom Tromey <tromey@redhat.com>
7250 * Makefile.in (just-check): Remove. Move body to...
7253 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7255 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7256 Add a test for duplicated SIGINTs.
7258 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7260 * gdb.threads/schedlock.exp (get_args): Update to work for any
7262 (Top level): Report the number of threads that did not resume.
7264 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7266 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7268 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7270 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7273 2008-07-26 Tom Tromey <tromey@redhat.com>
7275 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7276 (function_struct, function_struct_ptr): New globals.
7277 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7278 function pointer in a struct.
7280 2008-07-26 Tom Tromey <tromey@redhat.com>
7282 * gdb.base/macscp.exp: Add test for macro lexing bug.
7284 2008-07-18 Tom Tromey <tromey@redhat.com>
7286 * gdb.base/macscp.exp: Add macro tests.
7288 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7290 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7292 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7294 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7296 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7298 * gdb.cp/class2.exp: fix for failure on spu-elf
7300 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7302 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7304 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7306 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7308 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7310 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7312 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7314 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7315 of regexp to account for changes made to GDB in the printing of
7318 2008-07-11 Tom Tromey <tromey@redhat.com>
7320 * gdb.base/completion.exp: Add 'help' completion test.
7322 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7324 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7326 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7328 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7330 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7332 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7334 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7336 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7338 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7340 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7342 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7344 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7345 previous commit. Add a comment.
7347 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7349 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7351 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7353 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7355 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7357 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7358 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7359 compiling an executable, link in an object that forces unbuffered
7361 * lib/set_unbuffered_mode.c: New file.
7363 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7365 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7367 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7369 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7371 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7372 Demand that *running is output.
7373 (detect_async): Perform checking every time.
7374 (mi_send_resuming_command): Extract everything into...
7375 (mi_send_resuming_command_raw): ...this.
7376 (mi_expect_stop): Don't accept any output before *stopped.
7378 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7380 Robustify mi-simplerun.
7381 * gdb.mi/basics.c (main): Add a call to sleep.
7382 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7383 * gdb.mi/mi2-cli.exp: Likewise.
7384 * gdb.mi/mi-break.exp: Likewise.
7386 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7388 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7390 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7392 * gdb.mi/mi-console.exp: Adjust.
7393 * gdb.mi/mi-syn-frame.exp: Adjust.
7394 * gdb.mi/mi2-console.exp: Adjust.
7395 * gdb.mi/mi2-syn-frame.exp: Adjust.
7396 * lib/mi-support.exp (mi_run_cmd): Adjust.
7397 (mi_send_resuming_command): Adjust.
7399 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7401 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7402 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7404 * gdb.mi/mi2-syn-frame.exp: Likewise.
7405 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7406 (async, detect_async): New.
7407 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7408 depending on if we're running in sync or async mode.
7410 2008-06-09 Tom Tromey <tromey@redhat.com>
7412 * gdb.base/completion.exp: New tests for field name completion
7413 with spaces, and field name completion with '->'.
7415 2008-06-06 Tom Tromey <tromey@redhat.com>
7417 * gdb.base/break1.c (struct some_struct): New struct.
7418 (values): New global.
7419 * gdb.base/completion.exp: Add field name completion test.
7421 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7423 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7425 * gdb.cp/call-c.cc: Likewise.
7427 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7429 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7432 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7433 Pedro Alves <pedro@codesourcery.com>
7435 * gdb.threads/execl.c, gdb.threads/execl1.c,
7436 gdb.threads/execl.exp: New tests.
7438 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7439 Daniel Jacobowitz <dan@codesourcery.com>
7441 * gdb.cp/exception.exp: Activate test, make it work with pending
7444 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7446 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7448 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7450 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7452 * gdb.mi/mi2-var-cmd.exp: Likewise.
7454 2008-05-27 Andreas Schwab <schwab@suse.de>
7456 * gdb.base/frame-args.exp: Handle arguments that are optimized
7459 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7461 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7462 quiet for ppc32 and group options into a single variable.
7464 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7466 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7467 of zero-size elements.
7468 * gdb.ada/null_array.exp: Test printing this new array.
7470 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7472 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7474 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7476 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7477 of the "finish" command.
7479 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7481 * gdb.base/annota1.exp: Test for new annotation.
7483 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7485 * gdb.base/fixsection.exp: New file.
7486 * gdb.base/fixsection0.c: New file.
7487 * gdb.base/fixsection1.c: New file.
7489 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7491 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7492 * gdb.base/annota3.exp: Likewise.
7494 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7496 * gdb.base/watch_thread_num.exp: Don't run tests that require
7497 watchpoints if the target doesn't support them.
7499 2008-05-12 Doug Evans <dje@google.com>
7501 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7503 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7505 * gdb.ada/assign_1.exp: New testcase.
7507 2008-05-09 Doug Evans <dje@google.com>
7509 * gdb.base/find.exp: New file.
7510 * gdb.base/find.c: New file.
7512 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7514 * gdb.base/commands.exp (watchpoint_command_test): Handle
7515 gdb,no_hardware_watchpoints.
7516 * gdb.base/float.exp: Allow ARM targets without floating point.
7517 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7519 2008-05-06 Jerome Guitton <guitton@adacore.com>
7520 Joel Brobecker <brobecker@adacore.com>
7522 * gdb.ada/lang_switch: New test program.
7523 * gdb.ada/lang_switch.exp: New testcase.
7525 2008-05-05 Doug Evans <dje@google.com>
7527 * gdb.base/help.exp (disassemble): Update expected help text.
7529 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7531 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7533 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7535 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7538 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7540 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7541 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7542 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7543 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7545 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7547 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7548 notification to appear.
7550 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7552 * gdb.base/fullname.c: New file.
7553 * gdb.base/fullname.exp: New file.
7554 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7556 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7558 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7559 expressions with macros.
7561 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7563 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7565 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7567 * gdb.base/completion.exp: Handle lack of other symbols beginning
7570 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7572 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7574 * gdb.asm/asmsrc1.s: Add scratch space.
7576 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7577 Daniel Jacobowitz <dan@codesourcery.com>
7579 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7580 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7581 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7583 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7585 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7587 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7589 * gdb.base/info-target.exp: New testcase.
7591 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7593 * gdb.cp/hang.exp: Use .cc instead of .C.
7594 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7595 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7597 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7599 * gdb.base/gdb1250.exp: Remove perror.
7600 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7602 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7604 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7607 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7609 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7612 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7614 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7616 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7618 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7619 * gdb.mi/mi2-syn-frame.exp: Likewise.
7620 * lib/mi-support.exp: Likewise.
7622 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7624 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7625 to specify regexp for the location to stop at.
7626 * gdb.base/break-always.c: New.
7627 * gdb.base/break-always.exp: New.
7629 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7631 * lib/mi-support.exp (mi_runto_helper): Adjust
7632 for the original-location field.
7633 (mi_create_breakpoint, mi_list_breakpoints): New.
7634 * gdb.mi/mi-break.exp: Adjust.
7635 * gdb.mi/mi2-break.exp: Adjust.
7636 * gdb.mi/mi-pending.exp: Adjust.
7637 * gdb.mi/mi-simplerun.exp: Adjust.
7638 * gdb.mi/mi2-simplerun.exp: Adjust.
7639 * gdb.mi/mi-syn-frame.exp: Adjust.
7640 * gdb.mi/mi2-syn-frame.exp: Adjust.
7641 * gdb.mi/mi-until.exp: Adjust.
7642 * gdb.mi/mi2-until.exp: Adjust.
7643 * gdb.mi/mi-var-display.exp: Adjust.
7644 * gdb.mi/mi2-var-display.exp: Adjust.
7645 * gdb.mi/mi-watch.exp: Adjust.
7646 * gdb.mi/mi2-watch.exp: Adjust.
7648 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7650 * aclocal.m4: Add override.m4.
7651 * configure: Regenerate.
7653 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7655 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7656 '-var-update --all-values' reports new value even the type
7657 of a variable object has changed.
7659 2008-04-18 Craig Silverstein <csilvers@google.com>
7661 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7664 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7666 * gdb.ada/atomic_enum: New test program.
7667 * gdb.ada/atomic_enum.exp: New testcase.
7669 2008-04-17 Doug Evans <dje@google.com>
7671 * gdb.opt/Makefile.in: Fix whitespace.
7673 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7675 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7677 2008-04-17 Doug Evans <dje@google.com>
7679 * gdb.base/hashline1.exp: New testcase.
7680 * gdb.base/hashline2.exp: New testcase.
7681 * gdb.base/hashline2.exp: New testcase.
7683 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7685 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7687 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7689 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7690 temporary breakpoint to match "Temporary breakpoint".
7691 * gdb.base/break.exp (delete_breakpoints): Likewise.
7692 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7693 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7694 * gdb.base/display.exp: Likewise.
7695 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7696 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7697 * gdb.base/restore.exp (restore_tests): Likewise.
7698 * gdb.base/sepdebug.exp: Likewise.
7699 * gdb.base/watchpoint.exp: Likewise.
7700 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7701 * gdb.mi/mi-pending.exp: Likewise.
7702 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7703 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7704 * gdb.mi/mi-var-cmd.exp: Likewise.
7705 * gdb.mi/mi-var-display.exp: Likewise.
7706 * gdb.mi/mi2-cli.exp: Likewise.
7707 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7708 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7709 * gdb.mi/mi2-var-display.exp: Likewise.
7710 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7711 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7713 (mi_expect_stop): Move after_reason argument to be really after
7714 reason. This is to support fix for PR2424.
7716 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7718 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7720 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7722 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7723 field. Add more floating varobj tests.
7724 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7726 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7727 (main): Call do_at_tests.
7728 * lib/mi-support.exp (mi_create_floating_varobj)
7729 (mi_varobj_update_with_type_change): New.
7731 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7733 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7734 option of -var-evaluate-expression.
7735 * gdb.mi/mi2-var-display.exp: Likewise.
7737 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7739 Introduce test setup helpers.
7740 * lib/gdb.exp (build_executable, clean_restart)
7741 (prepare_for_testing): New.
7742 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7743 * gdb.base/return.exp: Likewise.
7744 * gdb.base/ending-run.exp: Likewise.
7746 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7748 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7749 Interface (MI) responses.
7751 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7753 * gdb.cp/breakpoint.cc: New code to test conditions involving
7755 * gdb.cp/breakpoint.exp: Test condition involving member
7758 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7760 * lib/mi-support.exp (mi_expect_stop): New.
7761 (mi_run_cmd): Change the
7762 token. Use mi_send_resuming_command, use
7764 (mi_execute_to_helper): Rename to mi_execute_to.
7765 (mi_send_resuming_command): Add more error patterns.
7766 (mi_wait_for_stop): Renamed to...
7767 (mi_get_stop_line): ...this.
7768 (mi_run_inline_test): Adjust.
7770 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7771 * gdb.mi/mi-console.exp: Likewise.
7772 * gdb.mi/mi-pending.exp: Likewise.
7773 * gdb.mi/mi-simplerun.exp: Likewise.
7774 * gdb.mi/mi-stack.exp: Likewise.
7775 * gdb.mi/mi-stepi.exp: Likewise.
7776 * gdb.mi/mi-syn-frame.exp: Add comment.
7777 * gdb.mi/mi-until.exp: Likewise.
7778 * gdb.mi/mi-var-display.exp: Likewise.
7779 * gdb.mi/mi-watch.exp: Likewise.
7780 * gdb.mi/mi2-cli.exp: Likewise.
7781 * gdb.mi/mi2-console.exp: Likewise.
7782 * gdb.mi/mi2-simplerun.exp: Likewise.
7783 * gdb.mi/mi2-stack.exp: Likewise.
7784 * gdb.mi/mi2-stepi.exp: Likewise.
7785 * gdb.mi/mi2-until.exp: Likewise.
7786 * gdb.mi/mi2-var-display.exp: Likewise.
7787 * gdb.mi/mi2-watch.exp: Likewise.
7789 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7791 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7793 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7795 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7797 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7798 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7799 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7800 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7801 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7802 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7803 expect an mi error duplicated in stderr.
7805 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7807 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7808 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7809 Add a couple of tests that verify the behavior when the new setting
7810 is set to "cancel" and "all".
7811 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7812 "ask" before we start the testing.
7814 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7816 * gdb.cp/casts.cc: Add class reference variables.
7817 * gdb.cp/casts.exp: New test cases for up/down casting references.
7819 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7821 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7822 instead of beginning to make an extra test pass.
7823 * gdb.mi/mi2-var-display.exp: Likewise.
7825 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7827 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7829 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7830 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7832 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7833 value. Add xfail for older kernels.
7835 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7837 Bring mi-support in line with gdb.exp.
7838 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7839 (mi_gdb_start): New function.
7841 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7843 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7845 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7847 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7848 * gdb.mi/mi2-var-display.exp: Likewise.
7850 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7852 * lib/mi-support.exp (mi_create_varobj_checked): New.
7853 (mi_list_varobj_children): Allow to check for a
7855 (mi_list_array_varobj_children): New.
7857 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7858 and mi_list_varobj_children, as opposed to hardcoding
7860 * gdb.mi/gdb701.exp: Likewise.
7861 * gdb.mi/gdb792.exp: Likewise.
7862 * gdb.mi/mi-var-block.exp: Likewise.
7863 * gdb.mi/mi-var-cmd.exp: Likewise.
7864 * gdb.mi/mi-var-invalidate.exp: Likewise.
7865 * gdb.mi/mi2-var-block.exp: Likewise.
7866 * gdb.mi/mi2-var-child.exp: Likewise.
7867 * gdb.mi/mi2-var-cmd.exp: Likewise.
7868 * gdb.mi/mi2-var-display.exp: Likewise.
7870 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7872 Fix random false FAILs on i386.
7873 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7875 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7878 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7880 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7883 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7885 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7887 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7890 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7892 * gdb.threads/fork-child-threads.exp: Test next over fork.
7894 2008-03-21 Chris Demetriou <cgd@google.com>
7896 * gdb.base/break.exp (rbreak junk): New test for rbreak
7897 "Junk at end of arguments" issue.
7899 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7901 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7902 *& to work on created array elements.
7903 (Top level): Test print $pc with a file. Test string operations
7905 * gdb.base/ptype.exp: Do not expect *& to work on created array
7908 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7910 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7911 gdb.threads/staticthreads.exp: Update exit query.
7913 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7915 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7917 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7919 * gdb.base/watchpoint.c (global_ptr, func4): New.
7921 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7922 (test_inaccessible_watchpoint): New.
7924 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7926 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7929 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7931 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7932 frames-invalid annotations.
7934 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7936 * gdb.base/assign.exp: avoid same output for different tests.
7938 2008-02-27 Doug Evans <dje@google.com>
7940 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7942 (breakpoint_to_handler_entry): Ditto.
7944 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7946 * gdb.base/ending-run.exp: Use the first line of code inside
7947 function body to test breakpoints.
7948 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7949 location where the breakpoint is inserted when using the line
7950 where a function is declared. Fix typo in the description of
7952 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7954 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7956 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7959 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7961 * gdb.base/args.exp: avoid same output for tests
7964 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7966 * gdb.base/annota1.exp: Adjust for 'info break'
7968 * gdb.base/annota3.exp: Likewise.
7969 * gdb.base/break.exp: Likewise.
7970 * gdb.base/condbreak.exp: Likewise.
7971 * gdb.base/pending.exp: Likewise.
7972 * gdb.base/sepdebug.exp: Likewise.
7973 * gdb.base/unload.exp: Likewise.
7974 * gdb.cp/ovldbreak.exp: Likewise.
7975 * gdb.mi/mi-pending.exp: Likewise.
7977 2008-02-07 Doug Evans <dje@google.com>
7979 * gdb.cp/mb-inline.exp: New.
7980 * gdb.cp/mb-inline.h: New.
7981 * gdb.cp/mb-inline1.cc: New.
7982 * gdb.cp/mb-inline2.cc: New.
7984 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7986 * gdb.pascal/floats.pas: New test program.
7987 * gdb.pascal/floats.exp: New testcase.
7989 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7991 * gdb.base/callfuncs.c (t_float_many_args): New function.
7992 (t_double_many_args): New function.
7993 * gdb.base/callfuncs.exp: Add tests for exceeding float
7994 and double parameters passed through the stack.
7996 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7998 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7999 gdb.ada/complete/foo.adb: New files.
8000 * gdb.ada/complete.exp: New testcase.
8002 2008-02-03 Doug Evans <dje@google.com>
8004 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8006 * gdb.cp/gdb2384.exp: New file.
8007 * gdb.cp/gdb2384.cc: New file.
8008 * gdb.cp/gdb2384-base.h: New file.
8009 * gdb.cp/gdb2384-base.cc: New file.
8011 2008-02-02 Doug Evans <dje@google.com>
8013 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8015 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8017 * gdb.ada/sym_print_name: New test program.
8018 * gdb.ada/sym_print_name.exp: New testcase.
8020 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8022 * gdb.ada/nested/hello.adb: New file.
8023 * gdb.ada/nested.exp: New testcase.
8024 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8026 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8028 * gdb.mi/basic.c (return_1): New function.
8029 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8030 don't cause future evaluations of function to report
8031 creation of internal breakpoints.
8033 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8035 * gdb.mi/mi-break.exp (test_error): New.
8038 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
8040 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8041 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8043 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8045 * gdb.pascal/integers.pas: New test program.
8046 * gdb.pascal/integers.exp: New testcase.
8048 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8050 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8052 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
8054 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8055 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8057 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8059 * gdb.ada/formatted_ref: New test program.
8060 * gdb.ada/formatted_ref.exp: New testcase.
8062 * gdb.cp/formatted-ref.cc: New file.
8063 * gdb.cp/formatted-ref.exp: New testcase.
8065 2008-01-30 Joel Brobecker <brobecker@adacore.com>
8067 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8069 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
8071 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8072 (test_file_list_exec_source_file): Update to new macro-info field.
8074 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8076 * gdb.ada/exprs: New test program.
8077 * gdb.ada/exprs.exp: New testcase.
8079 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8081 * dfp-test.c (DELTA, DELTA_B): New definitions.
8082 (double_val1, double_val2, double_val3, double_val4, double_val5,
8083 double_val6, double_val7, double_val8, double_val9, double_val10,
8084 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8085 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8086 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8087 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8088 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8089 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8090 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8091 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8092 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8093 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8094 dec128_val16): New global variables.
8095 (decimal_dec128_align): New function.
8096 (decimal_mixed): Likewise.
8097 (decimal_many_args_dec32): Likewise.
8098 (decimal_many_args_dec64): Likewise.
8099 (decimal_many_args_dec128): Likewise.
8100 (decimal_many_args_mixed): Likewise.
8101 * dfp-test.exp: Add tests calling new inferior functions.
8103 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8105 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8106 gdb.server/ext-run.exp: New files.
8107 * lib/gdbserver-support.exp (gdbserver_download): New.
8108 (gdbserver_start): New. Update gdbserver expected
8110 (gdbserver_spawn): Use them.
8111 (gdbserver_start_extended): New.
8113 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8115 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8117 (do_exec_tests): Check for systems which do not support catchpoints.
8119 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8120 Run on GNU/Linux. Enable verbose output.
8121 (check_fork_catchpoints): New.
8122 (explicit_fork_child_follow, catch_fork_child_follow)
8123 (tcatch_fork_parent_follow): Update expected messages.
8124 (do_fork_tests): Use check_fork_catchpoints.
8125 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8126 Run on GNU/Linux. Enable verbose output.
8127 (check_vfork_catchpoints): New.
8128 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8130 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8132 2008-01-29 Jim Blandy <jimb@red-bean.com>
8134 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8136 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8138 2008-01-29 Jim Blandy <jimb@red-bean.com>
8140 * gdb.threads/sigthread.c: Use barriers to ensure that
8141 child_thread and child_thread_two are always initialized before we
8144 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8146 * gdb.base/watchpoint-solib.exp: New.
8147 * gdb.base/watchpoint-solib.c: New.
8148 * gdb.base/watchpoint-solib-shr.c: New.
8150 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8152 * gdb.base/gdb1056.exp: Add unsigned integer test.
8154 2008-01-28 Doug Evans <dje@google.com>
8156 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8158 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8160 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8162 * gdb.base/expand-psymtabs.exp: Doc fix.
8164 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8166 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8168 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8170 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8173 2008-01-23 Chris Demetriou <cgd@google.com>
8175 * gdb.threads/thread_events.c: New testcase source file.
8176 * gdb.threads/thread_events.exp: New testcase expect file.
8178 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8180 * lib/gdb.exp: Add the variable octal.
8182 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8185 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8186 Vladimir Prus <vladimir@codesourcery.com>
8188 * gdb.base/float.exp: Allow missing floating point for m68k and
8191 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8193 * gdb.mi/basics.c: Setup for testing breakpoints
8195 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8196 * gdb.mi/mi-cli.exp: Adjust.
8197 * gdb.mi/mi2-cli.exp: Adjust.
8199 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8201 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8202 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8203 with dummy_ptr's address.
8204 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8205 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8207 * gdb.mi/mi2-var-child.exp: Likewise.
8209 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8211 * gdb.ada/null_array: New test program.
8212 * gdb.ada/null_array.exp: New testcase.
8214 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8216 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8217 with required float modifiers.
8219 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8221 * gdb.ada/funcall_param: New test program.
8222 * gdb.ada/funcall_param.exp: New testcase.
8224 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8226 * gdb.ada/arrayparam: New test program.
8227 * gdb.ada/arrayparam.exp: New testcase.
8229 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8231 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8232 landed. Should also fix random failures in the test following it.
8234 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8236 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8237 for expressions with decimal float values.
8238 (test_dfp_conversions): New function to test casts to and from
8239 decimal float types.
8240 Call test_dfp_conversions.
8241 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8243 (main): Initialize ds.float4 and ds.double8 elements.
8244 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8245 string to new error message.
8246 (d64_set_tests): Likewise.
8247 (d128_set_tests): Likewise.
8248 Add tests for expressions with decimal float variables. Add tests for
8249 conversions to and from decimal float types.
8251 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8253 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8254 * gdb.ada/packed_tagged.exp: New testcase.
8256 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8258 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8259 gdb.ada/homonym/homonym_main.adb: New files.
8260 * gdb.ada/homonym.exp: New testcase.
8262 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8264 * gdb.ada/packed_array.exp: Add testing of references to
8267 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8269 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8271 * gdb.ada/type_coercion.exp: New testcase.
8273 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8275 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8276 gdb.ada/tagged/foo.adb: New file.
8277 * gdb.ada/tagged.exp: New testcase.
8279 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8281 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8282 gdb.ada/ptype_field/foo.adb: New files.
8283 * gdb.ada/ptype_field.exp: New testcase.
8285 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8287 * gdb.ada/print_pc.exp: New testcase.
8289 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8291 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8292 gdb.ada/taft_type/p.adb: New files.
8293 * gdb.ada/taft_type.exp: New testcase.
8295 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8297 * gdb.ada/array_bounds/bar.adb: New file.
8298 * gdb.ada/array_bounds.exp: New testcase.
8300 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8302 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8303 gdb.ada/arrayptr/foo.adb: New files.
8304 * gdb.ada/arrayptr.exp: New testcase.
8306 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8308 * gdb.base/set-lang-auto.exp: New testcase.
8310 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8312 * gdb.ada/fun_addr/foo.adb: New file.
8313 * gdb.ada/fun_addr.exp: New testcase.
8315 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8317 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8320 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8322 * array_subscript_addr/p.adb: New file.
8323 * array_subscript_addr.exp: New testcase.
8325 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8327 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8329 * gdb.ada/str_cmp_ref.exp: New testcase.
8331 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8333 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8334 gdb.ada/fun_in_declare/foo.adb: New files.
8335 * gdb.ada/fun_in_declare.exp: New testcase.
8337 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8339 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8340 gdb.ada/ref_param/pck.ads: New files.
8341 * gdb.ada/ref_param.exp: New testcase.
8343 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8345 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8346 gdb.ada/interface/foo.adb: New files.
8347 * gdb.ada/interface.exp: New testcase.
8349 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8351 * gdb.base/multi-forks.exp: Consume all output from child
8352 processes before proceeding to next test.
8354 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8356 * configure: Regenerated.
8358 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8360 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8361 gdb.ada/fixed_cmp/fixed.adb: New files.
8362 * gdb.ada/fixed_cmp.exp: New testcase.
8364 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8366 * gdb.ada/boolean_expr.exp: New testcase.
8368 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8370 * gdb.base/multi-forks.exp: Doc fix.
8372 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8374 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8375 * gdb.ada/char_param.exp: Do not compile our test program with
8376 -gnata, this is unnecessary.
8377 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8379 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8381 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8382 gdb.ada/print_chars/foo.adb: New files.
8383 * gdb.ada/print_chars.exp: New testcase.
8385 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8387 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8388 gdb.ada/char_param/foo.adb: New files.
8389 * gdb.ada/char_param.exp: New testcase.
8391 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8393 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8394 hard-coding source line numbers into the test.
8395 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8396 gdb_get_line_number to find.
8398 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8400 * gdb.base/ptype.c (highest): New struct type.
8401 (the_highest): New variable of that type.
8402 (main): Add dummy assignment to a field of variable the_highest.
8403 * gdb.base/ptype.exp: Test type printing of our new variable.
8405 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8407 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8408 and record first explicitly generated thread number.
8409 Use that thread number for thread specific watchpoint test.
8410 Add iteration number to repetitive tests.
8412 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8413 Jim Blandy <jimb@codesourcery.com>
8415 * gdb.base/expand-psymtabs.c: New testcase
8417 * gdb.base/expand-psymtabs.exp: New testcase
8420 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8422 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8423 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8425 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8427 * gdb.ada/frame_args/foo.adb: New file.
8428 * gdb.ada/frame_args/pck.ads: New file.
8429 * gdb.ada/frame_args/pck.adb: New file.
8430 * gdb.ada/frame_args.exp: New testcase.
8432 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8434 * gdb.base/frame-args.c: New file.
8435 * gdb.base/frame-args.exp: New testcase.
8437 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8438 Joseph Myers <joseph@codesourcery.com>
8440 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8442 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8444 * gdb.mi/mi-pending.exp: New.
8445 * gdb.mi/mi-pending.c: New.
8446 * gdb.mi/mi-pendshr.c: New.
8448 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8450 * gdb.base/default.exp: Update expected output for 'info catch'.
8452 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8454 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8455 must be set to binary.
8457 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8459 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8461 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8463 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8464 gdb.mi/mi-file-transfer.exp: New.
8466 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8468 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8470 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8472 * gdb.trace/backtrace.exp: Fix a typo.
8473 * gdb.trace/circ.exp: Likewise.
8474 * gdb.trace/collection.exp: Likewise.
8475 * gdb.trace/limits.exp: Likewise.
8476 * gdb.trace/report.exp: Likewise.
8477 * gdb.trace/tfind.exp: Likewise.
8478 * gdb.trace/while-dyn.exp: Likewise.
8480 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8482 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8483 objects of pointers that can't be dereferenced are now
8486 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8488 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8489 (target_cpu): Remove.
8491 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8493 * gdb.base/ending-run.exp: Expect the list of cleared
8494 breakpoint to come in natural order, not the reversed one.
8496 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8498 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8499 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8501 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8503 * gdb.base/printcmds.exp: New function
8504 test_printf_with_dfp.
8506 2007-11-02 Doug Evans <dje@google.com>
8508 * gdb.disasm/t01_mov.s: Remove carriage returns.
8509 * gdb.disasm/t02_mova.s: Ditto.
8510 * gdb.disasm/t03_add.s: Ditto.
8511 * gdb.disasm/t04_sub.s: Ditto.
8512 * gdb.disasm/t05_cmp.s: Ditto.
8513 * gdb.disasm/t06_ari2.s: Ditto.
8514 * gdb.disasm/t07_ari3.s: Ditto.
8515 * gdb.disasm/t08_or.s: Ditto.
8516 * gdb.disasm/t09_xor.s: Ditto.
8517 * gdb.disasm/t10_and.s: Ditto.
8518 * gdb.disasm/t11_logs.s: Ditto.
8519 * gdb.disasm/t12_bit.s: Ditto.
8520 * gdb.disasm/t13_otr.s: Ditto.
8522 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8524 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8526 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8528 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8529 provide DFP support.
8531 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8533 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8534 Test "set powerpc vector-abi". Skip auto-detection tests for old
8537 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8539 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8540 with [string compare].
8542 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8544 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8545 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8547 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8549 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8550 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8551 * gdb.opt/Makefile.in: New makefile.
8552 * Makefile.in: Create new directory "gdb.opt".
8553 * configure.ac: Add "gdb.opt" directory.
8554 * configure: Regenerated.
8556 2007-10-25 Doug Evans <dje@google.com>
8558 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8559 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8561 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8562 Thiago Jung Bauermann <bauerman@br.ibm.com>
8564 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8565 Floating Point expressions.
8566 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8567 Floating Point variables.
8568 * gdb.base/dfp-test.c: new file containing program with Decimal
8569 Floating variables, used by gdb.base/dfp-test.exp.
8571 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8573 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8575 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8577 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8578 compiling test case with GCC.
8579 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8581 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8583 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8586 2007-10-18 Michael Snyder <msnyder@specifix.com>
8588 * gdb.base/dbx.exp: Add missing "-re " operator.
8590 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8592 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8593 * configure.ac: Removed trailing spaces after backslash.
8594 * gdb.modula2: New directory.
8595 * gdb.modula2/Makefile.in: New file.
8596 * gdb.modula2/unbounded-array.exp: New file.
8597 * gdb.modula2/unbounded1.c: New file.
8599 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8601 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8603 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8605 * gdb.base/sigstep.c (main): Add checks for
8606 return values for setitimer call.
8607 Call setitimer again with itimer = ITIMER_REAL
8608 if first call to setitimer fails.
8610 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8612 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8615 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8617 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8619 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8621 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8622 of gdb_expect call, to avoid interruption.
8624 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8626 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8627 (v_unsigned_long_long, v_long_long_array)
8628 (v_signed_long_long_array, v_unsigned_long_long_array)
8629 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8630 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8631 [!NO_LONG_LONG]: New.
8632 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8635 (v_long_long_func, v_signed_long_long_func)
8636 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8637 (main) [!NO_LONG_LONG]: Initialize long long variants.
8639 * gdb.base/whatis.exp: If board file requests no_long_long, build
8640 test with NO_LONG_LONG defined. Test long long, signed long long,
8641 and unsigned long long variants but only if board file doesn't
8644 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8645 Daniel Jacobowitz <dan@codesourcery.com>
8647 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8648 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8649 * configure: Regenerated.
8650 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8651 gdb.pascal/types.exp, lib/pascal.exp: New files.
8653 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8655 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8657 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8658 to return to the call.
8659 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8660 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8661 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8662 * gdb.mi/mi-until.exp (test_until): Likewise.
8663 * gdb.mi/mi2-until.exp (test_until): Likewise.
8665 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8667 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8669 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8671 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8673 * gdb.threads/watchthreads.c (thread_function): Sleep between
8675 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8676 at once for S/390. Generate matching fails and passes.
8678 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8680 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8681 the 'struct_declarations' variable to zeros.
8683 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8685 * gdb.cp/mb-ctor.cc: New.
8686 * gdb.cp/mb-ctor.exp: New.
8687 * gdb.cp/mb-templates.cc: New.
8688 * gdb.cp/mb-templates.exp: New.
8690 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8692 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8694 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8696 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8698 * configure: Regenerate.
8700 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8702 * gdb.base/annota1.exp: Adjust for 'info break'
8704 * gdb.base/annota3.exp: Likewise.
8705 * gdb.base/break.exp: Likewise.
8706 * gdb.base/condbreak.exp: Likewise.
8707 * gdb.base/pending.exp: Likewise.
8708 * gdb.base/sepdebug.exp: Likewise.
8709 * gdb.base/unload.exp: Likewise.
8710 * gdb.base/ovldbreak.exp: Likewise.
8712 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8714 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8716 * gdb.base/chng-syms.exp: Likewise.
8717 * gdb.base/unload.exp: Likewise.
8719 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8721 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8723 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8725 * schedlock.c (NUM): Change to 1.
8726 (main): Use args[0] for the main thread.
8727 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8728 regardless of the number of threads.
8730 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8732 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8734 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8736 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8737 watchpoint type down.
8738 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8741 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8743 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8744 Move all the tests here and run them twice, once using software
8745 watchpoints and once using hardware watchpoints.
8746 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8748 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8750 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8753 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8755 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8758 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8759 know about $ORIGIN. Calculate output dir from $dest instead of
8760 using ${objdir}/{$subdir}.
8762 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8764 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8765 gcore, before continuing with the test.
8767 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8769 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8770 * gdb.mi/mi-watch.exp: Likewise.
8772 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8773 Jim Blandy <jimb@codesourcery.com>
8775 * gdb.arch/i386-sse.exp: Do not expect character constants.
8776 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8777 * gdb.base/display.exp: Allow print/s.
8778 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8779 and unsigned char array changes.
8781 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8783 * gdb.base/display.exp: Add tests for printf %p.
8785 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8787 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8788 the dll name to unicode.
8790 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8792 * gdb.base/default.exp (show version): Update the version text.
8793 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8795 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8797 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8800 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8802 * lib/gdb.exp (build_id_debug_filename_get): New function.
8803 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8804 Remove the generate DEBUG file for the future testcase runs.
8805 New testcase for the NT_GNU_BUILD_ID retrieval.
8806 Move the final testing step to ...
8807 (test_different_dir): ... a new function.
8808 New parameter XFAIL to XFAIL all the tests performed.
8809 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8810 New parameter TYPE to PF_PREFIX all the tests performed.
8812 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8814 * gdb.mi/mi-var-cp.cc (path_expression): New
8816 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8818 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8820 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8821 to fit into SPU Local Store memory.
8823 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8825 * gdb.base/default.exp: Adjust the expected output of "info
8826 warranty" after the switch to GPLv3.
8828 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8830 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8831 to 30000 (from 20000).
8833 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8835 Switch the license of all .exp files to GPLv3.
8836 Switch the license of all .f and .f90 files to GPLv3.
8837 Switch the license of all .s and .S files to GPLv3.
8839 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8841 * configure.ac: Switch license to GPLv3.
8843 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8845 Switch the licensing to GPLv3 for all .ads and .adb files.
8847 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8849 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8851 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8853 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8855 * gdb.base/step-line.c: Switch license to GPL version 3, and
8856 update copyright year.
8857 * gdb.base/step-line.inp: Likewise.
8859 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8861 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8862 changes inside gdb1555.c.
8863 * gdb.base/pending.exp: Likewise.
8865 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8867 * config/default.exp: New file.
8869 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8871 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8872 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8874 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8876 * gdb.base/dump.exp: Force the correct endianness for binary
8877 formats not carrying this information.
8879 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8881 * gdb.threads/staticthreads.exp: Match .*sem_post.
8883 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8885 * gdb.base/readline.exp (operate_and_get_next): Match the final
8888 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8890 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8893 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8895 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8896 prior to `gdb_start'.
8898 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8900 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8901 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8902 Remove call to gdb_unload.
8904 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8905 Daniel Jacobowitz <dan@codesourcery.com>
8907 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8909 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8910 * gdb.base/unload.exp: Use shared library test routines.
8912 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8914 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8915 * gdb.base/solib-symbol-lib.c: Likewise.
8916 * gdb.base/solib-symbol-main.c: Likewise.
8918 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8920 * config/gdbserver.exp (gdb_reconnect): New.
8921 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8922 gdb.base/solib-disc.exp: New files.
8923 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8925 (gdb_compile): Add shlib_load flag.
8926 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8928 (gdbserver_reconnect): New.
8930 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8931 Daniel Jacobowitz <dan@codesourcery.com>
8933 * gdb.base/annota3.exp: Test for if construct.
8935 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8937 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8939 2007-06-21 Chris Dearman <chris@mips.com>
8940 Maciej W. Rozycki <macro@mips.com>
8942 * gdb.base/display.exp: Allow a newline after display/i.
8943 * gdb.base/pc-fp.exp: Likewise.
8944 * gdb.base/sigbpt.exp: Likewise.
8946 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8948 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8949 required features to be included.
8951 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8953 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8954 in info threads output.
8956 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8957 Markus Deuling <deuling@de.ibm.com>
8959 * gdb.arch/spu-info.exp: New testcase.
8960 * gdb.arch/spu-info.c: New file.
8962 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8964 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8965 tpcs_offset. Restore lr after the call.
8966 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8968 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8970 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8971 (gdbserver_run): Kill any running gdbserver.
8972 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8974 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8976 * gdb.base/sigbpt.exp: Preset segv_addr.
8978 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8980 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8981 (gdb_compile_shlib): Likewise.
8982 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8983 (default_gdb_init): Clear cleanfiles.
8984 (gdb_finish): Delete recorded cleanfiles.
8985 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8987 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8988 Do not use isnative.
8989 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8990 gdb.base/so-impl-ld.exp: Likewise.
8991 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8992 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8995 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8997 * config/unknown.exp: Remove.
8999 2007-05-15 Markus Deuling <deuling@de.ibm.com>
9001 * gdb.base/info-proc.exp: Check is_remote.
9003 2007-05-14 Markus Deuling <deuling@de.ibm.com>
9005 * gdb.base/gcore.exp: Initialize variable core_supported.
9007 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9009 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9011 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9013 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9014 * gdb.threads/print-threads.exp (test_all_threads): Allow
9015 negative and hexadecimal thread IDs.
9017 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9019 * gdb.java/jprint.java (public): Avoid invalid call to static
9022 2007-05-14 Denis Pilat <denis.pilat@st.com>
9024 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9025 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9026 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9027 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9028 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9030 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9032 * gdb.base/overlays.exp: Add support for targets with only code
9033 overlay support, not data overlay. Support spu-*-* target in
9035 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9036 * gdb.base/spu.ld: New file.
9038 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9040 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9042 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9044 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9046 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9048 * gdb.java/jmain.exp: Handle demangled names with and without method
9051 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9053 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9054 (have_a_very_merry_interrupt): Remove calls to puts.
9055 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9057 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9060 2007-04-29 Markus Deuling <deuling@de.ibm.com>
9061 Daniel Jacobowitz <dan@codesourcery.com>
9063 * gdb.base/auxv.exp (core_works): Also check is_remote.
9064 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9066 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9068 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9069 message, not the undefined 'module' variable.
9070 * gdb.base/siginfo.exp: Likewise.
9071 * gdb.base/sigstep.exp: Likewise.
9072 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9074 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9076 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
9078 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9079 target sim fails. Return 0 otherwise.
9080 (gdb_load): Return prematurely if gdb_target_sim fails.
9082 2007-04-16 Denis Pilat <denis.pilat@st.com>
9084 * gdb.base/setshow.exp: Reset height after having set it to 100.
9086 2007-04-16 Denis Pilat <denis.pilat@st.com>
9088 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9090 2007-04-16 Denis Pilat <denis.pilat@st.com>
9092 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9094 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9096 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9097 tests. Run the frozen varobjs test.
9098 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9099 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9101 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9103 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9104 gdb.base/type-opaque.exp: New files.
9106 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9108 * gdb.mi/mi-var-child.c
9109 (do_children_tests): User char[2] instead of
9110 char so that automatic printing of pointers to char
9111 don't give unpredicable result.
9112 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9114 * gdb.mi/mi-var-child.exp: Step to right line
9115 of do_children_tests.
9116 * gdb.mi/mi2-var-child.exp: Likewise.
9117 * gdb.mi/mi-var-cmd.exp: Step to right line of
9119 (do_children_tests): User char[2] instead of
9120 char so that automatic printing of pointers to char
9121 don't give unpredicable result.
9122 * gdb.mi/mi2-var-cmd.exp: Likewise.
9123 * lib/mi-support.exp (mi_continue_to_line):
9124 Pass test name to mi_wait_for_stop.
9126 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9128 * gdb.asm/asm-source.exp: Remove d10v case.
9129 * lib/gdb.exp (skip_cplus_tests): Likewise.
9130 * gdb.asm/d10v.inc: Deleted.
9132 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9134 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9136 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9138 * config/netware.exp: Delete file.
9140 2007-03-29 Joel Brobecker <brobecker@adacore.com>
9142 * gdb.dwarf2/dw2-noloc.S: New file.
9143 * gdb.dwarf2/dw2-noloc.exp: New file.
9145 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9147 * gdb.cp/method2.cc: New test.
9148 * gdb.cp/method2.exp: New test.
9149 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9151 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9153 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9155 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9157 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9159 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9161 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9162 (gdb_load): Delete, replace with...
9163 (gdb_reload): ...this.
9164 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9165 * gdb.server/server-mon.exp: Likewise.
9166 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9167 (gdb_start_cmd): New.
9168 (gdb_file_cmd): Save the last loaded file.
9170 (gdb_gnu_strip_debug): Use transform.
9171 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9172 support here. Use new $last_loaded_file. Check mtime.
9173 (gdb_target_cmd): Handle ObjC failure case.
9174 (infer_host_exec): Delete.
9175 (gdbserver_load): Rename to...
9176 (gdbserver_run): ...this. Simplify.
9177 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9178 (mi_gdb_load): Move most contents to a new function...
9179 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9180 (mi_run_cmd): Use mi_gdb_target_load.
9181 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9182 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9184 * gdb.base/charsign.exp: Remove incorrect comment.
9185 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9186 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9187 gdb.base/start.exp: Use gdb_start_cmd.
9189 2007-03-23 Nigel Stephens <nigel@mips.com>
9190 Maciej W. Rozycki <macro@mips.com>
9192 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9193 * gdb.base/signull.exp: Similarly.
9195 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9197 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9198 messages available to test cases (like chng-sym.exp).
9200 2007-03-14 Andreas Schwab <schwab@suse.de>
9202 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9205 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9207 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9209 (main): Call optimized_1.
9210 (gdb2029): Correct typos. Call gdb2029_marker.
9211 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9214 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9216 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9217 as tabs. Remove redundant test pattern.
9219 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9221 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9222 for /a format output.
9224 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9226 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9227 collect output incrementally.
9229 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9231 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9232 for -var-create lpcharacter test.
9233 * gdb.mi/mi2-var-cmd.exp: Likewise.
9235 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9237 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9238 pass on targets where address zero is readable.
9240 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9242 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9243 just a single architecture.
9245 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9247 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9248 (fetch_all_registers): New function, uses gdb_test_multiple and
9249 exp_continue to fetch inferior output line-by-line.
9250 Replace all uses of do_get_all_registers by fetch_all_registers.
9252 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9254 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9257 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9259 * gdb.threads/manythreads.exp: Use $message string for
9260 consistancy; add a default (timeout) case.
9262 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9264 * gdb.base/watchpoint.exp: Fix truncated comment.
9266 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9268 * Makefile.in: Remove spurious single-quotes from sed command.
9270 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9272 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9274 * gdb.mi/mi2-var-cmd.exp: Likewise.
9276 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9278 * gdb.dwarf2/dw2-producer.S: New file.
9279 * gdb.dwarf2/dw2-producer.exp: New testcase.
9281 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9283 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9284 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9285 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9286 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9287 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9288 Revert tests to use mi_gdb_test and include value field in output
9291 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9293 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9295 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9297 * gdb.base/maint.exp: Remove full paths from test names.
9298 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9299 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9301 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9303 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9305 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9307 * gdb.server/server-mon.exp: New test.
9309 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9311 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9313 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9315 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9316 register capitalization.
9318 2007-02-13 Denis Pilat <denis.pilat@st.com>
9320 * gdb.mi/mi-var-invalidate.exp: New file.
9322 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9324 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9326 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9328 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9330 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9332 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9333 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9335 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9337 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9338 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9339 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9340 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9341 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9342 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9343 Update tests to include value field in output of -var-create.
9345 2007-02-08 Andreas Schwab <schwab@suse.de>
9347 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9349 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9351 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9352 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9354 2007-02-02 Denis Pilat <denis.pilat@st.com>
9356 * gdb.threads/threadapply.exp: check that frame is not changed by
9357 the thread apply all command.
9359 2007-01-31 Andreas Schwab <schwab@suse.de>
9361 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9363 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9364 in the dwarf sections.
9365 * gdb.dwarf2/mac-fileno.S: Likewise.
9367 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9368 bspstore register on ia64.
9370 2007-01-29 Andreas Schwab <schwab@suse.de>
9372 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9373 "frame-begin" annotation.
9375 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9376 number of "frames-invalid" annotations.
9378 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9380 * gdb.base/commands.exp: Call if_commands_test.
9381 (gdb_test_no_prompt, if_commands_test): New.
9383 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9385 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9387 2007-01-27 Andreas Schwab <schwab@suse.de>
9389 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9390 .short/.int/.quad in the dwarf sections.
9391 * gdb.dwarf2/dw2-intercu.S: Likewise.
9392 * gdb.dwarf2/dw2-intermix.S: Likewise.
9394 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9396 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9397 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9399 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9400 * gdb.base/setvar.exp: Likewise.
9402 2007-01-26 Andreas Schwab <schwab@suse.de>
9404 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9407 * gdb.base/multi-forks.exp ("restart $i"): Also match
9408 __kernel_syscall_via_break.
9410 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9412 * lib/mi-support.exp (mi_delete_varobj): New.
9413 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9415 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9416 (main): Call the above.
9417 (reference_update_test, base_in_reference_test)
9418 (reference_to_pointer): Delete the created varobjs.
9420 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9422 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9423 * configure: Regenerated.
9424 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9425 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9426 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9427 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9428 * lib/gdb.exp (gdb_skip_xml_test): New function.
9430 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9432 * gdb.base/sigrepeat.exp: Correct error message.
9434 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9435 Daniel Jacobowitz <dan@codesourcery.com>
9437 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9438 gdb.arch/i386-gnu-cfi-asm.S: New files.
9440 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9442 * lib/gdb.exp: Abort on missing `site.exp'.
9444 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9445 Daniel Jacobowitz <dan@codesourcery.com>
9447 * gdb.base/included.c, gdb.base/included.exp,
9448 gdb.base/included.h: New files.
9450 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9452 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9453 (maximize_rlimit): Reduce limits on 64-bit systems.
9455 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9457 From Marcus Deuling <deuling@de.ibm.com>:
9458 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9461 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9463 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9464 (test_path_specification): Use objdir instead of srcdir to always
9465 get an absolute filename.
9467 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9469 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9471 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9473 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9474 Make sure the variable we're using is in scope.
9475 (reference_to_pointer): Likewise.
9477 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9479 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9480 has no debug information.
9482 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9484 * gdb.base/annota1.exp: Remove extra send_gdb.
9486 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9488 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9490 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9492 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9494 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9495 Daniel Jacobowitz <dan@codesourcery.com>
9497 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9498 lcharacter or linteger change. Correct duplicated test name.
9499 * gdb.mi/mi2-var-cmd.exp: Likewise.
9501 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9503 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9505 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9507 * gdb.base/nofield.c: New file.
9508 * gdb.base/nofield.exp: New testcase.
9510 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9512 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9514 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9517 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9519 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9521 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9523 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9526 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9528 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9529 Expect ".exe" extension.
9531 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9533 * gdb.base/charset.exp: Add explicit filename to break.
9534 * gdb.base/dbx.exp: Add explicit filename to breaks.
9536 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9538 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9539 * gdb.mi/mi2-file.exp: Likewise.
9541 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9543 Implement specification of MI tests as comments
9544 in C and C++ sources.
9545 * lib/mi-support.exp (mi_autotest_data): New variable.
9546 (mi_autotest_source): New variable.
9547 (count_newlines, mi_prepare_inline_tests)
9548 (mi_get_inline_test, mi_continue_to_line)
9549 (mi_run_inline_test, mi_tbreak)
9550 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9551 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9553 * gdb.mi/mi-var-cp.cc: Define tests here.
9555 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9557 Simplify usage of mi_continue_to.
9558 * lib/mi-support.exp (mi_runto_helper): Renamed
9559 from mi_runto, added new parameter 'run_or_continue'.
9560 (mi_runto): Use mi_runto_helper.
9561 (mi_continue_to): Accept just function name as parameter.
9562 Use mi_runto_helper.
9563 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9564 * gdb.mi/mi2-var-cmd.exp: Likewise.
9566 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9568 Make this testcase a bit more realistic. The current code
9569 is too simplistic, and allows the compiler to optimize out
9570 some of the entities we need for this testcase.
9571 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9572 (Do_Nothing): Add extra parameter.
9573 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9574 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9575 by using a variable of type Void_Star.
9577 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9579 * gdb.ada/catch_ex/foo.adb: New file.
9580 * gdb.ada/catch_ex.exp: New testcase.
9582 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9584 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9585 pass --image-base to linker.
9587 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9588 Daniel Jacobowitz <dan@codesourcery.com>
9590 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9593 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9595 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9596 output. Test the types of members and member pointers.
9597 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9599 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9600 statement. Enable for GCC. Update expected output for some tests
9601 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9603 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9604 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9605 (Diamond::vget_base): New.
9606 (main): Add new tests.
9607 * gdb.cp/printmethod.exp: Update expected output for member functions.
9608 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9611 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9613 * gdb.threads/tls.exp: Allow stops in sem_post.
9615 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9617 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9618 * gdb.base/annota3.exp: Likewise.
9619 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9620 again (instead of timing out).
9621 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9623 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9624 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9625 test from jmisc1.exp.
9626 * gdb.java/jmisc1.exp: Delete.
9627 * gdb.java/jprint.exp: Adjust to work with method signatures including
9629 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9630 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9631 * lib/java.exp (compile_java_from_source): Pass the correct type
9634 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9636 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9637 (stack_align_edx): New function.
9638 (stack_align_eax): New function.
9639 (main): Add calls to stack_align_edx and stack_align_eax.
9640 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9641 Add testing for the cases where the register used during a stack
9642 realignment is edx. Same for eax.
9644 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9646 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9647 and generic PE targets.
9649 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9651 * gdb.ada/array_return.exp: Update copyright date list.
9653 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9655 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9656 (Create_Small_Float_Vector): New function.
9657 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9659 * gdb.ada/array_return/p.adb: Use new type and function from
9661 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9662 able to print the value returned by a function returning an
9665 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9667 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9668 The associated tests should be PASSing.
9670 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9672 Test for base in references.
9673 * gdb.mi/mi-var-cp.cc: Add test code.
9674 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9675 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9676 * gdb.mi/mi2-watch.exp: Likewise.
9677 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9678 (mi_list_varobj_children): New function.
9680 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9682 * lib/mi-support.exp
9683 (mi_runto): Accept "()" after function name.
9684 (mi_create_varobj): New function.
9685 (mi_varobj_update): New function.
9686 (mi_Check_varobj_value): New function.
9687 * gdb.mi/mi-var-cp.exp: New file.
9688 * gdb.mi/mi-var-cp.cc: New file.
9690 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9692 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9693 gdb.base/weaklib2.c: New files.
9695 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9697 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9698 info. Adjust test names.
9700 * gdb.base/break.c (main): Move position of malloc.
9701 * gdb.base/break.exp: Revert mistaken checkin.
9703 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9705 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9706 assignement of arrays and function pointers.
9707 * gdb.mi/var-cmd.c: Add declaration necessary for above
9710 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9712 * gdb.base/break.c (main): Call malloc.
9714 * gdb.threads/linux-dp.exp: Read thread table before and after
9715 creating each philosopher and verify it.
9717 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9718 Paul Brook <paul@codesourcery.com>
9719 Daniel Jacobowitz <dan@codesourcery.com>
9721 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9722 main to remove duplication. Add start function of the form
9723 '_*start[1-9]*'. Add RVDS start function.
9725 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9727 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9729 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9731 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9732 * gdb.asm/spu.inc: New file.
9733 * gdb.base/term.exp: Disable if [target_info exists noargs].
9734 * gdb.gdb/complaints.exp: Disable if ![isnative].
9735 * gdb.gdb/selftest.exp: Likewise.
9736 * gdb.gdb/observer.exp: Likewise.
9737 * gdb.gdb/xfullpath.exp: Likewise.
9738 * gdb.base/attach.exp: Disable on SPU target.
9739 * gdb.cp/bs145503.exp: Likewise.
9740 * gdb.cp/exception.exp: Likewise.
9741 * gdb.cp/userdef.exp: Likewise.
9743 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9745 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9747 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9749 * gdb.base/completion.exp: Fix completion tests for
9751 * gdb.base/help.exp (help_test_raw, test_class_help)
9752 (test_prefix_command_help): Move...
9753 * lib/gdb.exp: Here.
9754 * gdb.base/main.exp: Adjust.
9755 * gdb.cp/maint.exp: Adjust.
9756 * gdb.trace/tracecmd.exp: Use test_help_class.
9758 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9760 * gdb.stabs/weird.exp (print_weird_var): Use
9761 gdb_test_multiple instead of gdb_expect.
9763 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9765 * gdb.base/help.exp (help_test_raw): New.
9766 (test_class_help): New.
9767 (test_prefix_command_help): New.
9770 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9772 * gdb.base/constvars.c (main): Write to crass and crips, so that
9773 they are allocated by the compiler.
9775 2006-10-27 Andreas Schwab <schwab@suse.de>
9777 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9780 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9782 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9785 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9787 * gdb.base/sepdebug.exp: Remove debug format test.
9788 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9790 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9792 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9794 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9795 int to pointer or pointer to int.
9796 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9798 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9800 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9802 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9804 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9806 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9809 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9811 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9813 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9814 the corresponding bug has been fixed in GDB (PR/2018).
9816 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9818 * gdb.base/subst.exp: New testcase.
9820 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9822 * gdb.ada/array_return/pck.ads: Add copyright notice.
9823 * gdb.ada/array_return/pck.adb: Likewise.
9824 * gdb.ada/array_return/p.adb: Likewise.
9825 * gdb.ada/exec_changed/first.adb: Likewise.
9826 * gdb.ada/exec_changed/second.adb: Likewise.
9828 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9830 * gdb.ada/watch_arg/watch.adb: New file.
9831 * gdb.ada/watch_arg.exp: New testcase.
9833 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9835 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9836 via string_to_regexp.
9837 * gdb.mi/mi2-basics.exp: Likewise.
9839 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9841 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9842 Remove unused / obsolete files.
9844 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9846 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9848 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9850 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9851 HIGH_FRAME argument to -stack-list-arguments can be larger than
9852 the number of frames.
9854 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9856 * gdb.base/args.c (main): Add breakpoint marker.
9857 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9858 really test empty arguments.
9859 (args_load): Delete.
9862 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9864 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9867 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9869 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9870 HIGH_FRAME argument to -stack-list-locals can be larger than
9871 the number of frames.
9873 2006-08-18 Fred Fish <fnf@specifix.com>
9875 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9876 '$' in front of skip_vmx_tests_saved when setting that.
9878 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9880 * gdb.base/trace-commands.exp: New file.
9882 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9883 Daniel Jacobowitz <dan@codesourcery.com>
9885 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9886 expected output of the backtrace commands.
9888 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9890 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9891 untested followed by return combination.
9892 * gdb.arch/altivec-regs.exp: Likewise.
9893 * gdb.arch/e500-abi.exp: Likewise.
9894 * gdb.arch/e500-regs.exp: Likewise.
9895 * gdb.arch/gdb1291.exp: Likewise.
9896 * gdb.arch/gdb1431.exp: Likewise.
9897 * gdb.arch/gdb1558.exp: Likewise.
9898 * gdb.arch/i386-prologue.exp: Likewise.
9899 * gdb.arch/i386-unwind.exp: Likewise.
9900 * gdb.asm/asm-source.exp: Likewise.
9901 * gdb.base/a2-run.exp: Likewise.
9902 * gdb.base/advance.exp: Likewise.
9903 * gdb.base/all-bin.exp: Likewise.
9904 * gdb.base/annota1.exp: Likewise.
9905 * gdb.base/annota3.exp: Likewise.
9906 * gdb.base/args.exp: Likewise.
9907 * gdb.base/arithmet.exp: Likewise.
9908 * gdb.base/assign.exp: Likewise.
9909 * gdb.base/async.exp: Likewise.
9910 * gdb.base/attach.exp: Likewise.
9911 * gdb.base/bang.exp: Likewise.
9912 * gdb.base/bigcore.exp: Likewise.
9913 * gdb.base/bitfields.exp: Likewise.
9914 * gdb.base/bitfields2.exp: Likewise.
9915 * gdb.base/break.exp: Likewise.
9916 * gdb.base/call-sc.exp: Likewise.
9917 * gdb.base/call-strs.exp: Likewise.
9918 * gdb.base/callfuncs.exp: Likewise.
9919 * gdb.base/checkpoint.exp: Likewise.
9920 * gdb.base/chng-syms.exp: Likewise.
9921 * gdb.base/code-expr.exp: Likewise.
9922 * gdb.base/commands.exp: Likewise.
9923 * gdb.base/completion.exp: Likewise.
9924 * gdb.base/cond-expr.exp: Likewise.
9925 * gdb.base/condbreak.exp: Likewise.
9926 * gdb.base/consecutive.exp: Likewise.
9927 * gdb.base/constvars.exp: Likewise.
9928 * gdb.base/corefile.exp: Likewise.
9929 * gdb.base/cvexpr.exp: Likewise.
9930 * gdb.base/dbx.exp: Likewise.
9931 * gdb.base/define.exp: Likewise.
9932 * gdb.base/detach.exp: Likewise.
9933 * gdb.base/display.exp: Likewise.
9934 * gdb.base/dump.exp: Likewise.
9935 * gdb.base/ena-dis-br.exp: Likewise.
9936 * gdb.base/ending-run.exp: Likewise.
9937 * gdb.base/environ.exp: Likewise.
9938 * gdb.base/eval-skip.exp: Likewise.
9939 * gdb.base/exprs.exp: Likewise.
9940 * gdb.base/fileio.exp: Likewise.
9941 * gdb.base/finish.exp: Likewise.
9942 * gdb.base/float.exp: Likewise.
9943 * gdb.base/foll-exec.exp: Likewise.
9944 * gdb.base/foll-fork.exp: Likewise.
9945 * gdb.base/foll-vfork.exp: Likewise.
9946 * gdb.base/freebpcmd.exp: Likewise.
9947 * gdb.base/funcargs.exp: Likewise.
9948 * gdb.base/gcore.exp: Likewise.
9949 * gdb.base/gdb1090.exp: Likewise.
9950 * gdb.base/gdb1250.exp: Likewise.
9951 * gdb.base/huge.exp: Likewise.
9952 * gdb.base/info-proc.exp: Likewise.
9953 * gdb.base/interrupt.exp: Likewise.
9954 * gdb.base/jump.exp: Likewise.
9955 * gdb.base/langs.exp: Likewise.
9956 * gdb.base/lineinc.exp: Likewise.
9957 * gdb.base/list.exp: Likewise.
9958 * gdb.base/logical.exp: Likewise.
9959 * gdb.base/long_long.exp: Likewise.
9960 * gdb.base/macscp.exp: Likewise.
9961 * gdb.base/maint.exp: Likewise.
9962 * gdb.base/mips_pro.exp: Likewise.
9963 * gdb.base/miscexprs.exp: Likewise.
9964 * gdb.base/multi-forks.exp: Likewise.
9965 * gdb.base/opaque.exp: Likewise.
9966 * gdb.base/overlays.exp: Likewise.
9967 * gdb.base/pc-fp.exp: Likewise.
9968 * gdb.base/pointers.exp: Likewise.
9969 * gdb.base/printcmds.exp: Likewise.
9970 * gdb.base/psymtab.exp: Likewise.
9971 * gdb.base/ptype.exp: Likewise.
9972 * gdb.base/recurse.exp: Likewise.
9973 * gdb.base/relational.exp: Likewise.
9974 * gdb.base/relocate.exp: Likewise.
9975 * gdb.base/remote.exp: Likewise.
9976 * gdb.base/reread.exp: Likewise.
9977 * gdb.base/restore.exp: Likewise.
9978 * gdb.base/return.exp: Likewise.
9979 * gdb.base/return2.exp: Likewise.
9980 * gdb.base/scope.exp: Likewise.
9981 * gdb.base/sect-cmd.exp: Likewise.
9982 * gdb.base/sep.exp: Likewise.
9983 * gdb.base/sepdebug.exp: Likewise.
9984 * gdb.base/setshow.exp: Likewise.
9985 * gdb.base/setvar.exp: Likewise.
9986 * gdb.base/sigall.exp: Likewise.
9987 * gdb.base/sigbpt.exp: Likewise.
9988 * gdb.base/signals.exp: Likewise.
9989 * gdb.base/signull.exp: Likewise.
9990 * gdb.base/sizeof.exp: Likewise.
9991 * gdb.base/solib.exp: Likewise.
9992 * gdb.base/step-line.exp: Likewise.
9993 * gdb.base/step-test.exp: Likewise.
9994 * gdb.base/structs.exp: Likewise.
9995 * gdb.base/structs2.exp: Likewise.
9996 * gdb.base/term.exp: Likewise.
9997 * gdb.base/twice.exp: Likewise.
9998 * gdb.base/until.exp: Likewise.
9999 * gdb.base/varargs.exp: Likewise.
10000 * gdb.base/volatile.exp: Likewise.
10001 * gdb.base/watchpoint.exp: Likewise.
10002 * gdb.base/whatis-exp.exp: Likewise.
10003 * gdb.base/whatis.exp: Likewise.
10004 * gdb.cp/ambiguous.exp: Likewise.
10005 * gdb.cp/annota2.exp: Likewise.
10006 * gdb.cp/annota3.exp: Likewise.
10007 * gdb.cp/bool.exp: Likewise.
10008 * gdb.cp/breakpoint.exp: Likewise.
10009 * gdb.cp/casts.exp: Likewise.
10010 * gdb.cp/class2.exp: Likewise.
10011 * gdb.cp/classes.exp: Likewise.
10012 * gdb.cp/cplusfuncs.exp: Likewise.
10013 * gdb.cp/ctti.exp: Likewise.
10014 * gdb.cp/derivation.exp: Likewise.
10015 * gdb.cp/exception.exp: Likewise.
10016 * gdb.cp/gdb1355.exp: Likewise.
10017 * gdb.cp/hang.exp: Likewise.
10018 * gdb.cp/inherit.exp: Likewise.
10019 * gdb.cp/local.exp: Likewise.
10020 * gdb.cp/m-data.exp: Likewise.
10021 * gdb.cp/m-static.exp: Likewise.
10022 * gdb.cp/member-ptr.exp: Likewise.
10023 * gdb.cp/method.exp: Likewise.
10024 * gdb.cp/misc.exp: Likewise.
10025 * gdb.cp/namespace.exp: Likewise.
10026 * gdb.cp/overload.exp: Likewise.
10027 * gdb.cp/ovldbreak.exp: Likewise.
10028 * gdb.cp/pr-1023.exp: Likewise.
10029 * gdb.cp/pr-1210.exp: Likewise.
10030 * gdb.cp/pr-574.exp: Likewise.
10031 * gdb.cp/printmethod.exp: Likewise.
10032 * gdb.cp/psmang.exp: Likewise.
10033 * gdb.cp/ref-params.exp: Likewise.
10034 * gdb.cp/ref-types.exp: Likewise.
10035 * gdb.cp/rtti.exp: Likewise.
10036 * gdb.cp/templates.exp: Likewise.
10037 * gdb.cp/try_catch.exp: Likewise.
10038 * gdb.cp/userdef.exp: Likewise.
10039 * gdb.cp/virtfunc.exp: Likewise.
10040 * gdb.disasm/am33.exp: Likewise.
10041 * gdb.disasm/h8300s.exp: Likewise.
10042 * gdb.disasm/mn10300.exp: Likewise.
10043 * gdb.disasm/sh3.exp: Likewise.
10044 * gdb.disasm/t01_mov.exp: Likewise.
10045 * gdb.disasm/t02_mova.exp: Likewise.
10046 * gdb.disasm/t03_add.exp: Likewise.
10047 * gdb.disasm/t04_sub.exp: Likewise.
10048 * gdb.disasm/t05_cmp.exp: Likewise.
10049 * gdb.disasm/t06_ari2.exp: Likewise.
10050 * gdb.disasm/t07_ari3.exp: Likewise.
10051 * gdb.disasm/t08_or.exp: Likewise.
10052 * gdb.disasm/t09_xor.exp: Likewise.
10053 * gdb.disasm/t10_and.exp: Likewise.
10054 * gdb.disasm/t11_logs.exp: Likewise.
10055 * gdb.disasm/t12_bit.exp: Likewise.
10056 * gdb.disasm/t13_otr.exp: Likewise.
10057 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10058 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10059 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10060 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10061 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10062 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10063 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10064 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10065 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10066 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10067 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10068 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10069 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10070 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10071 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10072 * gdb.mi/gdb701.exp: Likewise.
10073 * gdb.mi/gdb792.exp: Likewise.
10074 * gdb.mi/mi-basics.exp: Likewise.
10075 * gdb.mi/mi-break.exp: Likewise.
10076 * gdb.mi/mi-cli.exp: Likewise.
10077 * gdb.mi/mi-console.exp: Likewise.
10078 * gdb.mi/mi-disassemble.exp: Likewise.
10079 * gdb.mi/mi-eval.exp: Likewise.
10080 * gdb.mi/mi-file.exp: Likewise.
10081 * gdb.mi/mi-read-memory.exp: Likewise.
10082 * gdb.mi/mi-regs.exp: Likewise.
10083 * gdb.mi/mi-return.exp: Likewise.
10084 * gdb.mi/mi-simplerun.exp: Likewise.
10085 * gdb.mi/mi-stack.exp: Likewise.
10086 * gdb.mi/mi-stepi.exp: Likewise.
10087 * gdb.mi/mi-syn-frame.exp: Likewise.
10088 * gdb.mi/mi-until.exp: Likewise.
10089 * gdb.mi/mi-var-block.exp: Likewise.
10090 * gdb.mi/mi-var-child.exp: Likewise.
10091 * gdb.mi/mi-var-cmd.exp: Likewise.
10092 * gdb.mi/mi-var-display.exp: Likewise.
10093 * gdb.mi/mi-watch.exp: Likewise.
10094 * gdb.mi/mi2-basics.exp: Likewise.
10095 * gdb.mi/mi2-break.exp: Likewise.
10096 * gdb.mi/mi2-cli.exp: Likewise.
10097 * gdb.mi/mi2-console.exp: Likewise.
10098 * gdb.mi/mi2-disassemble.exp: Likewise.
10099 * gdb.mi/mi2-eval.exp: Likewise.
10100 * gdb.mi/mi2-file.exp: Likewise.
10101 * gdb.mi/mi2-read-memory.exp: Likewise.
10102 * gdb.mi/mi2-regs.exp: Likewise.
10103 * gdb.mi/mi2-return.exp: Likewise.
10104 * gdb.mi/mi2-simplerun.exp: Likewise.
10105 * gdb.mi/mi2-stack.exp: Likewise.
10106 * gdb.mi/mi2-stepi.exp: Likewise.
10107 * gdb.mi/mi2-syn-frame.exp: Likewise.
10108 * gdb.mi/mi2-until.exp: Likewise.
10109 * gdb.mi/mi2-var-block.exp: Likewise.
10110 * gdb.mi/mi2-var-child.exp: Likewise.
10111 * gdb.mi/mi2-var-cmd.exp: Likewise.
10112 * gdb.mi/mi2-var-display.exp: Likewise.
10113 * gdb.mi/mi2-watch.exp: Likewise.
10114 * gdb.stabs/exclfwd.exp: Likewise.
10115 * gdb.stabs/weird.exp: Likewise.
10116 * gdb.threads/gcore-thread.exp: Likewise.
10117 * gdb.trace/actions.exp: Likewise.
10118 * gdb.trace/backtrace.exp: Likewise.
10119 * gdb.trace/circ.exp: Likewise.
10120 * gdb.trace/collection.exp: Likewise.
10121 * gdb.trace/deltrace.exp: Likewise.
10122 * gdb.trace/infotrace.exp: Likewise.
10123 * gdb.trace/limits.exp: Likewise.
10124 * gdb.trace/packetlen.exp: Likewise.
10125 * gdb.trace/passc-dyn.exp: Likewise.
10126 * gdb.trace/passcount.exp: Likewise.
10127 * gdb.trace/report.exp: Likewise.
10128 * gdb.trace/save-trace.exp: Likewise.
10129 * gdb.trace/tfind.exp: Likewise.
10130 * gdb.trace/tracecmd.exp: Likewise.
10131 * gdb.trace/while-dyn.exp: Likewise.
10132 * gdb.trace/while-stepping.exp: Likewise.
10134 2006-08-08 Joel Brobecker <brobecker@adacore.com>
10136 * gdb.base/step-bt.c: New file.
10137 * gdb.base/step-bt.exp: New testcase.
10139 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10141 * config/monitor.exp (gdb_load): Remove support for obsolete
10142 download-write-size.
10143 * gdb.base/remote.exp: Likewise. Update all callers of
10146 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10148 * cursal.exp: Pass binfile to gdb_load.
10150 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10152 * gdb.base/cursal.exp: Add "" to gdb_load call.
10154 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10156 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10157 NetBSD/ELF targets.
10159 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10161 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10164 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10166 * gdb.base/completion.exp: Update for change in "file" behavior.
10167 * gdb.stabs/weird.exp: Likewise.
10168 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10169 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10171 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10173 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10174 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10176 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10178 * gdb.base/default.exp: Update source command error message.
10179 * gdb.base/help.exp: Update 'help source' message.
10181 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10183 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10186 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10188 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10190 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10192 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10194 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10196 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10198 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10200 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10201 *-*-openbsd* from targets for wich we expect ARM FPA floating
10204 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10206 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10208 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10210 * gdb.base/annota3.exp: Expect frame-begin annotation.
10212 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10214 * gdb.base/help.exp: Adjust "help unset" test to accept
10215 any list of unset commands.
10217 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10218 Daniel Jacobowitz <dan@codesourcery.com>
10220 * gdb.cp/ref-params.exp: New test.
10221 * gdb.cp/ref-params.cc: New source file.
10222 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10224 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10226 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10227 spaces/tabs in regular expressions since they might not be there.
10229 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10231 * gdb.base/ifelse.exp: New file.
10233 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10235 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10237 * gdb.base/huge.exp: Loop over compilation to find a size that
10239 * gdb.base/remote.exp: Correct expected strings.
10240 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10242 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10244 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10246 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10248 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10251 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10253 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10254 enable stabs testing.
10256 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10258 * gdb.base/auxv.exp: Intercept undefined command messages before
10259 gdb_test_multiple does.
10261 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10263 * Makefile.in (host_alias): Remove.
10264 (target_alias): Use @target_noncanonical@.
10265 (site.exp): Don't set host_alias.
10266 * aclocal.m4: Remove contents. Include acx.m4.
10267 * configure: Regenerated.
10268 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10270 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10272 * lib/gdb.exp (gdb_load_cmd): New.
10274 * gdb.base/fileio.c: Add system(NULL) test.
10275 * gdb.base/fileio.exp: Check it.
10277 * gdb.base/break.c: Add 10a breakpoint at }
10278 * gdb.base/break.exp: Add test for breakpoint at }
10279 * gdb.cp/anon-union.cc: Add code at end of function.
10280 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10281 * gdb.mi/var-cmd.c: Add code at end of function.
10282 * gdb.mi/mi-var-display.exp: Adjust end of next.
10283 * gdb.mi/mi2-var-display.exp: Likewise.
10284 * gdb.base/fileio.c: Add stop function and insert calls at
10286 * gdb.base/fileio.exp: Breakpoint stop function and remove
10287 explicit line number references.
10289 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10291 * gdb.base/del.exp (test_delete_alias): New function.
10292 Now check that both "del" and "d" work as aliases for "delete".
10294 2006-05-18 Fred Fish <fnf@specifix.com>
10296 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10297 required. Check for spurious output after program exits normally.
10299 2006-05-17 Fred Fish <fnf@specifix.com>
10301 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10302 gdb_load, so it works in the simulator.
10304 2006-05-11 Fred Fish <fnf@specifix.com>
10306 * gdb.base/bang.exp: Ignore unexpected output between the
10307 "program exited normally" and the gdb prompt, as many other
10310 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10312 * gdb.base/help.exp: Make "delete checkpoint" part option for
10313 "help d" and "help delete" tests.
10315 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10317 * gdb.mi/mi-basics.exp: Add missing serial number to
10318 expected output in some mi_gdb_test statements.
10319 * gdb.mi/mi2-basics.exp: Likewise.
10321 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10323 * gdb.base/del.c: New file.
10324 * gdb.base/del.exp: New testcase.
10326 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10328 * gdb.base/break.exp: Do not assume a breakpoint on
10329 main will actually be in $srcfile when optimizing.
10330 * gdb.base/savedregs.exp: Do not require that the dummy
10331 frame location match up to a symbol and source file location.
10332 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10333 will get printed without a mi_cmd_data_list_register_values prefix.
10334 (*-data-list-register-*): Correct regular expressions to expect the new
10335 pseudo d? floating point registers.
10336 * gdb.mi/mi2-regs.exp: Likewise.
10338 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10340 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10341 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10342 is allocated by the compiler.
10343 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10344 anons, e, anone to force their allocation by the compiler.
10346 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10348 * gdb.base/help.exp: Update expected text for help d and
10351 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10353 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10354 NetBSD/ELF targets.
10356 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10358 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10359 single-step breakpoint fails; make this a KFAIL on
10361 * gdb.base/siginfo.exp: Likewise.
10362 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10364 2006-04-26 Michael Snyder <msnyder@redhat.com>
10366 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10367 which may have to consume output from other forks.
10368 Add tests to make sure that "delete fork" succeeded.
10370 2006-04-20 Michael Snyder <msnyder@redhat.com>
10372 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10373 Add support for the Renesas M32C and M16C.
10375 * gdb.asm/asm-source.exp: Add m32c target.
10376 * gdb.asm/m32c.inc: Support for m32c target.
10378 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10380 * gdb.base/commands.exp (recursive_source_test): New test.
10382 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10384 * gdb.base/float.exp: Add pattern for sparc targets.
10386 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10388 * gdb.base/commands.exp (stray_arg0_test): New test.
10390 2006-03-30 Paul Brook <paul@codesourcery.com>
10392 * gdb.mi/mi-until.exp: kfail broken until command.
10393 * gdb.mi/mi2-until.exp: Ditto.
10395 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10397 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10399 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10401 * gdb.base/prelink.exp: Anchor tested-for regular expression
10404 2006-03-07 Paul Brook <paul@codesourcery.com>
10406 * gdb.base/assign.exp: Correct fail message.
10408 2006-03-07 Paul Brook <paul@codesourcery.com>
10410 * lib/compiler.c: Extract armcc version number.
10411 * lib/compiler.cc: Ditto.
10413 2006-03-07 Paul Brook <paul@codesourcery.com>
10415 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10416 additional_flags=-w.
10417 * gdb.arch/altivec-regs.exp: Ditto.
10418 * gdb.arch/e500-abi.exp: Ditto.
10419 * gdb.arch/e500-regs.exp: Ditto.
10420 * gdb.base/all-bin.exp: Ditto.
10421 * gdb.base/annota1.exp: Ditto.
10422 * gdb.base/annota3.exp: Ditto.
10423 * gdb.base/args.exp: Ditto.
10424 * gdb.base/arithmet.exp: Ditto.
10425 * gdb.base/assign.exp: Ditto.
10426 * gdb.base/async.exp: Ditto.
10427 * gdb.base/bang.exp: Ditto.
10428 * gdb.base/break.exp: Ditto.
10429 * gdb.base/call-rt-st.exp: Ditto.
10430 * gdb.base/completion.exp: Ditto.
10431 * gdb.base/cond-expr.exp: Ditto.
10432 * gdb.base/condbreak.exp: Ditto.
10433 * gdb.base/consecutive.exp: Ditto.
10434 * gdb.base/define.exp: Ditto.
10435 * gdb.base/display.exp: Ditto.
10436 * gdb.base/ena-dis-br.exp: Ditto.
10437 * gdb.base/environ.exp: Ditto.
10438 * gdb.base/eval-skip.exp: Ditto.
10439 * gdb.base/info-proc.exp: Ditto.
10440 * gdb.base/jump.exp: Ditto.
10441 * gdb.base/logical.exp: Ditto.
10442 * gdb.base/long_long.exp: Ditto.
10443 * gdb.base/maint.exp: Ditto.
10444 * gdb.base/miscexprs.exp: Ditto.
10445 * gdb.base/pc-fp.exp: Ditto.
10446 * gdb.base/pointers.exp: Ditto.
10447 * gdb.base/relational.exp: Ditto.
10448 * gdb.base/reread.exp: Ditto.
10449 * gdb.base/sect-cmd.exp: Ditto.
10450 * gdb.base/sep.exp: Ditto.
10451 * gdb.base/sepdebug.exp: Ditto.
10452 * gdb.base/until.exp: Ditto.
10453 * gdb.base/whatis-exp.exp: Ditto.
10454 * gdb.cp/annota2.exp: Ditto.
10455 * gdb.cp/annota3.exp: Ditto.
10456 * gdb.trace/actions.exp: Ditto.
10457 * gdb.trace/backtrace.exp: Ditto.
10458 * gdb.trace/circ.exp: Ditto.
10459 * gdb.trace/collection.exp: Ditto.
10460 * gdb.trace/deltrace.exp: Ditto.
10461 * gdb.trace/infotrace.exp: Ditto.
10462 * gdb.trace/limits.exp: Ditto.
10463 * gdb.trace/packetlen.exp: Ditto.
10464 * gdb.trace/passc-dyn.exp: Ditto.
10465 * gdb.trace/passcount.exp: Ditto.
10466 * gdb.trace/report.exp: Ditto.
10467 * gdb.trace/save-trace.exp: Ditto.
10468 * gdb.trace/tfind.exp: Ditto.
10469 * gdb.trace/tracecmd.exp: Ditto.
10470 * gdb.trace/while-dyn.exp: Ditto.
10471 * gdb.trace/while-stepping.exp: Ditto.
10472 * lib/gdb.exp: Ditto.
10473 (gdb_compile): Handle nowarning option.
10475 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10477 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10478 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10479 Rename executable to prelinkt. Don't re-prelink if we didn't
10480 get a core file. Test prelink -u exit status to tell whether
10481 prelinking failed. Use gdb_test_multiple.
10483 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10485 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10486 (do_tests): Call it.
10488 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10490 * gdb.base/prelink.exp: New test.
10491 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10493 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10495 * gdb.fortran/derived-type.f90: New file.
10496 * gdb.fortran/derived-type.exp: New testcase.
10498 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10500 * gdb.base/default.exp: Allow ';' as a directory separator.
10502 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10504 * gdb.base/help.exp (help add-symbol-file): Update.
10506 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10508 * gdb.base/help.exp (help load): Update expected results.
10510 2006-02-19 Fred Fish <fnf@specifix.com>
10512 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10513 specifix hex value as part of results.
10514 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10516 2006-02-16 Fred Fish <fnf@specifix.com>
10518 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10519 ushort_addr, and slong_addr, so the typedefs are not optimized
10521 * gdb.base/whatis.exp: Add tests using type name for struct type,
10522 union type, enum type, and typedef.
10524 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10526 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10528 2006-02-13 Jim Blandy <jimb@redhat.com>
10530 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10531 case where it takes two "next" commands to skip past the init
10534 2006-02-12 Fred Fish <fnf@specifix.com>
10536 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10537 to handle cases where it takes two "next" commands to skip
10538 past the init call.
10540 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10542 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10545 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10547 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10550 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10552 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10554 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10556 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10559 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10561 * gdb.cp/maint.exp: Set complaints to a positive value.
10563 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10565 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10566 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10569 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10571 * gdb.base/checkpoint.c: Update copyright notice. Include
10574 2006-01-04 Jim Blandy <jimb@redhat.com>
10576 * gdb.asm/asm-source.exp: Independently provide default values for
10577 asm-flags and debug-flags. Use 'string equal' to do the
10578 comparison, not the implicit expr's '==' operator. Remove
10579 now-unneeded assignments to asm-flags. In h8300 case, place
10580 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10582 2006-01-04 Michael Snyder <msnyder@redhat.com>
10584 * gdb.base/checkpoint.c: New file.
10585 * gdb.base/checkpoint.exp: New file.
10586 * gdb.base/multi-fork.c: New file.
10587 * gdb.base/multi-fork.exp: New file.
10588 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10590 2006-01-04 Fred Fish <fnf@specifix.com>
10592 * gdb.base/ptype.c (foo): Add typedef.
10593 (intfoo): Add function.
10594 * gdb.base/ptype1.c: New file.
10595 * gdb.base/ptype.exp: Handle compilation and linking with two
10596 source files. Test that proper type for "foo" is found based
10597 on source context rather than first match found in symtabs.
10599 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10601 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10602 * gdb.asm/openbsd.inc: Indent commands.
10604 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10606 * gdb.base/freebpcmd.exp: Increase timeout.
10608 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10610 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10612 * gdb.base/default.exp: Update check for "show version".
10614 2005-12-09 Randolph Chung <tausq@debian.org>
10616 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10617 * gdb.asm/pa64.inc: New file.
10619 2005-12-09 Randolph Chung <tausq@debian.org>
10621 * gdb.asm/common.inc: Indent commands.
10622 * gdb.asm/asmsrc1.s: Likewise.
10623 * gdb.asm/asmsrc2.s: Likewise.
10625 2005-12-09 Randolph Chung <tausq@debian.org>
10627 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10628 (get_addr_of_sym): Remove duplicate print.
10629 (gen_core): xfail hppa*-*-hpux*, update expected output.
10630 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10631 * gdb.arch/pa64-nullify.s: New file.
10633 2005-12-09 Randolph Chung <tausq@debian.org>
10635 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10637 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10639 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10640 code generation for these functions.
10641 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10644 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10646 * gdb.base/help.exp (help b, help br, help bre, help brea)
10647 (help break): Update the expected message.
10649 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10651 * gdb.asm/m68hc11.inc: Setup the data section.
10652 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10653 script for this test.
10654 (m6812-*-*): Likewise.
10656 2005-11-09 Randolph Chung <tausq@debian.org>
10658 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10660 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10662 * gdb.base/break.exp: Fix a comment typo.
10664 2005-11-03 Jim Blandy <jimb@redhat.com>
10666 Checked in by Elena Zannoni <ezannoni@redhat.com>
10668 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10670 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10672 * gdb.arch/gdb1558.c: Include stdio.h.
10674 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10676 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10678 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10680 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10682 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10684 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10685 vscr" tests to better match output.
10687 2005-10-12 Jim Blandy <jimb@redhat.com>
10689 * gdb.base/structs.exp (any): New function.
10690 (test_struct_returns): Don't make any assumptions at all about
10691 what value the function returns when GDB can't set the return
10694 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10696 * gdb.ada/arrayidx/p.adb: New file.
10697 * gdb.ada/arrayidx.exp: New testcase
10699 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10701 * gdb.ada/array_return/pck.ads: New file.
10702 * gdb.ada/array_return/pck.adb: New file.
10703 * gdb.ada/array_return/p.adb: New file.
10704 * gdb.ada/array_return.exp: New testcase.
10706 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10708 * gdb.base/arrayidx.c: New file.
10709 * gdb.base/arrayidx.exp: New testcase.
10711 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10713 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10714 frames-invalid and breakpoints-invalid are no longer generated
10715 with level 3 so don't expect them in the output.
10717 2005-09-27 Bob Rossi <bob@brasko.net>
10719 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10720 from test. Escape the | in mi_gdb_test call.
10721 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10722 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10723 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10724 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10725 expected regex's in mi_gdb_test calls.
10726 * lib/mi-support.exp: Remove arbitrary .* from tests.
10727 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10728 Fully anchor GDB/MI expected results in mi_gdb_test.
10729 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10730 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10732 2005-09-26 Paul Brook <paul@codesourcery.com>
10734 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10736 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10738 * bfp-test.c: New file.
10739 * bfp-test.exp: New testcase.
10741 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10743 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10744 of subarray and substring variable.
10745 * gdb.fortran/subarray.f: New source file for the test of subarray
10746 and substring variable evaluation.
10747 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10748 of string constant.
10750 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10752 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10755 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10757 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10758 powerpc altivec' test with an almost identical 'info vector' test.
10760 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10762 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10763 vscr" tests to match output.
10765 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10767 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10770 2005-09-11 Bob Rossi <bob@brasko.net>
10772 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10773 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10774 commands that return an MI output command and an asyncronous MI output
10776 * gdb.mi/mi-console.exp: Ditto.
10778 2005-09-11 Bob Rossi <bob@brasko.net>
10780 * gdb.mi/mi-var-child.c: Include <string.h>.
10782 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10784 * killed.exp: Correct gdb_expect syntax.
10786 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10788 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10790 2005-08-02 Bob Rossi <bob@brasko.net>
10792 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10793 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10794 Change tests to inferior-tty-set/show.
10795 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10796 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10797 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10798 inferior. Use mi_gdb_test to get GDB and Inferior output.
10799 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10801 (mi_inferior_tty_name): Add inferior PTY file name.
10802 (mi_gdb_start): Add INFERIOR_PTY parameter.
10803 (mi_gdb_test): Add IPATTERN parameter.
10805 2005-08-02 Bob Rossi <bob@brasko.net>
10807 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10808 parameter to mi_gdb_test.
10809 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10811 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10813 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10814 struct_declarations.
10815 * gdb.mi/mi-var-child.exp: Step over the initialization of
10816 struct_declarations.
10818 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10820 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10821 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10822 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10823 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10824 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10827 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10829 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10830 (do_children_tests): Assign values to the extra elements.
10832 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10833 them for tests for "-var-update --no-values" and
10834 "-var-update --all-values".
10835 Add test for "-var-list-children --simple-values".
10837 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10839 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10840 "-stack-list-locals --simple-values" Improve doc strings and
10843 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10845 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10847 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10849 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10852 2005-07-14 Bob Rossi <bob@brasko.net>
10854 * gdb.base/default.exp (tty): Changed output of command.
10855 * gdb.base/help.exp (help tty): Ditto.
10857 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10859 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10861 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10863 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10864 -stack-select-frame without arguments.
10865 (test_stack_frame_listing): Add test for newly implemented command
10868 2005-07-06 Bob Rossi <bob@brasko.net>
10870 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10872 (Copyright): Update copyright.
10874 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10876 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10877 tests to evaluate exponentiation expression.
10879 2005-06-29 Andreas Schwab <schwab@suse.de>
10881 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10882 main to avoid warnings.
10884 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10886 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10888 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10889 -stack-select-frame without arguments.
10890 (test_stack_frame_listing): Add test for newly implemented command
10893 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10895 * gdb.fortran/array-element.f: New file.
10896 * gdb.fortran/array-element.exp: New testcase.
10898 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10900 * gdb.base/bigcore.exp: Correct checks for systems which can
10901 not dump a large core file.
10903 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10905 * gdb.base/relocate.c: Add a copyright notice.
10907 * gdb.base/relocate.exp: Test printing the values of variables
10908 from a relocatable file.
10910 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10912 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10913 excess MI output after an error.
10915 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10917 * gdb.arch/alpha-step.c: New file.
10918 * gdb.arch/alpha-step.exp: New testcase.
10920 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10921 Dennis Brueni <dennis@slickedit.com>
10923 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10924 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10925 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10926 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10927 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10928 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10929 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10931 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10932 Wu Zhou <woodzltc@cn.ibm.com>
10934 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10935 IBM's xlc compiler.
10936 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10937 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10939 2005-05-13 Jim Blandy <jimb@redhat.com>
10941 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10942 calling gdb_suppress_entire_file.
10943 * gdb.base/charset.exp: Same.
10944 * gdb.base/call-rt-st.exp: Same.
10946 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10948 * lib/gdb.exp (fullname_syntax): Added global regex.
10949 (fullname_syntax_POSIX): Ditto.
10950 (fullname_syntax_UNC): Ditto.
10951 (fullname_syntax_DOS_CASE): Ditto.
10952 (fullname_syntax_DOS): Ditto.
10953 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10954 fullname_syntax variable to scope and use it.
10955 (test_file_list_exec_source_files): Ditto.
10956 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10958 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10960 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10962 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10964 * lib/gdb.exp (skip_altivec_tests): New function, based on
10965 check_vmx_hw_available from the GCC testsuite.
10966 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10967 * lib/gdb.arch/altivec-regs.exp: Likewise.
10969 2005-05-02 Jim Blandy <jimb@redhat.com>
10971 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10972 calling gdb_suppress_entire_file.
10974 2005-04-30 Randolph Chung <tausq@debian.org>
10976 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10977 Slightly relax "sem_post" name checking.
10979 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10981 * gdb.base/unload.exp: Use new shared library infrastructure.
10983 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10985 * gdb.base/so-impl-ld.exp: Use new shared library
10988 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10990 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10991 * gdb.asm/h8300.inc: New file.
10993 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10995 * gdb.base/shlib-call.exp: Change to use new shared library
10998 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11000 * gdb.base/pending.exp: Change to use new shared library
11003 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11005 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11006 use test_compiler_info instead of gcc_compiled, and update copyright.
11008 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11010 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11011 shared objects being adjusted and update copyright years.
11013 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11015 * ChangeLog: Correct some 2003-01-13 dates.
11016 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11017 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11018 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11019 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11020 gdb.trace/tfind.exp: Update copyright years.
11022 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11023 Daniel Jacobowitz <dan@codesourcery.com>
11025 * lib/gdb.exp (gdb_compile): Handle shlib=.
11026 (gdb_compile_shlib): New function.
11028 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11030 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11032 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11034 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11036 * configure.ac: Likewise.
11037 * configure: Regenerated.
11038 * gdb.gdbserver/Makefile.in: Moved to...
11039 * gdb.server/Makefile.in: ... here.
11040 * gdb.gdbserver/server.c: Moved to...
11041 * gdb.server/server.c: ... here.
11042 * gdb.gdbserver/server-run.exp: Moved to...
11043 * gdb.server/server-run.exp: ... here.
11045 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11047 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11048 * configure.ac: Create gdb.gdbserver/Makefile.
11049 * configure: Regenerated.
11050 * lib/gdbserver-support.exp: New file, derived from
11051 config/gdbserver.exp.
11052 * config/gdbserver.exp: Use gdbserver-support.exp.
11053 * gdb.gdbserver/Makefile.in: New file.
11054 * gdb.gdbserver/server.c: New file.
11055 * gdb.gdbserver/server-run.exp: New file.
11057 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11059 * lib/gdb.exp (test_compiler_info): Return compiler_info
11060 if no arguments are given.
11062 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11064 * gdb.arch/altivec-abi.exp: Check for compiler and set
11065 use altivec' flag accordingly.
11066 * gdb.arch/altivec-regs.exp: Likewise.
11068 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11070 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11072 2005-03-27 Andreas Schwab <schwab@suse.de>
11074 * gdb.base/bigcore.c (main): Add missing mode argument in open
11077 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11079 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11081 * config/gdbserver.exp (gdb_load): Likewise.
11083 2005-03-14 Paul Brook <paul@codesourcery.com>
11085 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11088 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11090 * gdb.dwarf2/dup-psym.S: New file.
11091 * gdb.dwarf2/dup-psym.exp: New testcase.
11093 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11095 * gdb.ada/exec_changed/first.adb: New file.
11096 * gdb.ada/exec_changed/second.adb: New file.
11097 * gdb.ada/exec_changed.exp: New testcase.
11099 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11101 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11103 (main): Test operator+.
11104 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11107 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11108 * gdb.base/signull.exp: Disable if gdb,nosignals.
11109 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11110 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11111 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11112 * gdb.mi/mi2-console.exp: Likewise.
11113 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11114 continue output at start.
11115 (gdb_collect_locals_test): Robustify regexp.
11116 * gdb.trace/passc-dyn.exp: Fix comment typo.
11117 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11119 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
11121 * gdb.asm/asm-source.exp: Add iq2000 case.
11122 * gdb.asm/iq2000.inc: New file.
11124 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11126 * gdb.base/command.exp: Change hardcoded value to regular expression.
11127 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11129 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11131 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11132 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11133 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11134 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11135 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11137 2005-03-05 Mark Kettenis <kettenis@gnu.org>
11139 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11142 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11144 * lib/compiler.c: Add test for IBM's xlc compiler.
11145 * lib/compiler.cc: Likewise.
11147 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11149 * gdb.ada/fixed_points.exp: Create compilation object directory
11150 before running the test.
11151 * gdb.ada/null_record.exp: Likewise.
11152 * gdb.ada/packed_array.exp: Likewise.
11153 * gdb.ada/start.exp: Likewise.
11155 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11157 * gdb.ada/packed_array/pa.adb: New file.
11158 * gdb.ada/packed_array.exp: New testcase.
11160 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11162 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11165 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11166 on *-*-openbsd*. Correctly match whitespace in regukar
11169 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11171 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11173 * gdb.base/gdb1821.c: New test file.
11174 * gdb.base/gdb1821.exp: New test file.
11176 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11178 * gdb.base/start.c: New file.
11179 * gdb.base/start.exp: New testcase.
11181 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11183 * gdb.ada/start/dummy.adb: New file.
11184 * gdb.ada/start.exp: New testcase.
11186 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11188 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11189 for printing symbols and statistics.
11190 Add test for using relative pathnames in "maint print msymbols" test.
11191 Mark "maint info sections DATA" XFAIL on Cygwin.
11192 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11195 2005-02-09 Andreas Schwab <schwab@suse.de>
11197 Committed by Andrew Cagney <cagney@gnu.org>
11198 * gdb.base/remotetimeout.exp: New file.
11200 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11202 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11204 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11206 * gdb.ada/gnat_ada.gpr: New file.
11207 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11208 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11209 * configure.ac: No longer generate gnat_ada.gpr.
11210 * configure: Regenerate.
11211 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11212 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11213 * gdb.ada/null_record/bar.ads: Likewise.
11214 * gdb.ada/null_record/bar.adb: Likewise.
11215 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11216 * gdb.ada/null_record.exp (testdir): New variable.
11217 (testfile): executable is now in testdir subdirectory.
11218 (srcfile): Use full path to the main compilation unit.
11219 * gdb.ada/fixed_points.exp: Same changes as above.
11221 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11223 * gdb.base/interp.exp: New test.
11225 2005-01-24 Andrew Cagney <cagney@gnu.org>
11227 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11229 2005-01-19 Andrew Cagney <cagney@gnu.org>
11231 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11232 configure.ac not configure.in.
11234 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11236 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11237 * gdb.base/list.exp (test_list_function)
11238 (test_list_filename_and_function): Ditto.
11239 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11241 2005-01-16 Andrew Cagney <cagney@gnu.org>
11243 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11245 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11247 2005-01-14 Andrew Cagney <cagney@gnu.org>
11249 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11250 * gdb.mi/mi2-var-cmd.exp: Ditto.
11252 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11254 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11256 2005-01-07 Andrew Cagney <cagney@gnu.org>
11258 * configure.ac: Rename configure.in, require autoconf 2.59.
11259 * configure: Re-generate.
11260 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11261 * gdb.stabs/configure: Re-generate.
11262 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11263 * gdb.hp/configure: Re-generate.
11264 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11266 * gdb.hp/gdb.objdbg/configure: Re-generate.
11267 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11269 * gdb.hp/gdb.defects/configure: Re-generate.
11270 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11272 * gdb.hp/gdb.compat/configure: Re-generate.
11273 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11275 * gdb.hp/gdb.base-hp/configure: Re-generate.
11276 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11278 * gdb.hp/gdb.aCC/configure: Re-generate.
11280 2004-12-15 Jim Blandy <jimb@redhat.com>
11282 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11283 under NPTL when there is debugging info available for libpthread.
11285 2004-12-13 Jerome Guitton <guitton@gnat.com>
11287 * gdb.ada/fixed_points.c: New file.
11288 * gdb.ada/fixed_points.exp: New file.
11290 2004-12-03 Randolph Chung <tausq@debian.org>
11292 * gdb.arch/pa-nullify.exp: New file.
11293 * gdb.arch/pa-nullify.s: New file.
11295 2004-11-30 Randolph Chung <tausq@debian.org>
11297 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11298 instead of "tbug". Fix regexp to work properly with gdb_test.
11300 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11302 * gdb.base/bitfields2.exp: New test.
11303 * gdb.base/bitfields2.c: New file.
11305 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11307 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11309 2004-11-16 Randolph Chung <tausq@debian.org>
11311 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11313 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11315 * gdb.threads/threadapply.exp: Correct "macro details" test.
11317 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11319 * gdb.threads/threadapply.exp: New test.
11320 * gdb.threads/threadapply.c: New file.
11322 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11324 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11327 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11329 * gdb.base/cursal.exp: New file.
11330 * gdb.base/cursal.c: New file.
11332 2004-11-03 Andrew Cagney <cagney@gnu.org>
11334 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11336 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11338 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11339 NetBSD/ELF targets.
11341 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11343 * gdb.threads/bp_in_thread.c: New file, copied from
11344 pthread_cond_wait.c.
11345 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11346 file, rather than reusing the .c file from another testcase.
11348 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11350 * gdb.ada/null_record.exp: Check where we stopped after
11351 sending the start command, instead of where the associated
11352 temporary breakpoint was inserted.
11354 2004-10-14 Andrew Cagney <cagney@gnu.org>
11356 * gdb.mi/gdb701.c (main): Return 0.
11358 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11360 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11362 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11364 * gdb.threads/schedlock.c: Add comment markers to use to find
11366 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11368 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11371 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11373 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11375 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11377 * configure.in: Add gdb.dwarf2.
11378 * configure: Regenerated.
11379 * Makefile.in: Add gdb.dwarf2.
11380 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11381 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11382 gdb.dwarf2/file1.txt: New files.
11384 2004-10-11 Orjan Friberg <orjanf@axis.com>
11386 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11387 of "run", since the latter doesn't work with remote targets. Adjust
11388 the breakpoint numbering accordingly.
11389 * gdb.threads/pthread_cond_wait.exp: Ditto.
11391 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11393 * gdb.base/overlays.exp: Update copyright years.
11395 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11397 * gdb.base/overlays.exp: Disable if target is Linux.
11399 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11401 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11403 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11405 * gdb.asm/asm-source.exp: Add m32r-linux target.
11406 * gdb.asm/m32r-linux.inc: New file.
11408 2004-09-24 Andrew Cagney <cagney@redhat.com>
11409 David Anderson <anderson@redhat.com>
11411 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11412 command fails, assume things will work.
11413 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11414 (_GNU_SOURCE): Define.
11415 (print_unsigned, print_hex): Change parameter to "long long".
11416 (print_byte_count): New function, use to print byte counts.
11417 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11419 (main): Compute an upper bound on a corefile in max_core_size.
11420 Limit memory chunk size to max_core_size. Limit total memory
11421 allocated to max_core_size.
11423 2004-09-23 Andrew Cagney <cagney@gnu.org>
11425 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11426 from a separate process with code that creates a corefile by
11427 making the inferior dump core.
11429 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11431 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11434 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11436 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11437 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11438 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11441 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11443 * gdb.java/jprint.exp: New test case for java inferior call.
11444 * gdb.java/jprint.java: Ditto.
11446 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11448 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11450 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11452 * gdb.threads/killed.c: Include <stdlib.h>.
11453 * gdb.threads/pthreads.c: Likewise.
11455 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11457 * gdb.threads/killed.c: Add copyright notice.
11459 2004-09-10 Jason Molenda (jmolenda@apple.com)
11461 * gdb.base/define.exp: Two new tests to verify zero space chars
11462 after 'if' and 'while' commands in a user-defined command is correctly
11465 2004-09-08 Andrew Cagney <cagney@gnu.org>
11467 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11468 delivery test with duplicate at end of file.
11470 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11472 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11474 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11476 * config/hppro.exp: Removed.
11478 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11480 * config/sparclet.exp: Removed.
11482 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11484 * config/udi.exp: Removed.
11486 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11488 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11490 (advancei): Likewise.
11492 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11494 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11496 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11498 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11499 to check for nodebug in executable.
11500 * gdb.gdb/observer.exp (setup_test): Likewise.
11501 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11502 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11504 2004-09-01 Andrew Cagney <cagney@gnu.org>
11506 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11509 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11511 * gdb.base/unload.exp: Fix expected warning message to match
11514 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11516 * gdb.base/call-rt-st.exp: Fix typos.
11518 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11520 * gdb.threads/thread_check.exp: New testcase.
11521 * gdb.threads/thread_check.c: New testcase.
11523 2004-08-31 Andrew Cagney <cagney@gnu.org>
11525 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11526 (skip_to_handler_entry): New procedures. Test stepping into a
11527 handler when the breakpoint is at the handler's entry point.
11529 2004-08-30 Andrew Cagney <cagney@gnu.org>
11531 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11534 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11536 With code from Manoj Iyer <manjo@austin.ibm.com>:
11537 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11538 return value. Add an arm for "no debugging symbols found".
11539 Change a stray "error" to "perror".
11540 (gdb_run_cmd): Adapt to new return value.
11541 * gdb.base/remote.exp: Adapt to new return value.
11542 * gdb.gdb/complaints.exp: Likewise.
11543 * gdb.gdb/observer.exp: Likewise.
11544 * gdb.gdb/selftest.exp: Likewise.
11545 * gdb.gdb/xfullpath.exp: Likewise.
11547 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11549 * gdb.threads/bp_in_thread.exp: New testcase.
11551 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11553 Fix PR testsuite/1735.
11554 * gdb.threads/schedlock.c (thread_function): Add a cast
11555 to suppress a gcc warning.
11556 * gdb.threads/thread-specific.c (thread_function): Likewise.
11558 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11560 * gdb.base/unload.c: Include <stdlib.h>.
11562 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11564 From Paul Gilliam <pgilliam@us.ibm.com>:
11565 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11566 synchronized after the "return".
11568 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11570 * gdb.mi/basics.c: Include <stdio.h>.
11571 * gdb.mi/pthreads.c: Include <stdlib.h>.
11572 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11574 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11576 * gdb.threads/schedlock.c: Add copyright notice.
11578 2004-08-25 Andrew Cagney <cagney@gnu.org>
11580 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11581 (skip_over_handler, breakpoint_over_hander): New test procedures.
11582 (advance, advancei): Add a proper prefix, do not use
11584 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11586 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11588 * gdb.mi/basics.c: Add copyright notice.
11589 * gdb.mi/var-cmd.c: Add copyright notice.
11591 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11593 * lib/gdb.exp: Remove signed_keyword_not_used.
11594 * lib/compiler.c: Likewise.
11595 * lib/compiler.cc: Likewise.
11597 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11599 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11600 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11602 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11604 * gdb.base/whatis.c: Add copyright notice.
11606 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11608 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11609 it to skip the breakpoints encoded in the inline assembly.
11611 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11613 * Makefile.in: Add gdb.fortran.
11615 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11617 * gdb.base/call-sc.exp (test_scalar_returns):
11618 Fix cut-and-paste glitch in "Make fun return now".
11620 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11622 * configure.in: Add gdb.fortran.
11623 * configure: Regenerate.
11624 * gdb.fortran/Makefile.in: New file.
11625 * lib/gdb.exp (skip_fortran_tests): New procedure.
11627 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11629 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11630 reference to bug-gnu@prep.ai.mit.edu.
11631 * gdb.mi/mi-var-child.exp: Likewise.
11632 * gdb.mi/mi-var-cmd.exp: Likewise.
11633 * gdb.mi/mi-var-display.exp: Likewise.
11634 * gdb.mi/mi2-var-block.exp: Likewise.
11635 * gdb.mi/mi2-var-child.exp: Likewise.
11636 * gdb.mi/mi2-var-cmd.exp: Likewise.
11637 * gdb.mi/mi2-var-display.exp: Likewise.
11639 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11641 * gdb.base/unload.c (main): Make local variable msg const.
11643 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11645 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11646 to bug-gnu@prep.ai.mit.edu.
11647 * gdb.mi/mi-disassemble.exp: Likewise.
11648 * gdb.mi/mi-eval.exp: Likewise.
11649 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11650 default line number.
11651 * gdb.mi/mi-return.exp: Likewise.
11652 * gdb.mi/mi-simplerun.exp: Likewise.
11653 * gdb.mi/mi-stack.exp: Likewise.
11654 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11655 number with explicit range test.
11656 * gdb.mi/mi-watch.exp: Likewise.
11657 * gdb.mi/mi2-break.exp: Likewise.
11658 * gdb.mi/mi2-cli.exp: Likewise.
11659 * gdb.mi/mi2-disassemble.exp: Likewise.
11660 * gdb.mi/mi2-eval.exp: Likewise.
11661 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11662 default line number.
11663 * gdb.mi/mi2-return.exp: Likewise.
11664 * gdb.mi/mi2-simplerun.exp: Likewise.
11665 * gdb.mi/mi2-stack.exp: Likewise.
11666 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11667 number with explicit range test.
11668 * gdb.mi/mi2-watch.exp: Likewise.
11670 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11672 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11673 * gdb.cp/m-static.exp: Likewise.
11674 * gdb.cp/rtti.exp: Likewise.
11676 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11678 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11680 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11682 * ChangeLog: Prefix Local Variables with semi-colons and indent
11683 the reference to older ChangeLog files, to fix fontification in
11686 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11688 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11689 * gdb.mi/mi2-break.exp: Likewise.
11691 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11693 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11695 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11697 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11699 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11701 * gdb.cp/classes.exp: Remove unused declarations. Just let
11702 test names default instead of providing special names. Remove
11703 extraneous demangler test.
11705 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11707 * gdb.base/unload.exp: New test for breakpoints in dynamically
11709 * gdb.base/unload.c: Ditto.
11710 * gdb.base/unloadshr.c: Ditto.
11712 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11714 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11715 cp_test_ptype_class.
11716 (test_enums): Likewise.
11718 2004-08-10 Andrew Cagney <cagney@gnu.org>
11720 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11723 2004-08-10 Andrew Cagney <cagney@gnu.org>
11725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11728 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11730 * ChangeLog: Add copyright notice. The notice is copied
11731 from emacs 21.3 top level ChangeLog.
11733 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11735 * lib/cp-support.exp: New file.
11736 * lib/cp-support.exp (cp_test_type_class): New function.
11737 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11738 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11739 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11740 cp_test_ptype_class.
11742 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11744 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11745 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11746 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11747 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11748 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11749 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11750 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11751 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11752 gdb.mi/mi2-watch.exp: Update copyright years.
11754 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11756 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11758 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11760 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11761 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11762 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11763 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11764 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11765 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11766 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11767 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11768 gdb.mi/mi-watch.exp: Update copyright years.
11770 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11773 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11774 from a breakpoint with a pending signal.
11776 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11779 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11780 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11782 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11784 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11786 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11788 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11791 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11794 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11796 * gdb.arch/i386-prologue.exp: Compile without debug information.
11798 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11800 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11801 rather than asking gdb to search.
11803 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11805 * gdb.base/gcore.c: Include <string.h>.
11807 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11809 * gdb.base/gcore.c: Add copyright notice.
11811 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11813 * gdb.base/freebpcmd.c: Include <stdio.h>.
11814 * gdb.base/long_long.c: Include <string.h>.
11815 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11816 * gdb.base/siginfo.c: Include <string.h>.
11817 * gdb.base/sigstep.c: Include <string.h>.
11819 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11821 * gdb.base/complex.c: Include <stdlib.h>.
11823 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11825 * gdb.base/complex.c: Add copyright notice.
11827 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11829 * gdb.base/charset.c: Include <stdlib.h>.
11831 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11833 * gdb.base/auxv.c: Include <stdlib.h>.
11835 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11837 * gdb.base/auxv.c: Add copyright notice.
11839 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11841 * gdb.base/coremaker.c: Add copyright notice.
11842 * gdb.base/coremaker2.c: Add copyright notice.
11844 2004-08-04 Andrew Cagney <cagney@gnu.org>
11846 * gdb.base/store.exp: Update copyright.
11847 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11848 names, do not import gdb_prompt.
11850 2004-08-01 Andrew Cagney <cagney@gnu.org>
11852 Fix PR testsuite/1729.
11853 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11854 not use capture_value with value 4.
11855 (capture_value): Add optional test name parameter.
11856 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11857 the prefix, pass to capture_value.
11859 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11861 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11862 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11863 (main): Call new function.
11865 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11867 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11869 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11871 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11873 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11875 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11876 Accept more values of vtbl pointer. Remove some messages
11877 about "obsolete gcc or gdb".
11879 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11881 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11883 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11885 * gdb.base/asm-source.exp: Properly convert target board
11886 debug flags from gcc format to binutils format.
11888 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11890 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11891 gdb1718". PR backtrace/1718 partially fixed.
11893 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11895 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11897 2004-07-26 Nick Clifton <nickc@redhat.com>
11899 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11900 good default value for a specific architecture is available then
11901 set it to that value. Otherwise default to the -gstabs switch.
11902 Remove the -g... switches from the asm-flags variable. Allow the
11903 target board info to override the value if it wants to. Pass the
11904 switch on the assembler command line.
11906 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11908 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11909 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11910 (main): Call new function.
11912 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11914 Test for PR exp/1715.
11915 * gdb.base/radix.exp: Refactor common procedures. Make all
11916 test names unique. Change XFAIL to KFAIL.
11918 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11920 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11921 * gdb.ada/gnat_ada.gin: ... to here.
11922 * configure.in: Use gnat_ada.gin.
11923 * configure: Regenerate.
11925 2004-07-20 Andrew Cagney <cagney@gnu.org>
11927 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11928 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11929 XFAILs. Clean up test messages and comments. Check backtraces.
11930 Delete re-sync code.
11932 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11935 * gdb.base/annota1.exp: Honor gdb,nosignals.
11936 * gdb.base/annota3.exp: Likewise.
11938 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11940 * lib/java.exp: Update copyright notice.
11942 2004-07-19 Andrew Cagney <cagney@gnu.org>
11944 * gdb.base/selftest.exp: Copy file from here ...
11945 * gdb.gdb/selftest.exp: ... to here.
11947 2004-07-16 Andrew Cagney <cagney@redhat.com>
11949 * lib/insight-support.exp: Delete file.
11950 * lib/java.exp (java_init): Fix copyright.
11952 2004-07-16 Andrew Cagney <cagney@gnu.org>
11954 * gdb.base/restore.c: Append "prologue" to comments marking the a
11955 function's prologue.
11956 * gdb.base/restore.exp: Update copyright, re-indent.
11957 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11958 callerN" prefix where needed. Update patterns that match a
11959 function's prologue.
11961 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11963 * gdb.base/restore.c: Add copyright notice.
11965 2004-07-16 Andrew Cagney <cagney@gnu.org>
11967 * gdb.base/logical.exp: Update copyright.
11968 (evaluate): New procedure. Use to re-implement tests using
11971 2004-07-14 Martin Hunt <hunt@redhat.com>
11973 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11974 which fixes some problems where init.tcl was not found.
11976 2004-07-13 Andrew Cagney <cagney@gnu.org>
11978 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11979 (check_sizeof, check_valueof): Do not include the output in the
11980 test name. Use gdb_test.
11981 (get_valueof): Use gdb_test_multiple.
11983 * gdb.base/step-test.exp: Update copyright. Use
11984 gdb_test_multiple. Ensure that test names do not include
11985 architecture dependent output.
11987 * gdb.gdb/observer.exp: Update copyright.
11988 (setup_test): Use gdb_test_multiple.
11989 (attach_first_observer, attach_second_observer)
11990 (attach_third_observer, detach_first_observer)
11991 (detach_second_observer, detach_third_observer)
11992 (reset_counters, check_counters): Make $message a prefix.
11993 (test_normal_stop_notifications): Add "args" parameter - a list of
11994 init functions to be called. Make $message a prefix,
11995 (test_observer_normal_stop): Change the message prefixes so that
11996 they are unique, pass the attach / detach procedures to
11997 test_normal_stop_notifications.
11999 * gdb.base/signull.exp (test_segv): Prefix all tests with
12000 "${name}". Clean up test messages.
12002 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12004 * gdb.base/ena-dis-br.exp: Update copyright.
12005 (break_at): New function. Replace send_gdb with gdb_test,
12006 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12007 ignore count, not stopped at bpt", with KFAIL.
12009 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
12011 * gdb.base/attach.exp: Remove cleanupfile handling.
12013 2004-07-12 Andrew Cagney <cagney@gnu.org>
12015 * gdb.base/annota1.exp: Cleanup corefile test name.
12016 * gdb.base/annota3.exp: Ditto.
12018 2004-07-12 Andrew Cagney <cagney@gnu.org>
12020 * gdb.base/signals.exp: Clean up copyright, re-indent.
12022 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12023 gdb_test and gdb_test_multiple.
12025 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12027 * gdb.java/jmain.exp: Fix expected line number for main to
12028 break at. Set XFAIL for break at main test since gcj does not
12029 provide line number info for first statement in main.
12031 2004-07-08 Andrew Cagney <cagney@gnu.org>
12033 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12035 * gdb.base/sigbpt.exp: Make the common part of each test name a
12036 prefix instead of suffix.
12038 2004-07-07 Bob Rossi <bob_rossi@cox.net>
12040 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12041 test from test_tbreak_creation_and_listing to
12042 test_file_list_exec_source_file
12043 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12044 Changed name of test from test_tbreak_creation_and_listing to
12045 test_file_list_exec_source_file
12047 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12049 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12050 the jmisc() constructor instead of <init>.
12051 * gdb.java/jmisc1.exp: Ditto.
12053 2004-07-07 Andrew Cagney <cagney@gnu.org>
12055 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12058 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12060 * gdb.cp/templates.exp: Accept whitespace change in demangler
12063 2004-07-06 Andrew Cagney <cagney@gnu.org>
12065 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12067 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12069 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12070 * lib/compiler.cc: Likewise.
12072 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12074 * lib/compiler.cc: Work around string preprocessing problem
12075 with old hp c++ compiler.
12076 * lib/compiler.c: Likewise.
12078 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12080 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12081 directives to conditionalize symbol prefixing.
12082 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12083 additional_flags handling. Add underscore prefix for Cygwin.
12084 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12085 conditionalize symbol prefixing.
12086 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12087 additional_flags handling. Add underscore prefix for Cygwin.
12089 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12091 * gdb.base/bigcore.exp: Skip test on Cygwin.
12093 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12095 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12096 formats for "info register". Use gdb_test_multiple. Fix
12097 the "invalid register" test.
12099 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
12101 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12102 PID for Cygwin. Add Cygwin specific strings to check for in some
12104 (do_attach_tests): Add a test for user interaction when attaching
12105 to a process with no matching symbol table already loaded.
12107 2004-06-26 Andrew Cagney <cagney@gnu.org>
12109 Test PR java/1567 and PR java/1565.
12110 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12111 * gdb.java/jmisc2.exp: Delete file.
12113 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12115 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12117 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
12119 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12122 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12124 * gdb.cp/pr-1553.exp: Remove.
12126 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12128 * gdb.cp/pr-1553.cc: Remove.
12129 * gdb.cp/pr-1553.exp: Disable this test.
12131 2004-06-20 Jim Blandy <jimb@redhat.com>
12133 Fix PR testsuite/1680.
12134 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12135 regular expressions.
12137 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12139 Fix PR testsuite/1679.
12140 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12141 Issue an UNSUPPORTED result instead.
12143 2004-06-18 Jim Blandy <jimb@redhat.com>
12145 * gdb.base/charset.exp: Only send a control-C if we see a new
12146 prompt and incomplete command.
12148 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12150 * gdb.cp/pr-574.cc: Add copyright notice.
12152 2004-06-17 Jim Blandy <jimb@redhat.com>
12154 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12155 cases where the regexp has no groups; this grabs random text from
12156 the previous test suite, whatever that was.
12158 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12160 * gdb.cp/printmethod.cc: Add copyright notice.
12162 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12164 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12166 2004-06-16 Andrew Cagney <cagney@gnu.org>
12168 * gdb.base/signull.c: Update copyright. Include <string.h>.
12169 (bowler): Replace data_pointer with data_read
12170 and data_write cases. Add code_descriptor case.
12171 (zero, desc): New array and pointer.
12172 (data, code): Change to simple pointers.
12173 * gdb.base/signull.exp: Fix probe pattern matching a function
12174 descriptor SIGSEGV. Replace data_pointer with data_read and
12177 2004-06-16 Andrew Cagney <cagney@gnu.org>
12179 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12181 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12183 * gdb.base/long_long.c: Add copyright notice.
12185 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12187 * gdb.base/long_long.exp: Remove reference to
12188 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12189 to gdb_breakpoint and gdb_continue_to_breakpoint.
12191 2004-06-14 Jim Blandy <jimb@redhat.com>
12193 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12196 2004-06-14 Andrew Cagney <cagney@gnu.org>
12198 * gdb.base/gcore.exp (capture_command_output): Delete the always
12199 passing tests containing inferior values.
12200 * gdb.base/ending-run.exp: Do not include the breakpoint address
12201 in the test message. Update copyright.
12202 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12203 size in the test name, use gdb_test_multiple. Update copyright.
12205 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12207 * gdb.cp/ref-types.cc: Add copyright notice.
12209 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12211 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12213 * lib/compiler.cc: Likewise.
12214 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12215 'set' commands. Log diagnostics for other lines. Set
12216 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12218 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12220 * gdb.cp/try_catch.cc: Add copyright notice.
12222 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12224 * gdb.cp/userdef.cc: Add copyright notice.
12226 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12228 * gdb.cp/virtfunc.cc: Add copyright notice.
12230 2004-06-11 Randolph Chung <tausq@debian.org>
12232 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12235 2004-06-10 Andrew Cagney <cagney@gnu.org>
12237 * lib/compiler.cc, lib/compiler.c: Append either
12238 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12239 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12240 instead of gcc-3-3.
12242 2004-06-09 Andrew Cagney <cagney@gnu.org>
12244 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12245 gdb/1455, bug is specific to "long long" and "double".
12247 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12248 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12249 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12252 2004-06-09 Andrew Cagney <cagney@gnu.org>
12254 * gdb.base/structs.exp (test_struct_returns): Replace
12255 "return_value_unknown" and "finish_value_unknown" by
12256 "return_value_known" and "finish_value_known". Instead of
12257 "return_value_unknown" iff "finish_value_unknown", check
12258 "return_value_known" implies "finish_value_known".
12260 2004-06-08 Martin Hunt <hunt@redhat.com>
12262 * gdb.base/float.exp: Add pattern for mips targets.
12264 2004-06-08 Randolph Chung <tausq@debian.org>
12266 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12267 message for unknown architectures more clear.
12269 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12271 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12272 start the execution of the program.
12274 2004-06-07 Jim Blandy <jimb@redhat.com>
12276 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12277 * gdb.arch/i386-cpuid.h: New helper file.
12279 2004-06-07 Randolph Chung <tausq@debian.org>
12281 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12284 2004-06-04 Roland McGrath <roland@redhat.com>
12287 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12288 differently to be robust to output buffering differences.
12290 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12292 * gdb.threads/pthreads.exp: Update copyright years.
12293 (check_control_c): Change asynchronous 'after' to synchronous.
12295 2004-06-04 Roland McGrath <roland@redhat.com>
12297 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12300 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12303 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12304 calls to synchronous.
12306 2004-05-26 Jim Blandy <jimb@redhat.com>
12308 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12310 2004-05-24 Randolph Chung <tausq@debian.org>
12312 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12313 * gdb.asm/pa.inc: New file.
12315 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12317 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12319 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12320 Daniel Jacobowitz <drow@mvista.com>
12322 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12325 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12327 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12328 setjmp/longjmp. Use sigaction instead of signal.
12330 2004-05-19 J. Brobecker <brobecker@gnat.com>
12331 Michael Snyder <msnyder@redhat.com>
12333 * gdb.threads/pthread_cond_wait.c: New file.
12334 * gdb.threads/pthread_cond_wait.exp: New testcase.
12336 2004-05-13 Andrew Cagney <cagney@redhat.com>
12338 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12339 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12341 2004-05-11 Andrew Cagney <cagney@redhat.com>
12343 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12344 fixed but revealed gdb/1639.
12346 2004-05-10 Andrew Cagney <cagney@redhat.com>
12348 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12349 func1" and "next to 2nd alarm", kernel bug avoided.
12351 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12354 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12355 XFAIL if it is smaller than bytes_allocated.
12356 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12357 (main): Make chunks_allocated unsigned. Correct comment.
12359 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12361 * gdb.arch/powerpc-aix-prologue.c: New file.
12362 * gdb.arch/powerpc-aix-prologue.exp: New file.
12364 2004-05-07 Jim Blandy <jimb@redhat.com>
12366 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12367 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12369 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12371 * gdb.base/sep.exp: No longer setup_kfail when the program was
12374 2004-05-05 Jim Ingham <jingham@apple.com>
12376 * gdb.base/pending.exp: Make sure pending breakpoints
12377 preserve the ignore count.
12379 2004-04-27 Jerome Guitton <guitton@gnat.com>
12381 * i386-prologue.exp: Add testcase for jump instruction as first
12382 instruction of the real code.
12383 * i386-prologue.c (jump_at_beginning): New function.
12385 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12387 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12390 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12392 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12395 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12397 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12398 expression that checks the return type.
12400 2004-04-23 Andrew Cagney <cagney@redhat.com>
12402 * gdb.base/call-sc.exp: New test of scalar call/return values.
12403 * gdb.base/call-sc.c: Ditto.
12405 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12407 * gdb.threads/manythreads.c: Reduce thread stack size.
12409 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12411 * gdb.threads/manythreads.c: Add copyright notice.
12413 2004-04-23 Andrew Cagney <cagney@redhat.com>
12415 * gdb.base/siginfo.exp: Better handle step out of signal.
12416 * gdb.base/sigstep.exp: Ditto.
12418 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12419 Daniel Jacobowitz <drow@mvista.com>
12421 * gdb.threads/manythreads.c: New testcase.
12422 * gdb.threads/manythreads.exp: Ditto.
12424 2004-04-22 Jim Blandy <jimb@redhat.com>
12426 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12427 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12429 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12431 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12433 2004-04-21 Andrew Cagney <cagney@redhat.com>
12435 * gdb.base/sigstep.c: New file.
12436 * gdb.base/sigstep.exp: New file.
12438 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12440 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12441 call to observer_notify_normal_stop.
12443 2004-04-15 Andrew Cagney <cagney@redhat.com>
12445 * gdb.base/siginfo.c: New file.
12446 * gdb.base/siginfo.exp: New file.
12448 2004-04-12 J. Brobecker <brobecker@gnat.com>
12450 * gdb.base/sep.exp: Fix typo in comment.
12452 2004-04-12 J. Brobecker <brobecker@gnat.com>
12454 * gdb.base/sep.c: New file.
12455 * gdb.base/sep-proc.c: New file.
12456 * gdb.base/sep.exp: New testcase.
12458 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12460 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12463 2004-04-05 Andrew Cagney <cagney@redhat.com>
12465 * gdb.base/sigaltstack.c: New file.
12466 * gdb.base/sigaltstack.exp: New file.
12468 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12470 * gdb.base/foll-fork.exp: Update the expected output for
12471 "help set follow-fork-mode", to match a change that was made
12472 to the help of this variable on 2004-01-13.
12474 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12476 * lib/ada.exp: Add copyright notice.
12477 * bar.ads: Likewise.
12478 * bar.adb: Likewise.
12479 * null_record.adb: Likewise.
12480 * null_record.exp: Likewise.
12481 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12483 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12485 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12486 * configure: Regenerate.
12488 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12490 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12491 to build the application. Remove the message printed when in
12492 verbose mode, redundant with the UNSUPPORTED message above.
12494 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12496 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12497 * gdb.ada (null_record.exp): New testcase.
12499 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12501 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12503 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12505 * gdb.ada: New subdirectory.
12506 * gdb.ada/Makefile.in: New file.
12507 * gdb.ada/gnat_ada.gpr.in: New file.
12509 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12511 * lib/ada.exp: New file.
12513 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12515 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12516 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12518 2004-03-22 Andrew Cagney <cagney@redhat.com>
12520 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12521 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12522 Problem identified by Ulrich Weigand.
12524 2004-03-17 David Carlton <carlton@kealia.com>
12526 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12529 2004-03-16 Roland McGrath <roland@redhat.com>
12531 * gdb.base/auxv.exp: New file.
12532 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12534 2004-03-12 David Carlton <carlton@kealia.com>
12536 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12537 * gdb.cp/pr-1553.cc: Ditto.
12538 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12541 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12543 * gdb.cp/templates.exp: Accept more template types.
12545 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12547 From Corinna Vinschen with modifications.
12548 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12549 local variable obj_with_enum.
12550 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12551 results with obj_with_enum.
12553 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12555 * gdb.cp/classes.cc: New file, copied from misc.cc.
12556 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12558 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12560 * gdb.cp/misc.cc: Add copyright notice.
12562 2004-03-05 David Carlton <carlton@kealia.com>
12564 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12565 * gdb.cp/rtti.h: Update copyright.
12566 (namespace n2::n3): New.
12567 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12568 (n2::n3::func3): New.
12569 (main): Call n2::n3::func3.
12570 * gdb.cp/rtti2.cc: Update copyright.
12571 (n2::create3): New.
12573 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12575 * gdb.asm/openbsd.inc: Fix typo.
12577 2004-03-03 Fred Fish <fnf@redhat.com>
12579 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12580 "val" instead of unused "size". Update copyright year.
12582 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12584 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12585 to use unsigned char.
12586 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12587 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12589 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12591 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12594 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12596 * gdb.base/relocate.c (dummy): Initialize.
12598 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12600 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12601 a breakpoint at exit.
12603 2004-02-27 Fred Fish <fnf@redhat.com>
12605 * gdb.base/chng-syms.exp: Add expect condition to match failing
12606 case that isn't a timeout.
12608 2004-02-27 Andrew Cagney <cagney@redhat.com>
12610 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12613 2004-02-26 Fred Fish <fnf@redhat.com>
12615 * gdb.arch/gdb1431.c: Remove.
12616 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12617 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12618 of "until" incorrectly.
12620 2004-02-26 J. Brobecker <brobecker@gnat.com>
12622 * gdb.cp/class2.cc (empty): New class.
12623 (refer): New function.
12624 (main): Declare an object of type empty and use it.
12625 * gdb.cp/class2.exp: Print the value of an object of type empty.
12627 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12629 * gdb.base/langs.exp: Update query string to match the
12630 new nquery format used for pending breakpoints.
12632 2004-02-26 Andrew Cagney <cagney@redhat.com>
12635 * gdb.base/charset.c: Update copyright notice.
12636 (main, init_string): Remove the escape character '\e' tests.
12637 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12638 * gdb.base/charset.exp (valid_host_charset): Ditto.
12639 * gdb.base/setvar.exp: Ditto.
12641 2004-02-24 Andrew Cagney <cagney@redhat.com>
12643 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12644 mmapped data in core file" PASS and FAIL messages consistent.
12646 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12647 setting a breakpoint. Work around PR java/1565.
12649 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12651 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12653 * gdb.base/pending.exp: Ditto.
12655 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12657 * configure.in: Run stabs tests on *BSD.
12658 * configure: Regenerated.
12660 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12662 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12664 2004-02-20 Fred Fish <fnf@redhat.com>
12666 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12667 blank in test for "returns short", for consistency with other
12668 "returns xxx" tests. Update copyright year.
12670 2004-02-19 Fred Fish <fnf@redhat.com>
12672 New testcase for PR breakpoint/1558.
12673 * gdb.arch/gdb1558.exp: New file.
12674 * gdb.arch/gdb1558.c: New file.
12676 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12678 * gdb.base/nodebug.exp: Fix typo.
12680 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12682 Committed by Jim Blandy <jimb@redhat.com>.
12684 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12686 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12688 * gdb.base/float.exp: Support s390*-*-* targets.
12690 2004-02-17 Adam Fedor <fedor@gnu.org>
12692 * gdb.base/gdb1555.exp: New file.
12693 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12695 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12697 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12699 2004-02-16 Fred Fish <fnf@redhat.com>
12701 * gdb.arch/gdb1291.c: Remove
12702 * gdb.arch/gdb1291.s: New test input file.
12703 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12704 fail. Test for correct result, known incorrect result, other
12705 failures and timeouts.
12707 2004-02-16 Andrew Cagney <cagney@redhat.com>
12709 * gdb.base/bigcore.exp: New file.
12710 * gdb.base/bigcore.c: New file.
12712 2004-02-13 Andrew Cagney <cagney@redhat.com>
12714 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12715 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12716 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12717 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12718 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12719 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12720 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12721 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12722 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12723 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12725 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12727 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12728 executed is an alloc instruction.
12730 2004-02-11 David Carlton <carlton@kealia.com>
12732 * gdb.cp/breakpoint.exp: New.
12733 * gdb.cp/breakpoint.cc: New.
12735 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12737 Partial fix for PR gdb/1543.
12738 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12739 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12740 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12741 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12742 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12743 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12744 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12745 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12746 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12747 to bug-gdb@prep.ai.mit.edu .
12748 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12749 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12750 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12753 2004-02-10 Andrew Cagney <cagney@redhat.com>
12755 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12756 using gdb_internal_error_resync.
12758 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12760 * gdb.threads/thread-specific.exp: Stop early if no threads are
12763 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12765 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12767 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12769 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12772 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12774 * config/sim.exp (gdb_load): Handle $arg == "".
12775 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12776 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12778 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12780 * gdb.base/maint.exp: Update test to reflect
12783 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12785 * gdb.base/pendshr.c (pendfunc): New function that calls
12787 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12789 2004-02-04 Fred Fish <fnf@redhat.com>
12791 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12792 function symbols and update copyright years.
12793 * gdb.arch/gdb1291.c: Ditto.
12795 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12797 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12799 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12801 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12803 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12805 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12807 2004-02-02 Fred Fish <fnf@redhat.com>
12809 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12810 remote targets. Update copyright years.
12812 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12814 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12816 * gdb.base/langs.exp: Fix test which attempts to create
12817 breakpoint on non-existent function to handle new pending
12819 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12821 * gdb.base/pending.exp: New test.
12822 * gdb.base/pending.c: New file.
12823 * gdb.base/pendshr.c: Ditto.
12825 2004-02-02 David Carlton <carlton@kealia.com>
12827 * gdb.cp/overload.exp: Add overloadNamespace tests.
12828 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12829 (overloadNamespace, XXX): New.
12830 (main): Call XXX::marker2.
12832 2004-02-01 Fred Fish <fnf@redhat.com>
12834 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12835 * gdb.base/finish.exp: Ditto.
12836 * gdb.base/gcore.exp: Ditto.
12837 * gdb.base/huge.exp: Ditto.
12838 * gdb.base/info-proc.exp: Ditto.
12839 * gdb.base/return2.exp: Ditto.
12840 * gdb.threads/gcore-thread.exp: Ditto.
12842 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12844 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12846 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12848 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12849 that opening the file succeeds on OpenBSD.
12851 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12853 * gdb.threads/thread-specific.c: New file.
12854 * gdb.threads/threads-specific.exp: New test script.
12855 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12858 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12860 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12861 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12862 only on the "print_small_structs from print_long_arg_list" test.
12864 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12866 * gdb.base/completion.exp: Kill a stray backslash.
12868 From Jim Ingham <jingham@apple.com>:
12869 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12870 agrees with the result from sending a tab.
12872 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12874 * gdb.base/chng-syms.exp: Remove stray newline.
12876 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12878 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12880 * gdb.asm/openbsd.inc: New file.
12882 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12884 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12885 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12886 *-*solaris2*. Remove commented out default settings for
12887 asm-flags. Replace gdb_compile with target_link.
12889 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12891 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12892 for all tests. Remove old hp-ux and cygnus xfail cases.
12894 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12896 * gdb.base/chng-syms.exp: New file.
12897 * gdb.base/chng-syms.c: New file.
12899 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12901 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12902 Provide arms for current output in all my configurations.
12904 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12906 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12907 * lib/compiler.cc: Likewise.
12908 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12909 get the right preprocessor. Eval the output directly. Remove
12910 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12911 hp_f77_compiler and hp_f90_compiler completely.
12912 (gdb_preprocess): Delete.
12913 (get_compiler): Delete.
12915 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12917 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12920 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12922 * gdb.mi/mi-stack.exp: Update copyright.
12924 2004-01-23 David Carlton <carlton@kealia.com>
12926 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12927 test for cp_lookup_transparent_type.
12928 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12931 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12933 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12936 2004-01-23 David Carlton <carlton@kealia.com>
12938 * gdb.cp/namespace.cc (C::ensureRefs): New.
12939 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12941 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12943 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12944 case "-stack-list-locals 2".
12945 * gdb.mi/mi-var-child.exp: Test for case
12946 "-var-list-children --all-values NAME".
12948 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12950 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12952 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12954 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12955 used with gdb_test_multiple.
12957 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12958 read at address 0. This fixes PR testsuite/1504.
12960 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12962 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12963 Remove downloading, guessing the host executable, the calls to
12964 gdb_file_cmd and gdb_target_cmd, and "load" support.
12965 (infer_host_exec): New function broken out from gdb_load.
12966 (gdb_load): New wrapper for gdbserver_gdb_load.
12967 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12968 gdb_target_cmd. Use -target-select.
12969 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12970 Download binaries to the host. Clear last_mi_remote_file when
12971 we load a new binary.
12972 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12973 call gdbserver_gdb_load and mi_gdb_target_cmd.
12975 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12977 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12980 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12982 * gdb.cp/templates.exp: Fix typo in test name of
12983 "print Foo<volatile char*>::foo".
12985 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12987 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12989 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12991 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12992 (clean mostlyclean): Remove empty rm.
12994 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12996 * gdb.base/setvar.exp: Add copyright years.
12998 2004-01-14 David Carlton <carlton@bactrian.org>
13000 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13001 PR c++/1511 and update coment.
13002 * gdb.cp/templates.exp: Update patterns to match current output.
13003 If changes involve something other than whitespace, KFAIL
13004 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13006 2004-01-14 David Carlton <carlton@kealia.com>
13008 * gdb.cp/namespace.exp: Add tests involving classes defined within
13010 * gdb.cp/namespace.cc (C::CClass): New.
13011 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13013 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
13015 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13016 what debug info we have. Print a better message if something goes
13017 wrong while producing the separate debug info file.
13019 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13021 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13023 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13025 * gdb.base/callfuncs.c: Add copyright notice.
13027 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13029 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13030 inheritance. PR gdb/1498, PR gcc/13539.
13032 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
13034 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13035 test specific name.
13036 * gdb.mi/gdb669.exp: Ditto.
13037 * gdb.mi/mi-pthreads.exp: Ditto.
13038 * gdb.mi/mi1-pthreads.exp: Ditto.
13039 * gdb.mi/mi2-pthreads.exp: Ditto.
13041 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13043 * gdb.cp/member-ptr.cc: Add copyright notice.
13045 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13047 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13048 some patterns for recent versions of gcc and hpacc. Delete
13049 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13050 Delete tests that access a NULL pointer-to-member-data. This
13051 script is still disabled for gcc.
13053 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13055 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13058 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13060 * gdb.base/sepdebug.exp: New file.
13061 * gdb.base/sepdebug.c: New file.
13062 * lib/gdb.exp (separate_debug_filename): New procedure.
13063 (gdb_gnu_strip_debug): New procedure.
13065 2004-01-12 Andrew Cagney <cagney@redhat.com>
13067 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13068 * gdb.mi/ChangeLog-1999-2003: New file.
13070 2004-01-12 Andrew Cagney <cagney@redhat.com>
13072 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13073 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13074 or EEXIST", treat EBUSY as an XFAIL.
13076 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13078 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13081 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13083 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13086 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13088 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13089 and "(aCC)" decorations. Remove obsolete doco about old
13092 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13094 * gdb.cp/exception.exp: Fix typo in doco.
13096 2004-01-09 Mark Kettenis <kettenis@gnu.org>
13098 * gdb.base/gdb1476.exp: Fix typo.
13100 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13102 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13105 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13107 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13108 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13109 Use gdb_compile. Remove restriction on gcc. Add some patterns
13110 for recent version of gdb. Delete second half, which was a copy
13111 of the first half with different build flags. This test is
13112 still disabled because it is still not ready for production.
13114 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13116 * gdb.cp/exception.cc: Add copyright notice.
13117 * gdb.cp/exception.exp: Add a notice that this file is broken
13118 because of line number changes caused by addition of copyright
13121 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13123 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13124 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13126 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13128 * gdb.cp/classes.exp: Accept gnu abi 2.
13129 * gdb.cp/derivation.exp: Likewise.
13130 * gdb.cp/overload.exp: Likewise.
13131 * gdb.cp/virtfunc.exp: Likewise.
13133 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13135 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13136 semicolon after end of function.
13138 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13140 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13141 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13142 boilerplate code for compiling and running the program under
13143 test. Add some string method tests.
13145 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13147 * gdb.cp/bs15503.cc: Add copyright notice.
13148 * gdb.cp/bs15503.exp: Adjust line number.
13150 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13152 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13153 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13155 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13157 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13160 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13162 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13163 * gdb.cp/ctti.exp: Use the marker instead of "next".
13164 With gcc, run further before bailing.
13166 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13168 * gdb.cp/cttiadd.cc: Add copyright notice.
13169 * gdb.cp/cttiadd1.cc: Likewise.
13170 * gdb.cp/cttiadd2.cc: Likewise.
13171 * gdb.cp/cttiadd3.cc: Likewise.
13173 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13175 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13176 Use gdb_test, gdb_test_multiple. Use floating-point values that
13177 have exact representations in IEEE-ish formats.
13179 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13181 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13182 compilers. Delete duplicate call to get_compiler_info.
13183 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13184 * gdb.base/volatile.exp: Likewise.
13186 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13188 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13189 memory at address 0.
13191 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13193 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13194 to test for hp-ux assembler. Fix copyright years.
13196 2004-01-07 Andrew Cagney <cagney@redhat.com>
13198 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13200 2004-01-07 Andrew Cagney <cagney@redhat.com>
13202 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13203 when creating the read-only file. From analysis by Roland McGrath
13206 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13208 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13210 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13212 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13215 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13217 * gdb.cp/m-static.exp: Compile one source file at a time.
13218 Delete unused call to get_compiler_info.
13220 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13222 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13223 * gdb.base/call-rt-st.exp: Likewise.
13224 * gdb.base/nodebug.exp: Likewise.
13225 * gdb.base/volatile.exp: Likewise.
13226 * gdb.cp/ref-types.exp: Likewise.
13227 * gdb.cp/templates.exp: Likewise.
13229 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13231 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13233 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13235 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13238 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13240 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13243 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13244 sparc64-*-* and sparc*-solaris2*.
13246 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13248 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13249 return ${tests}" test. The ${tests} already mentions the
13252 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13254 * gdb.cp/local.exp: Accept gcc abi 2.
13256 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13258 * gdb.cp/templates.exp: Accept gcc abi 2.
13260 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13262 * lib/compiler.cc: Remove supports_template_debugging.
13263 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13265 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13267 * gdb.cp/namespace.exp: Accept gcc abi 2.
13269 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13271 * gdb.cp/method.exp: Accept gcc abi 2.
13273 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13275 * gdb.cp/classes.exp: Generate identical results as old version.
13276 * gdb.cp/derivation.exp: Likewise.
13277 * gdb.cp/overload.exp: Likewise.
13278 * gdb.cp/virtfunc.exp: Likewise.
13280 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13282 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13283 mysterious bug with sourceware version of expect.
13285 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13287 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13288 current versions of gcc, including gcc abi 2. Remove gratuitous
13289 restart of test program. Use gdb_test_multiple and gdb_test for
13290 all tests. Add patterns to xfail missing "const" in "const char *"
13291 and kfail PR gdb/1155.
13293 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13295 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13296 current versions of gcc, including gcc abi 2. Remove gratuitous
13297 restart of test program. Use gdb_test_multiple and gdb_test for
13298 all tests. Add patterns to kfail PR gdb/1498.
13300 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13302 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13303 current versions of gcc, including gcc abi 2. Use "breakpoint"
13304 and "continue" instead of restarting the target program. Use
13305 gdb_test_multiple and gdb_test for all tests.
13307 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13309 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13312 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13314 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13315 current versions of gcc, including gcc abi 2. Use "breakpoint"
13316 and "continue" instead of restarting the target program several
13317 times. Use gdb_test_multiple and gdb_test for all tests.
13319 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13321 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13324 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13326 * gdb.base/environ.exp: Handle compiling test case from multiple
13329 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13331 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13333 2003-12-17 Jim Blandy <jimb@redhat.com>
13335 * gdb.base/freebpcmd.c: Add copyright notice.
13337 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13339 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13341 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13343 2003-12-13 Jim Blandy <jimb@redhat.com>
13345 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13347 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13349 * gdb.asm/frv.inc: New file.
13350 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13352 2003-12-09 Fred Fish <fnf@redhat.com>
13354 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13355 functions to break1.c and leave prototypes behind. Add more
13356 "set breakpoint NN here" comments.
13357 * gdb.base/break1.c: New file.
13359 * gdb.base/break.exp: Handle compiling test case from multiple
13360 source files and change source file references as needed.
13361 * gdb.base/completion.exp: Ditto.
13362 * gdb.base/condbreak.exp: Ditto.
13363 * gdb.base/define.exp: Ditto.
13364 * gdb.base/ena-dis-br.exp: Ditto.
13365 * gdb.base/info-proc.exp: Ditto.
13366 * gdb.base/maint.exp: Ditto.
13367 * gdb.base/until.exp: Ditto.
13369 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13370 hardcoded line numbers.
13371 * gdb.base/define.exp: Ditto.
13372 * gdb.base/ena-dis-br.exp: Ditto.
13373 * gdb.base/maint.exp: Ditto.
13374 * gdb.base/until.exp: Ditto.
13376 * gdb.base/completion.exp: Use "break1" for completion tests since
13377 "break" is no longer a unique prefix.
13379 2003-12-06 Andrew Cagney <cagney@redhat.com>
13381 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13382 "return_value_unimplemented". When an unimplemented struct return
13383 architecture, report incorrect values as a KFAIL
13385 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13387 * gdb.cp/rtti.exp: Accept new wording of warning from
13388 cp_lookup_rtti_type.
13390 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13392 Partial fix for PR testsuite/1456.
13393 * gdb.base/scope.exp (test_at_main): Replace references to
13394 gcc_compiled with calls to test_compiler_info.
13395 (test_at_foo): Likewise.
13396 (test_at_bar): Likewise.
13398 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13400 Partial fix for PR testsuite/1456.
13401 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13402 to test_compiler_info.
13404 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13406 * gdb.base/so-impl-ld.exp: Update copyright notice.
13408 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13410 Partial fix for PR testsuite/1456.
13411 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13412 to test_compiler_info.
13414 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13416 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13417 from current versions of gdb. Clean up regular expressions.
13418 Delete redundant timeout case.
13420 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13422 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13423 from current versions of gdb. Clean up regular expressions.
13424 Delete redundant timeout case.
13426 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13428 Partial fix for PR testsuite/1456.
13429 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13430 gcc_compiled with call to test_compiler_info.
13432 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13434 Partial fix for PR testsuite/1456.
13435 * gdb.base/list.exp (test_list_function): Delete unused declaration
13438 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13440 Partial fix for PR testsuite/1456.
13441 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13442 call to test_compiler_info.
13444 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13446 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13447 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13448 it to create the appropriate note.inc.
13449 * gdb.asm/asmsrc1.s: Include "note.inc".
13450 * gdb.asm/netbsd.inc: New file.
13451 * gdb.asm/empty.inc: New file.
13453 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13455 Partial fix for PR testsuite/1456.
13456 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13457 calls to test_compiler_info.
13459 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13461 Partial fix for PR testsuite/1456.
13462 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13463 calls to test_compiler_info.
13465 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13467 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13468 pattern for the KFAILs.
13470 2003-11-25 Adam Fedor <fedor@gnu.org>
13472 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13473 * gdb.objc/objcdecode.m: New file.
13475 2003-11-25 Adam Fedor <fedor@gnu.org>
13477 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13478 * gdb.objc/nondebug.m: New file.
13480 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13482 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13483 NetBSD as it does on FreeBSD. Modelled on a similar change by
13484 Mark Kettenis on 2003-05-30.
13485 (link-flags): Set to "--entry _start" regardless of target.
13486 Special linker flags are to be appended to $link-flags.
13487 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13489 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13491 * gdb.cp/method.exp: Accept output of new demangler.
13493 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13495 * gdb/class2.exp: New file.
13496 * gdb/class2.cc: New file.
13498 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13500 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13503 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13505 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13508 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13510 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13511 "continue" into "run".
13513 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13515 Partial fix for PR testsuite/1456.
13516 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13517 call to test_compiler_info.
13518 * gdb.cp/ctti.exp: Likewise.
13519 * gdb.cp/derivation.exp: Likewise.
13520 * gdb.cp/member-ptr.exp: Likewise.
13521 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13522 reference to gcc_compiled.
13524 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13526 Fix PR testsuite/1463.
13527 * gdb.base/structs.exp (start_structs_test): Call
13528 get_debug_format before using the debug format.
13530 2003-11-22 Andrew Cagney <cagney@redhat.com>
13532 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13533 * gdb.base/structs.exp: Use gdb_test_multiple.
13535 2003-11-20 Andrew Cagney <cagney@redhat.com>
13537 * gdb.base/structs.exp: Handle and recover from internal errors.
13538 Replace "foo${n}" with "foo<n>" in test messages.
13540 * gdb.base/structs.exp: Update copyright. Rewrite.
13541 * gdb.base/structs.c: Update copyright. Rewrite.
13543 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13544 resync count exceeded.
13546 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13547 from the internal error.
13548 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13549 Original from Jim Blandy.
13550 (gdb_test_multiple): Use gdb_internal_error_resync.
13552 2003-11-19 Andrew Cagney <cagney@redhat.com>
13554 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13557 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13559 New testcase for PR backtrace/1435.
13560 * gdb.arch/i386-unwind.exp: New file.
13561 * gdb.arch/i386-unwind.c: New file.
13563 2003-11-17 Andrew Cagney <cagney@redhat.com>
13565 * lib/gdb.exp (compiler_info): New global.
13566 (test_compiler_info): New function.
13567 (get_compiler_info): Set compiler_info.
13568 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13569 "compiler_info" to gcc-<major>-<minor>.
13571 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13573 * gdb.trace/configure: Remove.
13575 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13577 * gdb.base/break.c: Add comments to aid finding line numbers for
13579 * gdb.base/break.exp: Remove all references to explicit line
13582 2003-11-11 Nick Clifton <nickc@redhat.com>
13584 * gdb.base/shreloc.exp: Do not run for targets which do not
13585 support shared objects.
13587 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13589 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13590 Don't run tests if nofileio flag is given.
13592 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13594 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13595 as well as 'Watchpoint'.
13597 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13599 Reported by Jim Ingham <jingham@apple.com>:
13600 * gdb.base/annota1.exp: Match at least one occurrence of the
13601 signal handler annotation.
13603 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13605 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13606 as well as 'Watchpoint'.
13608 2003-11-05 Michael Chastain <mec@shout.net>
13610 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13612 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13614 * gdb.arch/gdb1291.c: New test file.
13615 * gdb.arch/gdb1291.exp: New test script.
13616 * gdb.arch/gdb1431.c: New test file.
13617 * gdb.arch/gdb1431.exp: New test script.
13619 2003-10-22 Michael Chastain <mec@shout.net>
13621 * gdb.mi/pthreads.c: Add copyright notice.
13623 2003-10-22 Michael Chastain <mec@shout.net>
13625 * gdb.threads/pthreads.c: Add copyright notice.
13627 2003-10-20 Michael Chastain <mec@shout.net>
13629 * gdb.base/gdb1056.exp: New test script.
13631 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13633 * gdb.threads/killed.exp: Use gdb_run_cmd.
13635 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13637 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13638 create a core file.
13639 * gdb.threads/gcore-thread.exp: Likewise.
13641 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13643 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13644 type, based on char type.
13645 (struct bit_flags_short_t): New bitfield type, based on short type.
13646 (init_bit_flags_char): New fuction.
13647 (init_bit_flags_short): Ditto.
13648 (print_bit_flags_char): Ditto.
13649 (print_bit_flags_short): Ditto.
13650 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13652 2003-10-11 Michael Chastain <mec@shout.net>
13654 * gdb.base/call-rt-st.exp: Update copyright year.
13656 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13658 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13659 * gdb.disasm/sh3.s: Ditto.
13661 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13663 * gdb.threads/switch-threads.exp: New test.
13664 * gdb.threads/switch-threads.c: New source file.
13666 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13668 * gdb.base/ending-run.exp: Add sh specific case.
13670 2003-10-06 Andrew Cagney <cagney@redhat.com>
13672 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13673 * gdb.disasm/mn10200.exp: Delete obsolete file.
13675 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13677 * ChangeLog: Correct an entry command.exp -> commands.exp.
13678 * gdb.base/commands.exp (bp_deleted_in_command_test)
13679 (temporary_breakpoint_commands): Check noargs.
13681 2003-09-25 David Carlton <carlton@kealia.com>
13683 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13684 of some print tests, where appropriate. Add tests for C::D::cd,
13685 E::ce, F::cXfX, G::XgX.
13686 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13688 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13690 * lib/java.exp (java_init): Import target_alias before using it.
13692 2003-09-25 David Carlton <carlton@kealia.com>
13694 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13696 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13698 * gdb.base/selftest.exp: Accomodate more instruction reordering
13701 2003-09-17 Michael Chastain <mec@shout.net>
13703 * gdb.cp/gdb1355.exp: New file.
13704 * gdb.cp/gdb1355.c: New file.
13706 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13708 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13709 * gdb.asm/sh.inc: New file.
13711 2003-09-11 David Carlton <carlton@kealia.com>
13713 * gdb.cp/namespace.exp: Add tests for namespace types.
13714 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13715 (test_namespace): New.
13717 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13719 * gdb.base/relocate.exp: Handle new gdb output at startup.
13720 * gdb.stabs/weird.exp: Ditto.
13722 2003-09-08 Michael Chastain <mec@shout.net>
13724 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13726 2003-09-07 Michael Chastain <mec@shout.net>
13728 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13731 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13733 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13735 2003-08-30 Michael Chastain <mec@shout.net>
13737 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13738 * gdb.gdb/observer.exp: Ditto.
13739 * gdb.gdb/xfullpath.exp: Ditto.
13741 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13743 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13746 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13748 * gdb.base/dump.exp: Skip for ia64.
13750 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13752 * gdb.asm/asm-source.exp: Add ia64 support.
13753 * gdb.asm/ia64.inc: New file.
13755 2003-08-22 Michael Chastain <mec@shout.net>
13757 * gdb.cp: New directory.
13758 * gdb.cp/*: Copy from gdb.c++/*.
13759 * gdb.c++/*: Remove.
13760 * Makefile.in: Change gdb.c++ to gdb.cp.
13761 * configure.in: Ditto.
13762 * configure: Regnerate.
13764 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13766 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13767 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13769 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13771 * mi-var-display.exp (-var-list-children weird): Accept function
13772 pointers with argument types.
13773 * mi1-var-display.exp (-var-list-children weird): Likewise.
13774 * mi2-var-display.exp (-var-list-children weird): Likewise.
13776 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13778 * gdb.base/annota3.exp: Add missing newline.
13780 2003-08-06 Michael Chastain <mec@shout.net>
13782 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13784 2003-08-12 Michael Snyder <msnyder@redhat.com>
13786 * gdb.base/float.exp: Add test for SH.
13788 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13790 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13792 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13794 * gdb.base/completion.exp: Remove reduntant completion test
13797 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13799 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13800 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13801 gdb.trace/save-trace.exp: Make sure that full pathnames are
13804 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13806 * configure.in: Don't generate config.h from config.hin.
13807 * configure: Regenerate.
13808 * config.hin: Remove file.
13809 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13810 * gdb.threads/pthreads.c: Ditto.
13812 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13814 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13815 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13816 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13817 Replace ld24 with seth/add3.
13819 2003-08-02 Andrew Cagney <cagney@redhat.com>
13821 * gdb.base/annota3.exp: New file.
13822 * gdb.base/annota3.c: New file.
13823 * gdb.c++/annota3.exp: New file.
13824 * gdb.c++/annota3.cc: New file.
13826 2003-07-29 Michael Chastain <mec@shout.net>
13828 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13830 (do_pass): Likewise.
13831 * gdb.threads/tls.exp: Always initialize no_of_threads.
13833 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13835 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13837 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13838 * gdb.threads/tls.exp: Recognize one case of the host library not
13841 2003-07-27 Andrew Cagney <cagney@redhat.com>
13843 * gdb.base/fileio.exp: Use SH when running commands using
13846 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13848 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13849 * gdb.base/relocate.c (dummy): New padding array.
13851 2003-07-22 Michael Snyder <msnyder@redhat.com>
13853 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13855 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13856 patterns to be more general, accepting old and new output.
13857 Some output chars (such as '+') also must be quoted.
13858 Some addresses are displayed numerically instead of
13861 2003-07-23 Michael Snyder <msnyder@redhat.com>
13863 * gdb.base/return2.exp: Don't test long-long return.
13865 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13866 * gdb.disasm/t01_mov.exp: Ditto.
13867 * gdb.disasm/t02_mova.s: Ditto.
13868 * gdb.disasm/t02_mova.exp: Ditto.
13869 * gdb.disasm/t03_add.s: Ditto.
13870 * gdb.disasm/t03_add.exp: Ditto.
13871 * gdb.disasm/t04_sub.s: Ditto.
13872 * gdb.disasm/t04_sub.exp: Ditto.
13873 * gdb.disasm/t05_cmp.s: Ditto.
13874 * gdb.disasm/t05_cmp.exp: Ditto.
13875 * gdb.disasm/t06_ari2.s: Ditto.
13876 * gdb.disasm/t06_ari2.exp: Ditto.
13877 * gdb.disasm/t07_ari3.s: Ditto.
13878 * gdb.disasm/t07_ari3.exp: Ditto.
13879 * gdb.disasm/t08_or.s: Ditto.
13880 * gdb.disasm/t08_or.exp: Ditto.
13881 * gdb.disasm/t09_xor.s: Ditto.
13882 * gdb.disasm/t09_xor.exp: Ditto.
13883 * gdb.disasm/t10_and.s: Ditto.
13884 * gdb.disasm/t10_and.exp: Ditto.
13885 * gdb.disasm/t11_logs.s: Ditto.
13886 * gdb.disasm/t11_logs.exp: Ditto.
13887 * gdb.disasm/t12_bit.s: Ditto.
13888 * gdb.disasm/t12_bit.exp: Ditto.
13889 * gdb.disasm/t13_otr.s: Ditto.
13890 * gdb.disasm/t13_otr.exp: Ditto.
13892 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13894 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13896 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13898 * gdb.threads/tls.c : New file.
13899 * gdb.threads/tls.exp : New file.
13900 * gdb.threads/tls-main.c : New file.
13901 * gdb.threads/tls-shared.c : New file.
13902 * gdb.threads/tls-shared.exp : New file.
13904 2003-07-22 Andreas Schwab <schwab@suse.de>
13906 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13908 2003-07-20 Andreas Schwab <schwab@suse.de>
13910 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13911 due to insn reordering.
13913 2003-07-15 Andrew Cagney <cagney@redhat.com>
13915 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13917 2003-07-15 Michael Chastain <mec@shout.net>
13919 * gdb.base/gdb1250.exp: New file.
13920 * gdb.base/gdb1250.c: New file.
13922 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13924 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13925 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13927 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13929 * gdb.threads/tls.c: New file.
13930 * gdb.threads/tls.exp: New file.
13931 * gdb.threads/tls-main.c: New file.
13932 * gdb.threads/tls-shared.c: New file.
13933 * gdb.threads/tls-shared.exp: New file.
13935 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13937 * gdb.base/annota1.exp: Make sure that we properly escape the
13938 full path of the source file. Xfail more permissive patterns,
13939 due to a compiler debug info problem.
13941 2003-07-07 Andreas Schwab <schwab@suse.de>
13943 * gdb.asm/m68k.inc: New file.
13944 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13946 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13947 arguments"): Also match negative number.
13949 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13951 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13953 * gdb.base/store.c (charest): New typedef.
13954 (add_char): Rename to add_charest, update.
13955 (wack_char): Rename to wack_charest, update types. Return l + r
13956 to keep r live across the call.
13957 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13958 (wack_double, wack_doublest): Return l + r to keep r live across
13960 * gdb.base/store.exp: Accomodate store.c changes.
13962 2003-06-30 David Carlton <carlton@kealia.com>
13964 * gdb.c++/maint.exp (test_invalid_name): New.
13965 (test_first_component): Add tests for invalid names.
13967 2003-06-29 Michael Chastain <mec@shout.net>
13969 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13970 output of '<VTT for class>' for virtual base classes.
13972 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13974 * gdb.base/completion.exp: Tab-complete "complet" instead of
13976 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13978 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13980 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13981 * gdb.base/volatile.exp: Likewise.
13983 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13985 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13988 2003-06-28 Michael Chastain <mec@shout.net>
13989 Daniel Jacobowitz <drow@mvista.com>
13991 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13992 initial line count of 'captured_main' from 26 to 32.
13993 (test_with_self): Allow xmalloc call to be interleaved with the
13994 preceding two lines.
13996 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13998 * gdb.base/bang.exp: New testcase.
14000 2003-06-23 Joel Brobecker <brobecker@gnat.com>
14002 * gdb.base/langs.exp: Add some tests for the "minimal" language
14005 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
14007 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14010 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14012 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14015 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14017 * gdb.c++/pr-1210.cc: New file.
14018 * gdb.c++/pr-1210.exp: New file.
14020 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
14022 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14025 2003-06-15 Mark Kettenis <kettenis@gnu.org>
14027 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14028 on *-*-*bsd* instead of *-*-freebsd*.
14030 2003-06-14 Andrew Cagney <cagney@redhat.com>
14032 * gdb.base/store.exp: Test longest and doublest. Test all
14033 parameters. Weaken return statement match.
14034 * gdb.base/store.c: Add longest and doublest - aka long long and
14035 long double functions. Put all parameters into local register
14036 variables. Use negative values.
14038 2003-06-14 Andrew Cagney <cagney@redhat.com>
14040 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14041 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14043 * gdb.base/fileio.exp: Disable target when nointerrupts and
14044 noinferiorio, instead of limiting it to remote. Use remote_exec
14047 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14049 * gdb.base/float.exp: Add ia64 support.
14051 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
14053 * gdb.base/fileio.exp: Run only on remote targets.
14055 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
14057 * gdb.base/fileio.c: New file, testing File-I/O.
14058 * gdb.base/fileio.exp: Ditto.
14060 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14062 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14063 shared objects after relocation at load time (gdb PR/1132).
14064 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14065 as above, part of the shared object relocation test.
14067 2003-06-08 Mark Kettenis <kettenis@gnu.org>
14069 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14070 fully filled history list.
14071 * gdb.base/gdb_history: New file.
14073 * gdb.base/signals.exp: XFAIL "continue to func1" on
14076 * gdb.base/attach.exp: When trying to attach to a nonexistent
14077 process, make it possible to specify the PID based on the target,
14078 and do so for *-*-freebsd*.
14080 2003-06-02 Richard Henderson <rth@redhat.com>
14082 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14084 2003-06-02 Richard Henderson <rth@redhat.com>
14086 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14088 2003-06-02 Richard Henderson <rth@redhat.com>
14090 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14092 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
14094 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14097 2003-06-01 Mark Kettenis <kettenis@gnu.org>
14099 * gdb.asm/asm-source.exp: Check for memory read errors in
14100 disassembler test on *BSD too.
14102 2003-06-01 Richard Henderson <rth@redhat.com>
14104 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14106 (gdbasm_call): Lose ldgp.
14107 (gdbasm_startup): Add frame information.
14108 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14110 2003-05-31 Mark Kettenis <kettenis@gnu.org>
14112 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14115 2003-05-30 Mark Kettenis <kettenis@gnu.org>
14117 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14120 2003-05-29 Richard Henderson <rth@redhat.com>
14122 * gdb.asm/alpha.inc: New file.
14123 * gdb.asm/asm-source.exp: Use it.
14125 2003-05-29 Jim Blandy <jimb@redhat.com>
14127 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14130 2003-05-22 Jim Blandy <jimb@redhat.com>
14132 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14135 2003-05-20 David Carlton <carlton@math.stanford.edu>
14137 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14140 2003-05-19 David Carlton <carlton@bactrian.org>
14142 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14143 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14145 2003-05-19 David Carlton <carlton@bactrian.org>
14147 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14149 Bump copyright date.
14150 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14151 (main): Call C::D::marker2.
14152 * gdb.c++/namespace1.cc: New file.
14154 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14156 Roland McGrath <roland@redhat.com>
14157 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14158 there is no manager thread.
14160 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14162 * gdb.threads/schedlock.exp: Remove assumption that all threads
14163 will run in a particular small time slice. Also ensure we break
14164 in one of the child threads rather than the main thread.
14166 2003-05-07 Jim Blandy <jimb@redhat.com>
14168 Add support for assembly source testing on the s390x.
14169 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14171 * gdb.asm/s390x.inc: New file.
14173 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14174 succession of 'if' statements.
14176 2003-05-05 Andrew Cagney <cagney@redhat.com>
14178 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14180 2003-05-05 Andrew Cagney <cagney@redhat.com>
14182 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14183 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14185 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14187 * gdb.base/charset.exp: Update based on new behavior of set/show
14190 2003-05-01 Andrew Cagney <cagney@redhat.com>
14192 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14193 variable do not give memory errors.
14195 2003-04-30 Adam Fedor <fedor@gnu.org>
14197 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14198 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14199 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14200 gdb.objc/basicclass.m: : New files
14202 * lib/gdb.exp (gdb_compile_objc): New procedure.
14204 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14206 * gdb.base/signals.exp: Make backtrace tests more specific.
14208 2003-04-23 David Carlton <carlton@bactrian.org>
14210 * gdb.c++/maint.exp (test_first_component): Add tests for
14211 'operator' in more locations.
14213 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14215 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14217 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14219 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14220 func marke' instead. Update test name.
14222 2003-04-15 David Carlton <carlton@math.stanford.edu>
14224 * gdb.c++/maint.exp: New file.
14226 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14228 * gdb.threads/schedlock.c: Change type of thread function argument
14229 to long, to avoid warnings on 64-bit platforms.
14231 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14233 * gdb.base/attach.exp: Add new message from ptrace in case of
14234 attaching to nonexistent process.
14236 2003-04-11 Jim Blandy <jimb@redhat.com>
14238 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14239 gdb.c++/userdef.cc: Place comments on the lines to which the
14240 marker function might return.
14241 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14242 gdb.c++/userdef.exp: Look for those comments to check that we've
14243 returned to the right place, instead of checking line numbers.
14245 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14247 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14248 match on sourcefile name, instead of directory name.
14250 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14252 * gdb.base/completion.exp: Use string_to_regexp to match the
14253 working directory name.
14255 2003-04-09 Jim Blandy <jimb@redhat.com>
14257 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14258 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14259 after an inferior function call, report the failure, but allow the
14262 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14264 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14267 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14269 * gdb.base/break.exp: Revert last patch.
14271 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14273 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14276 2003-04-02 Andrew Cagney <cagney@redhat.com>
14278 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14279 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14280 matching directories by the name breakpoint.
14281 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14282 Make "continue to marker1" consistent.
14283 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14284 message consistent.
14285 * lib/gdb.exp: Put "the program is no longer running", and "the
14286 program exited" in parenthesis.
14287 * lib/mi-support.exp: Ditto.
14289 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14291 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14293 2003-03-29 Andrew Cagney <cagney@redhat.com>
14295 * gdb.base/sizeof.c (main): Print the value of '\377'.
14296 * gdb.base/sizeof.exp: Check the sign of '\377'.
14298 2003-03-27 Michael Chastain <mec@shout.net>
14300 * gdb.base/gdb1090.exp: New file.
14301 * gdb.base/gdb1090.cc: New file.
14303 2003-03-27 J. Brobecker <brobecker@gnat.com>
14305 * gdb.gdb/observer.exp: New regression test.
14307 2003-03-27 Michael Chastain <mec@shout.net>
14309 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14310 * gdb.base/ptype.exp: Likewise.
14312 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14314 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14316 2003-03-26 Michael Chastain <mec@shout.net>
14318 * gdb.base/ptype.exp: Actually use some typedef'd types.
14320 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14322 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14323 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14325 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14327 * gdb.base/default.exp: Fix regular expression.
14329 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14331 * gdb.base/args.exp: Fix regular expression.
14333 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14335 * gdb.base/help.exp: Allow Win32 child process.
14337 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14339 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14340 when stepping out of main().
14342 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14344 * gdb.base/default.exp: Check for win32 specific message when calling
14345 "run" without executable.
14347 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14349 * gdb.base/args.exp: Expect .exe in output.
14351 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14353 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14356 2003-03-17 Andrew Cagney <cagney@redhat.com>
14358 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14360 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14361 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14363 2003-03-17 David Carlton <carlton@math.stanford.edu>
14365 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14366 test, for PR breakpoints/38.
14367 Call test_watchpoint_and_breakpoint.
14368 * gdb.base/watchpoint.c (func3): New function.
14369 (main): Call func3.
14371 2003-03-04 David Carlton <carlton@math.stanford.edu>
14373 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14374 Garply<Garply<char> >:: garply".
14375 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14376 with respect to PR c++/1111; note also PR c++/1113.
14377 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14378 respect to PR c++/1062.
14379 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14381 2003-03-03 David Carlton <carlton@math.stanford.edu>
14383 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14384 with respect to PR c++/57.
14385 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14387 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14388 respect to PR c++/57.
14390 2003-03-03 David Carlton <carlton@math.stanford.edu>
14392 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14393 respect to PR c++/33 into FAILs.
14395 2003-03-03 Michael Chastain <mec@shout.net>
14397 * configure.in: Update copyright years.
14399 2003-03-03 Michael Chastain <mec@shout.net>
14401 * Makefile.in: Update copyright years.
14403 2003-02-28 David Carlton <carlton@math.stanford.edu>
14405 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14406 print class instead of struct and/or superfluous protection
14407 specifiers, as long as the resulting output is equivalent to the
14409 Delete FIXME from end of messages on tests that don't need
14412 2003-02-28 David Carlton <carlton@math.stanford.edu>
14414 * gdb.c++/templates.exp (do_tests): Allow const in the two
14415 Foo<volatile char *>::foo tests.
14417 2003-02-27 Michael Snyder <msnyder@redhat.com>
14419 * gdb.base/restore.c (main): Return zero, so exit code
14420 will be consistant.
14422 2003-02-26 David Carlton <carlton@math.stanford.edu>
14424 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14425 char *>::foo" test with respect to PR c++/33. Create a new test
14426 which is identical to that one except that it doesn't put the
14427 space between the "char" and the "*"; KFAIL it, too.
14429 2003-02-26 David Carlton <carlton@math.stanford.edu>
14431 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14432 template types into either PASSes or KFAILs (corresponding to PR
14433 c++/57). Tweak indentation. Update copyright.
14435 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14437 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14439 2003-02-13 Michael Chastain <mec@shout.net>
14441 * gdb.base/exprs.exp: Remove i960 remnants.
14442 * gdb.base/funcargs.exp: Likewise.
14443 * gdb.base/list.exp: Likewise.
14444 * gdb.base/ptype.exp: Likewise.
14446 2003-02-14 David Carlton <carlton@math.stanford.edu>
14448 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14449 pEe->D::vg()" from XFAIL to KFAIL.
14451 2003-02-13 Jason Molenda (jmolenda@apple.com)
14453 * gdb.base/maint.exp: Update maint print statistics regexp to include
14456 2003-02-13 Michael Chastain <mec@shout.net>
14458 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14460 2003-02-12 Michael Chastain <mec@shout.net>
14462 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14463 * gdb.c++/inherit.exp: Likewise.
14464 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14465 * gdb.c++/templates.exp: Likewise.
14466 * gdb.c++/virtfunc.exp: Likewise.
14468 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14470 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14471 why the code is written that way.
14473 2003-02-05 Michael Chastain <mec@shout.net>
14475 * gdb.base/dump.exp: Add missing copyright line.
14477 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14479 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14480 at the beginning so the breakpoint doesn't get set on the loop.
14482 2003-02-05 Michael Chastain <mec@shout.net>
14484 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14485 output for configurations with gcc 2.95.3.
14487 2003-02-05 Keith Seitz <keiths@redhat.com>
14488 Andrew Cagney <ac131313@redhat.com>
14490 * gdb.mi/mi-cli.exp: New file.
14492 2003-02-04 Michael Chastain <mec@shout.net>
14494 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14495 Call perror and then continue.
14497 2003-02-03 Michael Chastain <mec@shout.net>
14499 * gdb.c++/pr-1023.cc: New file.
14500 * gdb.c++/pr-1023.exp: New file.
14502 2003-02-05 Jim Blandy <jimb@redhat.com>
14504 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14505 it's local to foobar. Check for it there, and check that it's not
14507 * gdb.c++/local.cc (marker2): New function.
14508 (foobar): Call marker1.
14509 (main): Call marker2 instead of marker1.
14511 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14513 * gdb.disasm/mn10200.exp: Obsolete file.
14514 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14515 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14516 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14518 2003-02-04 David Carlton <carlton@math.stanford.edu>
14520 * gdb.c++/overload.exp: Test intToChar(1).
14521 * gdb.c++/overload.cc (intToChar): New.
14522 (main): Call intToChar.
14524 2003-02-03 David Carlton <carlton@math.stanford.edu>
14526 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14528 KFAIL some of the continue_to_bp_overloaded calls, according to
14531 2003-02-01 Michael Chastain <mec@shout.net>
14533 * gdb.base/advance.c (marker1): New marker function.
14534 * gdb.base/advance.exp: When the 'advance' command lands on the
14535 return breakpoint, it can legitimately stop on either the
14536 current line or the next line. Accommodate both outcomes.
14537 * gdb.base/until.exp: Likewise.
14539 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14541 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14542 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14543 now a list, not a tuple.
14544 * gdb.mi/mi-var-display.exp: Ditto.
14545 * gdb.mi/gdb792.exp: Ditto.
14547 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14549 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14550 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14552 * gdb.mi/mi-syn-frame.c: Part of same.
14554 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14556 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14557 gdb.mi/mi1-pthreads.exp: Return instead of calling
14558 gdb_suppress_entire_file.
14560 2003-02-01 Mark Salter <msalter@redhat.com>
14562 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14564 2003-01-31 Mark Salter <msalter@redhat.com>
14566 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14569 2003-01-30 Michael Chastain <mec@shout.net>
14571 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14572 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14573 has been fixed in gdb/readline on 2003-01-09.
14575 2003-01-29 Michael Snyder <msnyder@redhat.com>
14577 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14578 * gdb.base/display.exp: Allow for leading underscore in symbol.
14579 * gdb.base/args.exp: Skip if target does not support args passing.
14581 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14583 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14584 gdb_test. Accept a list of expect arguments as the third
14586 (gdb_test): Use it.
14588 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14590 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14591 allow for different test tree configurations. Update some
14592 tescases accordingly.
14593 * gdb.arch/altivec-regs.exp: Ditto.
14594 * gdb.asm/asm-source.exp: Ditto.
14595 * gdb.base/advance.exp: Ditto.
14596 * gdb.base/display.exp: Ditto.
14597 * gdb.base/long_long.exp: Ditto.
14598 * gdb.base/mips_pro.exp: Ditto.
14599 * gdb.base/overlays.exp: Ditto.
14600 * gdb.base/relocate.exp: Ditto.
14601 * gdb.base/setshow.exp: Ditto.
14602 * gdb.base/step-line.exp: Ditto.
14603 * gdb.base/step-test.exp: Ditto.
14604 * gdb.base/until.exp: Ditto.
14605 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14607 2003-01-17 David Carlton <carlton@math.stanford.edu>
14609 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14610 corresponding to PR c++/945.
14613 2003-01-17 David Carlton <carlton@math.stanford.edu>
14615 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14616 corresponding to PR c++/68.
14618 2003-01-17 David Carlton <carlton@math.stanford.edu>
14620 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14621 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14622 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14624 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14626 * gdb.base/break.exp: Fix change of default location, because of
14627 removal of until tests.
14628 * gdb.base/help.exp: Update test for new 'until' help message.
14629 Add test for help on 'advance'.
14630 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14632 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14634 * gdb.base/default.exp: Adapt "info float" test for recent changes
14635 to that command. Add test for "info vector".
14636 * gdb.base/float.exp: New file. Add test for "info float" that
14637 resembles the old test in gdb.base/default.exp.
14639 2003-01-15 David Carlton <carlton@math.stanford.edu>
14641 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14643 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14645 * gdb.base/break.exp: Move the tests of until command from here...
14646 * gdb.base/until.exp: ... to here. New file. Add other tests.
14647 * gdb.base/advance.c: New file.
14648 * gdb.base/advance.exp: New file.
14650 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14652 * gdb.base/args.c: New file.
14653 * gdb.base/args.exp: New file.
14655 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14657 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14659 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14661 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14663 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14665 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14668 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14670 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14672 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14674 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14676 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14678 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14680 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14681 * gdb.mi/mi1-console.exp: Likewise.
14683 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14685 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14686 * gdb.mi/mi1-console.exp: Likewise.
14688 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14690 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14692 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14694 * gdb.base/detach.exp: New test.
14696 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14698 * Makefile.in (ALL_SUBDIRS): New variable.
14699 (subdirs, clean, distclean): Use it.
14700 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14701 regenerating Makefile, since it is generated from the top level.
14702 * gdb.asm/Makefile.in: Likewise.
14703 * gdb.base/Makefile.in: Likewise.
14704 * gdb.c++/Makefile.in: Likewise.
14705 * gdb.disasm/Makefile.in: Likewise.
14706 * gdb.java/Makefile.in: Likewise.
14707 * gdb.mi/Makefile.in: Likewise.
14708 * gdb.threads/Makefile.in: Likewise.
14709 * gdb.trace/Makefile.in: Likewise.
14711 2003-01-09 David Carlton <carlton@math.stanford.edu>
14713 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14714 Add copyright year 2003.
14716 2003-01-06 Michael Chastain <mec@shout.net>
14718 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14719 When selecting a thread, 'line' and 'file' are optional.
14720 * gdb.mi/mi1-pthreads.exp: Likewise.
14722 2003-01-06 Andreas Schwab <schwab@suse.de>
14724 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14727 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14730 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14731 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14733 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14734 instead of calling gdb_suppress_entire_file.
14735 * gdb.threads/print-threads.exp: Likewise.
14736 * gdb.threads/schedlock.exp: Likewise.
14738 * gdb.threads/killed.exp: Return instead of calling
14739 gdb_suppress_entire_file.
14740 * gdb.threads/linux-dp.exp: Likewise.
14741 * gdb.threads/pthreads.exp: Likewise.
14743 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14745 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14747 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14748 * gdb.base/whatis.exp: Always allow (void) after function names.
14750 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14752 * gdb.c++/casts.exp: Correct regexp.
14754 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14756 * configure.in: Call AC_CONFIG_HEADER. Don't call
14757 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14758 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14759 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14760 aforementioned directories in the AC_OUPUT call.
14761 * config.hin: New file.
14762 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14763 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14764 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14765 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14766 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14767 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14768 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14769 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14770 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14771 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14772 gdb.threads/configure.in, gdb.threads/configure,
14773 gdb.threads/config.in, gdb.trace/configure.in,
14774 gdb.trace/configure: Removed.
14776 2003-01-03 Michael Chastain <mec@shout.net>
14778 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14779 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14781 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14783 * gdb.base/store.exp: Fix regular expressions.
14785 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14787 * configure.in: Rewrite.
14788 * configure: Regenerated.
14790 2003-01-03 David Carlton <carlton@math.stanford.edu>
14792 * gdb.base/psymtab.exp: New file.
14793 * gdb.base/psymtab1.c: Ditto.
14794 * gdb.base/psymtab2.c: Ditto.
14796 2002-12-23 Adam Fedor <fedor@gnu.org>
14798 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14800 2002-12-23 David Carlton <carlton@math.stanford.edu>
14802 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14803 and current_directory initialization.
14805 2002-12-22 Jim Blandy <jimb@redhat.com>
14807 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14808 rather than as part of the output file name.
14810 * gdb.base/attach.exp: There's no need to copy the test program to
14811 /tmp; that was only ever necessary on HP/UX, and this test is
14812 entirely disabled there anyway.
14814 2002-12-21 Jim Blandy <jimb@redhat.com>
14816 * gdb.c++/psmang.exp: Doc fix.
14818 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14821 2002-12-20 David Carlton <carlton@math.stanford.edu>
14823 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14825 2002-12-18 Michael Chastain <mec@shout.net>
14827 * gdb.c++/annota2.exp: Add copyright year 2002.
14829 2002-12-17 David Carlton <carlton@math.stanford.edu>
14831 * gdb.c++/try_catch.cc: Add marker comments.
14832 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14833 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14834 * gdb.c++/m-static.cc: Ditto.
14835 * gdb.c++/m-static1.cc: Ditto.
14836 * gdb.c++/try_catch.cc: Ditto.
14838 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14840 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14841 to see whether we are using the new -environment-directory
14842 command which resets via -r or the old version of the command
14843 which may prompt the user. Part of fix for gdb/741.
14845 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14847 * gdb.fortran/types.exp: Update obsolete comment.
14848 * gdb.fortran/exprs.exp: Ditto.
14849 * lib/gdb.exp: Delete obsolete code.
14850 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14851 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14852 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14853 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14854 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14855 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14856 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14857 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14858 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14859 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14860 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14861 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14862 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14863 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14864 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14865 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14866 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14867 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14868 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14869 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14870 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14871 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14872 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14873 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14874 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14875 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14876 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14877 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14878 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14879 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14880 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14881 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14882 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14883 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14884 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14885 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14886 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14888 2002-12-11 David Carlton <carlton@math.stanford.edu>
14890 * gdb.c++/m-data.exp: Add test for members that shadow global
14891 variables: see PR gdb/804.
14892 * gdb.c++/m-data.cc: Ditto.
14894 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14896 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14898 2002-12-06 David Carlton <carlton@math.stanford.edu>
14900 * gdb.base/store.c: Don't declare functions static.
14902 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14904 * gdb.base/store.exp, gdb.base/store.c: New files.
14906 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14908 * gdb.base/selftest.exp: Update for current gdb.
14910 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14912 * gdb.base/maint.exp: Only dump symbols from one source file
14915 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14917 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14920 2002-11-25 Jim Blandy <jimb@redhat.com>
14922 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14923 function appearing in error message.
14925 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14927 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14929 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14931 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14932 for mi1 and current mi is in correct format. New mi startup message
14933 should be in mi console format. This is part of fix for PR gdb/604.
14935 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14937 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14938 which explicitly prints the zero offset as "+0".
14940 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14942 * gdb.threads/schedlock.c (args): Make unsigned.
14944 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14946 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14947 numbers. Allow "foo2|selected stack frame".
14948 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14949 * gdb.asm/asmsrc2.s: Likewise.
14950 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14952 * gdb.asm/mips.inc: New file.
14954 2002-10-18 Adam Fedor <fedor@gnu.org>
14956 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14957 * gdb.base/help.exp: Likewise.
14959 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14961 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14962 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14964 2002-10-02 Jim Blandy <jimb@redhat.com>
14966 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14968 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14970 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14971 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14972 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14973 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14974 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14975 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14976 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14978 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14980 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14981 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14982 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14983 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14984 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14985 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14986 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14988 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14990 * gdb.base/annota1.exp (info break): Make directory components of
14991 path optional since not all compilers emit this debug information.
14993 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14994 step ends up stepping out of the function instead of stopping on
14997 2002-09-26 Keith Seitz <keiths@redhat.com>
14999 * lib/insight-support.exp (gdbtk_start): Figure out where
15000 the insight executable is based on where gdb is. Use this
15001 executable to start insight instead of gdb.
15003 2002-09-25 Andrew Cagney <cagney@redhat.com>
15005 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15007 2002-09-24 Andrew Cagney <ac131313@redhat.com>
15009 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15010 test_isolated_complaints.
15011 (test_empty_complaint): New function.
15012 (test_empty_complaints): New function. Check no output when no
15015 2002-09-19 Jim Blandy <jimb@redhat.com>
15017 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15019 2002-09-19 Andrew Cagney <ac131313@redhat.com>
15021 * gdb.gdb/complaints.exp: New file.
15023 2002-09-18 Andrew Cagney <ac131313@redhat.com>
15025 * gdb.base/maint.exp: Check `help maint internal-warning'.
15027 2002-09-18 David Carlton <carlton@math.stanford.edu>
15029 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15030 numbers, and replace them by a single breakpoint after the
15031 constructors are all finished.
15033 * gdb.c++/m-static.cc: Add test 4.
15034 * gdb.c++/m-static.h: New file.
15035 * gdb.c++/m-static1.cc: New file.
15037 * gdb.c++/printmethod.exp: New file.
15038 * gdb.c++/printmethod.cc: New file.
15040 * gdb.c++/pr-574.exp: New file.
15041 * gdb.c++/pr-574.cc: New file.
15043 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15045 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15046 embedded targets which never actually exit.
15048 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15050 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15051 "don't step after run" as unresolved or unsupported, instead of xfail.
15053 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15055 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15056 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15057 Add newline to expected string in "step out of main (status wrapper)"
15060 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15062 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15063 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15065 2002-09-17 Tom Tromey <tromey@redhat.com>
15067 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15068 \000, not \0, in double-quoted string.
15070 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
15072 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15073 string after running the commands execution on breakpoint tests.
15075 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
15077 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15079 2002-09-12 Joel Brobecker <brobecker@gnat.com>
15081 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15083 2002-09-10 Keith Seitz <keiths@redhat.com>
15085 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15087 (mi_run_to_main): Use mi_runto.
15088 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15090 2002-09-10 Keith Seitz <keiths@redhat.com>
15092 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15093 regexp for stopping at main. Could have multiple event notifications.
15094 Don't assume that main was declared with no parameters.
15095 (mi_next): Use mi_step_to.
15096 (mi_step): Use mi_next_to.
15098 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
15100 * gdb.base/default.exp: Fix expected string in `info float' test.
15102 2002-09-09 Ben Elliston <bje@redhat.com>
15104 * config/mips.exp: Update comments.
15105 * config/mips-idt.exp: Likewise.
15106 * config/nind.exp: Likewise.
15107 * config/slite.exp: Likewise.
15108 * config/sparclet.exp: Likewise.
15109 * config/udi.exp: Likewise.
15110 * config/vx.exp: Likewise.
15111 * config/vxworks29k.exp: Likewise.
15113 2002-09-05 Jim Blandy <jimb@redhat.com>
15115 * gdb.threads/killed.exp: Fix test failure message.
15117 2002-09-04 Keith Seitz <keiths@redhat.com>
15119 * lib/mi-support.exp: Update copyright.
15120 (mi_gdb_test): Increase the priority of the expected pattern
15121 so that it matches gdb_test.
15123 2002-09-03 Keith Seitz <keiths@redhat.com>
15125 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15126 Use integer comparison instead of string comparison for testing
15127 whether binary was built.
15129 2002-09-03 Jim Blandy <jimb@redhat.com>
15131 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15133 2002-08-29 Jim Blandy <jimb@redhat.com>
15135 * gdb.threads/pthreads.exp: Move the portable thread compilation
15136 code into a function in lib/gdb.exp, and call that from here.
15137 * lib/gdb.exp (gdb_compile_pthreads): New function.
15139 2002-08-29 Keith Seitz <keiths@redhat.com>
15141 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15142 expect_out so that callers can get at it.
15144 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
15146 * gdb.threads/print-threads.c: New file.
15147 * gdb.threads/print-threads.exp: New file.
15148 * gdb.threads/schedlock.c: New file.
15149 * gdb.threads/schedlock.exp: New file.
15151 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15153 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15156 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15158 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15159 targets. The problem should be fixed now.
15161 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15163 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15164 2002-07-24 change that removes final dots from error messages.
15166 2002-08-13 Tom Tromey <tromey@redhat.com>
15168 * gdb.base/readline.exp: New file.
15170 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15172 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15175 2002-08-01 Andrew Cagney <cagney@redhat.com>
15177 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15178 CHILL_FOR_TARGET and CHILL_LIB.
15179 * configure.in (configdirs): Remove gdb.chill.
15180 * configure: Regenerate.
15181 * lib/gdb.exp: Obsolete references to chill.
15182 * gdb.fortran/types.exp: Ditto.
15183 * gdb.fortran/exprs.exp: Ditto.
15185 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15187 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15188 set Irix-specific compile and link flags.
15190 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15192 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15193 source files. The ``-o'' option doesn't work with the ``-E'' option
15194 when using the Irix compiler.
15196 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15198 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15199 Improve support for reusing an exec file. Copy exec file
15200 to target, and run gdbserver on the target instead of on the host.
15202 2002-07-18 Jim Blandy <jimb@redhat.com>
15204 * gdb.base/ending-run.exp: Don't expect to see the program end in
15205 some orderly fashion when we're running on a real stand-alone
15208 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15209 targets that don't support interrupts.
15211 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15213 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15215 Move comments in expect statements to inside the actions, so that they
15216 don't get matched against.
15218 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15220 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15221 function when asleep" test.
15223 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15225 * gdb.base/page.exp: Rewrite to handle problems with very long
15226 `info set' output. Update copyright.
15228 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15230 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15232 * gdb.hp/configure: Regenerate.
15233 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15234 * gdb.hp/gdb.threads-hp/configure: Delete file.
15235 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15237 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15239 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15240 setlocale, bindtextdomain and textdomain.
15242 2002-06-11 Jim Blandy <jimb@redhat.com>
15244 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15245 preprocessor macro information is present.
15247 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15250 2002-06-06 Michael Snyder <msnyder@redhat.com>
15252 * gdb.base/overlays.exp: Record addresses of overlay
15253 functions in TCL variables rather than in GDB variables,
15254 to avoid having GDB convert them to pointers (with loss
15257 * gdb.base/d10v.ld: Merge in several years worth of
15258 default linker script changes.
15259 * gdb.base/long_long.exp: Add check for sizeof (long double).
15261 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15263 * gdb.asm/asm-source.exp: Add x86-64 target.
15264 * gdb.asm/x86_64.inc: New.
15266 2002-05-30 Michael Chastain <mec@shout.net>
15268 From Benjamin Kosnik <bkoz@redhat.com>:
15269 * gdb.c++/m-static.cc: New file.
15270 * gdb.c++/m-static.exp: New file.
15272 2002-05-28 Michael Snyder <msnyder@redhat.com>
15274 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15277 2002-05-27 Michael Chastain <mec@shout.net>
15279 From Benjamin Kosnik <bkoz@redhat.com>:
15280 * gdb.c++/m-data.cc: New file.
15281 * gdb.c++/m-data.exp: New file.
15283 2002-05-27 Michael Chastain <mec@shout.net>
15285 From Benjamin Kosnik <bkoz@redhat.com>:
15286 * gdb.c++/try_catch.cc: New file.
15287 * gdb.c++/try_catch.exp: New file.
15289 2002-05-27 Michael Chastain <mec@shout.net>
15291 * gdb.c++/local.exp: Accept more nested types in output.
15293 2002-05-26 Michael Chastain <mec@shout.net>
15295 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15297 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15299 * lib/gdb.exp (gdb_wrapper_init): Just because
15300 gdb_wrapper_file exists, this does not mean that the file
15301 should not be rebuilt. That is what gdb_wrapper_initialized
15303 (default_gdb_init): Reset gdb_wrapper_initialized.
15305 2002-05-23 Michael Snyder <msnyder@redhat.com>
15307 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15308 the precision of the floating point test results.
15309 * gdb.base/call-rt-st.exp: Ditto.
15311 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15312 * gdb.base/call-rt-st.exp: Ditto.
15314 2002-05-19 Michael Chastain <mec@shout.net>
15316 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15318 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15320 * configure.in (configdirs): Add gdb.arch.
15321 * configure: Regenerate.
15323 2002-05-17 Jim Blandy <jimb@redhat.com>
15325 * gdb.base/completion.exp: Recognize the more detailed error
15326 messages produced by the macro expander's lexical analyzer.
15328 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15330 * gdb.arch/altivec-abi.c: New file.
15331 * gdb.arch/altivec-abi.exp: New file.
15332 * gdb.arch/altivec-regs.c: New file.
15333 * gdb.arch/altivec-regs.exp: New file.
15335 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15337 * gdb.base/maint.exp (maint print type): Update for new type
15340 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15342 * gdb.arch: New directory.
15343 * gdb.arch/configure.in: New file.
15344 * gdb.arch/configure: New file.
15345 * gdb.arch/Makefile.in: New file.
15347 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15349 * gdb.asm/asm-source.exp: Add v850 as supported target.
15350 * gdb.asm/v850.inc: New file.
15352 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15354 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15356 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15358 * gdb.base/break.exp: Check 'break "marker2"'.
15360 2002-05-10 Michael Snyder <msnyder@redhat.com>
15362 * gdb.base/long_long.exp: Fix typo.
15364 2002-05-10 Jim Blandy <jimb@redhat.com>
15366 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15369 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15370 Recognize more detailed error message produced by the macro
15371 expander's lexical analyzer.
15372 * lib/gdb.exp (test_print_reject): Same.
15374 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15376 * gdb.c++/method.exp: Fix typo.
15378 2002-05-08 Michael Snyder <msnyder@redhat.com>
15380 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15381 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15382 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15383 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15384 Add iftarget clause for strongarm.
15386 2002-05-06 Michael Snyder <msnyder@redhat.com>
15388 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15389 (gdb_continue_to_end): Accept output from status wrapper.
15390 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15391 Clean up fail messages to match pass messages.
15393 Enable the "needs_status_wrapper" testsuite feature.
15394 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15395 (gdb_compile): Conditionally call gdb_wrapper_init.
15396 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15397 * gdb.c++/method.exp: Recognize output from status wrapper.
15399 2002-05-06 Ben Elliston <bje@redhat.com>
15400 From Graydon Hoare <graydon@redhat.com>
15402 * config/sid.exp: Include support for "rawsid" protocol.
15404 2002-05-03 Jim Blandy <jimb@redhat.com>
15406 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15407 * gdb.c++/hang3.C: New file.
15409 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15411 * gdb.base/default.exp: Remove obsolete code.
15412 * gdb.c++/misc.exp: Ditto. Update copyright.
15413 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15414 * gdb.base/whatis.exp: Ditto. Update copyright.
15415 * gdb.base/scope.exp: Ditto. Update copyright.
15416 * gdb.base/ptype.exp: Ditto. Update copyright.
15417 * gdb.base/printcmds.exp: Ditto. Update copyright.
15418 * gdb.base/opaque.exp: Ditto. Update copyright.
15419 * gdb.base/list.exp: Ditto.
15420 * gdb.base/funcargs.exp: Ditto. Update copyright.
15421 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15422 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15423 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15424 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15425 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15426 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15428 2002-05-02 Michael Snyder <msnyder@redhat.com>
15430 * gdb.base/watchpoint.exp: Add xscale target.
15431 * gdb.base/long_long.exp: Add xscale target.
15432 * gdb.base/default.exp: Add xscale target.
15434 2002-05-01 Jim Blandy <jimb@redhat.com>
15436 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15437 gdb.c++/hang.exp: New test.
15439 2002-05-01 Fred Fish <fnf@redhat.com>
15441 * gdb.base/completion.exp: Handle completions of "./Make" for
15442 more than one completion possibility, as is the case when we
15443 build and test in the source tree.
15445 2002-04-29 Anthony Green <green@redhat.com>
15447 * gdb.java/jmisc1.exp: New file.
15448 * gdb.java/jmisc2.exp: New file.
15450 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15452 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15454 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15456 * gdb.base/help.exp: Change 'help status' to allow for target
15457 dependent output differences.
15459 2002-04-22 Michael Chastain <mec@shout.net>
15461 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15463 2002-04-22 Michael Chastain <mec@shout.net>
15465 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15467 2002-04-17 David S. Miller <davem@redhat.com>
15469 * gdb.asm/sparc64.inc: New file.
15470 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15472 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15474 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15475 instruction file directly into the build tree. Clean up at end of
15478 2002-04-18 David S. Miller <davem@redhat.com>
15480 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15481 handle 64-bit platforms correctly.
15482 * gdb.base/maint.exp: Likewise.
15484 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15486 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15487 ``-fpic'' when compiling files comprising a shared library, but
15488 it does need additional linker flags in order to find shared
15489 libraries at run time.
15491 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15493 * gdb.base/cvexpr.c (use): New function.
15494 (main): Invoke use() on all global variables to prevent
15495 some linkers from deleting these otherwise unused symbols.
15497 2002-04-17 Michael Chastain <mec@shout.net>
15498 From David S. Miller <davem@redhat.com>
15500 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15501 handle 64-bit platforms correctly.
15503 2002-04-12 Michael Snyder <msnyder@redhat.com>
15504 From Jim Blandy <jimb@redhat.com>
15505 * gdb.base/foo.c (foox): Remove section attribute; the linker
15506 script can handle this instead.
15507 * gdb.base/bar.c (barx): Same.
15508 * gdb.base/baz.c (bazx): Same.
15509 * gdb.base/grbx.c (grbxx): Same.
15511 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15512 manager doesn't automatically unmap overlays unnecessarily.
15514 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15516 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15517 stepping out of main.
15519 2002-04-09 Michael Chastain <mec@shout.net>
15521 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15522 scope so that the nested scope tests will make sense.
15523 * gdb.c++/local.exp: Write patterns that actually work with gcc
15524 (the HP patterns "were never known to work with gcc").
15525 Keep the old aCC patterns too.
15527 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15529 * gdb.base/attach.exp: Correct target board test.
15531 2002-04-08 Michael Chastain <mec@shout.net>
15533 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15534 in a const method. Add some xfail and fail cases for configurations
15535 that do not emit the "const ...".
15537 2002-04-07 Michael Chastain <mec@shout.net>
15539 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15540 Accept "A * const" and "const A * const" as type of "this".
15541 Fix spelling of getFunky throughout. Make messages uniform.
15543 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15545 Work around for PR gdb/285:
15546 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15548 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15550 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15551 instructions file at run time instead of configure time.
15552 Sometimes we run the test in a directory that is not the one we
15554 * gdb.asm/configure.in: Delete creation of symlink.
15555 * gdb.asm/configure: Regenerate.
15557 2002-04-05 J. Brobecker <brobecker@gnat.com>
15559 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15560 xfullpath () function.
15562 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15564 * gdb.asm/Makefile.in: Correct dependencies.
15566 * gdb.asm/powerpc.inc: New file.
15567 * gdb.asm/asm-source.exp: Add PowerPC.
15568 * gdb.asm/configure.in: Likewise.
15569 * gdb.asm/configure: Regenerated.
15571 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15573 * gdb.base/relocate.exp: New file.
15574 * gdb.base/relocate.c: New file.
15576 2002-04-04 Fred Fish <fnf@redhat.com>
15578 * gdb.base/step-test.exp: Update comment regarding stopping in
15579 memcpy/bcopy calls inserted as part of the compiler runtime.
15581 2002-04-04 Michael Snyder <msnyder@redhat.com>
15583 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15585 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15587 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15588 (gdb_expect): Remove $notransfer hack.
15590 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15592 * gdb.c++/classes.exp ("calling method for small class"): Match
15593 updated register output.
15595 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15598 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15599 when finished. Make gdb_file_cmd send "exec-file" when
15602 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15604 * gdb.base/attach.exp: Remove extra setup_xfail.
15606 2002-03-26 Michael Snyder <msnyder@redhat.com>
15608 * gdb.base/default.exp: Add tests for dump, append, and restore.
15609 * gdb.base/help.exp: Add tests for dump, append, and restore.
15610 * gdb.base/dump.exp: New file, test dump, append and restore.
15611 * gdb.base/dump.c: New file.
15613 2002-03-27 Michael Snyder <msnyder@redhat.com>
15615 * gdb.base/help.exp: Modify expect strings to reflect
15616 clean-ups in help messages.
15618 2002-03-26 Fred Fish <fnf@redhat.com>
15620 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15621 have debugging info for those functions and the compiler uses them
15622 internally to copy structs around.
15624 2002-03-26 Fred Fish <fnf@redhat.com>
15626 * gdb.base/list.exp: Revert the change made yesterday and add note
15627 about why we don't list the default lines for remote targets.
15629 2002-03-25 Michael Snyder <msnyder@redhat.com>
15631 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15633 2002-03-25 Fred Fish <fnf@redhat.com>
15635 * gdb.base/list.exp: This test works on remote targets so remove
15636 the short circuit for remote targets. Update copyright.
15638 2002-03-25 Fred Fish <fnf@redhat.com>
15640 * gdb.base/attach.exp: Fix logic error that was suppressing this
15641 test for all non hppa*-*-hpux* targets, instead of the hp target.
15642 Move comments closer to the suppression point. Also now need to
15643 check that we are running natively.
15645 2002-03-22 Michael Snyder <msnyder@redhat.com>
15647 * gdb.base/default.exp: Add test for gcore. Update copyright.
15648 * gdb.base/help.exp: Add test for gcore. Update copyright.
15650 2002-03-06 Fred Fish <fnf@redhat.com>
15652 * gdb.base/funcargs.c: Remove extraneous ';' character.
15653 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15655 2002-03-04 Michael Chastain <mec@shout.net>
15657 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15658 accommodate gcc v3 function signature.
15659 * gdb.mi/mi0-var-cmd-exp: Ditto.
15661 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15663 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15664 ``GNU/Linux'' or ``Linux kernel''
15665 * testsuite/gdb.threads/pthreads.c: Ditto.
15667 2002-02-24 Michael Chastain <mec@shout.net>
15669 * gdb.threads/pthreads.c (thread1): Add a return statement.
15670 (thread2): Likewise.
15673 2002-02-23 Michael Chastain <mec@shout.net>
15675 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15678 2002-02-23 Michael Chastain <mec@shout.net>
15680 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15681 test "ptype bint". The test passes on all my stabs configurations.
15683 2002-02-21 Jim Blandy <jimb@redhat.com>
15685 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15686 filename at a time, and watch for the ones we want to see.
15688 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15689 types of pointers to prototyped functions.
15691 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15693 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15694 signed, unsigned and straight char.
15695 (padding_char, padding_short, padding_int, padding_long,
15696 padding_long_long, padding_float, padding_double,
15697 padding_long_double): New global variables.
15698 (fill, fill_structs): New functions.
15700 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15701 for correctly sized writes. Update copyright.
15702 (get_valueof): New procedure.
15703 (get_sizeof): Call get_valueof.
15704 (check_valueof): New procedure.
15705 (check_padding): New procedure.
15707 2002-02-20 Michael Chastain <mec@shout.net>
15709 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15710 to setup_xfail. Document some of the remaining calls.
15712 2002-02-18 Michael Chastain <mec@shout.net>
15714 * gdb.c++/userdef.exp: Update copyright year.
15716 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15718 * gdb.c++/userdef.exp: Test overloaded operators properly.
15721 2002-02-14 Michael Snyder <msnyder@redhat.com>
15723 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15725 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15727 * gdb.base/a2-run.exp: Check for a remote target properly.
15728 * gdb.base/annota1.exp: Likewise.
15729 * gdb.base/list.exp: Likewise.
15730 * gdb.base/reread.exp: Likewise.
15731 * gdb.base/scope.exp: Likewise.
15732 * gdb.base/shlib-call.exp: Likewise.
15733 * gdb.base/term.exp: Likewise.
15734 * gdb.c++/annota2.exp: Likewise.
15736 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15738 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15740 2002-02-10 Michael Chastain <mec@shout.net>
15742 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15743 (call_after_alloca): Ditto.
15745 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15747 * gdb.base/ending-run.exp: Guard "cont" test with
15748 gdb_skip_stdio_test.
15750 2002-02-06 Jim Blandy <jimb@redhat.com>
15752 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15754 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15755 To here. Disable this test on non-HP platforms. Add big comment.
15757 2002-02-04 Michael Snyder <msnyder@redhat.com>
15759 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15760 other than d10v and m32r.
15762 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15764 * gdb.base/default.exp: Rewrite test patterns to reduce time
15765 taken to match them.
15767 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15769 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15770 Allow a start function above main.
15771 * gdb.threads/linux-dp.exp: Fix copyright date.
15773 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15775 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15776 (check_philosopher_stack): Check for manager thread before checking
15777 for a just-starting thread.
15779 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15781 From Neil Booth <neil@daikokuya.demon.co.uk>:
15782 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15785 2002-01-21 Fred Fish <fnf@redhat.com>
15787 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15790 2002-01-21 Jim Blandy <jimb@redhat.com>
15792 * gdb.base/reread.exp: Check that GDB properly re-reads the
15793 executable file when it changes while no inferior is running.
15795 2002-01-21 Fred Fish <fnf@redhat.com>
15797 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15798 optionally accept the "shlib events" variation.
15800 2002-01-21 Jim Blandy <jimb@redhat.com>
15802 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15803 call `fflush' after every `printf', so that the output is produced
15804 at predictable points, regardless of whatever buffering does (or
15805 doesn't) take place.
15806 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15807 at different points.
15809 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15811 * gdb.c++/inherit.exp: Update copyright years.
15812 * gdb.c++/method.exp: Likewise.
15814 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15816 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15817 artificial methods/arguments.
15818 * gdb.c++/derivation.exp: Likewise.
15819 * gdb.c++/inherit.exp: Likewise.
15820 * gdb.c++/method.exp: Likewise.
15821 * gdb.c++/virtfunc.exp: Likewise.
15823 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15825 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15826 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15827 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15828 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15829 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15830 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15832 2002-01-17 Jim Blandy <jimb@redhat.com>
15834 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15835 anchoring the pattern matching the entry point symbol's name.
15837 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15839 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15840 continue/quit query. Update copyright.
15842 2002-01-14 Michael Snyder <msnyder@redhat.com>
15844 * gdb.base/gcore.exp: Remove extra debugging output.
15846 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15848 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15849 for slightly dubious v2 mangled string.
15851 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15853 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15855 2002-01-10 Jason Merrill <jason@redhat.com>
15857 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15859 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15861 * gdb.c++/derivation.exp: Likewise.
15862 * gdb.c++/templates.exp: Likewise.
15863 * gdb.c++/virtfunc.exp: Likewise.
15865 2002-01-10 Michael Snyder <msnyder@redhat.com>
15867 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15869 2002-01-08 Michael Snyder <msnyder@redhat.com>
15871 * gdb.base/gcore.exp: New test for generate-core-file command.
15872 * gdb.base/gcore.c: Testcase for above.
15873 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15875 2002-01-08 Jason Merrill <jason@redhat.com>
15877 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15879 2002-01-07 Fred Fish <fnf@redhat.com>
15881 * gdb.c++/overload.exp: Remove unconditional xfails for:
15882 print foo_instance1.overloadargs(1)
15883 print foo_instance1.overloadargs(1, 2)
15884 print foo_instance1.overloadargs(1, 2, 3)
15885 print foo_instance1.overloadargs(1, 2, 3, 4)
15886 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15887 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15888 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15889 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15890 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15891 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15892 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15893 print foo_instance1.overload1arg()
15894 print foo_instance1.overload1arg((char)arg2)
15895 print foo_instance1.overload1arg((signed char)arg3)
15896 print foo_instance1.overload1arg((unsigned char)arg4)
15897 print foo_instance1.overload1arg((int)arg7)
15898 print foo_instance1.overload1arg((unsigned int)arg8)
15899 print foo_instance1.overload1arg((float)arg11)
15900 print foo_instance1.overload1arg((double)arg12)
15902 2002-01-07 Michael Snyder <msnyder@redhat.com>
15904 * gdb.base/huge.exp: New test. Print a very large target data object.
15905 (skip_huge_test): New test variable. Define if you want to skip this
15906 test. The test reads an 8 megabyte data object from the target, so it
15907 might be very time consuming on remote targets with a slow connection.
15908 * gdb.base/huge.c: New file. Test case for above.
15910 2002-01-07 Fred Fish <fnf@redhat.com>
15912 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15913 g_instance.bfoo, and g_instance.cfoo.
15915 2002-01-07 Jeffrey A Law <law@redhat.com>
15917 * gdb.base/break.c (multi_line_if_conditional): New function.
15918 (multi_ilne_while_conditional): Likewise.
15919 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15920 IF or WHILE condition puts the breakpoint at the start of
15923 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15924 hppa*-*-hpux* expected failure.
15925 * gdb.base/structs.exp (do_function_calls): Similarly.
15927 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15930 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15933 * gdb.base/structs.exp: Replace skip for a29k with skip for
15934 gdb,cannot_call_functions.
15935 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15936 * gdb.base/callfuncs.exp: Ditto.
15937 * gdb.base/call-rt-st.exp: Ditto.
15938 * gdb.base/call-strs.exp: Ditto.
15939 * gdb.base/callfwmall.exp: Ditto.
15940 * gdb.base/scope.exp: Obsolete xfail a29k.
15941 * gdb.c++/misc.exp: Ditto.
15942 * gdb.c++/cplusfuncs.exp: Ditto.
15943 * gdb.base/ptype.exp: Ditto.
15944 * gdb.base/printcmds.exp: Ditto.
15945 * gdb.base/opaque.exp: Ditto.
15946 * gdb.base/list.exp: Ditto.
15947 * gdb.base/funcargs.exp: Ditto.
15948 * gdb.base/default.exp: Ditto.
15950 2002-01-04 Michael Snyder <msnyder@redhat.com>
15952 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15953 * gdb.base/maint.exp: Add tests for maint info sections options.
15955 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15957 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15959 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15961 * gdb.asm/arm.inc: New file.
15962 * gdb.asm/asm-source.exp: Add arm targets.
15963 * gdb.asm/configure.in: Ditto.
15964 * gdb.asm/configure: Recreated from configure.in.
15966 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15968 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15969 with HP's compiler.
15970 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15971 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15972 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15973 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15975 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15976 either HP's compilers or GCC.
15978 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15979 a SIGBUS or SIGSEGV.
15981 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15983 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15984 can be compiled with either HP's compiler or GCC.
15986 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15987 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15988 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15990 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15991 to match current gdb output. Update due to using auto-solib-limit
15992 for limiting instead of overloading auto-solib-add.
15993 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15996 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15997 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15998 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15999 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16000 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16001 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16002 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16003 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16004 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16005 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16006 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16007 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16008 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16010 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16011 a SIGTRAP to the inferior.
16013 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
16015 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16016 Substitute call to target_link by call to gdb_compile.
16018 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16020 * gdb.base/break.exp: Fix HP specific search string when testing
16021 backtracing in a called function.
16023 * gdb.base/constvars.exp: Only set lang to C++ if we're
16024 compiling the test with HP's compilers.
16025 * gdb.base/volatile.exp: Similarly.
16027 2001-12-19 Jim Blandy <jimb@redhat.com>
16029 * gdb.base/printcmds.exp: Expect the null character to be printed
16030 as '\0', and the '\013' to be printed as '\v'.
16031 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16032 * gdb.base/setvar.exp: Same.
16034 2001-12-17 Jim Blandy <jimb@redhat.com>
16036 * gdb.base/completion.exp: Rather than completing very long
16037 filenames, which can make the readline library produce output we
16038 don't recognize, cd to the directory first, and then complete
16039 using nice, short relative paths.
16041 * gdb.base/completion.exp: On some systems, there is, in fact, a
16042 variable named `b' in scope, since GDB treats all static
16043 variables as being in scope. So use `no_var_named_this'
16046 * gdb.base/corefile.exp: Recognize the message saying that GDB
16047 can't find the core file's registers as a failure.
16049 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16051 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16052 test expect string more specific.
16054 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
16056 * gdb.asm/asm-source.exp: Add support for xstormy16.
16057 * gdb.asm/configure.in: Ditto.
16058 * gdb.asm/configure: Rebuild.
16059 * gdb.asm/xstormy16.inc: New file.
16061 2001-12-10 Fred Fish <fnf@redhat.com>
16063 * gdb.base/maint.exp: Update to match changes in type dumping code.
16065 2001-12-10 Jim Blandy <jimb@redhat.com>
16067 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16068 matching the entry point symbol's name at the beginning of the
16071 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16073 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16074 gdb.c++/inherit.exp, gdb.c++/method.exp,
16075 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16076 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16077 and class layout support.
16079 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16081 * gdb.c++/classes.exp: Add test for static member function.
16082 * gdb.c++/misc.cc: Add class with static member function.
16084 2001-12-07 Jim Blandy <jimb@redhat.com>
16086 If GDB says it can't find the struct the function returned, report
16087 those tests as `unsupported'.
16088 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16089 Rewrite subsequent tests to use it.
16091 If GDB says it can't find the struct the function returned, report
16092 those tests as `unsupported'.
16093 * gdb.base/structs.exp (call_struct_func): New function.
16094 (do_function_calls): Use call_struct_func to call the functions
16097 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16098 whether functions are prototyped or not, so we can't possibly pass
16099 arguments to t_float_values2 properly.
16101 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16102 value of `timeout' for targets other than the mips*tx39-*.
16104 2001-12-06 Michael Snyder <msnyder@redhat.com>
16106 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16107 and detect whether the start symbol has a leading underscore.
16109 2001-12-04 Jim Blandy <jimb@redhat.com>
16111 * gdb.base/completion.exp: Clarify indentation.
16113 2001-12-03 Jim Blandy <jimb@redhat.com>
16115 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16116 variables on the S/390, not `.word'.
16118 2001-11-30 Jim Blandy <jimb@redhat.com>
16120 Add assembly-source tests for s390-ibm-linux.
16121 * gdb.asm/s390.inc: New file.
16122 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16123 the S/390 architecture.
16124 * gdb.asm/configure: Regenerated.
16126 2001-11-30 Michael Snyder <msnyder@redhat.com>
16128 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16129 next, info source, info sources, info line, global and static
16130 variables, and static functions.
16131 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16132 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16133 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16134 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16135 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16136 (gdbasm_leave): Restore frame pointer.
16137 (gdbasm_startup): Copy stack set-up from crt0.S.
16139 2001-11-26 Fernando Nasser <fnasser@redhat.com>
16141 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16142 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16143 to a local (non-static) variable. Copy tstruct.a to a static buffer
16144 and return a pointer to that buffer.
16145 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16147 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16149 * gdb.asm/configure.in: Fix recognition of ix86 target.
16150 * gdb.asm/configure: Regenerate.
16152 2001-11-21 Michael Snyder <msnyder@redhat.com>
16154 * gdb.asm/sparc.inc: New file.
16155 * gdb.asm/asm-source.exp: Recognize sparc target.
16156 * gdb.asm/configure.in: Recognize sparc target.
16157 * gdb.asm/configure: Regenerate.
16159 2001-11-21 Michael Snyder <msnyder@redhat.com>
16161 * gdb.asm/m32r.inc: New file.
16162 * gdb.asm/asm-source.exp: Recognize m32r target.
16163 * gdb.asm/configure.in: Recognize m32r target.
16164 * gdb.asm/configure: Regenerate.
16166 2001-11-20 Michael Snyder <msnyder@redhat.com>
16168 * gdb.asm/i386.inc: New file.
16169 * gdb.asm/asm-source.exp: Recognize ix86 target.
16170 * gdb.asm/configure.in: Recognize ix86 target.
16171 * gdb.asm/configure: Regenerate.
16173 * gdb.c++/namespace.exp: Fix quotes in output messages.
16175 2001-11-14 Michael Snyder <msnyder@redhat.com>
16177 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16178 qualifier in a type cast expression, to designate an address
16179 in the instruction space (Harvard architecture).
16181 2001-11-13 Michael Snyder <msnyder@redhat.com>
16183 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16184 Tests for expressions using 'const' and 'volatile'.
16186 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16188 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16190 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16192 * lib/mi-support.exp (mi_run_to_helper): Move comments
16193 outside of gdb_expect.
16195 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16197 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16198 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16199 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16200 mi0_run_to): New functions.
16201 * gdb.mi/mi-simplerun.exp: Use them.
16202 * gdb.mi/mi0-simplerun.exp: Likewise.
16203 * gdb.mi/mi-var-cmd.exp: Likewise.
16204 * gdb.mi/mi0-var-cmd.exp: Likewise.
16206 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16208 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16209 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16211 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16213 * gdb.base/restore.exp: Include $expected value in restored test
16216 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16218 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16221 2001-11-08 Michael Snyder <msnyder@redhat.com>
16223 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16224 Add pass/fail message for stop at breakpoint in call dummy function.
16226 2001-11-07 Michael Snyder <msnyder@redhat.com>
16228 * gdb.c++/templates.exp (test_template_breakpoints):
16229 If we get an overload menu, but it does not match what
16230 we expect, we still need to issue the "cancel" command.
16231 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16232 making the whitespace optional. Argument for "new" may be
16233 "unsigned" as well as "unsigned int/long".
16234 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16235 making the whitespace optional. Also replace "(void) with
16236 "((void|)), making the keyword "void" optional.
16237 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16238 making the whitespace optional. Also replace "(void) with
16239 "((void|)), making the keyword "void" optional.
16240 * gdb.base/callfuncs.c (t_float_values): This function must
16241 _not_ be prototyped, and the following function (t_float_values2)
16242 must be prototyped (if the compiler supports it), so that GDB
16243 can be tested against both cases. Usually one case involves
16244 promotion of float to double, while the other does not.
16245 * gdb.base/callfwmall.c: Ditto.
16246 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16247 includes a stack frame for "start".
16249 2001-11-05 Jim Blandy <jimb@redhat.com>
16251 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16252 pointers are 32 bits long, and that offsets of relocs are always
16253 stored in the data (REL-style), and not in the reloc entry itself
16255 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16258 2001-11-01 Michael Snyder <msnyder@redhat.com>
16260 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16261 and regular expression operators by using quoting.
16263 2001-10-31 Michael Snyder <msnyder@redhat.com>
16265 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16266 depending on what the symbol table contains.
16267 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16268 the output of the ptype command. Similarly, accept both "const &"
16271 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16273 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16274 symbol `STORAGE' to allow to choose the storage class of
16275 the local datastructures.
16276 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16277 compiler directive.
16279 2001-10-30 Michael Snyder <msnyder@redhat.com>
16281 * gdb.base/jump.exp: Allow it to run for all targets.
16283 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16285 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16286 with new double_array size.
16287 (main): Change storage class of all local variables to static.
16288 Reduce size of double_array to 9.
16289 * gdb.base/call-ar-st.exp: Increase timeout value.
16290 Change expected output for double array to match new size in
16293 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16295 * gdb.base/ending-run.exp: Create identical output when passing
16296 `step to end of run' case. Add regular expression branch satisfying
16299 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16301 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16302 that we catch the expected failure under Linux/x86.
16304 2001-10-29 Orjan Friberg <orjanf@axis.com>
16306 * gdb.base/setvar.exp: Escape curly braces.
16307 * gdb.stabs/weird.exp: Ditto.
16309 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16311 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16312 * gdm.mi/mi0-hack-cli.exp: Likewise.
16314 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16316 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16319 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16321 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16322 checking MI enabled.
16324 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16326 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16328 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16330 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16331 if gdb child process crashes, just signal an error.
16333 2001-10-02 Jim Blandy <jimb@redhat.com>
16335 * lib/gdb.exp (test_xfail_format): Simplify.
16337 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16338 front of the variable name `format'. Simplify `if'.
16340 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16342 * gdb.threads/pthreads.exp: Wait for output and delay
16345 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16347 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16348 some incorrect output instead of timing out.
16349 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16351 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16353 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16354 check to allow additional `int'.
16356 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16358 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16359 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16361 2001-09-27 Michael Snyder <msnyder@redhat.com>
16363 * lib/gdb.exp (test_debug_format): New proc.
16364 (setup_xfail_format): Use new proc test_debug_format.
16365 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16366 proc; use new service proc test_debug_format.
16367 Replace all other "gcc_compiled" tests with this test.
16368 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16369 proc; use new service proc test_debug_format.
16370 Replace all other "gcc_compiled" tests with this test.
16372 2001-09-27 Michael Snyder <msnyder@redhat.com>
16374 * gdb.base/cvexpr.exp: New file.
16375 * gdb.base/cvexpr.c: New file
16376 Test for expressions using const and volatile keywords.
16378 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16380 * gdb.base/constvars.exp: Check for different orders of keywords
16381 and additional "int" strings in output.
16383 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16385 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16386 responses from "help maint".
16388 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16390 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16391 to localhost:NNN instead of :NNN, in case Xvfb is listening
16394 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16396 * gdb.base/recurse.exp: When checking leaving the watchpoint
16397 scope, recognize when gdb is in function's epilogue and pass.
16399 2001-09-18 Keith Seitz <keiths@redhat.com>
16401 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16402 support for running tests against sid targets.
16403 (gdbtk_done): Ditto.
16405 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16407 * gdb.base/ending-run.c (main): Set stdout buffersize
16408 to the same reasonable value for any target.
16409 * gdb.base/ending-run.exp: Add a regular expression
16410 to make testsuite happy on Sanyo Stormy16 target.
16412 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16414 * gdb.base/display.c (do_loops): Add float variable `f'.
16415 Increment f in loop.
16416 * gdb.base/display.exp: Increment timeout by 60 seconds.
16417 Change float display test to use variable `f'.
16419 2001-09-17 Jim Blandy <jimb@redhat.com>
16421 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16422 overflowing the limited breakpoint tables on some ROM monitors
16425 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16427 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16428 the "-ac" (disable access control) flag.
16430 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16432 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16435 2001-08-30 Keith Seitz <keiths@redhat.com>
16437 * lib/gdb.exp: Move all insight-related functionality into
16439 * lib/insight-support.exp: New file.
16441 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16443 * config/sid.exp (sid_start): Never set sid verbosity; disable
16444 expect_background {} that consumed its stdout; tolerate </dev/null.
16445 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16447 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16449 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16450 CLI jump command to start it.
16451 (mi_run_to_main): Fail immediatly when unexpected output.
16453 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16455 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16456 beginning of function. Fix PR gdb/191.
16458 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16460 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16461 what to force sid endianness to.
16463 2001-08-15 Keith Seitz <keiths@redhat.com>
16465 * lib/gdb.exp (gdbtk_start): Don't set environment
16466 variables for TCL_LIBRARY and friends. Insight will
16467 now figure these out for itself.
16469 2001-08-02 Michael Snyder <msnyder@redhat.com>
16471 * gdb.base/completion.exp: Remove the symbol "a64l" from
16472 the expect string; this is target-specific, and not related
16473 to what is being tested.
16475 2001-08-02 Dave Brolley <brolley@redhat.com>
16477 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16479 2001-07-25 Michael Snyder <msnyder@redhat.com>
16481 * gdb.base/consecutive.exp: New file. Test stepping over
16482 breakpoints on consecutive instructions.
16483 * gdb.base/consecutive.c: New file.
16485 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16486 curly braces in regular expressions.
16488 2001-07-25 Michael Snyder <msnyder@redhat.com>
16490 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16491 legitimate output from stepping out of main.
16493 2001-07-22 Keith Seitz <keiths@redhat.com>
16495 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16496 the empty string, do not run the tests.
16498 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16500 * gdb.base/long_long.exp: Detect size of pointer. Take into
16501 account 2-byte pointers when testing for p/a results.
16503 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16505 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16506 and defined to 1K for m68hc11.
16507 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16508 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16509 (sizeof_random_data): New variable to tell the size of the data table;
16510 don't test past this size; always run to main.
16512 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16514 * gdb.base/return2.exp: return of long long and double fails for
16515 68HC11; don't execute these tests on that platform.
16516 * gdb.base/return.exp: Return of a double fails for 68hc11.
16518 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16520 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16521 tests that print a float.
16522 * call-rt-st.exp: Likewise.
16524 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16526 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16527 running this test on Linux.
16529 2001-06-24 Michael Chastain <chastain@redhat.com>
16531 * gdb.base/arithmet.exp: Remove some tests to make all test names
16534 2001-07-03 Michael Snyder <msnyder@redhat.com>
16536 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16537 the output of the ptype command.
16539 2001-07-02 Michael Snyder <msnyder@redhat.com>
16541 * gdb.base/completion.exp: Don't assume that break.c is the only
16542 source file that may contain functions named "marker".
16543 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16545 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16547 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16548 of files to delete.
16550 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16551 * gdb.disasm/h8300s.exp: New file.
16552 gdb.disasm/h8300s.s: Likewise.
16554 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16556 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16557 empty breakpoint tables.
16559 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16561 * lib/mi-support.exp: Update args=... part of stop-reason
16562 patterns. Accept either a list or a tuple.
16564 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16566 * lib/mi-support.exp: Remove local emacs variable defining
16567 change-log-default-name.
16569 2001-06-22 Michael Chastain <chastain@redhat.com>
16571 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16572 This is operationally compatible with the previous version.
16574 2001-06-13 Jim Blandy <jimb@redhat.com>
16576 * lib/gdb.exp (gdb_test): Doc fix.
16578 2001-06-10 Michael Chastain <chastain@redhat.com>
16580 * gdb.base/exprs.exp: Remove a duplicate test.
16582 2001-06-06 Jim Blandy <jimb@redhat.com>
16584 * gdb.base/return2.exp (main): Use values to test float and double
16585 returns that are not NaN's, to avoid being confused by IEEE
16588 2001-06-04 Michael Snyder <msnyder@redhat.com>
16590 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16591 non-zero if control_c fails. Terminate the test on failure,
16592 rather than wait for 12 more tests to time out.
16594 2001-06-06 Jim Blandy <jimb@redhat.com>
16596 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16597 Don't forget to match the GDB prompt.
16599 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16601 2001-06-04 Jim Blandy <jimb@redhat.com>
16603 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16606 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16608 * gdb.base/annota1.exp (info break): Match four or more spaces
16611 2001-05-31 Michael Chastain <chastain@redhat.com>
16613 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16614 (dm_type_int_star): Likewise.
16615 (dm_type_long_star): Likewise.
16616 (dm_type_void_star): Likewise.
16618 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16620 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16621 to a known value in order to get consistent results regardless
16622 of the setting of INPUTRC or the presence or contents of .inputrc.
16624 2001-05-24 Michael Snyder <msnyder@redhat.com>
16626 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16627 Don't require that the main thread and the manager thread are the
16630 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16631 debugging. If test fails, issue an "unsupported" not a "fail".
16633 2001-05-24 Jim Blandy <jimb@redhat.com>
16635 Don't assume that short is shorter than int.
16636 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16637 assume that shorts are smaller than ints. On a 16-bit machine,
16639 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16640 an int, is not equal to ~0 stored in an unsigned char. This tests
16641 the same thing that the previous test meant to, but works on
16642 16-bit machines, too.
16643 ("print unsigned char != (~0)"): Same test, complemented.
16645 2001-05-24 Michael Snyder <msnyder@redhat.com>
16647 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16648 test for (full_coverage == 0). This makes the test run faster,
16649 and prevents dejagnu getting out of step.
16651 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16653 * gdb.base/finish.exp (finish_void): Revise pattern for
16654 stopping on the call statement to not permit stopping at
16655 the start of the instructions comprising the call sequence.
16657 2001-05-19 Michael Chastain <chastain@redhat.com>
16659 * gdb.base/callfuncs.exp: Make all test names unique.
16660 * gdb.base/commands.exp: Make all test names unique.
16661 * gdb.base/condbreak.exp: Make all test names unique.
16662 * gdb.base/dbx.exp: Make all test names unique.
16663 * gdb.base/default.exp: Make all test names unique.
16664 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16665 and TIMEOUT messages to their corresponding PASS message.
16666 * gdb.base/ending-run.exp: Make all test names unique.
16667 * gdb.base/long_long.exp: Remove duplicate test.
16669 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16671 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16672 stop on the call statement as well as the statement after the
16675 2001-05-21 Michael Snyder <msnyder@redhat.com>
16677 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16679 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16681 * gdb.base/completion.exp: Revamp test. Make it execute on all
16684 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16686 * config/gdbserver.exp (gdb_load): Handle the case
16687 in which the arguments to gdbserver are given in the
16688 baseboard configuration file.
16689 Also handle the case in which the server needs to do a
16692 2001-05-07 Keith Seitz <keiths@cygnus.com>
16694 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16695 set up the display for testing.
16696 (gdbtk_start): Convert all paths to paths that tcl will like.
16697 Export target information to environment.
16698 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16700 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16701 (to_tcl_path): New proc to convert a given pathname into
16702 a path acceptible as an argument to a tcl command.
16703 (_gdbtk_export_target_info): New proc to export target info
16704 into the environment for gdbtk testing.
16705 (gdbtk_done): New proc to signal end-of-test.
16707 2001-05-06 Jim Blandy <jimb@redhat.com>
16709 * restore.c: Make the code of caller0 correspond to its comment.
16711 2001-05-03 Michael Snyder <msnyder@redhat.com>
16713 * config/sid.exp (gdb_target_sid): Check for error messages.
16714 On error or timeout, don't make expect exit (which will terminate
16715 all subsequent tests); instead just make gdb exit.
16716 (gdb_load): Check for error messages. On error or timeout,
16717 return a negative value.
16719 2001-04-24 Jim Blandy <jimb@redhat.com>
16721 * gdb.c++/templates.exp: If we see the prompt for the overload
16722 list, but we haven't recognized any of the longer patterns,
16723 arrange for this test to fail, not hang.
16725 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16728 2001-04-22 Michael Chastain <chastain@redhat.com>
16730 * gdb.c++/local.exp: Use the 'runto' library function.
16731 * gdb.c++/namespace.exp: Likewise.
16732 * gdb.c++/overload.exp: Likewise.
16734 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16736 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16737 * gdb.base/step-line.exp: New file. Test step/next in presence of
16739 * gdb.base/step-line.c: New file. Test program for the above.
16740 * gdb.base/step-line.inp: New file. We pretend that this file has
16741 been transformed by some other tool into step-line.c.
16743 2001-03-21 Jim Blandy <jimb@redhat.com>
16745 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16746 unmangled operator names.
16748 2001-03-20 Jim Blandy <jimb@redhat.com>
16750 * gdb.threads/linux-dp.exp: Recognize an additional message
16751 generated by GDB when it doesn't understand how to debug threads
16752 on the target system.
16754 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16756 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16758 2001-03-12 Michael Chastain <chastain@redhat.com>
16760 * gdb.c++/derivation.exp: Use the 'runto' library function.
16762 2001-03-12 Michael Chastain <chastain@redhat.com>
16764 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16766 2001-02-24 Michael Chastain <chastain@redhat.com>
16768 * gdb.c++/ref-types.exp: Change handwritten code to library
16771 2001-03-16 Orjan Friberg <orjanf@axis.com>
16773 * gdb.base/signals.exp: Set count to 0 explicitly.
16775 2001-03-15 Mark Salter <msalter@redhat.com>
16777 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16778 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16779 (gdb_load): Add support for additional target_info: gdb_download_size
16780 and gdb_load_timeout.
16782 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16784 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16785 file -- to prevent failing when the compile fails but we have no
16786 intention of running the tests anyway.
16788 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16791 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16794 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16795 * gdb.c++/namespace.exp: Ditto.
16797 2001-03-07 Orjan Friberg <orjanf@axis.com>
16799 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16800 * gdb.base/pointers.exp: Relax pattern match of decimals.
16802 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16804 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16805 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16806 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16807 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16808 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16809 config/sh.exp, config/sid.exp, config/slite.exp,
16810 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16811 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16812 config/vxworks.exp, config/vxworks29k.exp,
16813 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16814 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16815 gdb.base/arithmet.exp, gdb.base/assign.exp,
16816 gdb.base/async.exp, gdb.base/attach.exp,
16817 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16818 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16819 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16820 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16821 gdb.base/commands.exp, gdb.base/completion.exp,
16822 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16823 gdb.base/constvars.exp, gdb.base/corefile.exp,
16824 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16825 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16826 gdb.base/ending-run.exp, gdb.base/environ.exp,
16827 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16828 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16829 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16830 gdb.base/funcargs.exp, gdb.base/help.exp,
16831 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16832 gdb.base/logical.exp, gdb.base/long_long.exp,
16833 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16834 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16835 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16836 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16837 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16838 gdb.base/regs.exp, gdb.base/relational.exp,
16839 gdb.base/remote.exp, gdb.base/reread.exp,
16840 gdb.base/restore.exp, gdb.base/return2.exp,
16841 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16842 gdb.base/selftest.exp, gdb.base/setshow.exp,
16843 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16844 gdb.base/sigall.exp, gdb.base/signals.exp,
16845 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16846 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16847 gdb.base/step-test.exp, gdb.base/structs.c,
16848 gdb.base/structs.exp, gdb.base/structs2.exp,
16849 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16850 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16851 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16852 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16853 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16854 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16855 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16856 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16857 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16858 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16859 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16860 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16861 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16862 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16863 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16864 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16865 gdb.trace/circ.exp, gdb.trace/collection.exp,
16866 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16867 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16868 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16869 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16870 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16871 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16872 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16875 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16877 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16878 first arg is int not float.
16880 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16882 * gdb.base/reread.exp: Unsupported for non-native targets;
16883 doesn't work for remote debugging.
16885 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16887 From Drew Moseley <dmoseley@redhat.com>
16888 * gdb.base/ending-run.exp: Properly handle the BSP state when
16889 stepping past the end of main.
16891 2001-02-19 John Moore <jmoore@redhat.com>
16893 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16894 Converted HPUX fix for non-expected items following multiple
16895 step commands into general solution for all platforms.
16897 2001-02-18 Michael Chastain <chastain@redhat.com>
16899 * gdb.c++/classes.exp (do_tests): Change runto statements
16900 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16901 statements demangler agnostic.
16902 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16903 (gdb_virtfunc_restart): Likewise.
16905 2001-02-14 Michael Chastain <chastain@redhat.com>
16907 * gdb.c++/inherit.exp (do_tests): Change runto statements
16908 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16909 statements demangler agnostic.
16911 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16913 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16914 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16915 before calling common_routine 15 times'' tests.
16917 2001-02-11 Michael Chastain <chastain@redhat.com>
16919 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16920 Helps the test script figure out which demangler is in use.
16921 (dm_type_foo_ref): Ditto.
16922 (dm_type_int_star): Ditto.
16923 (dm_type_long_star): Ditto.
16924 (dm_type_unsigned_int): Ditto.
16925 (dm_type_void): Ditto.
16926 (dm_type_void_star): Ditto.
16927 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16928 Probe the gdb demangler and set variables to accommodate
16929 formatting differences.
16930 (info_func_regexp): New function. Same as info_func, but
16931 matches against a regexp.
16932 (info_func): Match against a literal string.
16933 (print_addr_2): New function. Match against a literal string,
16934 which can be different from the input to gdb.
16935 (print_addr): Simply call print_addr_2 with the same argument twice.
16936 (test_lookup_operator_functions): Use demangler formatting variables.
16937 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16938 the tests in the same order as the C++ class declaration.
16939 (test_paddr_operator_functions): Ditto.
16940 (test_paddr_overloaded_functions): Ditto.
16941 (test_paddr_hairy_functions): Use demangler formatting variables.
16942 Add reference to gdb/19 for related tests.
16943 (do_tests): Call probe_demangler.
16945 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16947 * gdb.c++/templates.cc (printf): Remove unused function definition.
16949 2001-01-26 Felix Lee <flee@redhat.com>
16951 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16953 2001-01-25 matthew green <mrg@redhat.com>
16955 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16957 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16959 2001-01-25 matthew green <mrg@redhat.com>
16961 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16962 Deprecate $sid_spawn_id.
16963 (sid_exit): Remove code necessary only for `spawn.'
16965 2001-01-25 matthew green <mrg@redhat.com>
16967 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16969 2001-01-28 Michael Chastain <chastain@redhat.com>
16971 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16972 to call when tests fail. It takes gdb out of the overloaded
16973 function choice menu back to the main prompt, so that the test
16974 program stays synchronized.
16975 (set_bp_overloaded): New proc to collect all the common
16976 code for setting a breakpoint on an overloaded name. Calls
16977 take_gdb_out_of_choice_menu when needed.
16978 (menu_overload1arg): New variable to collect the repeated
16979 instances of the expected menu for an overloaded name. Change
16980 the regular expression to handle changes in g++ type encoding:
16981 "void" can be either "void" or "", and "unsigned int" can be
16982 either "unsigned int" or "unsigned".
16983 (continue_to_bp_overloaded): Change regular expressions to handle
16984 changes in g++ type encoding.
16985 (no proc): Call take_gdb_out_of_choice_menu when needed.
16986 Remove redundant calls to "info break". Accept either "canceled"
16987 or "cancelled". Change regular expressions in "info break"
16988 calls to handle changes in g++ type encoding. Give all tests
16991 2001-01-17 Ben Elliston <bje@redhat.com>
16993 * config/sid.exp: New file.
16995 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16997 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16999 2000-12-21 Michael Snyder <msnyder@cygnus.com>
17001 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17002 Add a RE to accept a non-ascii char if one is ever presented.
17004 2000-12-20 Fernando Nasser <fnasser@redhat.com>
17006 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17008 2000-12-18 Michael Snyder <msnyder@cygnus.com>
17010 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17011 in regexp. One '\' does not suffice on Linux.
17013 2000-12-09 Michael Chastain <chastain@redhat.com>
17015 * gdb.base/break.exp (test_clear_command): Use a marker function
17016 rather than 'main' for the test function. Also move this
17017 test to an execution point where the marker function names are
17018 guaranteed to be bound to functions. (Executing tests after a
17019 'finish' from main runs into name conflicts with local names
17020 in __libc_start_main).
17022 2000-12-07 Michael Snyder <msnyder@cygnus.com>
17024 * gdb.base/finish.exp: New test for gdb's "finish" command.
17025 * gdb.base/return2.exp: New test for gdb's "return" command.
17026 * gdb.base/return2.c: New source file for above.
17028 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17030 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17031 * gdb.base/miscexprs.exp: Ditto.
17032 * gdb.base/pointers.exp: Ditto.
17033 * gdb.c++/derivation.exp: Ditto.
17034 * gdb.c++/local.exp: Ditto.
17035 * gdb.c++/namespace.exp: Ditto.
17036 * gdb.c++/overload.exp: Ditto.
17037 * gdb.c++/ref-types.exp: Ditto.
17039 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17041 * gdb.base/constvars.exp: Test result of "up" command.
17042 * gdb.base/miscexprs.exp: Ditto.
17043 * gdb.base/pointers.exp: Ditto.
17044 * gdb.base/scope.exp: Ditto.
17045 * gdb.c++/derivation.exp: Ditto.
17046 * gdb.c++/local.exp: Ditto.
17047 * gdb.c++/namespace.exp: Ditto.
17048 * gdb.c++/overload.exp: Ditto.
17049 * gdb.c++/ref-types.exp: Ditto.
17051 2000-11-22 Michael Chastain <chastain@redhat.com>
17053 * mips_pro.exp: Accept either "middle -> top -> main" or
17054 "middle -> main" in the backtrace, because gcc can optimize
17055 tail calls to jumps. Remove setup_xfail for the hppa case.
17056 Add a comment with the original warning messages from PR 3016,
17057 which was filed in 1993, to preserve them for posterity.
17059 2000-11-17 Nick Duffek <nsd@redhat.com>
17061 * lib/gdb.exp (gdb_test): Override timeout with board info.
17063 2000-11-17 Nick Duffek <nsd@redhat.com>
17065 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17066 the second kill and detach messages.
17068 2000-11-17 Nick Duffek <nsd@redhat.com>
17070 * configure.in: Add AC_EXEEXT.
17071 * configure: Regenerate.
17072 * Makefile.in (just-check): Export EXEEXT.
17073 * lib/gdb.exp ($EXEEXT): Import from environment.
17074 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17075 expect "maint dump-me" on Cygwin.
17076 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17079 2000-11-17 Nick Duffek <nsd@redhat.com>
17081 * gdb.base/break.exp: Test backtrace and finish from called
17082 function on all platforms, not just HP-UX.
17084 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17086 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17087 code from gdb_target_monitor, so it can be used independantly
17088 for gdbserver. Also comment out an unnecessary PUTS.
17090 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17092 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17093 * gdb.base/corefile.exp: Expect the message "Program is being
17094 debugged already" when we send the "corefile" command, since
17095 the preceeding gdb_load may have connected gdb to a remote target.
17096 * gdb.base/display.exp: Disable hardware watchpoints if new
17097 board info variable "no_hardware_watchpoints" is true.
17098 Replace single-letter commands with more readable ones.
17099 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17100 if new board info variable "no_hardware_watchpoints" is true.
17101 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17102 to see if stdio (printf) testing is possible.
17103 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17104 board info variable "no_hardware_watchpoints" is true. Use new
17105 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17107 2000-11-13 Fernando Nasser <fnasser@redhat.com>
17109 From Orjan Friberg <orjanf@axis.com>:
17110 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17111 in array print pattern match.
17113 2000-11-09 Fernando Nasser <fnasser@redhat.com>
17115 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17116 spelling "cancelled" to U.S. spelling "canceled" to match changes
17118 * gdb.c++/ovldbreak.exp: Ditto.
17120 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17122 * gdb.base/callfuncs.c (main): Moved to end of file, call
17123 t_double_values to initialize the FPU before inferior calls are made.
17124 * gdb.base/callfuncs.exp: Test for register preservation after calling
17125 inferior functions. Add tests for continuining, finishing and
17126 returning from a stop in a call dummy.
17128 2000-10-24 Michael Snyder <msnyder@cygnus.com>
17130 * gdb.base/commands.exp: Break up long lines, and re-indent.
17132 2000-10-19 Michael Snyder <msnyder@cygnus.com>
17134 * config/gdbserver.exp: Rewritten from the ground up, to make it
17135 compatible with the current dejagnu tree, and to make it work with
17136 the new "gdbserver" in libremote.
17138 2000-10-16 Michael Snyder <msnyder@cygnus.com>
17140 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17141 * gdb.base/varargs.exp: Skip entire test if no printf support.
17142 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17143 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17145 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17147 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17148 no floating point support.
17149 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17150 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17151 * gdb.base/call-rt-st.exp: Ditto.
17152 * gdb.base/call-strs.exp: Ditto.
17154 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17156 * gdb.base/sizeof.c: include <stdio.h>.
17158 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17159 'finish', otherwise uncaptured gdb_prompt would potentially
17160 throw remaining test points out of sync.
17162 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17164 * gdb.base/recurse.exp: Run tests for all targets.
17165 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17166 gnu-oldld case on ARM.
17167 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17170 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17172 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17173 * gdb.java/configure: Rebuild.
17175 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17177 * gdb.java/jv-exp.exp: New file.
17179 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17181 * configure: Rebuilt.
17182 * configure.in (configdirs): Add gdb.java.
17183 * gdb.java/jmisc.java: New file.
17184 * gdb.java/jmisc.exp: New file.
17185 * gdb.java/Makefile.in: New file.
17186 * gdb.java/configure: Rebuilt.
17187 * gdb.java/configure.in: New file.
17188 * lib/java.exp: New file.
17190 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17192 * gdb.base/exprs.exp: Test casts to a pointer including over and
17195 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17197 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17198 and the compilers sizes.
17200 2000-07-09 Nick Duffek <nsd@redhat.com>
17202 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17203 (use_methods): New function.
17204 (main): Call use_methods().
17205 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17206 (do_tests): Call test_method_param_class.
17208 2000-07-09 Nick Duffek <nsd@redhat.com>
17210 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17212 (test_enums): New procedure. Move enum tests from end of script
17213 to here. Set breakpoint on function name instead of line number.
17214 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17215 (enums2): New marker function.
17216 (enums1): New function.
17217 (main): Call enums1(). Move enum tests to enums1().
17219 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17221 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17222 compile/link program. Update line numbers.
17223 * gdb.asm/d10v.inc: Define ``startup''.
17224 * gdb.asm/asmsrc1.s: Add definition of _start.
17226 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17228 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17230 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17232 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17233 of 'help maint print' command.
17235 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17237 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17238 they use gdb_expect_list.
17240 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17242 * gdb.base/commands.exp: Use ``set remote
17243 memory-read-packet-size'' instead of ``set endian big'' to test
17246 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17248 * gdb.c++/templates.exp (do_tests): Make all of these work under
17249 g++, and stop skipping them.
17251 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17254 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17257 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17259 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17260 the regular expression: accept an (almost) arbitrary sequence of
17261 "frames-invalid" and "breakpoints-invalid" messages both before
17262 and after the "starting" message.
17264 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17266 * gdb.c++/local.exp: This test has never been known to work with g++.
17268 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17270 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17271 Relax the regular expression a little, make it pass on Solaris 8.
17273 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17275 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17276 a call, do not require that gdb stop on the line after the call.
17277 Instead, it is permissible for gdb to stop on the line of the
17280 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17282 * gdb.base/break.exp (bp on small function, optimized file):
17283 Add a second pass pattern. The behavior differs here between stabs
17284 and dwarf for one-line functions. Stabs preserves two line symbols
17285 (one before the prologue and one after) with the same line number,
17286 but dwarf regards these as duplicates and discards one of them.
17287 Therefore the address after the prologue (where the breakpoint is)
17288 has no exactly matching line symbol, and GDB reports the breakpoint
17289 as if it were in the middle of a line rather than at the beginning.
17291 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17293 * gdb.base/interrupt.exp: Make "pass" message say "send"
17294 rather than "send_gdb" (for consistancy).
17296 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17298 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17299 * gdb.c++/templates.cc: Properly check for GCC version number.
17300 * lib/compiler.cc: Likewise
17302 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17304 * gdb.base/break.exp: When compiled with -O2 optimization,
17305 gdb may not stop at the first line of main, due to code motion.
17307 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17309 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17310 This test depends on parsing the printf output from the target.
17311 Since the sparclet stub doesn't do stdio, this will never work.
17312 * gdb.base/call-rt-st.exp: ditto.
17313 * gdb.base/call-strs: ditto.
17315 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17317 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17319 * gdb.base/ending-run.exp: After connecting to a remote target,
17320 but before running, the target will appear to be in a random
17321 location. Specify both a file and a line for breakpoints.
17322 Also, the function that calls main may be called 'init'
17323 rather than 'start'.
17325 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17327 * gdb.base/help.exp: Update output for add-symbol-file command.
17329 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17331 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17332 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17334 2000-04-07 J.T. Conklin <jtc@redback.com>
17336 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17338 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17340 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17342 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17343 values that can be represented exactly.
17344 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17345 above change, and to not check against the directory part of the source
17347 (step into print_long_arg_list): Likewise.
17348 (print print_small_structs from print_long_arg_list): Likewise.
17349 (print print_long_arg_list): Likewise.
17351 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17353 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17355 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17357 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17359 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17361 * gdb.base/commands.exp (deprecated_command_test): Add test for
17362 deprecate with no arguments.
17364 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17366 * gdb.base/break.exp: Add new test for setting breakpoints on
17367 optimized code so we can test breakpoints work even when function
17368 prologues may be optimized away
17370 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17372 From David Whedon <dwhedon@gordian.com>
17373 * gdb.base/commands.exp : Added command deprecator tests.
17375 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17377 * gdb.base/help.exp: Added test for new apropos command.
17379 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17381 * gdb.base/pointers.c (usevar): New function.
17382 (main): Make sure that global variables v_int_pointer2, rptr,
17383 and y are all referenced someplace in the program by calling
17384 usevar() on them. [Some linkers delete symbols which are
17385 never referenced. The space remains, but there's no way to
17386 get a (symbolic) handle on the variable from the debugger.]
17388 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17390 * gdb.base/printcmds.c: Add typedeffed arrays.
17392 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17393 procedure to test arrays that are typedef'd.
17395 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17397 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17398 the library directories.
17400 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17402 * configure.in (configdirs): Add sub directory gdb.mi.
17403 * configure: Re-generate.
17405 * gdb.mi: New directory.
17407 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17409 * gdb.base/long_long.exp: Correct test suite failure when printing
17410 a long long value as a double on ARM platforms.
17412 2000-02-16 Jim Blandy <jimb@redhat.com>
17414 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17415 default source file is set properly before running this test.
17417 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17419 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17420 gdbtk/library directory, not in gdbtcl2.
17422 2000-02-04 Jim Blandy <jimb@redhat.com>
17424 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17425 backslash from regexp pattern.
17427 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17428 procedure. Use it to run all the "continue to bp overloaded"
17429 tests. Note that this changes the names of the tests slightly.
17430 If the breakpoint hit message includes a hex PC value, because
17431 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17432 from the real source code, still consider that a pass.
17434 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17435 XFAIL here if the breakpoint message contains a hex address. Note
17436 similar change on 1999-11-02.
17438 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17440 * gdb.base/ptype.exp: Establish a default source file before
17441 calling get_debug_format.
17443 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17445 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17447 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17449 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17450 of successive stepi commands -- while in the prologue we should see
17451 the function entry bracket.
17453 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17455 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17456 reach __change_mode() when stepping through the end of main().
17458 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17460 * gdb.base/default.exp: Fix expected pattern.
17461 * gdb.base/help.exp: Same.
17463 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17465 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17466 Don't use xfail's because that affects only the following test.
17468 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17471 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17473 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17475 * gdb.base/display.exp: Some yacc parsers like to say
17476 "A syntax error" rather than "A parse error". Accept both.
17478 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17480 * gdb.base/default.exp: Remove OS dependent string from "target
17482 * gdb.base/help.exp: Same for "help target remote" test.
17484 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17486 From Jim Kingdon <kingdon@redhat.com>:
17488 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17489 prompt (cleanup rather than necessity, but still might keep output
17490 from spilling to next test).
17492 2000-01-02 Fred Fish <fnf@cygnus.com>
17494 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17495 AIX, which defines them in <sys/types.h>.
17497 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17499 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17502 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17504 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17506 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17507 outermost frame disallowed".
17509 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17511 * gdb.base/setvar.exp: New tests for setting the value of a struct
17512 with a constant list.
17514 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17516 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17517 require the user to type a cast before setting the value of a struct.
17519 1999-12-06 Jim Blandy <jimb@cygnus.com>
17521 * gdb.base/default.exp: Expect the new 'info float' command on
17522 all i386 platforms.
17524 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17525 LinuxThreads libraries that don't support debugging.
17527 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17529 * gdb.base/remote.c: Fill the buffer with truely random data.
17530 Change the buffer type to ``unsigned char'' to simplify size
17533 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17534 stub only handles 400-1 byte packets. Verify that the download
17537 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17539 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17540 tests, using UNRESOLVED for the untested cases. Also, does not wait
17541 for a timeout if the prompt was received before a recognizable pattern.
17543 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17545 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17547 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17549 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17552 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17554 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17556 * gdb.c++/local.exp: Be more flexible in recognizing local class
17557 name mangling. Don't allow horribly truncated method names.
17558 * gdb.c++/derivation.exp: Expect protected inheritance.
17559 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17560 * gdb.c++/virtfunc.exp: Likewise.
17561 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17562 when printing a nested enum.
17564 1999-11-22 Jim Blandy <jimb@cygnus.com>
17566 * gdb.base/step-test.exp: Properly await GDB's response to setting
17567 a breakpoint on the call to large_struct_by_value.
17569 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17570 just because we have debug info for the `start' function.
17572 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17574 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17575 "Unknown signal" messages, which indicate (on LinuxThreads) that
17576 GDB doesn't know how to debug threads on this system. This is
17577 better than hanging while philosopher 0 dumps chatter into gdb.log.
17579 1999-11-18 Tom Tromey <tromey@cygnus.com>
17581 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17583 1999-11-18 Fred Fish <fnf@cygnus.com>
17585 * gdb.base/coremaker2.c: Add sample program for generating
17586 cores that is more self contained than coremaker.c. Eventually
17587 I'll add more code to this and tie it into the testsuite.
17589 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17591 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17593 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17595 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17597 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17600 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17602 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17603 'continue with watch' test point.
17605 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17607 Merged from p2linux-990323-branch:
17609 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17611 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17613 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17614 {limit,fixed}''. Test ``set download-write-size''.
17616 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17618 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17621 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17623 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17625 1999-11-03 Mark Salter <msalter@cygnus.com>
17627 * gdb.base/break.exp: Fix "stub continue" pattern.
17629 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17631 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17633 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17635 * gdb.base/display.exp ("finish"): Add timeout clause.
17637 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17638 plain prompt clause, so this doesn't have to time out in order to
17641 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17642 breakpoint hit messages include an address.
17644 * gdb.base/display.exp: Don't forget to escape parens in regular
17645 expressions. Unix regexp notatation sucks.
17647 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17649 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17650 order for 'signalled' message.
17652 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17654 From Jimmy Guo <guo@cup.hp.com>:
17655 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17656 * gdb.base/annota1.c: Add code for tests to work with.
17658 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17660 * gdb.base/remote.exp: New test for remote downloading settings.
17661 * gdb.base/remote.c: New file with large .data.
17663 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17665 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17666 for LinuxThreads support, merged from the Code Fusion branch.
17668 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17670 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17671 containing exp_continue into a while within an expect. Don't
17672 attempt a start more than three times. Check return value from
17675 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17677 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17680 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17682 * gdb.base/break.c (main): Added a statement that we can step
17684 * gdb.base/break.exp: Added tests for setting a breakpoint
17685 at an offset and stepping onto a breakpoint.
17687 1999-10-01 Fred Fish <fnf@cygnus.com>
17689 * gdb.base/help.exp (help add-symbol-file): Update to match current
17692 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17694 * gdb.base/break.exp: Code locations are in hex, don't forget!
17697 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17699 * condbreak.exp: Use break.c as test program.
17700 * condbreak.c: Remove, redundant with break.c.
17702 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17704 * config/monitor.exp (gdb_target_monitor): Disable X- and
17705 Z-packets if the target needs it.
17707 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17709 * gdb.c++/overload.exp: Added tests for listing overloaded
17710 functions with function pointers in the arg, explicitly calling
17711 out the version you want.
17713 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17715 * long_long.exp: Add variations of test cases that work for
17716 targets with 16-bit ints and 32-bit doubles.
17718 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17720 * break.c (main): Compare a possibly-uninitialized argc with an
17721 unlikely value that fits in 16 bits.
17723 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17725 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17726 0xfeeb, don't want negative numbers if ints are 16 bits.
17728 * lib/gdb.exp (skip_cplus_tests): New proc.
17729 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17730 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17731 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17732 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17733 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17734 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17735 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17736 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17738 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17740 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17742 * gdb.base/corefile.exp (up): Allow a parameter to appear
17743 in the frame that we're going up to.
17745 From Jim Blandy <jimb@cygnus.com>:
17747 * gdb.base/default.exp (info float): Expect some output now.
17749 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17750 returning floating-point values to fail on the x86.
17751 * gdb.base/callfwmall.exp (do_function_calls): Same.
17753 * gdb.base/list.exp (test_listsize): Correct expectations for
17754 listing line 1 with listsize 2. Also, listing a single line
17755 works now, as does listing three lines. [Kevin's note: There
17756 were a number of other cases fixed too where the expectations
17759 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17761 * gdb.base/selftest.exp: Add case for when version prints as
17762 constant string instead of char pointer.
17764 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17766 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17767 stepping out of main.
17769 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17772 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17773 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17775 * gdb.c++/ovldbreak.exp: Update match string in test that
17776 includes a warning of multiple breakpoints.
17778 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17780 * gdb.base/display.exp: Improve precision of step-after-finish
17783 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17786 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17787 configs when using G++, not just hppa*.
17789 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17791 * gdb.base/async.c: New file.
17792 * gdb.base/async.exp: New file.
17794 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17796 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17799 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17801 * gdb.base/display.exp: "finish" can leave us mid-line on many
17802 targets, deal with it. Add a small constant to main, instead of
17803 1000 since main+1000 may not be a valid address in the target.
17805 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17808 * gdb.base/attach.exp: Handle another hpux11 error message variant
17809 when attaching to a process that does not exist.
17811 1999-08-19 J.T. Conklin <jtc@redback.com>
17813 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17814 characters in 'continue to 1241' test.
17816 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17818 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17819 stop in print_long_arg_list, define and use a whitespace
17820 variable in print_small_structs test, add an XFAIL for Solaris.
17821 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17822 interested enough to fix.
17824 1999-08-13 Keith Seitz <keiths@cygnus.com>
17826 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17827 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17828 proc knows about targets other than the natives.
17829 (test_assign): Use "gdb_run_cmd" to "run" the target.
17830 Check that we've actually hit the breakpoint at main.
17831 When we attempt to assign a value to a local variable, check
17832 that the variable is in the current scope, i.e., don't use
17833 a test with an empty result.
17835 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17837 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17840 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17842 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17843 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17844 gdb.compat, gdb.threads-hp.
17845 gdb.hp/configure, gdb.hp/configure.in: New files.
17846 gdb.hp/Makefile.in: Recurse into new subdirs.
17847 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17848 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17850 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17852 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17854 * gdb.base/display.exp: Help expect by putting a newline in the
17855 funky printf, remove a bogus p/a test.
17857 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17859 * gdb.base/display.exp: Make sure that when we say 'run', we are
17860 connected to the target. This is necessary when running not
17863 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17865 * gdb.base/step-test.exp: Removed some extraneous messages.
17867 * gdb.base/long_long.exp: Don't run memory examination tests
17868 on little-endian targets (they will need a different set of
17871 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17873 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17874 until somebody decides to fix GDB.
17876 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17878 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17879 matches for a couple x/2 commands.
17881 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17883 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17884 by merging in ref-types2 tests.
17885 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17887 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17888 * gdb.c++/Makefile.in: Add standard actions.
17889 (EXECUTABLES): Rename from PROGS, update list.
17890 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17892 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17893 foo and bar locals.
17894 * gdb.c++/anon-union.exp: Fix tests to match.
17895 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17896 expect matches to handle output variations.
17897 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17898 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17899 output, add HP alternatives for new and delete prints.
17900 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17901 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17902 * gdb.c++/demangle.exp: Use $style when reporting failure.
17903 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17904 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17905 match alternatives.
17906 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17908 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17909 * gdb.c++/method.exp: Add match alternatives.
17910 * gdb.c++/misc.cc: Add bool types.
17911 * gdb.c++/misc.exp: Add tests for bool types.
17912 * gdb.c++/overload.exp: Add xfails.
17913 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17914 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17915 add some more template parameter tests (only for HP currently).
17916 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17917 * gdb.c++/virtfunc.cc: Add return type and value for main.
17918 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17919 match alternatives.
17921 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17923 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17925 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17927 * gdb.base/signals.exp: Don't expect getting a backtrace from
17928 within a signal handler to fail on Linux.
17930 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17932 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17933 * lib/gdb.exp: Remove some gratuitious semicolons.
17934 (delete_breakpoints): Increase timeout.
17935 (gdb_expect): Add -notransfer option.
17936 (gdb_test): Use -notransfer option.
17937 (get_compiler_info): Add f77 case.
17938 (get_compiler): New proc, split out from gdb_preprocess, add f77
17940 (gdb_preprocess): Call get_compiler.
17942 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17943 * gdb.base/attach.exp, gdb.base/display.exp,
17944 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17945 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17946 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17947 third arg to gdb_test.
17948 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17949 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17950 HP-UX xfails, add others.
17951 * gdb.base/completion.exp: Reflect name change of self-test.
17952 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17953 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17954 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17956 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17957 useless HP-UX 10.30 references.
17958 * gdb.base/maint.exp: Loosen matches.
17959 * gdb.base/pointers.c (main): Declare more_code.
17960 * gdb.base/pointers.exp: Match on output of a `next'.
17961 * gdb.base/structs.c: Add prototypes.
17962 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17963 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17965 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17967 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17970 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17972 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17973 Fix run to main failures. Watchpoint can be hardware watchpoint.
17975 * gdb.base/annota1.exp: Clean up some more, in case printf has
17976 debug info. Deal with lack of signal hanlder info in stack.
17978 From Jim Kingdon <kingdon@redhat.com>:
17979 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17981 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17983 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17984 gdb.base/foll-vfork.exp: Don't run for crosses.
17986 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17988 * gdb.base/configure.in: Check for gdbvars.exp instead of
17990 * gdb.base/configure: Re-generate.
17992 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17994 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17995 in trying to run first and name is too long.
17997 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17998 pointers2.c and pointers2.exp, respectively.
17999 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18002 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18004 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18005 callfuncs2.c and callfuncs2.exp.
18007 * gdb.base/list.exp: Remove mistaken xfails.
18008 * gdb.base/list0.h: Add optional prototypes.
18010 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18012 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18014 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18015 * ptype.exp: Move test for get_debug_format to before its first
18018 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18020 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18021 * gdb.base/annota2.cc, annota2.exp: Move from here.
18022 * gdb.c++/annota2.cc, annota2.exp: To here.
18023 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18025 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18027 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18028 a consistent format.
18030 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18032 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18033 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18034 HP compilers, also set the globals $true and $false.
18036 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18037 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18038 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18039 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18040 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18041 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18042 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18043 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18044 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18045 whatis.c} Add C++ compatible function definitions and return
18046 types, add includes for library functions.
18047 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18048 * gdb.base/step-test.c (myglob): Rename from glob.
18049 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18050 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18051 files, move here from gdb.hp.
18052 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18053 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18054 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18055 Adjust line numbers in regexps.
18057 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18058 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18061 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18062 foll-vfork.exp: New files, move here from gdb.hp.
18063 * gdb.base/page.exp: New file, test of pagination command.
18065 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18067 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18069 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18070 gdb.base/solib.exp: Fix compiler invocation process.
18072 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18073 HP-UX 11, turn off overload resolution explicitly.
18074 * gdb.base/commands.exp: Set argument list explicitly, add
18076 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18078 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18079 expressions properly.
18080 * gdb.base/corefile.exp: Loosen the match slightly.
18081 * gdb.base/default.exp: Allow "Error accessing memory" message
18083 * gdb.base/display.exp: Skip over x/0 j if PA64.
18084 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18085 * gdb.base/interrupt.exp: Ditto.
18086 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18088 * gdb.base/list.exp: Add xfails for HP-UX.
18089 * gdb.base/long_long.exp: Refine some of the numeric matches.
18090 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18091 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18092 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18093 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18094 * gdb.base/ptype.exp: Succeed on more varieties of output.
18095 * gdb.base/scope.exp: Add xfails for HP-UX.
18096 * gdb.base/sect-cmd.exp: Add more cases.
18097 * gdb.base/setvar.exp: Add xfails for HP-UX.
18098 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18099 * gdb.base/signals.exp: Match on void symbolically.
18100 * gdb.base/step-test.exp: Add case for PA64.
18101 * gdb.base/term.exp: Add exit and restart.
18102 * gdb.base/twice.exp: Clean up after self.
18103 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18104 * gdb.base/whatis.exp: Allow more ways to pass tests.
18106 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18109 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18111 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18113 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18114 print_double_array(double_array)", "continuing to breakpoint
18115 1018", "print print_double_array(array_d)" and "continuing to
18118 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18120 * Makefile.in: Add empty html and install-html targets.
18122 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18124 * config/mt-*: Remove, these haven't been used since 1996.
18126 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18128 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18129 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18130 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18132 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18134 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18135 simpler match case for the ptype of the big class.
18137 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18139 * gdb.exp: Fix test for gdb_prompt existence.
18141 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18143 * gdb.exp (gdb_test): Add fail after calls to perror.
18145 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18147 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18149 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18151 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18153 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18155 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18156 malloc() is linked in.
18158 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18160 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18163 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18165 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18167 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18169 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18171 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18172 * gdb.base/mips_pro.exp: Likewise.
18174 1999-06-02 Keith Seitz <keiths@cygnus.com>
18176 * gdb.c++/templates.cc: Change all "new" operators to throw
18178 * gdb.c++/cplusfuncs.cc: Likewise.
18180 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18182 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18184 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18185 * gdb.base/ending-run.exp: When stepping out of main, accept a
18186 step into an arbitrary assembler file.
18188 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18190 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18191 "breakpoint-invalid" to be printed.
18192 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18193 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18194 * gdb.base/annota2.cc: Initialize a.x to 0.
18196 1999-05-17 Keith Seitz <keiths@cygnus.com>
18198 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18199 when "skip_float_tests" set.
18200 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18201 "print print_ten_doubles", and "step into print_long_arg_list".
18202 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18203 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18204 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18205 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18206 "skip_float_tests" is set.
18207 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18208 when "skip_float_tests" set.
18210 1999-05-06 Keith Seitz <keiths@cygnus.com>
18212 * gdb.base/annota2.cc: Include stdio.h.
18214 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18216 * gdb.base/crossload.exp: Remove, this has been disabled ever
18217 since BFD stopped including all targets, and cross-GDB gets
18218 plenty of testing anyway.
18219 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18220 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18221 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18222 * gdb.base/README: Remove, was doc for this.
18223 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18226 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18228 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18231 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18232 * gdb.base/annota2.exp: New file. More annotation tests.
18233 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18234 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18236 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18238 * config/cfdbug.exp: New file.
18240 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18242 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18243 Marcus Daniel's and Dale Hawkins's demangler crashes.
18245 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18246 test_lucid_style_demangling, test_arm_style_demangling,
18247 test_hp_style_demangling): Try Tom Tromey's core-dumping
18248 identifier under each demangling style.
18250 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18252 * gdb.c++/demangle.exp: Include the current demangling style
18254 (current_demangling_style): New global variable.
18255 (set_demangling_style, test_demangling_core, test_demangling,
18256 test_demangling_exact): New functions.
18257 (test_gnu_style_demangling, test_lucid_style_demangling,
18258 test_arm_style_demangling, test_hp_style_demangling): Use those,
18259 instead of calling gdb_test and gdb_test_exact directly.
18260 (catch_demangling_errors): New function, which reports errors
18261 signalled by the demangling test functions in an orderly way.
18262 (do_tests): Use catch_demangling_errors.
18264 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18266 * gdb.base/signals.exp (test_handle_all_print): Use () for
18267 grouping in expressions, not {}.
18269 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18272 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18274 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18277 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18279 * gdb.stabs/weird.exp: Test for CC being defined before
18280 looking at its value.
18282 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18284 * gdb.base/call-ar-st.exp: Remove stray '#'.
18285 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18286 "short int" and "long int".
18287 * gdb.c++/overload.cc: Cast the string added in the previous
18288 change, to mollify finicky HP compiler.
18289 * gdb.hp/reg-test.exp (testfile): Fix file name.
18290 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18292 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18293 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18294 alternate form of enum ptype.
18296 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18298 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18299 * gdb.hp/*.exp: Change all to run compiler probe only after
18300 passing skip_hp_tests, so as not to waste time on guaranteed
18303 * gdb.c++/overload.cc: Pass string instead of char addr, always
18305 * gdb.c++/templates.cc: Fix syntax error.
18307 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18309 * gdb.base/commands.exp: Add test for correct position of '>'
18310 when issuing the 'commands' command after a 'while' or 'if'
18313 1999-03-18 James Ingham <jingham@cygnus.com>
18315 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18317 * gdb.c++/method.exp: It was testing an uninitialized int on the
18318 stack and assuming it was positive.
18320 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18322 * gdb.base/step-test.exp: Catch a case where finish is broken and
18323 keep it from killing the rest of the tests.
18324 Use gdb_continue_to_end.
18326 * gdb.base/sigall.exp: use gdb_continue_to_end.
18328 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18330 * gdb.base/display.exp: use runto_main, not run.
18332 * gdb.base/default.exp: Check for the current error message in the
18333 r abbreviation test.
18334 Add strongarm to the targets that know info float.
18336 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18337 run which doesn't work with monitors.
18339 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18341 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18343 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18344 program. Traps the case (in Cygmon) when the program never really
18345 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18346 more places, so I used my name. Sorry Mark...
18348 * config/monitor.exp (gdb_target_monitor): added another
18349 target_info parameter: remotebinarydownload. This will set the
18350 remotebinarydownload flag if this is causing some boards trouble.
18352 1999-03-18 Mark Salter <msalter@cygnus.com>
18354 * lib/gdb.exp (continue_to_exit): New function.
18356 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18357 * gdb.base/ending-run.exp: Ditto.
18358 * gdb.base/step-test.exp: Ditto.
18360 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18362 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18363 (suggested by Art Haas <ahaas@neosoft.com>).
18365 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18367 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18369 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18371 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18372 descriptions of types (short unsigned int vs unsigned short, etc).
18374 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18376 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18377 a call to strlen; sometimes we do have sources.
18379 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18381 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18382 character, so GDB won't print garbage after its end.
18384 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18385 breakpoint there instead. Sometimes GCC emits memcpy to handle
18386 the large structures being passed by value, so we step into that
18387 instead of sum_array_print, which obscures what we're really testing.
18388 * gdb.base/step-test.exp: However, we do want a test that notices
18389 the bizarre steps into memcpy, so do that here. Add check for
18390 stepping into function calls that pass large structures by value.
18391 ("Is that a noun clause, or are you just happy to see me?")
18392 Remove all references to specific line numbers.
18393 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18394 New type and function.
18395 (main): Call large_struct_by_value, passing it a large struct by value.
18396 * lib/gdb.exp (gdb_get_line_number): New function.
18398 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18401 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18403 * lib/gdb.exp: Doc fixes.
18405 1999-03-05 Nick Clifton <nickc@cygnus.com>
18407 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18409 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18411 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18412 commands. They're not germane to this test, and they don't work
18413 that way on remote targets.
18415 1999-03-01 James Ingham <jingham@cygnus.com>
18417 * Changelog entries merged over from gdb development branch.
18419 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18421 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18422 for outputting results of test run.
18424 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18426 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18428 1999-02-25 Felix Lee <flee@cygnus.com>
18430 * lib/gdb.exp (debug_format): initialize
18432 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18434 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18435 * gdb.base/call-rt-st.c: Ditto.
18437 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18439 * gdb.threads/pthreads.exp (horiz): New variable.
18440 (test_startup): Fix regexps that capture thread numbers.
18442 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18444 * gdb.base/smoke.exp: Disambiguate two test case names (both
18447 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18449 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18452 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18454 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18455 actual output formatting.
18456 * gdb.base/smoke.exp: GDB removes leading 0's.
18457 * gdb.base/volatile.exp: Don't check type of remuneration;
18458 that variable is no longer defined in constvars.c.
18459 * gdb.base/step-test.c (main): Exit with explicit exit code.
18460 * gdb.base/step-test.exp: Remove two nexti checks--they are
18463 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18465 * gdb.base/help.exp ("help delete display"): Fix test to match
18468 * gdb.base/long_long.c (known_types): Initialize values to zero.
18469 * gdb.base/long_long.exp: Step one more line
18470 so 'dec' is initialized in "get to known place". GDB removes
18471 leading zeros. Explicitly ask for hex formatting. Use
18472 unique test case names.
18474 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18476 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18478 * gdb.c++/method.exp: Add missing close brace.
18480 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18482 * gdb.base/maint.exp: Use 'set height 0' to disable page
18483 prompting, not 'set height 400'.
18485 Fix a bunch of timeouts.
18486 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18487 four separate tests, so expect doesn't take forever to match a ton
18488 of text against a regexp with lots of .* forms.
18489 ("maint print psymbols", "maint print symbols"): Make some of
18490 these greps more selective, so that expect doesn't try to wade
18491 through huge piles of output and time out.
18493 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18495 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18496 tests: one which doesn't expect shlib events to be reported, and
18497 another which does, but is XFAIL for all platforms other than
18500 * gdb.base/break.exp: Teach the test suite that the `catch
18501 fork', `catch vfork', and `catch exec' commands produce error
18502 messages on platforms that don't provide these features.
18504 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18506 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18507 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18508 (shortening names from solib_threshold.exp etc), won't run on
18509 anything but HP-UX for the foreseeable future.
18510 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18513 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18515 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18516 gdb.trace/Makefile.in (clean): Remove all test executables.
18518 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18520 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18521 successfully re-sets breakpoints in shared libraries.
18522 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18524 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18526 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18527 and compiled w/o GCC.
18529 * gdb.hp/watch-cmd.exp: ditto.
18531 * gdb.hp/watch-hp.exp: ditto.
18533 * gdb.hp/xdb1.exp: ditto.
18535 * gdb.hp/xdb2.exp: ditto.
18537 * gdb.hp/dbx.exp: ditto.
18539 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18541 * constvars.c: Remove C++-isms.
18542 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18545 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18547 The following changes are part of the HP merge.
18549 * gdb.base/break.exp: new tests to verify that catchpoints for
18550 fork, vfork, and exec don't trigger inappropriately.
18552 * gdb.base/opaque.exp: compile one file at a time, then link.
18554 * gdb.base/signals.exp: be more restrictive about which hppa
18555 systems receive a setup_xfail. new tests.
18557 * gdb.base/solib_threshold.build: new file.
18558 * gdb.base/solib_threshold.exp: new file.
18559 * gdb.base/solib_threshold.link_opts: new file.
18560 * gdb.base/solib_threshold.mk: new file.
18561 * gdb.base/gen_solib_threshold.c: new file.
18563 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18564 tests. New tests for enums inside classes.
18566 * gdb.c++/compiler.cc: indicate support of template debugging.
18568 * gdb.c++/demangle.exp: run hp style demangling tests.
18570 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18573 * gdb.c++/misc.cc: changes to support new tests.
18575 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18576 to support new tests.
18578 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18579 gcc, then skip these tests.
18581 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18583 The following files are part of the HP merge; some had longer
18584 names at HP, but have been renamed to be no more than 14
18585 characters in length.
18587 * gdb.hp/ambiguous.cc: new file.
18588 * gdb.hp/ambiguous.exp: new file.
18589 * gdb.hp/attach.exp: new file.
18590 * gdb.hp/attach2.exp: new file.
18591 * gdb.hp/classes-hp.exp: new file.
18592 * gdb.hp/ctti.exp: new file.
18593 * gdb.hp/ctti-add.cc: new file.
18594 * gdb.hp/ctti-add1.cc: new file.
18595 * gdb.hp/ctti-add2.cc: new file.
18596 * gdb.hp/ctti-add3.cc: new file.
18597 * gdb.hp/dbx.exp: new file.
18598 * gdb.hp/exception.cc: new file.
18599 * gdb.hp/exception.exp: new file.
18600 * gdb.hp/foll-exec.c: new file.
18601 * gdb.hp/foll-exec.exp: new file.
18602 * gdb.hp/foll-fork.c: new file.
18603 * gdb.hp/foll-fork.exp: new file.
18604 * gdb.hp/foll-vfork.c: new file.
18605 * gdb.hp/foll-vfork.exp: new file.
18606 * gdb.hp/inherit-hp.exp: new file.
18607 * gdb.hp/more-steps.exp: new file.
18608 * gdb.hp/namespace.cc: new file.
18609 * gdb.hp/namespace.exp: new file.
18610 * gdb.hp/optimize.exp: new file.
18611 * gdb.hp/pxdb.c: new file.
18612 * gdb.hp/pxdb.exp: new file.
18613 * gdb.hp/quicksort.exp: new file.
18614 * gdb.hp/reg-test.exp: new file.
18615 * gdb.hp/reg-test.s: new file.
18616 * gdb.hp/sized-enum.c: new file.
18617 * gdb.hp/sized-enum.exp: new file.
18618 * gdb.hp/start-stop.exp: new file.
18619 * gdb.hp/templ-hp.cc: new file.
18620 * gdb.hp/templ-hp.exp: new file.
18621 * gdb.hp/thr-lib.c: new file.
18622 * gdb.hp/thr-lib.exp: new file.
18623 * gdb.hp/thr-lib.h: new file.
18624 * gdb.hp/thr-liblib.c: new file.
18625 * gdb.hp/virtfun-hp.c: new file.
18626 * gdb.hp/virtfun-hp.exp: new file.
18627 * gdb.hp/watch-cmd.exp: new file.
18628 * gdb.hp/watch-hp.exp: new file.
18629 * gdb.hp/xdb1.exp: new file.
18630 * gdb.hp/xdb2.exp: new file.
18631 * gdb.hp/xdb3.exp: new file.
18633 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18635 The following files are part of the HP merge; some had longer
18636 names at HP, but have been renamed to be no more than 14
18637 characters in length.
18639 * gdb.base/ss.h: new file.
18640 * gdb.base/call-ar-st.c: new file.
18641 * gdb.base/call-ar-st.exp: new file.
18642 * gdb.base/call-rt-st.c: new file.
18643 * gdb.base/call-rt-st-exp: new file.
18644 * gdb.base/call-strs.exp: new file.
18645 * gdb.base/ena-dis-br.exp: new file.
18646 * gdb.base/environ.exp: new file.
18647 * gdb.base/long_long.exp: new file.
18648 * gdb.base/sect-cmd.exp: new file.
18649 * gdb.base/shlib-cl2.exp: new file.
18650 * gdb.base/smoke.exp: new file.
18651 * gdb.base/so-impl-ld.c: new file.
18652 * gdb.base/so-impl-ld.exp: new file.
18653 * gdb.base/so-indr-cl.c: new file.
18654 * gdb.base/so-indr-cl.exp: new file.
18655 * gdb.base/varargs.exp: new file.
18656 * gdb.base/volatile.exp: new file.
18657 * gdb.base/whatis-exp.exp: new file.
18658 * gdb.base/display.exp: new file.
18659 * gdb.c++/derivation.exp: new file.
18660 * gdb.c++/local.exp: new file.
18661 * gdb.c++/member-ptr.exp: new file.
18662 * gdb.c++/overload.exp: new file.
18663 * gdb.c++/ovldbreak.exp: new file.
18664 * gdb.c++/ref-types.exp: new file.
18665 * gdb.c++/ref-types2.exp: new file.
18666 * gdb.c++/userdef.exp: new file.
18668 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18670 * gdb.base/default.exp: Reflect wording change in remote.c.
18672 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18674 * gdb.base/help.exp: Update to reflect current text.
18676 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18678 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18679 they're stack variables and contain garbage.
18680 * gdb.c++/anon-union.exp: new file.
18682 The following changes were made by David Taylor
18683 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18684 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18687 * gdb.base/bitops.exp: new file.
18688 * gdb.base/default.exp: change expected messages for catch and
18689 info catch tests to reflect HP merge changes.
18690 * gdb.base/enable-disable-break.exp
18691 * gdb.base/ending-run.c: new file.
18692 * gdb.base/long_long.c: new file.
18693 * gdb.base/maint.exp: new file.
18694 * gdb.base/pointers2.exp: new file.
18695 * gdb.base/shlib-call2.exp: new file.
18696 * gdb.base/solib.exp: new file.
18697 * gdb.base/step-test.c: new file.
18698 * gdb.c++/anon-union.cc: new file.
18699 * gdb.c++/local.cc: new file.
18700 * gdb.c++/member-pointer.cc: new file.
18701 * gdb.c++/method.cc: new file.
18702 * gdb.c++/ref-types.cc: new file.
18703 * gdb.c++/ref-types2.cc: new file.
18704 * gdb.c++/userdef.cc: new file.
18706 * gdb.base/scope.exp: compile one file at a time, then link.
18707 * gdb.base/langs.exp: ditto.
18708 * gdb.base/list.exp: ditto.
18710 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18712 The following changes were made by David Taylor
18713 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18714 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18717 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18718 skip tests. When compiling pass c++ flag to gdb_compile.
18721 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18722 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18723 (skip_hp_tests): new function.
18724 (gdb_preprocess): new function.
18726 * configure.in (hpdir): decide whether to configure gdb.hp.
18727 * configure: regenerated.
18729 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18730 to delete on clean.
18731 (EXECUTABLES): update to reflect new additions.
18732 * gdb.base/commands.exp: update message expected.
18733 * gdb.base/default.exp: add copyright notice.
18734 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18735 * gdb.base/help.exp: update messages to reflect current text.
18736 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18737 targets for recurse tests.
18738 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18741 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18742 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18744 * gdb.c++/misc.exp: ditto.
18745 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18746 run the tests. tell gdb_compile that it's a c++ compilation.
18748 * gdb.threads/pthreads.exp: fix typo in message.
18750 * gdb.base/all-bin.exp: new file.
18751 * gdb.base/arithmet.exp: new file.
18752 * gdb.base/assign.exp: new file.
18753 * gdb.base/completion.exp: new file.
18754 * gdb.base/cond-expr.exp: new file.
18755 * gdb.base/condbreak.exp: new file.
18756 * gdb.base/define.exp: new file.
18757 * gdb.base/dollar.exp: new file.
18758 * gdb.base/environment.exp: new file.
18759 * gdb.base/eval-skip.exp: new file.
18760 * gdb.base/jump.exp: new file.
18761 * gdb.base/logical.exp: new file.
18762 * gdb.base/pointers.exp: new file.
18763 * gdb.base/relational.exp: new file.
18764 * gdb.base/section_command.exp: new file.
18765 * gdb.base/whatis-expr.exp: new file.
18767 * gdb.base/all-types.c: new file.
18768 * gdb.base/call-array-struct.c: new file.
18769 * gdb.base/call-return-struct.c: new file.
18770 * gdb.base/call-strings.c: new file.
18771 * gdb.base/callfuncs2.c: new file.
18772 * gdb.base/condbreak.c: new file.
18773 * gdb.base/constvars.c: new file.
18774 * gdb.base/display.c: new file.
18775 * gdb.base/int-type.c: new file.
18776 * gdb.base/jump.c: new file.
18777 * gdb.base/miscexprs.c: new file.
18778 * gdb.base/pointers.c: new file.
18779 * gdb.base/pointers2.c: new file.
18780 * gdb.base/shmain.c: new file.
18781 * gdb.base/shr1.c: new file.
18782 * gdb.base/shr2.c: new file.
18783 * gdb.base/solib.c: new file.
18784 * gdb.base/solib1.c: new file.
18785 * gdb.base/solib2.c: new file.
18786 * gdb.base/varargs.c: new file.
18787 * gdb.c++/derivation.cc: new file.
18788 * gdb.c++/overload.cc: new file.
18789 * gdb.c++/ovldbreak.cc: new file.
18790 * gdb.hp/attach.c: new file.
18791 * gdb.hp/attach2.c: new file.
18792 * gdb.hp/average.c: new file.
18793 * gdb.hp/compiler.c: new file.
18794 * gdb.hp/compiler.cc: new file.
18795 * gdb.hp/execd-program.c: new file.
18796 * gdb.hp/follow-exec.c: new file.
18797 * gdb.hp/follow-fork.c: new file.
18798 * gdb.hp/follow-vfork-and-exec.c: new file.
18799 * gdb.hp/misc-hp.cc: new file.
18800 * gdb.hp/more-steps.c: new file.
18801 * gdb.hp/optimize.c: new file.
18802 * gdb.hp/quicksort.c: new file.
18803 * gdb.hp/run-hp.c: new file.
18804 * gdb.hp/start-stop.c: new file.
18805 * gdb.hp/sum.c: new file.
18806 * gdb.hp/templates-hp.cc: new file.
18807 * gdb.hp/thread-local-in-lib.c: new file.
18808 * gdb.hp/thread-local-in-lib.h: new file.
18809 * gdb.hp/thread-local-in-lib.lib.c: new file.
18810 * gdb.hp/vforked-program.c: new file.
18811 * gdb.hp/virtfunc-hp.cc: new file.
18812 * gdb.hp/watchpoint-hp.c: new file.
18813 * gdb.hp/xdb.c: new file.
18814 * gdb.hp/xdb0.c: new file.
18815 * gdb.hp/xdb0.h: new file.
18816 * gdb.hp/xdb1.c: new file.
18818 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18820 The following change was made by Edith Epstein
18821 <eepstein@cygnus.com> as part of a project to merge in changes
18822 originally made by HP; HP did not create ChangeLog entries.
18824 * gdb.c++/demangle.exp: changed the expected output for some
18825 ARM-style mangling -- removed second reference to datatype.
18826 For example, maint demangle __dt__11T1__pt__2_cFv
18827 T1<char>::~T1<char>(void)
18829 maint demangle __dt__11T1__pt__2_cFv
18830 T1<char>::~T1(void)
18832 (test_hp_style_demangling): new hp specific demangling test cases.
18834 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18836 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18837 * gdb.trace/backtrace.exp: Likewise.
18838 * gdb.trace/circ.exp: Likewise.
18839 * gdb.trace/collection.exp: Likewise.
18840 * gdb.trace/deltrace.exp: Likewise.
18841 * gdb.trace/infotrace.exp: Likewise.
18842 * gdb.trace/limits.exp: Likewise.
18843 * gdb.trace/packetlen.exp: Likewise.
18844 * gdb.trace/passc-dyn.exp: Likewise.
18845 * gdb.trace/passcount.exp: Likewise.
18846 * gdb.trace/report.exp: Likewise.
18847 * gdb.trace/save-trace.exp: Likewise.
18848 * gdb.trace/tfind.exp: Likewise.
18849 * gdb.trace/tracecmd.exp: Likewise.
18850 * gdb.trace/while-dyn.exp: Likewise.
18851 * gdb.trace/while-stepping.exp: Likewise.
18853 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18855 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18857 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18859 From Brendan Kehoe:
18860 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18863 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18865 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18866 remote dos host testing right.
18868 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18870 * gdb.base/corefile.exp: remove some xfails.
18872 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18874 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18875 have different timestamps.
18877 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18879 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18880 gdb.base/default.exp: Replace "exec" with "executable".
18882 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18884 * gdb.base/default.exp: Change else if to elseif from previous
18887 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18889 * gdb.base/default.exp: Add brace missing from previous delta.
18891 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18893 * gdb.base/default.exp: Support test for info float for all
18894 varieties of arm toolchain.
18896 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18898 * gdb.trace/*.exp: remove "remote_download" command.
18900 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18902 * gdb.trace/*.exp: remove -gdwarf from compile.
18904 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18906 * gdb.trace/configure.in(AC_INIT): typo
18907 * gdb.trace/configure: regenerated
18909 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18911 * config/m68k-emc.exp: New file.
18912 * lib/<emc-support.exp trace-support.exp}: New files.
18913 * configure.in: add new test directory gdb.trace.
18914 * gdb.trace/{configure configure.in Makefile.in}: New files.
18915 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18916 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18917 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18918 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18919 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18920 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18921 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18923 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18925 * gdb.c++/classes.exp: Change all regular expressions to match
18926 arbitrary combinations of newline/carriage-return, so that they
18927 will work equally well on Unix and Windows.
18928 * gdb.c++/inherit.exp: ditto.
18929 * gdb.c++/virtfunc.exp: ditto.
18931 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18933 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18935 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18937 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18938 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18939 to use a0-a3/d0-d3 as needed.
18941 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18943 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18944 * gdb.disasm/am33.exp: Corresponding changes.
18946 1998-07-11 Felix Lee <flee@cygnus.com>
18948 * gdb.base/callfuncs.exp: add cmp10 test.
18949 * gdb.base/callfuncs.c (cmp10): new function.
18951 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18953 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18954 into two parts to get around a synchronization problem in expect.
18956 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18958 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18960 * configure.in: Add options for gdbtk testsuite.
18962 * configure: Regenerate.
18964 * gdb.gdbtk: New directory to hold gdbtk tests.
18966 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18968 * gdb.fortran/types.exp: Escape brackets in expect patterns
18969 for test_float_literal_types_accepted tests.
18970 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18973 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18975 * am33.exp: Just compile, do not link the testcase.
18976 * am33.s: Add ".am33" pseudoop to force am33 mode.
18978 1998-06-25 Felix Lee <flee@cygnus.com>
18980 * gdb.base/setshow.exp: make sure $pc is sane.
18982 * gdb.stabs/weird.exp: split expect patterns properly.
18984 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18986 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18987 * gdb.disasm/am33.exp: Run it.
18989 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18991 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18992 match processing (and eliminate spurious timeouts when running).
18994 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18996 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18997 exception test, but conditionalize it on target [mach | gnu].
18999 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19001 * gdb.base/overlays.exp: fixup compile line for linker script.
19003 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19005 * gdb.fortran/types.exp: don't guess at float size.
19007 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19009 * gdb.base/exprs.exp: delete test that depends on int size.
19011 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19013 * config/sim.exp: Removed checks for target triplets.
19014 (gdb_target_sim): Use gdb,target_sim_options.
19016 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19018 * gdb.base/reread.exp: New file.
19019 * gdb.base/reread1.c: New file.
19020 * gdb.base/reread2.c: New file.
19022 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19024 * config/sim.exp: Use 'target sim -sparclite' when running
19025 SPARClite programs.
19027 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19029 * gdb.base/structs2.exp: New file.
19030 * gdb.base/structs2.c: New file.
19032 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19034 * gdb.asm/common.inc: New file.
19035 * gdb.asm/d10v.inc: New file.
19036 * asm-source.exp: Pass -I's to gas to find .inc files.
19037 Update line numbers in expected output.
19038 * asmsrc1.s: Rewrite.
19039 * asmsrc2.s: Rewrite.
19040 * configure.in: Create arch.inc symlink.
19041 * configure: Regenerate.
19042 * Makefile.in (distclean): Delete arch.inc.
19044 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19046 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19047 (t_enum_value2): ditto
19048 (t_enum_value3): ditto
19050 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19052 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19053 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19055 Use gdb_test instead of send_gdb/gdb_expect sequences.
19057 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19059 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19062 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19064 * gdb.base/branches.c: Code with lots of loops and
19065 subroutines. Used to test gdbs ability to single step through PC
19066 changes, especially to test mips-tdep.c:mips_next_pc
19068 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19070 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19071 more rigorous EGCS C++ error checking.
19073 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19075 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19077 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19078 function when asleep.
19079 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19080 for i*86 Linux and SVR4 signal handling problems.
19081 Remove linux xfail for `next to handler in signals_tests_1', fixed
19082 by recent infrun.c change.
19083 Limit backtrace to 10 frames to avoid timeout problems with infinite
19085 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19086 target.[ch] change.
19088 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19090 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19091 for a newline from gdb before continuing.
19092 (default_gdb_exit): Just look for y or n.
19093 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19094 it does, fail the rests of the tests in the file.
19096 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19098 * config/cygmon.exp: New file.
19100 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19102 * gdb.base/list.exp: Fix problem with "list default lines around
19103 main" test on remote targets.
19105 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19106 run test on remote targets.
19108 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19110 * gdb.asm: New directory.
19111 * configure.in: Configure it.
19112 * configure: Regenerate.
19113 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19114 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19116 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19118 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19120 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19122 * gdb.base/overlays (several files): Merge the two overlay
19123 managers into one. Change variables (foox, barx, bazx, grbxx)
19124 back into ints but force them to load in their proper sections.
19126 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19128 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19129 on-chip insn memory and IMAP1 to upper 128k.
19130 (D10VCopy): Handle memory regions crossing 16k boundaries.
19131 (D10VCopy): Transfer data in 32 bit chunks.
19133 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19135 * gdb.base/overlays.c (main): Exit normally when result is
19138 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19139 map. Include space for printf in .text segment.
19141 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19142 updated d10v memory VMA/LMA map.
19143 (D10VCopy): Call D10VTranslate.
19145 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19147 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19149 * gdb.base/bar.c (barx, bar): Change variable to small array so
19150 that it won't be put into the .sdata - small data -
19151 section. Update reference.
19152 * gdb.base/baz.c (bazx, baz): Ditto.
19153 * gdb.base/foo.c (foox, foo): Ditto.
19154 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19156 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19159 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19161 * gdb.base/overlays.exp: fix up and get working again.
19162 Add tests for backtraces from an overlay function.
19164 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19166 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19167 "calling function with watchpoint enabled".
19169 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19171 * gdb.base/break.exp (test_next_with_recursion): Remove
19172 gdb_suppress_tests for d10v-*-*.
19173 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19174 pending review of whether it is useful or not.
19176 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19178 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19180 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19182 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19183 * config/dve.exp: New file to support Densan boards.
19185 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19187 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19190 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19192 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19195 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19197 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19199 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19202 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19203 target_sizeof_long and target_bigendian_p.
19204 (structs_by_value, structs_by_reference): Check values according
19205 to targets word size and endianess.
19207 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19209 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19212 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19214 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19215 Update test of set args help to match source change.
19217 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19219 * gdb.base/default.exp: Expect help system output to be in
19220 alphabetical order.
19221 * gdb.base/help.exp: Ditto.
19223 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19225 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19226 "i*86-pc-linux-gnu*".
19227 * gdb.base/interrupt.exp: Ditto.
19228 * gdb.base/corefile.exp: Ditto.
19230 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19231 define vxworks when building the testcase.
19233 * gdb.base/ptype.exp: Fix testnames to be unique.
19234 * gdb.base/radix.exp: Ditto.
19235 * gdb.base/term.exp: Ditto.
19236 * gdb.base/whatis.exp: Ditto.
19237 * gdb.c++/classes.exp: Ditto.
19239 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19241 * gdb.base/callfuncs.exp: Fix indentation.
19243 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19244 suppress_flag has been set.
19245 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19248 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19250 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19253 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19254 set_debug_traps() and breakpoint().
19255 * gdb.c++/misc.cc (main): Ditto.
19256 * gdb.c++/templates.cc (main): Ditto.
19257 * gdb.c++/virtfunc.cc (main): Ditto.
19259 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19261 * lib/gdb.exp(gdb_step_for_stub): New function.
19262 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19263 exists, reload the executable and do a "continue" instead of
19265 (runto_main): Use gdb_step_for_stub.
19267 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19268 tests to have unique names.
19269 * gdb.base/callfuncs.exp: Ditto.
19270 * gdb.base/commands.exp: Ditto.
19271 * gdb.base/default.exp: Ditto.
19272 * gdb.base/help.exp: Ditto.
19273 * gdb.base/list.exp: Ditto.
19274 * gdb.base/opaque.exp: Ditto.
19275 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19278 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19279 * gdb.c++/cplusfuncs.cc: Ditto.
19280 * gdb.c++/virtfunc.cc: Ditto.
19282 * config/monitor.exp: Keep track of the last file we saw, rather
19283 than trying to get the info from gdb.
19285 * gdb.fortran/types.exp: Move comment to previous line.
19287 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19289 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19292 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19295 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19296 string from GDB when it connects.
19298 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19300 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19302 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19303 if we can't get a debug format from GDB (we may be testing an
19304 older GDB). Use a 10 second timeout when checking for the format.
19306 * gdb.stabs/weird.exp: Fix quoting.
19308 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19310 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19312 * config/arm-ice.exp: New file.
19314 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19316 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19317 until it has been modified to work with the new testsuite.
19319 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19320 testcase won't compile, cause all of the testcases in the file to
19323 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19324 (gdb_clear_suppressed): New procedure.
19325 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19326 it contains a positive value.
19328 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19330 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19332 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19334 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19336 * lib/gdb.exp (setup_xfail_format): New function.
19337 (get_debug_format): New function to get debug format.
19338 (debug_format): New global variable to hold last value set
19339 by get_debug_format.
19340 * gdb.base/list.exp: Call get_debug_format and expect some
19341 tests to fail for DWARF 1 and COFF formats.
19342 * gdb.c++/ptype.exp: Ditto.
19343 * gdb.c++/classes.exp: Ditto.
19344 * gdb.c++/cplusfuncs.exp: Ditto.
19345 * gdb.c++/inherit.exp: Ditto.
19346 * gdb.c++/templates.exp: Ditto.
19347 * gdb.c++/virtfunc.exp: Ditto.
19349 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19351 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19352 host doesn't have a currently-open connection.
19354 * config/sparclet.exp: Cleanups and fixes to make it generic for
19355 any gdb stub target. Handle cases where gdb doesn't respond when
19356 interrupted in a sane fashion.
19358 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19359 same thing in a totally different way.
19361 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19363 (gdb_start): We set the global gdb_prompt variable in
19364 default_gdb_init now.
19366 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19368 * gdb.base/printcmds.exp: Fix "check for floating addition"
19369 regexp to accept results within approx +/- .01 of exact value.
19370 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19372 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19374 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19376 (gdb_expect): Add optional timeout parameter, and add timeout
19377 value to various calls.
19378 (gdb_suppress_tests): Only give one warning message per group.
19380 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19382 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19383 global variables. Handle getting a value for $timeout more
19386 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19388 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19390 (default_gdb_init): New procedure; allow gdb_init to be overridden
19391 by a target configuration file.
19392 (gdb_expect): Pass the timeout to remote_expect.
19394 * config/monitor.exp(gdb_load): Fix typo in regexp.
19396 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19398 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19400 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19402 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19403 here. Call gdb_target_exec before rebooting the target, to make
19404 sure the connection to the target is closed.
19405 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19406 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19407 Also detect "Timeout reading from remote" error.
19409 * config/gdbserver.exp: Pass the executable being loaded to
19410 gdb_target_monitor. Don't call gdb_file_cmd here; let
19411 gdb_target_monitor do it.
19413 * gdb.disasm/hppa.exp: Don't use exec_output.
19415 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19417 * gdb.base/list.exp: If we're debugging a non-native target,
19418 try to set the pc register to point to the start of the
19419 program before doing the first list command.
19421 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19422 test_calls after restarting.
19424 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19427 * gdb.base/watchpoint.exp: Fix typo.
19429 * gdb.base/setshow.exp: Check for use_gdb_stub.
19431 * gdb.base/break.exp: Fix continue until exit test for the gdb
19433 * gdb.base/langs.exp: Ditto.
19435 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19436 gdb_load_offset. If we weren't given a file to load, figure out
19437 what the current file is and use it.
19439 * config/i386-bozo.exp: New file.
19441 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19443 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19446 * config/proelf.exp: New entry.
19448 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19450 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19453 * gdb.base/watchpoint.exp: Don't run the test_stepping
19454 tests if gdb can't call functions on the target.
19456 * gdb.base/setshow.exp: Don't run the set prompt tests if
19457 the board has gdb_prompt set.
19459 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19461 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19462 * gdb.base/commands.exp: Likewise.
19463 * gdb.base/setshow.exp: Likewise.
19465 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19467 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19470 * config/i960.exp: New file.
19472 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19474 * gdb.base/funcargs.exp: Check for gdb,short_int target
19475 feature instead of looking for explicit target triplets.
19477 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19479 * gdb.base/printcmds.exp: add a couple more tests a la
19480 "p 123DEADBEEF", to check parse_number.
19481 * top.c: change "to enable to enable" to "to enable" in a couple
19484 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19486 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19489 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19491 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19492 where the test executable is run with explicit args.
19493 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19495 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19497 * gdb.base/run.c: Use FAKEARGV to build test executable that
19498 does not require a command line arg, since most simulators
19499 don't currently support passing such an arg into the simulated
19501 * gdb.base/commands.exp: Change tests to insert the proper
19502 value as the arg to the first recursive factorial call. Change
19503 compilation line to define FAKEARGV at compile time.
19505 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19507 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19508 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19509 function with watchpoint enabled" test.
19511 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19513 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19514 Don't call gdb_test when the command doesn't return to a gdb prompt.
19516 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19517 "Tests restarted" messages.
19519 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19521 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19523 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19525 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19526 for INFO SYMBOL; add help tests for OVERLAY commands.
19527 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19528 add tests for OVERLAY commands
19529 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19530 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19531 * gdb.base/sigall.c: add usestubs code frag
19532 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19534 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19536 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19538 (gdb_stop_suppressing_tests): Note that tests have restarted.
19540 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19542 * config/h8300.exp: New file.
19544 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19546 * gdb.base/setshow.exp: Check for the existence of a
19547 feature, not its value.
19549 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19551 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19553 * gdb.base/scope.exp: It's now init0(), not init().
19555 * gdb.base/scope0.c: For now, change init() to be init0().
19557 * config/monitor.exp: Use gdb_serial in preference to serial
19560 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19561 and it's not already set.
19563 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19565 * gdb.base/setshow.exp: Only test the run command if the target
19566 isn't using a stub and if it supports argument passing.
19568 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19570 * config/udi.exp(gdb_start): Make sure UDICONF is set
19571 properly before starting gdb.
19573 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19575 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19576 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19577 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19579 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19581 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19582 specialized code to reboot the board, use remote_reboot instead.
19584 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19586 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19588 * config/monitor.exp: Make sure we disconnect from the target.
19589 Also, try a reboot/reload cycle instead of failing if the
19592 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19594 * gdb.base/default.exp: Don't set match_max.
19595 * gdb.base/help.exp: Ditto.
19596 * gdb.base/list.exp: Ditto.
19597 * gdb.base/signals.exp: Ditto.
19599 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19600 set, use remote_ld to download the testcase instead of
19603 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19605 * config/vr5000.exp: New file.
19607 * config/monitor.exp(gdb_target_monitor): Add pattern for
19608 "Ending remote" to detect errors in connecting.
19610 * gdb.base/setshow.exp: Add .* within auto language test.
19612 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19615 * config/monitor.exp(gdb_load): Check for a failure when loading,
19616 and reboot the board if necessary.
19618 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19619 a set of tests. Remove print.* from the patterns being checked.
19621 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19623 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19624 refer to gdb_spawn_id.
19626 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19628 * config/sparclet.exp: Ditto.
19629 * config/sparclet-old.exp: Ditto.
19630 * config/slite.exp: Ditto.
19631 * config/sim.exp: Ditto.
19632 * gdb.base/funcargs.exp: Ditto.
19634 * lib/gdb.exp:Remove references to gdb_spawn_id.
19635 (gdb_expect): Move to remote.exp.
19637 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19639 * config/monitor.exp: Detect the "Couldn't establish connection"
19642 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19644 * gdb.base/bitfields.exp: Use runto instead of explicit
19645 gdb_run_cmd/gdb_expect sequences.
19647 * gdb.base/break.exp(text_next_with_recursion): Add match for
19650 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19651 We also need to handle the "A program is being debugged already"
19652 prompt from gdb. Use gdb_test to set the baud rate.
19654 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19655 to 20000. Really. I mean it.
19657 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19659 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19660 fails. If suppress_flag is set, skip perror message about not
19661 being able to send to GDB.
19662 (send_gdb): If suppress_flag is set, don't try to send commands to
19664 (gdb_expect): If suppress_flag is set, always fail immediately.
19665 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19666 (gdb_init): Call gdb_stop_suppressing_tests.
19667 (default_gdb_exit): Ditto.
19668 (default_gdb_start): Ditto.
19670 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19671 gdb_stop_suppressing_tests as appropriate.
19672 * gdb.base/break.exp: Ditto.
19673 * gdb.base/callfuncs.exp: Ditto.
19674 * gdb.base/commands.exp: Ditto.
19675 * gdb.base/exprs.exp: Ditto.
19676 * gdb.base/funcargs.exp: Ditto.
19677 * gdb.base/list.exp: Ditto.
19678 * gdb.base/recurse.exp: Ditto.
19679 * gdb.base/scope.exp: Ditto.
19680 * gdb.base/structs.exp: Ditto.
19681 * gdb.c++/inherit.exp: Ditto.
19683 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19685 * config/vr4300.exp: New file.
19687 * gdb.*/*.exp: Call gdb_expect instead of expect.
19689 * lib/gdb.exp(gdb_expect): New function.
19691 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19693 * lib/gdb.exp(gdb_init): New function.
19695 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19696 for each individual variable set.
19698 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19701 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19703 * gdb.base/scope.exp: Use gdb_test.
19705 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19706 aborting; the testsuite driver will do that for us (see
19707 gdb_finish). Also, use gdb_test in a few more places.
19709 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19711 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19713 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19715 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19716 and "add_tests" are not at the same address.
19718 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19720 * gdb.base/ptype.exp: Use gdb_test.
19722 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19724 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19725 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19726 left in. No longer expect them to fail.
19728 * gdb.stabs/*.mt; Deleted, no longer used.
19729 * gdb.stabs/configure.in: Remove references to target makefile
19731 * gdb.stabs/configure: Rebuilt.
19733 * gdb.disasm/*.mt: Deleted, no longer used.
19734 * gdb.disasm/configure.in: Remove references to target makefile
19735 frags. Use "sh3.s" as the unique filename for this directory.
19736 * gdb.disasm/configure: Rebuilt.
19738 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19739 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19740 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19742 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19744 * config/udi.exp: Use mondfe,name instead of remote_host.
19746 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19748 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19749 a function with a watchpoint enabled on the mn10200.
19751 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19752 before trying to create it!
19754 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19756 * config/vx.exp: Use hostname instead of netport.
19758 * config/vxworks.exp: New file.
19760 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19762 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19763 gdb before assuming everything worked. Send a ^C if a timeout
19766 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19767 $gdb_spawn_id directly.
19768 (gdb_run_cmd): Try _start as well as start. Use the target feature
19769 gdb,start_symbol as the symbol to start from when jumping.
19771 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19773 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19776 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19777 it doesn't lose for 16bit integer systems.
19779 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19781 * gdb.fortran/types.exp: If the target doesn't support "double"
19782 data types, then expect "real" types to only be 4 bytes.
19784 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19785 call tests if the target doesn't support inferior function calls.
19787 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19790 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19792 * gdb.base/help.exp: Disable "help set", "help show", and
19793 "help support". Simplify regexp for "help stack".
19795 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19796 to 60 seconds. Temporarily set match_max to 15000 around the
19797 "info copying" test.
19799 * gdb.base/nodebug.exp: Don't try to do an inferior function
19800 call if the target doesn't support them.
19801 * gdb.base/printcmds.exp: Likewise.
19802 * gdb.base/setvar.exp: Likewise.
19803 * gdb.base/structs.exp: Likewise.
19804 * gdb.c++/templates.exp: Likewise.
19805 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19807 * gdb.base/recurse.exp: Enable for the mn10200.
19809 * configure.in: Do configure gdb.stabs directory for *-*-elf
19811 * configure: Rebuilt.
19813 * gdb.base/break.exp: Check for gdb,noresults before testing
19814 exit status and/or results from the target.
19815 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19816 * lib/gdb.exp: Remove old (now bogus) initialization of
19817 noinferior, noargs, noresults and nosignals.
19819 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19821 * config/sh.exp: New file.
19823 * config/slite.exp: Try to connect multiple times to the board
19824 before rebooting. Only send a "monitor run" if need_monitor_run
19827 * gdb.base/break.exp: Don't do the "stub continue" test if
19828 the target has gdb_stub set.
19830 * gdb.base/callfuncs.exp: Increase the timeout.
19832 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19833 if the target has gdb,noinferiorio set.
19835 * gdb.base/list.exp: Increase match_max to 10000 characters.
19837 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19839 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19842 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19844 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19846 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19847 trying to delete the copy of gdb. Catch the file delete so we
19848 don't die if the delete fails; also, the file should be copied to
19849 the host, not to the build.
19851 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19853 * lib/gdb.exp(gdb_test): Surround the result pattern with
19854 parenthesis in case it contains multiple regexps separated
19857 * gdb.base/watchpoint.exp: Use gdb_test.
19858 * gdb.base/default.exp: Ditto.
19860 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19862 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19864 * gdb.base/scope.exp: Use gdb_test.
19865 * gdb.c++/classes.exp: Ditto.
19866 * gdb.c++/inherit.exp: Ditto.
19868 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19870 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19871 remote_exec instead.
19872 * gdb.base/corefile.exp: Don't be ridiculous.
19873 * gdb.base/*.c: Add missing stub invocations.
19875 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19877 * config/slite.exp: Miscellaneous fixes.
19879 * lib/gdb.exp: Fix runto.
19881 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19884 * gdb.base/watchpoint.exp: Fix regexp.
19886 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19887 close and wait commands, as the descriptor may now be
19888 invalid. Always call "remote_close host".
19890 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19892 Major rewrite for testsuite revision.
19894 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19895 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19896 instead of relying on spawn_id to always contain a valid
19898 (get_compiler_info): New procedure to build the ${binfile}.ci
19899 file, instead of replicating this in N different places.
19900 (gdb_compile): New procedure.
19902 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19903 appropriate arguments) instead of compile. Use gdb_test in a lot
19904 more places. Use send_gdb instead of send. Always run gdb_start
19905 at the start of a testcase, as this is no longer done magically.
19907 config/*-gdb.exp: Rename without the -gdb suffix.
19909 config/mips.exp: Use remote_close instead of exit_remote_shell.
19910 config/monitor.exp: Use target_info instead of looking at
19911 baud, timeout, etc.
19912 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19914 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19916 * gdb.c++/templates.exp (test_ptype_of_templates),
19917 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19918 Update expect patterns for destructors and assignment operators
19919 to match corresponding c-typeprint.c changes.
19920 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19921 to destructor breakpoint test, GDB should be able to set the
19922 destructor breakpoint without specifying arguments.
19924 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19926 * gdb.threads/pthreads.exp: Change result for failure to compile due
19927 to lack of pthreads runtime support from an error to simply an
19928 unsupported test, per dejagnu standards.
19930 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19932 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19933 where GDB exits to reduce pattern match time.
19934 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19936 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19938 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19940 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19941 * gdb.base/default.exp: ditto.
19942 * gdb.base/nodebug.exp: ditto.
19943 * gdb.base/printcmds.exp: ditto.
19944 * gdb.base/ptype.exp: ditto.
19945 * gdb.base/setvar.exp: ditto.
19946 * gdb.base/structs.exp: ditto.
19947 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19949 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19951 * configure, */configure: Rebuild with autoconf 2.12.
19953 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19955 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19956 use new i*86-pc-linux*-gnu quads.
19957 * gdb.base/corefile.exp: Ditto.
19958 * gdb.base/signals.exp: Ditto.
19959 * gdb.base/sigall.exp: Ditto.
19960 * gdb.base/interrupt.exp: Ditto.
19962 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19963 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19966 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19967 linux. This allows the test case to at least compile on latest
19968 linux, but still not run due to missing the threads runtime library.
19970 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19972 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19973 directory to search gdb directory. Accept and step over conditional
19974 stack alignment code. Consume $prompt in failure cases.
19975 Reset timeout to $oldtimeout instead of some arbitrary value.
19976 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19977 timeout problems with infinite stack backtraces.
19978 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19979 Accept function parameters for linkfunc member.
19981 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19983 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19984 (CXXFLAGS): Remove, unreferenced.
19985 (B_OPTIONS): Add for -B options and add code to initialize with
19986 previous -B options and also add -B option to pick up cross compiled
19988 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19989 doing cross compiles.
19990 (target_alias): Declare global.
19991 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19992 to verify that gcc exists in build tree, and if so set CC to that
19993 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19995 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19997 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19998 ptype test for anonymous union. Fixup testcase to match
19999 current gcc debug output.
20001 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20003 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20004 force argument to an unsigned long type.
20006 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20008 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20009 tests and anonymous union print/ptype tests.
20010 * gdb.base/list.exp (test_forward-search): Increase timeout by
20011 5 minutes for the "search extremely long line" case.
20012 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20013 completely optional and that the pass/fail messages use the command as
20014 the message if that third arg is a null string.
20015 (gdb_test_exact): Arrange that a null string pattern means match a
20016 null string output rather than any output, which might include random
20018 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20020 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20021 always failing and failure is now exposed by gdb.exp changes.
20023 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20025 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20026 weren't being noted.
20028 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20030 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20031 * gdb.stabs/weird.exp: Remove v_comb xfails.
20033 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20035 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20036 list.exp scope.exp watchpoint.exp]
20037 Make all timeout error msgs explicitly say "(timeout)".
20039 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20041 * config/monitor.exp: Increase download timeout to 1000 seconds.
20043 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20045 * config/m32r.exp: Increase timeout to 120 seconds.
20047 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20049 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20050 and accept older ordering as obsolescent gcc or gdb.
20051 * gdb.c++/templates.exp: Ditto.
20052 * gdb.c++/virtfunc.exp: Ditto.
20054 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20056 * gdb.base/coremaker.c: Add code to mmap some data so we
20057 can check that it ends up in the core file.
20058 * gdb.base/corefile.exp: Add test to read mmapped data
20061 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20063 * config/m32r.exp: New file.
20065 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20067 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20068 that cflags can contains -gstabs, and work correctly for other tests.
20070 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20072 * gdb.base/setshow.exp: New file, tests show and set.
20073 * gdb.base/setshow.c: New file, tests show and set.
20074 * gdb.base/help.exp: Add test for help set|show annotate.
20075 * gdb.base/default.exp: Add test for set|show annotate.
20077 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20079 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20081 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20084 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20086 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20087 and width commands. This is done elsewhere.
20088 * (gdb_start): Don't call gdb_start_sim here. That's already
20089 done in gdb_load. This fixes lots of failures in default.exp.
20091 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20093 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20094 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20095 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20096 in the same we we treat other failures (since it may be an expected
20097 condition), rather than as an error.
20098 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20101 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20103 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20104 (distclean maintainer-clean realclean): No need to remove files
20105 twice. Nuke the duplicates.
20106 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20107 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20108 Remove config.h along with other config files.
20110 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20112 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20113 "p func1 ()" and note that rests of tests are skipped.
20114 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20115 setup_xfails for "print func2::coremaker_local".
20116 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20117 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20118 affected by the previous run test.
20119 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20120 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20121 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20122 "pass int powerset tuple" and "pass modeless int powerset tuple".
20123 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20124 "real write 4" and "real write 8".
20125 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20126 setup_xfails for "print vs1 after tuple assign 2",
20127 "print \$i after tuple assign 2", and
20128 "print vs2 after tuple assign 2".
20129 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20130 meaningful error message and return -1 so the caller can
20131 suppress further tests and avoid a cascade of errors.
20133 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20135 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20136 format for printing version.
20137 * gdb.base/default.exp: Ditto.
20138 * gdb.base/interrupt.exp: Fix problem with cascade of
20139 errors if child process dies while calling a function.
20141 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20143 * Makefile.in (VPATH): Add
20144 * Makefile.in (Makefile, config.status): Fix rules so things get
20145 remade when necessary.
20147 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20149 * Makefile.in (just-check): Add path to sibling expect dir
20150 to environment variable specified by RPATH_ENVVAR.
20152 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20154 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20155 (just-check): Add shared library paths for libstdc++, tk,
20156 tcl, bfd, and opcodes to the environment variable specified
20158 * configure.in: Add support to recognize --enable-shared flag
20159 and generate correct value for RPATH_ENVVAR.
20160 * configure: Regenerated with autoconf.
20162 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20164 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20165 include all osf versions.
20166 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20167 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20168 when target is linux. When failing to build pthreads test
20169 executable, give more meaningful message.
20170 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20171 arg for pthread_create.
20173 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20175 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20176 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20177 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20178 and -lpthreads (everybody else).
20179 (test_startup): Fail gracefully if threads are not supported.
20180 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20181 "p/c array_index("abcdef",2)" when not gcc compiled.
20182 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20183 "print func2::coremaker_local" when not gcc compiled.
20184 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20185 "ptype on opaque struct tagname (statically)",
20186 "ptype on opaque struct tagname (dynamically) 1", and
20187 "ptype on opaque struct tagname (dynamically) 2"
20188 for not compiled with gcc.
20189 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20190 backtrace when compiled with gcc.
20191 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20192 than always return success.
20194 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20196 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20198 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20200 * gdb.base/structs.exp: Undo last change.
20202 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20204 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20205 encapsulate all the steps/nexts done during self test, starting
20206 at main, and makes them less sensitive to optimization issues.
20207 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20208 signal handler" test.
20209 * gdb.threads/pthreads.exp: Only run this for native configs.
20210 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20211 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20213 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20214 for "runto test_calls(void)" test.
20216 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20218 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20219 and don't expect address info in breakpoint confirmations.
20221 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20223 * gdb.base/list.exp (test_forward_search): Increase timeout
20224 temporarily by 60 seconds for searching extremely long line,
20225 and then reset to old value when done. Increase expect input
20228 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20230 * gdb.base/list.exp (test_forward_search): Fix to handle very
20231 long source line without overflowing expect's input buffer.
20233 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20235 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20238 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20241 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20244 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20247 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20249 * configure.in (configdirs): Add gdb.threads.
20250 * configure: Regenerated with autoconf.
20251 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20252 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20253 * gdb.threads/configure: New, generated with autoconf.
20255 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20257 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20259 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20261 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20262 each signal's status in the output of "handle all print".
20263 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20264 the \r\n sequence that immediately precedes the gdb prompt.
20265 * gdb.base/a1-selftest.exp: Save original timeout and restore
20268 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20270 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20273 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20275 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20277 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20279 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20280 timeout by 60 seconds.
20282 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20284 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20285 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20288 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20290 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20291 gdb initialization, also report how long dejagnu waited. Restore
20292 old timeout before doing error return. Temporarily increase timeout
20293 by 3 minutes to allow for slow startups over heavy NFS use.
20295 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20297 * lib/gdb.exp: Report timeout value for verbosity level 2.
20298 * config/gdbserver.exp: Ditto.
20299 * config/hppro.exp: Ditto.
20300 * config/mips-gdb.exp: Ditto.
20301 * config/monitor.exp: Ditto.
20302 * config/netware.exp: Ditto.
20303 * config/sim-gdb.exp: Ditto.
20304 * config/slite-gdb.exp: Ditto.
20305 * config/udi-gdb.exp: Ditto.
20306 * config/unix-gdb.exp: Ditto.
20307 * config/vx-gdb.exp: Ditto.
20308 * gdb.base/a1-selftest.exp: Ditto.
20309 * gdb.base/a2-run.exp: Ditto.
20310 * gdb.base/break.exp: Ditto.
20311 * gdb.base/corefile.exp: Ditto.
20312 * gdb.base/list.exp: Ditto.
20313 * gdb.base/recurse.exp: Ditto.
20314 * gdb.base/scope.exp: Ditto.
20315 * gdb.base/signals.exp: Ditto.
20317 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20319 * gdb.threads/Makefile.in (docdir): Removed.
20321 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20323 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20324 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20326 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20327 autoconf 2.5 or higher.
20328 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20330 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20332 * configure: Regenerated.
20333 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20334 avoid name clashes with SunOS headers.
20336 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20338 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20340 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20342 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20343 prototype information ends up in the compiler info file.
20345 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20347 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20348 attempting to regenerate it. Eliminate use of a temporary file
20349 and just generate the info file directly. Source it immediately,
20350 for consistency of use.
20351 * gdb.base/corefile.exp: Ditto
20352 * gdb.base/exprs.exp: Ditto.
20353 * gdb.base/funcargs.exp: Ditto.
20354 * gdb.base/langs.exp: Ditto.
20355 * gdb.base/list.exp: Ditto.
20356 * gdb.base/mips_pro.exp: Ditto.
20357 * gdb.base/nodebug.exp: Ditto.
20358 * gdb.base/opaque.exp: Ditto.
20359 * gdb.base/ptype.exp: Ditto.
20360 * gdb.base/scope.exp: Ditto.
20361 * gdb.base/setvar.exp: Ditto.
20362 * gdb.base/signals.exp: Ditto.
20363 * gdb.base/whatis.exp: Ditto.
20364 * gdb.c++/templates.exp: Ditto.
20365 * gdb.c++/virtfunc.exp: Ditto.
20366 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20367 whether or not to add -lstdc++ to the compile command line args.
20369 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20371 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20372 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20373 Increase timeout, a lot of single stepping might be needed if the
20374 target has no hardware watchpoints.
20376 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20378 * gdb.base/break.exp: Ignore compiler warnings when compiling
20380 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20381 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20383 * gdb.base/exprs.exp: Add h8300 xfails.
20384 * gdb.base/funcargs.exp: Likewise.
20385 * gdb.base/nodebug.exp: Likewise.
20386 * gdb.base/printcmds.exp: Likewise.
20387 * gdb.base/ptype.exp: Likewise.
20388 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20390 * gdb.base/return.exp: Handle float/double precision problems
20392 * gdb.base/funcargs.c: Explicitly make last constant argument to
20393 call_after_alloca_subr an unsigned long type.
20394 * gdb.base/return.c: Include stdio.h.
20396 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20398 * config/abug.exp: New file for the older Motorola Bug monitor
20399 that runs on the mvme13x series VME boards.
20400 * config/monitor.exp: Use the new config array for target settings
20403 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20405 * sim-gdb.exp: Make the SH simulator allocate less space when
20408 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20410 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20413 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20415 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20416 "rs6000-*-*" for "list function in include file" when gcc compiled.
20417 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20418 for "p ctable1[120]".
20419 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20420 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20421 Remove setup_xfail for "rs6000-*-*" for
20422 "print 'scope0.c'::filelocal before run".
20423 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20424 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20425 since some compilers don't allow both options to be given
20426 on the same command line. Create object file and move it.
20428 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20430 * gdb.base/corefile.exp: Always regenerate the core file, since
20431 we always regenerate the coremaker program. Detect special case
20432 where registers cannot be read from core file.
20434 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20436 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20437 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20438 * gdb.c++/templates.exp: Only match on basename of file since
20439 some formats like xcoff don't encode directory information.
20440 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20441 and rs6000 AIX xcoff targets.
20442 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20443 * configure: Regenerate.
20444 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20445 here, rather than in distclean.
20447 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20449 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20450 defined, and use it to compile the test case with -O2. The
20451 native compilation still uses no optimization.
20452 * gdb.base/mips_pro.c: Remove inline assembly code since
20453 it is compiled PIC by default, which results in assembler
20454 warnings that make the testsuite think the compilation
20457 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20459 * gdb.c++/misc.exp: Add note to message for
20460 "print s.a for foo struct" that this is a known gcc 2.7.2
20463 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20465 * gdb.base/break.exp: Fix pattern for matching "Delete all
20466 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20467 setup_xfail for deleting all breakpoints test. Fix various
20468 timeout messages to include "(timeout)".
20469 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20470 for "p t_float_values2(3.14159,float_val2)".
20471 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20472 for "continue to call2g" when gcc compiled.
20473 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20474 "up to foo in langs.exp", "show language at foo in langs.exp",
20475 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20476 and "show language at fsub in langs.exp".
20477 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20478 "list line 1 in include file", "list message for lines past EOF",
20479 "list function in include file", "list list0.h:foo", and
20480 "list filename:function; nonexistant function".
20481 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20482 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20483 and "ptype t_char_array" to be for native cc only.
20485 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20487 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20488 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20489 "print func2::coremaker_local", and "backtrace in corefile.exp".
20491 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20493 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20494 "bt in signals.exp". This problem only appears when running
20495 the testsuite, and then only intermittently.
20497 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20499 * gdb.base/return.exp (return_tests): Differentiate between
20500 two tests of continuing.
20502 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20504 * */Makefile.in (maintainer-clean): Remove config.log.
20505 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20506 * gdb.c++/Makefile.in (PROGS): Add inherit.
20507 (clean): Remove *.ci.
20509 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20511 * gdb.c++/misc.cc: Add test code from Mike Stump.
20512 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20514 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20516 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20517 to "alpha-*-osf2*" and add comment.
20518 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20519 setup_xfail for "step over execarg initialization" and
20520 "step over corearg initialization".
20521 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20522 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20523 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20524 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20525 "print func2::coremaker_local", and "backtrace in corefile.exp".
20526 * gdb.base/signals.exp: Build and source signals.ci.
20527 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20528 to be for gcc only.
20529 * lib/gdb.exp: Move verbose statements outside conditionals.
20531 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20533 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20534 Feb 3 procfs.c change.
20536 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20538 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20540 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20542 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20543 from dejagnu's apparent default of 10 seconds, which gives random
20544 results when running the tests over NFS on moderately loaded systems.
20545 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20547 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20549 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20550 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20553 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20555 * configure.in (CY_AC_PATH_TCLH): Remove.
20556 * configure: Regenerate.
20558 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20560 * gdb.c++/Makefile.in (clean): Add missing '{'.
20562 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20564 * lib/gdb.exp: Provide a default value for noinferior.
20566 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20569 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20571 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20572 the executable, not the .o to run the tests from.
20574 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20576 * gdb.base/break.exp: Don't test for program exit or exit status
20577 if $noresults if nonzero.
20578 * gdb.base/langs.exp: Likewise.
20579 * gdb.base/watchpoint.exp: Likewise.
20581 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20582 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20583 trying to compile the testcase.
20585 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20587 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20588 * gdb.base/signals.exp (continue to handler): Likewise.
20590 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20592 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20594 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20596 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20598 * gdb.base/corefile.exp: Recognize "not found" as failure
20599 when trying to determine if a core file was generated.
20600 If no core file was generate the first time, try again without
20601 the ulimit -c to work around braindamaged shells.
20603 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20605 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20606 [] tests with "test" and enclose string in quotes.
20607 * gdb.stabs/configure: Rebuild
20609 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20611 Changes in sync with expect:
20612 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20613 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20614 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20615 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20616 argument to AC_REQUIRE.
20617 * configure: Regenerated.
20619 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20621 * gdb.base/corefile.exp: When generating a core, discard any
20622 error messages about ulimit not found and the "core dumped"
20623 message from the shell that runs the coredumper.
20625 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20627 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20629 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20630 which sed script to run. Expect failure for v_comb test
20633 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20635 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20636 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20638 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20640 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20641 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20642 "sparc-sun-solaris*" xfails for "p v_comb".
20643 * lib/gdb.exp (default_gdb_start): Fix typo.
20644 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20645 messages to not include the full program name that caused
20646 the core dump since some systems (such as solaris) apparently
20647 truncate this path to about 80 characters.
20648 When generating a core file first try increasing the core file
20649 size limit to unlimited since some systems may default it to
20650 zero, and it is harmless to try it. Move the test for failing
20651 to generate a core file to where it will actually get executed.
20652 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20653 new gdb result from g++ debug info improvements and make old
20654 pattern obsolescent. Also account for size_t differences
20655 (may be int or long).
20656 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20657 initialization before function call is placed in the delay slot
20658 and thus appears to be skipped over by commands such as "next".
20660 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20662 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20664 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20666 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20667 input source file; fix code to compile test to deal with this
20669 * gdb.c++/*.exp: Likewise.
20671 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20673 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20674 "bt in signals.exp".
20676 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20678 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20679 "step over execarg initialization" and
20680 "step over corearg initialization".
20682 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20684 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20685 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20687 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20689 From Rob Savoye (rob@poseidon.cygnus.com)
20690 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20691 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20692 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20693 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20694 configure.in}: Major reworking for autoconfig.
20695 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20696 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20698 * config/unix-gdb.exp: Make GDB global.
20699 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20700 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20701 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20702 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20703 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20704 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20705 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20706 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20707 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20708 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20709 pr-8136.exp, result.exp, string.exp, tuples.exp},
20710 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20711 to returns as necessary, arrange for test to compile own testcase
20713 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20715 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20717 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20718 clear_xfail at end of test which might not call either pass or fail.
20719 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20720 "backtrace through signal handler".
20722 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20724 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20725 continuing from a job control stop signal.
20726 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20728 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20730 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20731 * gdb.base/corefile.exp: Likewise.
20732 * gdb.base/funcargs.exp: Likewise.
20734 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20736 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20737 * config/monitor.exp: Add support for setting baud rate.
20739 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20741 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20742 i*86-*-linux* xfails for "backtrace through signal handler".
20743 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20744 "print func2::coremaker_local".
20745 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20746 alpha-dec-osf2* xfail for
20747 "delete all breakpoints when none".
20749 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20751 * gdb.base/break.exp: Change test that deletes all breakpoints
20752 when no user breakpoints are installed. A post 4.15 change
20753 causes gdb to no longer prompt in this case.
20755 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20757 * gdb.base/return.exp (return_tests): Change xfail for test
20758 "correct value returned double test" to stop xfailing at
20759 Solaris 2.5. Apparently the bug has been fixed.
20761 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20763 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20764 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20766 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20768 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20769 * gdb.disasm/hppa.s: Corresponding changes.
20771 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20773 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20775 * config/mt-hpux: Deleted.
20777 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20779 * Many files: When warning about suppressed tests due to a
20780 nonexistant test binary, avoid incrementing the warning count.
20782 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20784 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20786 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20788 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20789 "sparc-*-solaris2*".
20791 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20793 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20794 Add global and local variables and initialize them.
20795 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20796 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20797 extracts the file name and terminating signal from the core file.
20798 * TODO: Remove note about tests for correct mapping of corefile.
20799 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20800 from optimizing it away.
20801 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20802 handles common blocks.
20804 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20806 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20807 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20809 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20811 * Makefile.in (maintainer-clean): New target, synonym for
20813 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20814 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20815 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20816 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20817 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20818 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20820 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20822 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20823 xfails when not gcc compiled for "print foo::funclocal".
20824 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20825 "print foo::funclocal at foo",
20826 "print 'scope1.c'::foo::funclocal at foo",
20827 "print foo::funclocal_bss at foo",
20828 "print 'scope1.c'::foo::funclocal_bss at foo",
20829 "print foo::funclocal_ro at foo",
20830 "print 'scope1.c'::foo::funclocal_ro at foo",
20831 "print bar::funclocal at foo" and
20832 "print 'scope1.c'::bar::funclocal at foo".
20833 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20834 gcc compiled for "print foo::funclocal at bar".
20835 Expand all messages to ensure that they identify that
20836 the test is at bar().
20837 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20839 "ptype on opaque struct pointer (statically)",
20840 "ptype on opaque struct tagname (statically)",
20841 "ptype on opaque struct pointer (dynamically) 1",
20842 "ptype on opaque struct tagname (dynamically) 1",
20843 "ptype on opaque struct pointer (dynamically) 2" and
20844 "ptype on opaque struct tagname (dynamically) 2
20845 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20848 "whatis datalocal",
20851 "whatis bsslocal", and
20853 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20854 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20855 when not gcc compiled.
20856 * gdb.base/funcargs.exp (float_and_integral_args): Add
20857 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20859 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20860 "backtrace from call6a" when not gcc compiled.
20861 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20862 "backtrace from call7a" when not gcc compiled.
20863 * gdb.base/callfuncs.exp (do_function_calls):
20864 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20865 "p t_char_array_values(char_array_val2,char_array_val1)",
20866 "p t_char_array_values(char_array_val1,char_array_val2)",
20867 "p t_char_array_values("carray 1","carray 2")",
20868 "p t_char_array_values("carray 1",char_array_val2)",
20869 "p t_char_array_values(char_array_val1,"carray 2")",
20870 "p sum_args(1,{2})",
20871 "p sum_args(2,{2,3})",
20872 "p sum_args(3,{2,3,4})",
20873 "p sum_args(4,{2,3,4,5})"
20874 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20875 "backtrace in corefile.exp" when not gcc compiled.
20877 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20879 * gdb.base/signals.exp: Rewrite `handle all print' test as
20880 a procedure. Accept blanks or TABs as whitespace, increase
20881 timeout and expect input buffer size for the large output
20882 from the command. Remove "i*86-*-bsdi2.0" xfail.
20884 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20886 * gdb.base/setvar.exp: Add new testcases for truncation when
20887 assigning invalid values to bitfields.
20889 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20891 * gdb.base/callfuncs.exp (do_function_calls): Remove
20892 mips-sgi-irix* xfail for
20893 "call inferior func with struct - returns char *"
20894 and fix test so that an optional (unsigned char *) cast is
20895 accepted in the result.
20897 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20899 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20900 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20901 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20902 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20903 that accidentally got checked in.
20905 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20907 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20908 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20910 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20911 Add mips-sgi-irix5* xfail for not gcc compiled.
20912 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20913 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20914 "p top", "whatis top", "p middle", and "whatis middle".
20915 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20916 "whatis signed char" for not gcc compiled.
20917 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20918 "set variable signed char=-1 (-1)" and
20919 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20920 * gdb.base/funcargs.exp (float_and_integral_args):
20921 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20922 Add mips-sgi-irix* xfail when not gcc compiled for
20923 "continue to call2b".
20924 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20925 "continue to call2g".
20926 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20927 "backtrace from call6a"
20928 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20929 "backtrace from call7k".
20930 Add mips-sgi-irix5* xfail when not gcc compiled for
20931 "backtrace from call7a".
20932 (localvars_after_alloca): Fix gdb_test cmds for
20933 "print * after runto ...".
20934 Remove rs6000-*-* xfails for
20935 "print i after runto localvars_after_alloca" and
20936 "print l after runto localvars_after_alloca"
20938 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20939 when not compiled with gcc, for:
20940 "print signed char == (minus)",
20941 "print signed char != (minus)",
20942 "print signed char < (minus)",
20943 "print signed char > (minus)".
20944 * gdb.base/callfuncs.exp (do_function_calls):
20945 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20946 "call inferior func with struct - returns char *".
20947 * gdb.base/return.exp (return_tests): Change xfail for
20948 "correct value returned double test" to include Solaris 2.4.
20949 * gdb.base/funcargs.exp (float_and_integral_args):
20950 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20952 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20954 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20955 enumeration bitfields if compiling with GNU C.
20956 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20959 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20961 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20962 test for PRO targets.
20964 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20965 breakpoints in the inferior at any given time by making
20966 two groups of breakpoints for call2*, call6* and call7*
20969 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20971 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20972 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20973 from optimizing it away.
20974 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20975 "call inferior func with struct".
20977 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20979 * configure.in: Only configure gdb.chill for particular targets.
20981 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20983 * gdb.base/Makefile.in: Add action to .c.o transformation
20984 rule that generates a .ci file for each .o file and remove
20985 explicit .c.o rules except for callfuncs.o.
20986 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20987 generates a .ci file for each .o file and remove explicit
20989 (clean): Remove *.tmp *.ci files.
20990 (EXECUTABLES): Remove templ-info.exp.
20991 * gdb.base/compiler.c: New file.
20992 * gdb.c++/compiler.cc: New file
20993 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20994 Change rs6000-*-* xfail for
20995 "print 'scope0.c'::filelocal_ro" and
20996 "print 'scope1.c'::filelocal" and
20997 "print 'scope1.c'::filelocal_bss" and
20998 "print 'scope1.c'::filelocal_ro" and
20999 "print 'scope1.c'::foo::funclocal" and
21000 "print 'scope1.c'::foo::funclocal_ro" and
21001 "print 'scope1.c'::bar::funclocal" and
21002 "print 'scope0.c'::filelocal_ro" and
21003 "print 'scope1.c'::filelocal at foo" and
21004 "print 'scope1.c'::filelocal_bss at foo" and
21005 "print 'scope1.c'::filelocal_ro at foo" and
21006 "print 'scope1.c'::foo::funclocal at foo" and
21007 "print 'scope1.c'::foo::funclocal_bss at foo" and
21008 "print 'scope1.c'::foo::funclocal_ro at foo" and
21009 "print 'scope1.c'::bar::funclocal at foo" and
21010 "print 'scope0.c'::filelocal_ro" and
21011 "print 'scope1.c'::filelocal" and
21012 "print 'scope1.c'::filelocal_bss" and
21013 "print 'scope1.c'::filelocal_ro" and
21014 "print 'scope1.c'::foo::funclocal" and
21015 "print 'scope1.c'::foo::funclocal_bss" and
21016 "print 'scope1.c'::foo::funclocal_ro" and
21017 "print 'scope1.c'::bar::funclocal" and
21018 "print 'scope1.c'::bar::funclocal_bss"
21019 to only be xfail'd when not compiled with gcc.
21020 Add rs6000-*-* xfail for
21021 "print 'scope0.c'::filelocal_bss before run"
21022 when compiled with gcc.
21023 (test_at_main): Add rs6000-*-* xfail for
21024 "print filelocal_ro in test_at_main"
21025 when compiled with gcc.
21026 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21027 Add rs6000-*-aix* xfail for
21028 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21029 "ptype t_char_array", not compiled with gcc.
21030 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21031 xfail for "list foo (in include file)" when gcc compiled.
21032 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21033 (integral_args): Add rs6000-*-* xfail for
21034 "run to call0a" if not compiled with gcc.
21035 (unsigned_integral_args): Add rs6000-*-* xfail for
21036 "run to call1a" if not compiled with gcc.
21037 (float_and_integral_args): Add rs6000-*-* xfail for
21038 "run to call2a" if not compiled with gcc and for
21039 "continue to call2b" for any compiler.
21040 Add rs6000-*-* xfail to
21041 "print f1 after run to call2a" for gcc compiled.
21042 (discard_and_shuffle): Add rs6000-*-* xfail for
21044 (shuffle_round_robin): Add rs6000-*-* xfail for
21045 "backtrace from call7a" if not compiled with gcc.
21046 Add rs6000-*-* xfail for
21047 "backtrace from call7b" if compiled with gcc.
21048 (call_after_alloca): Add rs6000-*-* xfail for
21049 "print c in call_after_alloca" and
21050 "print s in call_after_alloca" and
21051 "backtrace from call_after_alloca_subr"
21052 if not compiled with gcc.
21053 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21054 "print c in localvars_in_indirect_call" and
21055 "print c in localvars_in_indirect_call" and
21056 "backtrace in indirectly called function" and
21057 "stepping into indirectly called function"
21058 if not compiled with gcc.
21059 (localvars_after_alloca): Add rs6000-*-* xfail for
21060 "print c after runto localvars_after_alloca" and
21061 "print s after runto localvars_after_alloca" and
21062 "print i after runto localvars_after_alloca" and
21063 "print l after runto localvars_after_alloca"
21065 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21066 than whatis-info.exp.
21067 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21068 than opaque-info.exp.
21069 Setup rs6000-*-* xfail for
21070 "ptype on opaque struct pointer (statically)" and
21071 "ptype on opaque struct pointer (dynamically)" when
21072 not compiled with gcc.
21073 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21074 rather than callf-info.exp.
21075 (do_function_calls): Add clear_xfail for rs6000-*-* for
21076 "p t_float_values2(3.14159,float_val2)". Seems to work
21077 fine there, both with xlc and gcc. Need to find out what
21078 it is doing right and fix other platforms.
21079 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21080 "call inferior func with struct - returns int",
21081 "call inferior func with struct - returns long",
21082 "call inferior func with struct - returns float",
21083 "call inferior func with struct - returns double",
21084 "call inferior func with struct - returns char *",
21085 but only if not gcc compiled (presumes xlc compiled).
21086 Change rs6000-*-* xfails for
21087 "call inferior func with struct - returns char" and
21088 " call inferior func with struct - returns short" to only
21089 xfail if not using gcc.
21090 (clean mostlyclean): Remove *.ci and *.tmp files.
21091 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21092 than templ-info.exp.
21093 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21094 Add rs6000-*-* xfail for "up to foo in langs.exp"
21095 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21096 when not gcc compiled.
21098 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21100 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21101 * gdb.base/corefile.exp: Likewise.
21102 * gdb.base/list.exp: Likewise.
21103 * gdb.base/scope.exp: Likewise.
21104 * gdb.base/siganls.exp: Likewise.
21106 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21108 * gdb.base/whatis.exp: Likewise.
21110 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21112 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21113 failure (opcode table has been fixed to match reality).
21115 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21117 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21118 "call inferior func with struct - returns char",
21119 "call inferior func with struct - returns short"
21121 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21122 "print 'scope0.c'::filelocal at main",
21123 "print 'scope0.c'::filelocal_bss in test_at_main",
21124 "print 'scope0.c'::filelocal at foo",
21125 "print 'scope0.c'::filelocal_bss in test_at_foo",
21126 "print 'scope0.c'::filelocal at bar",
21127 "print 'scope0.c'::filelocal_bss in test_at_bar"
21129 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21130 in source file 1". This bug seems to have been fixed with both
21131 gcc and native cc (was native assembler bug?).
21133 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21135 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21136 "backtrace through signal handler" to "i*86-*-sysv4*".
21137 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21138 continue" case. Add "known SVR4 bug" to fail message.
21139 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21140 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21141 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21142 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21143 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21144 "up to foo in langs.exp", "show language at foo in
21145 langs.exp", "up to cppsub_ in langs.exp", "show
21146 language at cppsub_ in langs.exp", "up to fsub in
21147 langs.exp", and "show language at fsub in langs.exp".
21148 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21149 "bactrace in corefile.exp".
21150 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21151 "call inferior function with struct - returns float" and
21152 "call inferior function with struct - returns double".
21154 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21156 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21157 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21158 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21159 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21161 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21163 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21164 (or overriden) "CHILL" macro rather then bare "gcc".
21165 Also look for ../../gcc/xgcc since that is what we will
21166 actually need, not "Makefile". Remove following assignment
21167 of CHILL to CHILL_FOR_TARGET because that results in
21168 recursive definition.
21170 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21172 * gdb.base/corefile.exp: Change xfail for backtrace in
21173 corefile.exp from linuxaout to all linux.
21174 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21175 cases where we miss the breakpoint at the signal handler
21176 for some reason. Setup xfail for linuxoldld/linuxaout and
21177 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21178 hitting SIGURG breakpoint.
21179 * gdb.base/signals.exp: Setup xfail for "next" acting like
21180 continue to add linuxoldld. Setup xfail for all linux for
21181 "next to handler in signals_tests_1", "backtrace in
21182 signals_tests_1", "continue to func1", "pass SIGUSR1",
21183 and continue to handler".
21185 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21187 * Update all FSF addresses except those in COPYING* files.
21189 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21191 * gdb.base/a2-run.exp: Change messages to be more explicit about
21192 the status of args, and quote binfile in results.
21194 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21196 * gdb.base/callfuncs.exp: Add tests for passing structs to
21197 inferior functions and return various types.
21198 * gdb.base/callfuncs.c: Add functions to receive a struct
21199 and return a member of the struct, in various types.
21201 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21203 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21205 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21207 * config/vxworks29k.exp: New file, sources vxworks.exp.
21209 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21211 * config/gdbremote.exp: New file. Testing framework using
21214 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21216 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21217 "call function when asleep" and "send end of file".
21218 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21219 for "backtrace in corefile.exp".
21220 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21221 for "backtrace through signal handler".
21222 * gdb.base/corefile.exp: Make sure we actually generate a core file
21223 before trying the core tests. Some systems allow the user to suppress
21224 generation of core files and default to that (linux for example).
21225 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21226 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21228 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21230 * gdb.threads: New directory with some crude multi-threaded
21231 gdb tests (step.exp and step2.exp).
21232 * config/mt-lynx (STEP_EXECUTABLE): Define.
21233 (THREADFLAGS): Define.
21235 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21237 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21239 * gdb.base/signals.exp: Disable whole file for lynx until
21242 * gdb.base/signals.exp: xfail test where "next" acts like
21243 "continue" for lynx.
21245 * gdb.base/interrupt.exp: xfail test for calling function while
21246 inferior is asleep for lynx.
21248 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21249 than one cr-lf after each command.
21251 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21253 * configure.in: Reinstate setting of stabsdirs variable, fix
21254 typo in setting up configdirs for native builds.
21256 * gdb.base/return.exp: Fix typo in return double test.
21257 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21258 compiler from optimizing them away.
21260 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21262 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21263 sequences to be echo'd by gdb when using gdb_test.
21264 * gdb.chill/chexp.exp: Likewise.
21265 * gdb.fortran/exprs.exp: Likewise
21267 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21269 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21270 after the inferior gdb has started.
21272 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21273 after each command.
21274 * gdb.base/funcargs.exp: Likewise.
21275 * gdb.base/gdbvars.exp: Likewise.
21276 * gdb.base/interrupt.exp: Likewise.
21277 * gdb.base/list.exp: Likewise.
21278 * gdb.base/watchpoint.exp: Likewise.
21279 * gdb.c++/demangle.exp: Likewise.
21280 * gdb.c++/inherit.exp: Likewise.
21281 * gdb.chill/chexp.exp: Likewise.
21282 * gdb.fortran/exprs.exp: Likewise.
21284 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21285 test if we can't handle IO to/from the inferior.
21287 * gdb.c++/misc.exp: Always check for a program already being
21288 started after sending a "run" command to gdb.
21290 * gdb.base/twice.exp: Start with a fresh gdb.
21292 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21293 only depend on gdb's expression code, not the chill runtime.
21295 * gdb.base/return.c: Put return values into variables so we
21296 can have gdb print them rather than depending on the program
21298 * gdb.base/return.exp: Corresponding changes.
21300 * lib/gdb.exp: Provide default value for noinferiorio.
21301 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21304 * gdb.base/break.exp: Always check for a program already being
21305 started after sending a "run" command to gdb.
21306 (text_next_with_recursion): Don't check the output from the
21307 program's printf statement. Instead just make sure the program
21310 * gdb.base/commands.exp: Protect tests which need arguments with
21311 $noargs conditionals.
21313 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21315 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21316 of structure member arrays to match gdb/valops.c:value_addr change.
21318 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21320 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21323 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21325 * configure.in (configdirs): Remove gdb.chill from default list
21326 of subdirs and then add it back in only if doing a native build.
21327 The current chill compiler does not yet work in any cross build.
21328 * Revert all signal changes from Jul 6.
21329 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21330 for sh-hms targets, allowing these tests to link, with no other
21331 changes. Testing is suppressed by setting "nosignals" in site.exp.
21333 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21335 * configure.in (signaldirs): Define and add to configdirs for all
21336 targets except some specific ones that are known to not support signals.
21337 Also clean up formatting.
21338 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21339 (signals, sigall): Remove rules to build.
21340 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21341 Moved to new gdb.signals directory.
21342 * gdb.signals: New test directory.
21343 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21344 signals.c signals.exp}: New or moved files.
21346 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21348 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21350 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21352 * gdb.base/return.exp: Xfail `return double' test failure
21353 on at least Solaris 2.3 and handle future/past versions on
21354 a case by case basis as appropriate. Also update message
21355 to include i*86 failures.
21357 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21359 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21361 * lib/gdb.exp: Fix comment which erroneously identified
21362 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21363 gdb_file_cmd not gdb_load).
21364 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21366 * gdb.base/setvar.exp: Make test names consistent between pass and
21367 fail cases. Use gdb_test more.
21369 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21371 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21373 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21375 * gdb.base/help.exp: Fix expected help string for `show commands'.
21377 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21379 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21381 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21384 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21386 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21387 that loop eventually terminates. Fix Connection refused logic so
21388 that testsuite will expire nicely.
21390 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21392 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21393 config/rom68k.exp: New tcl glue for the appropriate monitors.
21394 These all just end up calling monitor.exp.
21395 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21396 refused' by retrying. Cleanup some timeout issues.
21397 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21398 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21399 callers don't have to set/restore global timeout variable.
21401 * The following set of changes centralizes management of the global
21402 timeout variable. This way, it can be set in one target dependent
21403 place instead of dozens of places scattered throughout the test suite.
21404 If you need to lengthen a timeout, then you should either set timeout
21405 in one of the config/{target}.exp files, or multiply it by a factor.
21406 Setting it to an absolute value is always going to lose for some
21408 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21409 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21410 * gdb.base/funcargs.exp: Don't set timeout.
21411 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21412 * gdb.base/printcmds.exp (test_print_string_constants
21413 test_print_array_constants): Don't set timeout.
21414 * gdb.base/ptype.exp: Don't set timeout.
21415 * gdb.base/recurse.exp: Don't set timeout.
21416 * gdb.base/return.exp: Don't set timeout.
21417 * gdb.base/watchpoint.exp: Don't set timeout.
21418 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21419 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21421 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21423 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21425 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21427 * lib/gdb.exp: Disable chill tests for irix5.
21429 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21431 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21432 each test pass or fail.
21434 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21436 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21439 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21441 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21443 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21445 * config/est.exp: Fix copyright and comments. Remove dead code.
21446 Use targetname, serialport and baud variables instead of fixed
21448 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21449 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21451 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21453 * gdb.base/watchpoint.exp: Don't run
21454 test_watchpoint_triggered_in_syscall for sunos.
21456 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21458 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21459 they don't seem to exist. Do include stdio.h.
21461 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21463 * gdb.base/a1-selftest.exp: Add alpha xfail.
21465 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21467 * gdb.base/watchpoint.c (main): Prompt before calling read().
21468 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21469 Revise accordingly. Remove cruft about sending "123" several
21470 times, until it gets noticed. Clean up the "print buf[0]" stuff
21471 so that it passes or fails, and waits for prompts in the usual way.
21473 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21475 * gdb.base/recurse.exp: Fix comment.
21477 * TODO: Remove item about printing variables in nodebug.exp. Add
21478 item about enabling tests which are only run on some targets.
21480 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21481 fail, make test names unique, use new gdb_test convention
21482 regarding pattern, use gdb_test more, etc.).
21484 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21485 fail, make test names unique, etc.).
21487 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21489 * gdb.base/nodebug.c: Change return type of top and middle to
21491 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21492 are fixed by the recent mdebugread.c changes. Allow `short ()'
21493 as type for top and middle.
21495 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21497 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21498 nearly as I can tell, the whole thing was an accident in Stu's
21499 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21500 to replace a send/expect pair with gdb_test, but ended up only
21501 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21502 of 30 Mar 1995 took care of it, but left this vestigial comment
21503 which I am now nuking.
21505 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21507 * gdb.base/break.exp: Look for different line number for
21508 breakpoint at main depending on usestubs.
21510 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21512 * gdb.base/list.exp: Adjust some alternate expect patterns to
21513 match recent list0.c change. Add alternate expect pattern for
21514 output from `list default lines around main' for optimizing
21517 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21519 * lib/gdb.exp: If nosignals is not set, set it to 0.
21521 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21523 * config/slite-gdb.exp: Responds to load symbol table prompt.
21524 * gdb.base/break.exp: Adjust line number, fix rerun.
21525 * gdb.base/langs0.c: Add #ifdef usestubs.
21527 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21529 * gdb.base/list.exp: Adjust line contents after adding new lines in
21530 list0.c. Also fix a syntax error.
21532 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21533 * gdb.base/break.exp: ditto.
21534 * gdb.base/list.exp: ditto.
21535 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21536 * gdb.base/run.c: ditto.
21537 * gdb.base/list0.c: ditto.
21538 * gdb.base/funcargs.c: ditto.
21540 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21542 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21543 $targetname, $serialport and $baud instead of hardwired variables.
21544 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21545 target doesn't support signals.
21547 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21549 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21551 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21553 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21554 Don't rely on the value of an auto variable before it has been
21555 initialized. Use gdb_test more.
21557 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21559 * lib/gdb.exp (default_gdb_version): A version number must start
21560 with a digit, but other than that contains all characters up to
21561 the first whitespace character.
21563 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21565 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21567 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21569 * gdb.c++/*.exp: Warn if executable does not exist. The original
21570 reason for skipping the warning was that configure.in sometimes
21571 intentionally skipped building the executables but the tcl code
21572 had no way of knowing. That (a) was always bogus with respect to
21573 error handling, (b) is no longer true (right now there is no way
21574 to skip C++ tests).
21576 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21578 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21580 * gdb.base/list.exp: Add expect patterns for output from
21581 SunPRO compiled executables.
21582 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21585 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21587 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21588 number (we are already testing that the correct source line text
21591 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21592 that is what is intended, but something needed to be done to get
21593 sunos4 native working again.
21595 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21597 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21598 apparently went with a (very) old xfail.
21600 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21602 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21603 runto_main is a proc in gdb.exp that will do 'step' for target use
21605 * gdb.base/exprs.exp: ditto.
21606 * gdb.base/interrupt.exp: ditto.
21607 * gdb.base/opaque.exp: ditto.
21608 * gdb.base/printcmds.exp: ditto.
21609 * gdb.base/ptype.exp: ditto.
21610 * gdb.base/scope.exp: ditto.
21611 * gdb.base/setvar.exp: ditto.
21612 * gdb.base/signals.exp: ditto.
21613 * gdb.base/twice.exp: ditto.
21614 * gdb.c++/classes.exp: ditto.
21615 * gdb.c++/inherit.exp: ditto.
21616 * gdb.c++/templates.exp: ditto.
21617 * gdb.base/break.exp: no run and hit main for stubs. Change line
21618 numbers for breakpoints and info breakpoint.
21619 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21621 * gdb.base/callfuncs.c: ditto.
21622 * gdb.base/exprs: ditto.
21623 * gdb.base/interrupt.c: ditto.
21624 * gdb.base/opaque0.c: ditto.
21625 * gdb.base/printcmds.c: ditto.
21626 * gdb.base/ptype.c: ditto.
21627 * gdb.base/scope0.c: ditto.
21628 * gdb.base/setvar.c: ditto.
21629 * gdb.base/signals.c: ditto.
21630 * gdb.base/twice.c: ditto.
21631 * gdb.c++/misc.cc: ditto.
21632 * gdb.c++/templates.cc: ditto.
21634 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21636 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21638 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21639 somewhere between `read' and `main.c'. I'm pretty sure the
21640 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21641 and it isn't particularly useful.
21643 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21645 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21647 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21649 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21651 * config/mt-slite: add LIBS and -nostdlib.
21652 * config/slite-gdb.exp: add this new file to support sparclite target.
21654 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21656 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21658 * gdb.base/a2-run.exp: Change argument to istarget from
21659 "*-*-vxworks" to "*-*-vxworks*".
21660 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21662 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21664 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21665 will not runto main but do a 'step' to step out of breakpoint().
21666 * config/mt-slite: add -Dusestubs.
21668 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21670 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21673 * gdb.base/signals.exp: Add test for "handle all print".
21674 * TODO: Remove "handle all print". Also remove item about
21675 checking copyright date (I don't like the idea of a spurious FAIL
21676 based on when we run the tests).
21678 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21679 for SunOS4 (reason for failure not investigated). Remove
21680 redundant test for $binfile.
21682 * gdb.base/nodebug.c (array_index): Call malloc.
21684 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21686 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21688 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21689 conventions and slightly simplify the matching regexp.
21691 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21693 * gdb.base/break.exp: Update gdb_test invocation to use new
21696 * lib/gdb.exp: If noargs is not set, set it to 0.
21698 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21701 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21703 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21705 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21706 one argument of type "<non-float parameter>".
21708 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21710 * config/rom68k.exp: New file to support Motorola IDP board.
21711 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21712 * gdb.base/break.c: Change things around so that this program
21713 doesn't depend upon args. This is necessary to make remote
21714 targets work (in general, they can't take args).
21715 * gdb.base/break.exp: Don't try to send args to program. Don't
21716 expect output. Also, replace lots of code with gdb_test.
21718 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21720 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21721 printing of '\'' (which is what the comment says we are testing,
21722 even though we were not), not '''.
21723 (test_integer_literals_rejected): Test that printing ''' is an error.
21725 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21726 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21727 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21728 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21729 Use gdb_test not test_print_accept.
21730 * lib/gdb.exp: Remove test_print_accept.
21732 * gdb.base/signals.exp (signal_tests_1): Make pass message
21733 consistent with fail message.
21735 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21736 unsigned char; the bug (PR 1821) is fixed.
21738 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21740 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21741 successful tests--makes xfailing them work right.
21743 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21745 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21746 only \r\n, not .*. The test can pass .* as the last thing in
21747 $pattern if that is what it wants. In addition to providing this
21748 flexibility, this change should speed up pattern matching in cases
21749 where the pattern already ended with .* (there were a number of
21750 them). This change also helps catch bad patterns--in the old
21751 scheme the typo "char \*" instead of "char \\*" would pass. Now
21753 * Many .exp files: Update callers.
21755 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21756 clearer and does not spuriously match multiple ('s. Likewise for
21759 * gdb.base/nodebug.exp: Test ability to call a function and pass
21760 it a string (even with no debugging info).
21762 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21763 "p '\'", which is the same as "p ''" once tcl gets done with
21764 quoting, to "p '\\'", which I suspect is what is intended (one
21765 backslash gets sent to GDB).
21767 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21769 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21771 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21772 1817) was fixed literally years ago.
21774 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21776 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21777 test, it causes stepping out of call_after_alloca_subr with
21778 optimizing compilers.
21779 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21782 * gdb.c++/templates.exp: Source templ-info.exp only if
21783 the templates executable exists.
21785 * gdb.c++/misc.cc (class Contains_static_instance,
21786 class Contains_nested_static_instance),
21787 gdb.c++/classes.exp (test_static_members): Test printing of
21788 a class that contains a static instance of the class.
21790 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21792 * gdb.base/langs2.c (cppsub_): Don't prototype.
21793 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21796 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21798 * lib/gdb.exp (skip_chill_tests): New procedure.
21800 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21802 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21804 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21805 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21807 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21809 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21811 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21812 disassemble 8, not 16, instructions for part 4.
21814 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21815 support the latter anymore.
21817 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21819 * gdb.base/callfuncs.c: Control use of prototypes based on
21820 NO_PROTOTYPES, not __STDC__.
21821 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21822 t_float_values2 tests if prototypes in use.
21824 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21825 t_double_values): When checking differences against DELTA, check
21826 that difference is within the range (-DELTA,DELTA), not just
21829 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21831 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21832 'file' command firts, then 'target', then 'load', this is due to gdb
21834 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21836 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21838 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21839 FP load/store variants.
21840 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21842 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21844 * gdb.base/term.exp: Do not give a warning if not native, it is
21845 not an abnormal condition.
21847 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21849 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21852 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21854 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21855 are getting the version number.
21857 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21858 if not native, it is not an abnormal condition.
21860 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21862 * lib/gdb.exp: Just use "file exists", rather than undocumented
21863 dejagnu procedure "findfile".
21865 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21867 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21868 (LDFLAGS): Set to -Xlinker -Ur.
21870 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21871 Removed, these values are set by lib/gdb.exp.
21873 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21875 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21877 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21878 of replicating gdb startup code.
21880 * config/mt-vxworks (LDFLAGS): Set to -r.
21881 (CFLAGS_FOR_TARGET): Removed.
21883 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21884 (gdb) and gdb for vxworks uses (vxgdb).
21886 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21887 executable is not in the tree and host != target, use sed and
21888 program_transform_name to determine the gdb name used by the
21891 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21892 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21894 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21896 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21897 floats, chars, and shorts where there are ANSI-style function
21900 * gdb.base/langs.exp, gdb.base/langs*: New test.
21901 * gdb.base/Makefile.in: Build it.
21902 * TODO: Remove item about checking that C names don't get C++
21903 demangling applied; this test tests it.
21905 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21907 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21908 went with the const70 xfail. The xfail went away a year ago.
21910 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21912 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21915 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21917 * gdb.base/a1-selftest.exp: Don't run on hp300.
21919 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21921 * Makefile.in (site.exp): Set host_alias and target_alias as well
21922 as host_triplet and target_triplet.
21924 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21926 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21928 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21929 places as other ecoff systems).
21931 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21934 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21936 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21938 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21939 variable and "variable" in addition to "data variable".
21940 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21942 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21944 * gdb.base/list1.c (long_line): Add additional statement at start
21946 * gdb.base/list.exp (test_forward_search): Update line number to
21947 reflect new statement.
21949 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21951 * gdb.base/signals.exp: Reinitialize searched source directories
21952 after gdb_start call.
21954 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21956 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21957 * gdb.stabs/Makefile.in: Likewise.
21959 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21960 change. Instead split the tests into smaller pieces.
21961 * gdb.disasm/hppa.s: Corresponding changes.
21963 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21965 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21966 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21968 * gdb.base/funcargs.exp: Modify many tests so that every test
21969 either passes or fails. Make some test names unique.
21971 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21973 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21974 Call stty to set interrupt character.
21976 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21977 for HP assembler versus GNU assembler based on actual behavior of
21978 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21980 * TODO: Suggest a few more stepping tests.
21982 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21984 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21985 restart GDB for h8300 after a continue.
21986 (return): Add pattern to match a29k-udi behavior.
21987 * gdb.base/nodebug.exp: Remove obsolete comment.
21988 * gdb.base/regs.exp: New file, testing of register displays.
21989 * gdb.base/return.exp: Fix typo in reference to $objdir.
21990 * gdb.base/whatis.exp: Always start with a fresh GDB.
21992 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21994 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21995 higher, these tests generate a lot of output.
21997 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21999 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22000 code following the catch silently ignored some errors; without the
22001 catch they should be thrown like any other tcl error. Also, the
22002 catch used "" instead of {} which meant all the callers who wanted
22003 to include one of the characters "[]$ had to quote it an extra time.
22004 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22005 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22006 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22007 Remove extra quoting.
22009 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22011 * gdb.base/commands.exp: Make test names unique; every test either
22012 passes or fails. Update some comments.
22014 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22016 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22018 The following fixes a FAIL caused by the fact that the alpha stabs
22019 configuration didn't use the ".if alpha" code in weird.def.
22020 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22021 bit pointer, so the 32 bit version works even on the alpha.
22022 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22023 Remove the stuff which allowed us to have separate versions for
22024 alpha and everything else.
22026 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22027 regexp which "info func operator\[\](" is supposed to match. Fix
22028 string to send to GDB. Note that GDB still doesn't work right. Add a
22029 new test for "info func .perator\[\](" which GDB does handle correctly.
22031 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22033 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22035 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22036 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22037 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22038 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22039 it makes the tests harder to understand and confuses test-o-matic.
22040 The preferred style is that each test provides a PASS or a FAIL,
22041 and has a unique message (e.g. "continue #54" not just "continue")
22042 which is the same for the pass and the fail.
22043 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22044 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22046 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22047 prt_accept which was basically the same thing. Likewise for
22048 test_print_reject and prt_reject.
22049 * lib/gdb.exp (test_print_reject): Add some more error message
22050 patterns to match from the former printcmds.exp (prt_reject).
22051 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22052 One defect of the passcount stuff is that some of it failed to
22053 report XPASS where appropriate.
22054 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22055 stuff before and after arg in expected pattern.
22056 (test_paddr_operator_functions): Re-do test without print_addr_of;
22057 this is the only test which seems to want extra stuff there.
22059 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22061 * gdb.base/nodebug.exp: Update new tests to reflect improved
22062 wording of gdb output.
22064 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22065 and "ptype" work on variables in files compiled without -g.
22066 Replaces commented out "maint print msymbol" tests.
22068 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22070 * gdb.base/setvar.c (dummy): Call malloc.
22072 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22073 losing with the irix4 sed.
22075 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22078 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22080 * TODO: Remove items about corefile.exp testing new exec-file and
22081 backtrace; both are now done. Add items about printing enums.
22083 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22085 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22086 "get signal $thissig" test fails.
22088 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22090 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22092 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22093 compiler warning with dec alpha compiler.
22095 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22096 extra \n from gdb_test call (this explains why the prompt test
22097 that I removed yesterday was there).
22098 (user_defined_command_test): Remove extra \n and prompt test.
22100 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22101 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22103 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22104 Also remove alpha workaround, which turns out to be because
22105 SIGABRT == SIGLOST.
22107 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22109 * gdb.base/help.exp: Don't test "help show".
22111 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22113 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22114 "set print address" is on.
22115 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22116 pass prompt to gdb_test; gdb_test already looks for the prompt.
22118 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22120 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22121 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22122 was to make sure that gdb can read a core file. But (a) the "read
22123 the corefile" part didn't make it to a1-selftest.exp, we just
22124 delete the corefile after creating it, and (b) we test reading
22125 corefiles in corefile.exp anyway. Also, this test left around a
22126 xgdb process on Solaris.
22128 * gdb.base/corefile.exp: Also test backtrace.
22130 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22132 * gdb.base/commands.exp: Test a simple user defined command with
22133 arguments and if/while statements; verify the full user command is
22134 printed by "show user".
22136 * gdb.base/commands.exp: Test if/while commands as part of a
22137 breakpoint command list; verify they appear in breakpoint
22140 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22142 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22143 than by dividing by zero.
22145 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22147 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22148 performing an inferior call with watchpoints enabled.
22149 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22152 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22154 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22157 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22158 Add additional pattern for when "int operator int(void);" appears
22159 in a different order.
22161 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22163 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22165 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22166 and "signal" with ".*".
22168 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22170 * TODO: Add note about "handle all nostop".
22172 * gdb.base/{sigall.c, sigall.exp}: New test.
22173 * gdb.base/Makefile.in: Add it.
22175 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22177 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22178 when invoking GDB, suppresses any windowing interface.
22180 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22182 * config/sim-gdb: New file, simulator testing support.
22184 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22186 * gdb.base/interrupt.exp: Test calling func1 twice.
22188 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22190 * gdb.base/list.exp (test_forward_search): Set timeout higher
22191 when we'll be getting lots of output from gdb.
22193 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22194 "init_malloc" to after the expect statement. Run it if that
22195 regexp is taken, but also for two others which happen if source
22198 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22200 * gdb.base/printcmds.exp: New test, for printing register before
22201 program is running.
22203 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22205 * gdb.base/list.exp: Correct some alternate expect patterns
22206 to reflect changes in list1.c.
22208 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22210 * TODO: Add item regarding large frames.
22212 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22214 * TODO: Remove item about enabling return.exp; it
22215 is enabled. Suggest a few more "return" tests.
22217 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22219 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22222 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22224 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22225 and pr-5646.o, so "make" is the same as "make all", not "make
22228 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22230 * gdb.base/list.exp: Adjust expectations to reflect changes in
22232 (test_forward_search): New test proc.
22233 * gdb.base/list1.c (long_line): New function, has long source line.
22235 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22237 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22238 additional line of code that was added.
22240 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22242 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22243 tests so as not to overflow expect's input buffers.
22244 * gdb.disasm/hppa.exp: Corresponding changes.
22246 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22248 Beginnings of template debugging tests.
22249 * gdb.c++/templ-info.cc: New file to test for template
22250 debugging capability of the compiler.
22251 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22253 * gdb.c++/templates.cc: Add explicit template instantiations
22254 to enable compiling with -fno-implicit-templates. Add destructor
22255 and 'value' method to T5 class for template tests.
22256 * gdb.c++/templates.exp: Add testcases for printing of template
22257 types, setting breakpoints on template methods and calling a
22260 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22262 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22263 branch target since some assemblers (gas-2.5) may emit a
22264 relocation for the branch instead of resolving it in the
22267 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22269 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22270 through signal handler.
22272 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22274 * configure.in (*-*-netware): Use config/mt-netware.
22276 * config/mt-netware: New file.
22277 * config/mt-i386-netware: Removed, separate configs for different
22278 netware architectures are no longer needed now that we have
22281 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22283 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22284 by the recent changes to use ANSI C arithmetic conversions.
22286 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22288 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22289 bug involving using inferior_pid to figure out whether to select a
22292 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22294 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22295 match the current disassembler output.
22297 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22299 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22300 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22301 types, expect "int" as type of integer values (for now).
22303 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22305 * gdb.base/commands.exp: New tests for if/while commands.
22307 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22309 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22310 by .*, since hex values have different syntax in Chill mode.
22312 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22314 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22315 linefeed from expect pattern for repeated types with indices > 9.
22317 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22319 First part of Fortran test suite.
22320 * gdb.fortran: New directory.
22321 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22323 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22325 * gdb.base/default.exp: Update expect pattern for load command
22328 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22330 * configure.in: Change i386 to i[345]86.
22331 * gdb.base/configure.in: Likewise.
22332 * gdb.c++/configure.in: Likewise.
22333 * gdb.chill/configure.in: Likewise.
22335 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22337 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22338 patterns, since that is not a valid context for comments.
22340 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22342 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22343 repeated types and repeated types with indices > 9.
22345 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22347 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22348 2417; old bug has been fixed.
22350 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22352 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22353 send the newline ourselves instead of assuming gdb_test will do
22354 so when passed an empty input string.
22356 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22359 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22361 * lib/gdb.exp (gdb_test): Don't send anything if the first
22362 argument is an empty string. This makes cases where we want to
22363 match output that is already in expect's buffers (for example,
22364 matching a breakpoint after gdb_run_cmd has been called) work
22367 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22369 * config/netware.exp: New file.
22371 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22373 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22374 the -B and -L prefixes so we can find the debugging stub.
22376 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22377 there and we are using the gcc from the tree.
22379 * gdb.base/types.c: Removed.
22381 * gdb.base/configure.in: Look for makefile fragments in ../config.
22382 Recognize i386-*-netware.
22383 * gdb.c++/configure.in: Likewise.
22385 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22387 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22388 the correct TCL syntax.
22390 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22392 * gdb.base/opaque.exp: use runto instead of messing around with
22393 breakpoints. Simplify by using gdb_test.
22395 * gdb.base/bitfields.exp: restart between tests on netware targets
22396 because breakpoints aren't relocated after target death. Run
22397 processes to completion.
22399 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22401 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22403 * Makefile.in: Remove extra tabs that confuse some versions
22404 of "make". Use the newly built gdb to test with by default,
22405 rather than the first one in the tester's search path.
22407 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22409 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22411 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22414 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22416 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22418 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22420 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22421 * gdb.base/funcargs.exp: Likewise.
22423 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22424 * gdb.base/funcargs.exp: Likewise.
22426 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22429 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22431 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22432 return,signals,twice}.exp: Handle non-existant binaries
22435 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22436 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22437 might testing a cross development system.
22439 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22441 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22442 runtest script is relative to ${srcdir}, not ${rootdir}.
22444 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22446 * gdb.base/signals.exp: Allow for optionality of breakpoint
22449 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22451 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22453 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22455 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22456 for size_t definition.
22457 * gdb.c++/templates.cc: Likewise
22459 * config/mt-i386-netware: New file.
22461 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22464 * gdb.base/Makefile.in: Added support for systems that name core
22465 files by appending "core" to the program name.
22466 * gdb.base/a1-selftest.exp: Likewise.
22468 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22470 * gdb.base/return.exp: Add comment and message for `return double'
22471 test failure on Sparc Solaris.
22473 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22475 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22477 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22479 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22480 from optimizing them away.
22481 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22482 patterns to include default constructors and assignment operators,
22483 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22484 character in the output of the virtual base pointer.
22486 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22488 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22489 expression match in print_addr_of to avoid unintented matches.
22490 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22491 versions up to 2.5.8.
22493 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22495 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22496 included file to run under newer versions of expect.
22497 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22498 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22499 Remove xfail for the virtual table of BDDHookV.
22501 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22503 * lib/gdb.exp (string_to_regexp): Set a default result.
22504 (default_gdb_start): Fix misleading message.
22506 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22508 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22509 Remove all CC, etc definitions.
22510 * config/mt-hpux: New file.
22511 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22512 (CFLAGS, LDFLAGS): Define.
22513 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22515 * Makefile.in (site.exp): Don't insert host_os, etc.
22516 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22517 (distclean): Check existence of subdir.
22518 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22519 * gdb.base/Makefile.in: General cleanup and simplification.
22520 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22521 to build executables. Use default rule to build .o files.
22522 (EXPECT, RUNTEST, CC): Fix relative pathname.
22523 (site.exp): Don't insert host_os, etc.
22524 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22525 and/or SIGUSR1 defined.
22526 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22527 * gdb.c++/Makefile.in: General cleanup and simplification.
22528 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22530 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22532 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22534 * gdb.base/recurse.exp: Misc changes to get tests running again
22535 after Kung's changes to the watchpoint code.
22536 * gdb.base/watchpoint.exp: Likewise.
22538 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22540 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22542 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22544 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22545 * lib/gdb.exp (default_gdb_start): Define.
22546 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22547 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22548 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22549 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22550 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22551 Don't call gdb_target_udi in between tests.
22553 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22555 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22556 (which was basically just a local version of the same thing). In
22557 addition to avoiding duplication, gdb_test_exact is faster.
22558 * lib/gdb.exp (gdb_test_exact): Fix typo.
22560 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22561 don't give an error.
22563 * gdb.base/term.exp: Call delete_breakpoints before starting.
22565 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22566 (t10): Add comment.
22568 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22570 Reorganization of the GDB Test Suite.
22572 * gdb.base: New directory, contains all the basic tests.
22573 * gdb.c++: New directory, tests specific to C++.
22574 * gdb.chill: New directory, tests specific to Chill.
22575 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22576 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22577 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22578 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22579 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22581 * */gdbme.*: Rename to match appropriate expect scripts.
22582 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22583 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22584 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22585 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22586 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22587 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22588 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22589 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22590 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22591 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22592 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22593 gdb.c++/virtfunc.cc: New names of C++ files.
22594 * gdb.chill/chillvars.ch: New name of Chill file.
22595 * gdb.base/configure.in, gdb.c++/configure.in,
22596 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22597 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22598 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22599 * configure.in (configdirs): Update to reflect directory changes.
22600 (target_abbrev): No longer define for any configuration.
22601 * Makefile.in: Cosmetic improvements to header comments.
22603 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22605 Various changes to gdb.t31:
22607 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22608 * gdbme.ch: Make all key-words and predefineds be upper-case.
22609 * chillvars.exp: Expect key-words and predefinds in upper-case.
22611 * chillvars.exp: Use gdb_test_exact many places.
22612 Change expected output for arrays (which now includes index labels).
22614 * pr-5020.exp, gdme.ch (module PR_5020):
22615 New test, for PR-5020.
22617 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22619 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22620 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22622 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22624 * Makefile.in: Fix bit-rot in definitions of CHILL,
22625 CHILL_FOR_TARGET and Chill_LIB.
22626 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22627 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22628 CHILL, and CHILL_LIB.
22630 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22632 * Revert the previous changes. Please see Rob's directory
22633 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22635 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22637 * Makefile.in, configure.in, config/mips-gdb.exp,
22638 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22639 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22640 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22641 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22642 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22643 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22644 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22645 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22646 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22647 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22648 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22649 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22650 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22651 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22652 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22655 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22657 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22658 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22659 Rob's new testing fragments.
22661 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22663 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22664 lib/gdb.exp: Replace error proc calls with perror.
22666 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22668 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22669 version also, match on casted version strings, and match on
22670 gdb startup case where the line numbers might be messed up.
22672 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22674 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22675 (CFLAGS): Delete it from here.
22677 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22679 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22681 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22683 * Makefile.in (RUNTEST): Default to just "runtest".
22685 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22687 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22688 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22689 the code has been restructured.
22691 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22693 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22694 \n, not just one of each.
22696 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22697 /bin/cc gives a warning if you do.
22699 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22701 * gdb.t24/demangle.exp: change expect pattern of
22702 __t10ListS_link1ZUiRCUiPT0
22704 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22706 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22707 on local variables in recursive functions.
22709 * gdb.t07/Makefile.in: Build the new test.
22711 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22713 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22714 directly. Instead compare the return values from actual calls.
22716 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22718 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22720 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22722 * From Peter Schauer with minor modifications.
22723 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22724 stops in mid-line in the caller. Add xfail for returning a float
22725 value on X86 targets.
22727 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22729 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22730 to avoid expect lossage.
22731 (fmem_LRbug_tests): Likewise.
22732 * gdb.disasm/hppa.s: Corresponding changes.
22734 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22735 conditions to work with latest dejagnu/expect.
22737 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22738 expected to fail on the PA.
22739 (backtrace in call with trampolines): Explicitly require main
22740 to be frame #1 (no trampolines should show up in backtrace).
22742 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22743 "continue -expect".
22744 * gdb.t06/break.exp: Likewise.
22745 * gdb.t07/watchpoint.exp: Likewise.
22746 * gdb.t13/bitfields.exp: Likewise.
22747 * gdb.t15/{funcargs,return}.exp: Likewise.
22748 * gdb.stabs/weird.exp: Likewise.
22749 * config/{mips,udi}-gdb.exp: Likewise.
22751 * hppa.sed: Enclose comments within a sed command to avoid
22752 losing with the old OSF1 sed.
22754 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22756 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22758 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22759 * gdb.t15/funcargs.exp: Conditionally step again to really
22760 finish from marker_call_with_trampolines. Handle the case where
22761 the first step from within call_with_trampolines already steps
22763 * gdb.t15/gdbme.c: Add comment to closing brace of
22764 call_with_trampolines for funcargs.exp.
22766 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22768 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22771 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22773 * gdb.t07/gdbme.c: More code for watchpoint testing.
22775 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22776 "Hardware watchpoint" throughout file.
22777 (test_watchpoint_triggered_in_syscall): New test.
22778 (test_complex_watchpoint): New test.
22780 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22782 * gdbme.c (call_with_trampolines): New function to try and step
22783 into. Tests trampoline problems on the PA.
22785 * funcargs.exp (localvars_in_indirect_call): No longer expect
22786 stepping into indirect call to fail on PAs.
22787 (test_stepping_over_trampolines): New test.
22789 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22791 * TODO: Add suggestions for static member function tests, and
22794 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22796 * TODO: Add suggestions for "p/a" tests.
22798 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22799 (default_gdb_exit): Replace all the hair with sending "quit" to
22800 the process with a simple close.
22802 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22804 * TODO: Add suggestions for shared library tests.
22806 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22808 * TODO: Add suggestions for x/s tests.
22810 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22812 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22813 "enable once", and "enable breakpoints once" with ".*".
22815 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22817 * TODO: Add suggestions about structure passing tests.
22819 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22821 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22822 the primary1 test, use work around if __GNUC__ < 2.
22823 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22824 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22825 Test for bad output rather than waiting for timeout. Issue
22826 second continue only if first continue failed.
22828 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22830 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22831 operator[] test with gdb_test because the old code didn't seem to
22832 be getting the quoting right with the new dejagnu.
22834 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22836 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22838 * Makefile.in: Use a fresh expect if there is one, use runtest
22839 from the src tree if there is one.
22841 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22843 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22844 next over recursive call. Revise the tests from that point on
22845 (which had been skipped) to match GDB's actual (correct) output.
22847 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22848 with next over a breakpoint whose condition is false.
22850 * gdb.t00/help.exp: Comment out "help set print" tests just like
22851 (and for same reason as) "help set" test.
22853 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22855 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22856 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22858 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22860 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22861 necessary gdb_target_udi.
22863 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22865 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22866 1838 and 2417; they are fixed.
22868 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22869 gdb.t03/ptype.exp (ptype structure, ptype union):
22870 Remove xfails; the test is looser than when the xfails were added.
22872 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22873 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22875 * gdb.t01/run.exp: Only run shell test if isnative.
22877 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22878 since "run" automatically loads if necessary. Call gdb_target_udi
22879 after the "file" since "file" kills any execution target.
22881 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22882 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22883 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22886 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22888 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22890 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22892 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22894 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22895 properly quoting regexps. This makes the second argument to
22896 demangle a fixed string, which matches the callers, instead of a
22897 shell-style pattern which is what the previous implementation
22898 used. Update some of the callers.
22900 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22902 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22903 (comib_nullified_tests): Fix typo.
22904 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22905 strings. No longer expected to fail.
22907 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22908 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22909 strings. No longer expected to fail.
22911 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22912 string. No longer expected to fail.
22914 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22916 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22917 No longer expected to fail.
22919 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22920 string. No longer expected to fail.
22922 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22924 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22925 only in the names (I probably got most of them). I was even
22926 generous with some which differed in underscores in names, and
22927 probably missed a few, and I *still* was able to remove almost a
22928 third of the file with almost no impact on testsuite coverage.
22930 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22932 * gdb.t00/default.exp: Match udi_attach error message as well as
22933 the one from child_attach.
22935 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22937 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22939 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22940 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22942 * Move test with enums and partial symbols back to
22943 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22944 Reverts the change of 26 May 93. Per today's change to
22945 stabs.texinfo, the behavior that weird.exp was expecting was
22946 unreasonable; what is important is that the compiler+gdb get
22947 things right, which happens with a recent gcc. Also fix the test
22948 to deal with native compilers which put out the stab gdb can't
22951 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22953 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22954 in the names. The main thing these accomplish is to slow things down.
22955 Many more such duplicates surely remain.
22957 * gdb.t00/help.exp: Comment out "help support" test just like
22958 (and for same reason as) "help set" test.
22960 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22962 * gdb.t06/break.exp: Remove setup_xfails for
22963 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22964 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22965 about known bug in gcc to include up through 2.5.8.
22966 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22968 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22969 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22970 with latest gcc and gdb.
22971 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22974 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22976 * configure.in (hppa*-*-*): Also configure and build stabs-only
22979 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22981 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22982 * gdb.t10/configure.in (hppa*-*-*): Use it.
22984 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22986 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22988 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22990 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22991 versions prior to 1.13.5.
22993 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22995 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22996 the prompt is at the start of a line.
22998 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23000 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23001 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23002 in the copr tests now.
23003 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23004 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23007 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23009 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23010 gdb.t31/chillvars.exp, lib/gdb.exp:
23011 Tweak to run under either version of expect.
23012 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23013 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23014 * gdb.t11/list.exp: Remove extraneous whitespace.
23016 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23018 * gdb.t16/printcmds.exp (test_print_strings): Accept
23019 "(unsigned char *) " before the string.
23021 * TODO: Add notes about printing of fancy types and GDB expressions.
23023 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23025 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23026 * gdb.t06/configure.in: Don't try to compile signals test program
23027 if doing mips-idt-ecoff.
23029 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23031 * Most .exp files: Tweak to run under either version of expect.
23033 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23035 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23036 xfails; I'm not sure why they are failing, but not because of PR 1806.
23038 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23040 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23041 defined in lib/gdb.exp.
23043 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23045 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23046 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23047 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23048 have to be typeless.
23050 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23052 * TODO: Add suggestion for copyright year test.
23054 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23056 * configure.in (*-*-lynxos*): Add stabs tests.
23058 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23060 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23061 so insert a tab before any assembler directive in column zero.
23063 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23065 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23067 (fpu_short_memory_tests): Likewise.
23069 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23071 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23072 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23073 .stabs directives in comments.
23075 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23077 * TODO: New file, describing tests we could write.
23078 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23080 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23082 * gdb.t06/signals.exp: Add kludge to force re-sync.
23084 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23085 to xgdb instead of gdb, get out of gdb.
23087 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23089 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23092 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23094 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23095 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23096 * gdb.stabs/hppa.sed: New sed script for the PA.
23098 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23100 * gdb.stabs: Re-write weird.def and configuration to use sed
23101 instead of cpp. sed is portable and POSIX; cpp is neither.
23103 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23105 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23107 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23109 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23111 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23113 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23115 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23116 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23118 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23120 * lib/gdb.exp: Comment out code which depends on non-existent
23121 `transform' procedure.
23123 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23125 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23126 * lib/gdb.exp: Transform tool name.
23127 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23128 1.1's new error handling system.
23130 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23132 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23134 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23136 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23137 They made pattern matching so slow that timeouts happened on
23138 heavily loaded systems. Now any output from "show print" which
23139 gets us back to the GDB prompt is a PASS.
23141 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23143 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23145 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23147 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23149 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23150 It is not from PR 3220.
23152 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23154 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23155 just started failing because they depended on the order the
23156 subcommands are presented, or exact docstring text. This kind of
23157 test is a pain and has minimal benefit.
23159 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23161 * gdb.t09/corefile.exp: At end of test, use "core" command with
23164 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23166 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23167 17}/Makefile.in: Make it possible to run the testsuite with Sun
23168 make and CC = cross gcc by adding explicit build rules for .o
23171 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23173 * gdb.t15/funcargs.exp: Don't put comments on same line as
23174 setup_xfail (@#$*%& tcl braindamage!).
23176 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23178 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23180 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23182 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23183 * gdb.t20/inherit.exp: remove three dumplicate entries.
23185 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23187 * gdb.t06/break.exp: For "next over recursive call", fail on any
23188 incorrect output, not just on "factorial (value=2)".
23190 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23192 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23193 working now. Add an xfail if accesing a bss variable causes
23194 a memory error if the target is not yet run.
23196 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23198 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23199 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23200 name of __st* demangling (2 strings). Did Kung really get the
23201 more than 95 others right without testing them?
23203 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23205 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23207 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23209 * configure.in (configdirs): Add gdb.disasm
23210 * gdb.disasm: New directory for GDB disassembler tests.
23211 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23213 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23215 * gdb.t00/help.exp: Don't test "help set".
23217 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23218 from within expect statements. None of these happen anymore and
23219 they cause regressions to be silently unnoticed.
23221 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23222 messages) about known failures with gcc cygnus-2.4.5-930417.
23224 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23225 comp-info.exp so it gets built if it doesn't exist.
23227 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23228 it is no longer used.
23229 * gdb.t13/comp-info.c: Removed.
23231 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23233 * gdb.t06/signals.exp: Add xfail for sun3.
23235 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23237 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23238 relevant because ^C doesn't get sent but failure can be reproduced
23241 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23243 * gdb.stabs/alpha.mt: New configuration file for alpha.
23244 * gdb.stabs/configure.in: Use it.
23245 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23246 sharing with alpha.mt, redefine long to word via preprocessor.
23247 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23249 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23251 * gdb.t00/teststrategy.exp: Change expect string so that we
23252 consume the `(xgdb)' from the command echo and from the gdb prompt.
23253 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23254 gdb currently compares all values as long, so this failure probably
23255 applies to any configuration where LONGEST is bigger than a target int.
23256 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23258 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23259 to handle opaque pointers, gcc is.
23260 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23261 as first argument. Include <sys/types.h> and change all operator
23262 new definitions to use size_t.
23263 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23264 now that we use size_t.
23266 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23268 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23269 a long or float array cast all array members to the same type.
23270 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23272 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23274 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23276 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23278 * gdb.t24 (demangle.exp): Constructors of templates have names like
23279 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23280 section 14.6 of the ARM.
23282 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23283 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23284 accomplish little and slow down the testsuite.
23286 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23287 Accept spaces various places.
23289 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23291 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23292 with watchpoint enabled.
23294 * Makefile.in: Remove definition of CC and remove the second
23295 definition of CXX (the "CXX = gcc" one remains). These definitions
23296 were causing backquotes to be expanded within backquotes, which
23299 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23301 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23303 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23305 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23306 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23307 by mips cc and contains no stabs entries.
23309 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23311 * config/vx-gdb.exp: Use fake device to load files rather than
23313 * lib/gdb.exp: New proc to do "file" command.
23314 * config/unix-gdb.exp: Use new "file" proc.
23316 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23318 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23319 Rework board rebooting slightly.
23320 (gdb_exit): Don't exit from the remote shell; there isn't one.
23321 * gdb.stabs/weird.exp: If a program is being debugged already,
23323 * gdb.t04/setvar.exp: Stop and restart gdb.
23324 * gdb.t05/expr.exp: Likewise.
23325 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23326 restart gdb and reload the program.
23327 * gdb.t08/opaque.exp: Likewise.
23328 * gdb.t12/scope.exp: Likewise.
23329 * gdb.t13/bitfields.exp: Likewise.
23330 * gdb.t15/funcargs.exp: Likewise.
23331 * gdb.t20/classes.exp: Likewise.
23332 * gdb.t03/ptype.exp: Increase timeout.
23333 * gdb.t16/printcmds.exp (test_print_string_constants,
23334 test_print_array_constants): Likewise.
23335 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23336 * gdb.t20/classes.exp (do_tests): Likewise.
23337 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23339 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23341 * gdb.stabs: Renamed *wierd* to *weird*.
23343 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23345 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23346 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23348 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23350 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23351 (do_tests): Remove xfail for whatis on one_var and two_var.
23353 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23355 * Makefile.in: Made cross building work better by adding
23356 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23358 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23360 * gdb.t15/{return.c,return.exp,Makefile.in}:
23361 New test, currently commented out.
23363 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23365 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23366 still running and removes the leftover named socket so GDb can do
23369 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23371 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23373 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23374 cross testing works better with "make check"
23375 * config/unix-gdb: Use default procedures for exit and version.
23376 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23377 with the newest VxWorks.
23379 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23381 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23384 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23385 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23387 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23389 * config/unix-gdb.exp: Remove this version of gdb_exit
23390 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23391 Rob says he'll look at it when he gets back to testing boards.
23393 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23395 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23396 an expected fail for certain ptype commands.
23398 * gdb.t20/classes.exp: Update expected results of "ptype class
23399 Base1" to account for the constructor that now appears in the type.
23401 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23403 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23404 disappeared from list.
23405 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23406 "alldone" proc with call to cleanup and exit.
23407 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23408 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23409 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23410 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23411 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23412 "alldone" proc with simple returns that suppress remaining
23413 tests. The alldone proc went away many months ago.
23415 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23417 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23419 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23421 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23423 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23424 as vax gdb will display them.
23426 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23428 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23431 * scope.exp: Change "bad value for localval" messages so each one
23434 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23435 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23437 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23439 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23441 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23442 doesn't exist (due to optimization).
23444 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23446 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23447 contains \r because the filename is long.
23449 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23450 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23452 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23454 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23455 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23457 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23459 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23461 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23463 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23465 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23466 to match does not match the passing case but still matches the
23469 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23471 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23473 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23475 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23476 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23477 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23478 Remove various versions of gdb_exit.
23479 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23481 * config/unix-gdb.exp: gdb_exit remains here, and should override
23482 the generic version, since it's doing a lot of wierd stuff that
23483 the other versions aren't. FIXME, fold it in, or abandon this
23486 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23488 * gdb.t24/demangle.exp: Add tests for PR 3220.
23490 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23492 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23494 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23496 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23497 "i386-*-*". Works for i486 as well.
23499 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23500 bug, and expand domain of xfail to all SVR4 systems, since the
23501 actual problem is likely to be in generic SVR4 /proc support.
23503 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23505 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23507 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23509 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23510 xfails for other systems. Match a missing 'Continuing.' as an
23511 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23513 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23514 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23515 Only issue warning for missing executables if -all option is used.
23517 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23518 file if -all option is used. It's like an unpredictable XFAIL.
23520 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23522 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23523 for dynamically linked binaries.
23525 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23527 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23529 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23530 to state that this is a known bug in old versions of g++.
23532 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23534 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23535 while waiting for `Continuing'.
23537 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23539 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23540 in text, data, and bss.
23541 * gdb.t10/nodebug.c: Add local and global test variables for
23542 initialized and uninitialized data.
23544 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23546 * config/unix-gdb.exp (gdb_exit): Add "wait".
23548 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23550 * gdb.t06/signals.exp: xfail the continue from the handler for all
23553 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23554 function with watchpoints enabled, the i386 call dummy starts with
23557 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23558 386 bsd names its corefiles.
23560 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23562 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23563 compilers don't grok it.
23564 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23565 with small octal ints rather than character constants, which
23566 are signed and might not fit if first promoted to int.
23568 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23570 * gdb.t09/Makefile.in (clean): Remove corefile.
23572 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23574 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23576 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23577 and Jim Kingdon (kingdon@cygnus.com)
23579 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23580 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23581 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23583 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23585 * gdb.t17/interrupt.exp: Add xfail for hppa.
23587 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23589 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23590 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23591 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23592 to determine signed-ness of bitfields and use the result to setup
23594 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23595 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23596 call line is reached if necessary.
23598 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23600 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23602 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23604 * gdb.t06/break.exp: Also test `clear' command.
23606 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23608 * gdb.t00/teststrategy.exp: Remove extra quote.
23610 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23611 watchpoint enabled to be for all non-68k machines.
23613 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23615 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23617 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23618 targets use aout.mt instead of ecoff.mt as gas understands
23619 standard aout format.
23621 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23623 * lib/gdb.exp (runto): Don't insist that function we are running to
23624 was compiled with -g.
23626 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23628 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23629 to get back into the read system call.
23630 Accept leading newline in case where we woke it up.
23632 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23634 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23635 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23636 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23637 enable ecoff configuration.
23639 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23641 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23643 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23645 * gdb.t16/printcmds.exp: Add another printf test.
23647 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23649 * configure.in: If configured -with-stabs on any target, add
23650 stabsdirs to configdirs.
23652 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23654 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23655 fun" so pattern does not match the command itself.
23657 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23659 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23661 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23663 * gdb.t17/interrupt.exp: Test for more things.
23665 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23667 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23668 compiler arranges the code and line numbers.
23670 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23672 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23674 * gdb.t00/help.exp: Increase expect input buffer size.
23676 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23678 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23680 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23682 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23684 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23685 [0-9]*, not just [0-9].
23687 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23689 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23691 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23693 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23695 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23697 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23699 * gdb.t06/signals.c: Add xfails for sun3.
23701 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23703 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23704 test_stepping tests.
23706 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23708 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23710 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23712 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23713 rather than actually putting it through cpp twice.
23715 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23717 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23719 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23722 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23724 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23726 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23727 C++ features prints as "struct", make it a pass, not an xfail.
23729 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23731 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23732 Don't require VA to print as "class" rather than "struct".
23734 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23736 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23738 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23740 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23742 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23744 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23747 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23749 * gdb.t16/printcmds.exp: Add printf tests.
23751 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23753 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23755 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23757 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23758 pass counts, to counteract any existing or future setup_xfails.
23760 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23762 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23763 {BEGIN,END}_COMMON for common block instead of STAB.
23764 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23766 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23767 intp_var should be N_GSYM not N_LSYM.
23768 wierd-aout.S: Use a label for the value of the N_SO.
23769 wierd.def: Remove all backslashes.
23770 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23772 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23774 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23775 get the expected next to inheritance3.
23777 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23779 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23780 now that gcc-2.4 gets it right.
23782 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23784 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23786 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23787 generating comp-info.exp which works for cross-compilation.
23789 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23791 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23794 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23796 * gdb.t01/run.exp: Start with a fresh gdb.
23797 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23800 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23802 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23803 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23804 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23805 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23808 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23810 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23811 test cases from bug reports.
23813 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23815 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23816 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23817 avoid spurious xfails.
23818 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23819 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23820 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23822 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23824 * gdb.t00/teststrategy.exp: Rework to provide more useful
23825 description of each test, fix problem with systems that define
23826 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23827 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23828 results for "next over recursive call" so timeouts aren't taken
23831 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23833 * gdb.t12/scope.exp: Test printing of variables before run.
23835 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23836 printed in wrong order due to sorting.
23838 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23840 * gdb.t00/teststrategy.exp: Fix expected results for printing
23841 user entered string constant. Is array of char, prints with no
23844 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23846 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23847 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23848 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23849 of struct of char arrays.
23850 * gdb.t00/radix.exp: New tests for radix commands.
23852 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23854 * gdb.t16/printcmd.exp: Print a variable before running program
23855 (with xfail for AIX).
23857 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23859 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23861 * gdb.t16/printcmd.exp: Don't print variables before running program.
23863 * gdb.t06/break.exp: Don't require envp argument to main.
23865 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23867 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23868 Add xfails for rs6000.
23870 * gdb.t02/whatis.exp: Change other tests not to re-test something
23873 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23874 each type used has a variable of that type.
23876 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23878 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23880 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23882 * configure.in: change srctrigger to be a file, not a directory
23884 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23886 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23888 * gdb.t11/list.exp: Fixed a couple of typos.
23890 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23892 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23893 is fixed and PR is closed.
23894 * gdb.t16 (gdbme.c): Add simple test string variable.
23895 * gdb.t16 (printcmds.exp): Add tests with simple test string
23896 variable, primarily for boundaries on "set print elements".
23898 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23900 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23901 Make leading 0's optional and don't expect a tab in the middle
23904 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23906 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23907 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23908 don't end command passed to gdb_test with newline.
23910 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23911 signed keyword away, don't expect signed bitfields to be signed.
23913 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23914 printing with only as many 1's as are in the field as well as printing
23915 with 32 1's (see comment).
23917 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23919 * gdb.t00/default.exp: Start with a fresh gdb.
23920 * configure.in (configdirs): Remove gdb.t31 until the chill
23921 compiler works again. It no longer is able to find chillrt0
23922 since it isn't in libchill.a anymore.
23923 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23924 wierd.o, make more modular.
23925 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23926 spurious newlines that caused problems.
23928 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23930 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23931 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23932 gdb.stabs/wierd.{exp,def}: Many new tests.
23934 * gdb.t00/default.exp: update info line for new message.
23936 * gdb.t02/{whatis.exp,gdbme.c}:
23937 Test that "char *" doesn't print as "caddr_t".
23939 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23941 * gdb.t00/help.exp: Use .* in place of some help messages which
23943 gdb.t00/default.exp: Update "info frame" test for new message.
23944 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23947 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23949 * gdb.t03/{gdbme.c,ptype.exp}:
23950 Add tests for typedef'd struct and union without tags.
23951 Also check "whatis" on a variable of a typedef'd enum without a tag.
23953 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23954 PRMS 1823; the bug still exists but isn't reproduced by this test
23955 anymore), and remove rs6000 XFAIL (the bug is fixed).
23957 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23958 duplicated from whatis.exp. For those that are left, accept
23959 "long", "long int", or "int" for long variables (whatis.exp already
23960 has an XFAIL for "int", so no need to fail it here).
23962 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23963 Deal with GCC's names for types now that GDB uses the compiler's names.
23965 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23966 setup_xfail's for sunos4. If we #defined the signed keyword away,
23967 don't expect GDB to know that char it is signed.
23969 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23971 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23973 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23974 should work on any system, regardless of debugging format.
23975 * gdb.t21/demangle.exp: Move to gdb.t24.
23976 * gdb.t24/demangle.exp: Move from gdb.t21.
23977 * gdb.t24/{Makefile.in, configure.in}: New files.
23979 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23981 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23982 * gdb.stabs: New directory.
23984 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23986 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23987 not just "Quit anyway?".
23989 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23991 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23992 that all setup_xfails are immediately followed by clear_xfails.
23994 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23996 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23997 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23998 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23999 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24000 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24001 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24002 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24003 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24004 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24005 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24006 gdb.t31/chillvars.exp, lib/gdb.exp:
24007 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24008 bug-gdb@prep.ai.mit.edu.
24010 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24012 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24013 with 0.0, not integer 0.
24015 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24017 * gdb.t06/break.exp: Update for "Kill the program" message change.
24019 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24021 * Makefile.in (GDBFLAGS): Set to -nx.
24022 * Makefile.in (site.exp): Use GDBFLAGS.
24024 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24026 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24028 (check): depend on just-check.
24029 (just-check): added so that tests can be run without a noop
24032 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24034 Switch to using configure's configdirs.
24035 * Makefile.in (Makefile): add configure.in dependency.
24036 (SUBDIRS): removed redundant assignment.
24037 * configure.in: switch subdirs assignment to configdirs.
24038 * gdb.t*/configure.in: new files.
24040 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24042 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24045 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24047 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24048 in explicit rules. Apparently this is not supported by some makes.
24050 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24052 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24054 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24056 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24059 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24061 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24063 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24065 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24066 watchpoint problem that is now fixed.
24067 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24068 uninitialized convenience variables.
24069 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24072 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24074 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24075 which causes expect to get out of sync with gdb on long output
24077 * gdb.t09/corefile.exp: Make expected pattern for core file
24078 failing signal and frame output format less sun specific.
24080 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24082 * gdb.t31/chillvars.exp: Add and remove initial dummy
24083 breakpoint, so that symbol table is forced in.
24084 (Needed at least on Sunos4, though it seems not SVR4.)
24085 * gdb.t31/chillvars.exp: Update for changed output format.
24087 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24089 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24091 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24093 * Makefile.in: Added --srcdir when invoking runtest, removed the
24094 need for a local config file. (optional now)
24096 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24098 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24099 failure count used to force early termination. Add some more
24100 expected failures for gnu style demangling.
24102 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24104 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24105 pmi variable from gdb.t20/gdbme to get optimized away.
24106 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24107 Check for written corefile upon timeout _and_ eof.
24109 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24111 * config/unix-gdb.exp: Add missing return 0.
24113 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24115 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24118 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24120 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24123 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24125 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24126 time as i860 support works.
24128 * gdb.t15/funcargs.exp: Fix expected outputs to include
24129 "backtrace 100\r" rather than just "backtrace\r", to match last
24132 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24134 * config/udi-gdb.exp (gdb_exit): Remove close command.
24135 (gdb_target_udi): New procedure to set the UDI target.
24136 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24137 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24138 Added waits for prompts after several question responses. Added
24139 some more responses used by a29k-amd-udi-gdb.
24140 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24141 pass different arguments, restart UDI connection after program
24143 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24144 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24145 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24146 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24147 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24148 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24149 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24150 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24151 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24152 after program completion.
24153 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24154 compiled with a SELECT_VECS setting.
24155 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24156 infinite recursion.
24158 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24159 Added checks for COFF results, and made them expected failures for
24160 all targets. It would be better to make them expected failures
24161 for COFF targets only.
24163 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24165 * Makefile.in: add null dvi target, don't bother to recurse
24166 through test directories for info and install-info; rename
24167 $(datadir) to be dejagnu instead of deja-gnu
24169 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24171 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24172 compiler to coredump.
24173 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24176 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24178 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24180 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24183 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24185 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24186 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24187 which in a shell. Deletes xgdb when done.
24188 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24189 Tests the return from the "set height" or "set width" commands.
24190 Added a few return codes where needed.
24192 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24194 * Makefile.in (SUBDIRS): Add gdb.t17.
24195 * configure.in (subdirs): Add gdb.t17.
24196 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24197 files to test gdb's calling of functions in the inferior with
24198 the correct arguments and gdb's ability to retrieve any
24201 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24203 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24204 may be called after gdb goes away. Previous versions of expect
24205 needed these to avoid file descriptor leaks, but they cause
24206 errors with the current revision of expect.
24207 * gdb.t00/gdbvars.exp: Use -re on expected output after
24208 setting sevenbit-strings.
24209 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24210 to set sevenbit-strings consistent across tests.
24211 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24212 set sevenbit-strings consistent across tests.
24214 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24216 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24217 expected output to match current "expect" expectations.
24219 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24221 * gdb.t00/default.exp: Change expected output for default "source"
24222 command, to match new gdb behavior which requires a filename to
24225 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24227 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24228 expected fail for i486-*-* that misses the marker2 function.
24229 * gdb.t10/crossload.exp (bfddefault): Allow successful
24230 recognition of a format to pass even if no symbols are found.
24231 Explicitly catch failures where the format is not recognized
24232 or is ambiguous, and add the reason to the fail message.
24233 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24234 the cause is and invalid target and add reason to failure message.
24235 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24236 elf32-i386, elf32-sparc, and elf32-i860.
24237 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24238 Set up expected failure for 'filename'::variable scope resolution,
24239 which is now apparently broken on all targets.
24240 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24241 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24242 gdb.t23/templates.exp: Change failure for missing binfile into
24244 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24247 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24249 * gdb.t00/default.exp: Add expected output for default "source"
24250 command, to match new gdb behavior.
24251 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24253 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24255 * config/*-gdb.exp: returns an error, rather than exiting on
24258 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24260 * gdb.t03/gdbme.c: Add pointer to struct variable.
24261 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24262 referencing struct members.
24264 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24266 * configure.in (mips-idt-ecoff): New target.
24267 * config/mips-gdb.exp: New file for remote board using MIPS remote
24268 debugging protocol.
24270 * Redid configuration scheme. Removed gdb.t*/configure.in.
24271 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24272 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24273 distclean targets. Built executables via .o files. Adjusted
24274 tests to account for source files in $(srcdir) rather than
24276 * lib/gdb.exp (runto): Don't expect () after the function name,
24277 because it may have arguments.
24279 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24281 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24282 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24283 expected failures for mips-idt-* and mips-sgi-*.
24284 * gdb.t00/default.exp (attach): Kill process if requested.
24285 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24286 that does not read core files.
24287 * gdb.t01/run.exp: Removed checks for exit status code.
24288 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24290 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24291 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24292 appropriate, rather than doing it by hand.
24293 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24295 * gdb.t10/crossload.exp: Kill existing program if needed.
24296 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24297 appropriate, rather than doing it by hand. Always increase
24298 timeout for this test, not just for VxWorks.
24300 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24302 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24303 of Chill STRUCT types and STRUCT values.
24304 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24306 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24307 struct2): New struct definitions and initializations to test
24308 simple Chill STRUCT types.
24310 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24312 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24313 the null byte at the end of strings.
24314 * gdb.t00/default.exp: Make show version insensitive to copyright
24316 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24317 to avoid dependencies on target char signedness.
24318 * gdb.t16/printcmds.exp: Update expected results for explicitly
24320 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24322 * gdb.t21/demangle.exp: Add many more patterns for template
24323 demangling, most of them being expected failures.
24324 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24325 string we are matching for, to match on the whole string.
24326 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24327 and fix a whole bunch that had incorrect expected output but were
24328 passing anyway because of the bug in "proc demangle".
24329 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24331 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24333 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24335 * gdb/testsuite: made modifications to testcases, etc., to allow
24336 them to work properly given the reorganization of deja-gnu and the
24337 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24339 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24341 * gdb/testsuite: Initial creation of gdb/testsuite.
24342 Migrated dejagnu testcases and support files for testing nm to
24343 gdb/testsuite from deja-gnu. These files were moved "as is"
24344 with no modifications. This migration is part of a major overhaul
24345 of dejagnu. The modifications to these testcases, etc., which
24346 will allow them to work with the new version of dejagnu will be
24347 made in a future update.
24349 For additional changes see gdb.mi/ChangeLog-1999-2003.
24351 ;; Local Variables:
24352 ;; mode: change-log
24355 ;; version-control: never
24358 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24359 2003, 2004, 2005 Free Software Foundation, Inc.
24360 Copying and distribution of this file, with or without modification,
24361 are permitted provided the copyright notice and this notice are preserved.