1 2010-03-25 Keith Seitz <keiths@redhat.com>
3 * gdb.java/jprint.exp: XFAIL printing of static class members
4 because of GCC debuginfo problem.
6 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12 * gdb.base/completion.exp: Allow long instead of long int.
13 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
14 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
16 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
17 * gdb.base/pointers.exp: Allow long instead of long int.
18 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
19 * gdb.base/step-line.exp: Allow a directory before the source file name.
21 2010-03-24 Tom Tromey <tromey@redhat.com>
24 * gdb.base/default.exp: Update.
25 * gdb.base/commands.exp: Update.
26 * gdb.cp/extern-c.exp: Test setting commands on multiple
29 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
31 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
33 * gdb.base/watchpoints.c: Do not include unnecessary headers.
34 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
37 2010-03-24 Stan Shebs <stan@codesourcery.com>
39 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
41 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
43 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
44 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
45 argument. Handle "short" and "long".
46 (Top level): Pass overprototyped output for old_fptr and xptr.
48 2010-03-23 Pedro Alves <pedro@codesourcery.com>
50 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
51 format strings and add casts to avoid compiler warnings.
53 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
55 * lib/trace-support.exp (gdb_trace_setactions):
56 Don't expect whitespace after ">" prompt.
57 * gdb.trace/actions.exp: Adjust for output changes.
58 * gdb.trace/while-stepping.exp: Likewise.
60 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
62 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
65 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
67 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
70 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
72 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
73 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
75 2010-03-19 Stan Shebs <stan@codesourcery.com>
77 * gdb.trace/ax.exp: New file.
79 2010-03-19 Doug Evans <dje@google.com>
81 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
84 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
85 named /usr/sbin/prelink<foo>.
87 2010-03-18 Stan Shebs <stan@codesourcery.com>
89 * gdb.trace/circ.exp: Test circular-trace-buffer.
90 * gdb.trace/tfile.exp: Update tstatus test.
92 2010-03-18 Joel Brobecker <brobecker@adacore.com>
94 * gdb.dwarf2/dw2-anonymous-func.S: New file.
95 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
97 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
99 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
101 2010-03-18 Pedro Alves <pedro@codesourcery.com>
103 * gdb.base/default.exp: Adjust the expected output of the finish
104 and until commands when the inferior is not being run.
106 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
108 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
109 * gdb.cp/nsusing.exp: Ditto.
111 2010-03-15 Tom Tromey <tromey@redhat.com>
113 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
114 * gdb.cp/userdef.cc (operator==): New function.
115 (main): New locals mem1, mem2.
117 2010-03-15 Jie Zhang <jie@codesourcery.com>
119 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
120 Declare and use new loadtimeout variable.
122 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
124 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
127 2010-03-14 Pedro Alves <pedro@codesourcery.com>
129 * gdb.base/solib-disc.c (main): Make format of fprintf a string
130 literal. Add missing endlines to prints to stderr.
132 2010-03-12 Tom Tromey <tromey@redhat.com>
135 * gdb.cp/m-static.exp: Add regression test.
136 * gdb.cp/m-static.cc (method): New method.
139 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
141 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
142 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
144 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
146 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
148 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
150 * lib/gdb.exp (skip_stl_tests): New.
151 (gdb_compile): Symbian needs -ldl.
152 (shlib_target_file): New.
153 (shlib_symbol_file): New.
154 (gdb_load_shlibs): Use shlib_target_file.
155 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
156 * gdb.cp/exception.exp: Use skip_stl_tests.
157 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
158 * gdb.cp/try_catch.exp: Use skip_stl_tests.
159 * gdb.cp/mb-templates.exp: Ditto.
160 * gdb.base/commands.exp: Relax regexes.
161 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
162 shlib_target_file and shlib_symbol_file.
163 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
165 * gdb.base/ending-run.exp: Accept E32Main for symbian.
166 * gdb.base/solib-disc.exp: Use
167 shlib_target_file and shlib_symbol_file.
168 * gdb.base/unload.exp: Don't skip on symbian. Use
169 shlib_target_file and shlib_symbol_file.
170 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
172 2010-03-12 Pedro Alves <pedro@codesourcery.com>
174 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
175 * gdb.trace/report.exp: Adjust for x86 and x86_64.
176 Issue a tfind end before looking for a tracepoint frame.
177 * gdb.trace/tfind.exp: Adjust tstatus output.
178 Adjust disassembly output.
179 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
181 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
183 * gdb.base/break-interp.exp: Create new displacement parameter value
184 for the test_ld calls.
185 (reach): New parameter displacement, verify its content. New push of
186 pf_prefix "reach-$func:". Import global expect_out.
187 (test_core): New parameter displacement, verify its content. New push
188 of pf_prefix "core:". New command "set verbose on". Import global
190 (test_attach): New parameter displacement, verify its content. New
191 push of pf_prefix "attach:". New command "set verbose on". Import
193 (test_ld): New parameter displacement, pass it to the reach, test_core
194 and test_attach calls and verify its content in the "ld.so exit" test.
195 * gdb.base/prelink.exp: Remove gdb_exit and final return.
196 (prelink): Update expected text, use gdb_test.
198 2010-03-10 Doug Evans <dje@google.com>
200 * gdb.base/checkpoint.exp: Fix comment.
201 Lengthen timeout while doing >600 checkpoints test.
202 Rename duplicate "kill all one" test to keep test names unique.
204 2010-03-10 Pedro Alves <pedro@codesourcery.com>
206 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
208 2010-03-08 Keith Seitz <keiths@redhat.com>
210 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
211 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
212 (dm_type_long): New function.
213 (dm_type_unsigned_short): New function.
214 (dm_type_unsigned_long): New function.
215 (myint): New typedef.
216 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
217 long, unsigned shor and long, operator char*, and typedef.
218 (test_lookup_operator_functions): Add operator char* test.
219 (test_paddr_operator_functions): Likewise.
220 (test_paddr_overloaded_functions): Use probe values for
221 short, long, and unsigned short and long.
222 (test_paddr_hairy_functions): If the demangler probe detected
223 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
225 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
226 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
227 and "print null_pmf".
228 Add test "ptype a.*pmf".
229 * gdb.cp/overload.exp: Allow optional "int" to appear with
231 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
232 long expect value for men_overload1arg.
233 Allow "int" to appear with "short" and "long".
234 When testing "info break", add argument for main (void).
235 Also allow "int" to appear with "short" and "long".
236 Ditto with "unsigned" and "long long".
237 * gdb.java/jmain.exp: Do not enclose methods names in single
239 * gdb.java/jmisc.exp: Likewise.
240 * gdb.java/jprint.exp: Likewise.
241 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
243 From Jan Kratochvil <jan.kratochvil@redhat.com>:
244 * gdb.cp/exception.exp (backtrace after first throw)
245 (backtrace after second throw): Allow a namespace before __cxa_throw.
246 (backtrace after first catch, backtrace after second catch): Allow
247 a namespace before __cxa_begin_catch.
249 * gdb.cp/cpexprs.exp: New file.
250 * gdb.cp/cpexprs.cc: New file.
252 From Daniel Jacobowitz <dan@codesourcery.com>
253 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
254 to use string_to_regexp.
255 (ctor, dtor): New functions. Use them to match constructor
256 and destructor function types.
257 (Top level): Use runto_main.
259 2010-03-05 Tom Tromey <tromey@redhat.com>
261 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
263 (pp_ns.to_string): Likewise.
265 2010-03-04 Keith Seitz <keiths@redhat.com>
267 * gdb.cp/overload.exp: Test that the filename portion of a linespec
268 can be quoted. Test that both the filename and function/line
269 portions can be quoted at the same time.
271 2010-03-04 Pedro Alves <pedro@codesourcery.com>
273 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
275 2010-03-03 Doug Evans <dje@google.com>
277 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
278 libc contains libpthread.
280 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
281 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
282 of gdb_compile. Add another pattern to match android backtrace.
284 2010-03-03 Tom Tromey <tromey@redhat.com>
287 * gdb.base/printcmds.exp (test_printf): Add test.
289 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
291 * gdb.arch/amd64-byte.exp: New.
292 * gdb.arch/amd64-dword.exp: Likewise.
293 * gdb.arch/amd64-pseudo.c: Likewise.
294 * gdb.arch/amd64-word.exp: Likewise.
295 * gdb.arch/i386-byte.exp: Likewise.
296 * gdb.arch/i386-pseudo.c: Likewise.
297 * gdb.arch/i386-word.exp: Likewise.
299 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
301 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
302 types. Add structreg, bitfields, and flags registers.
303 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
306 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
308 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
309 (load_description): Set architecture if defined.
311 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
313 * gdb.python/py-frame.exp: Add read_var block tests.
314 * gdb.python/py-frame.c (block): New function.
316 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
317 Daniel Jacobowitz <dan@codesourcery.com>
319 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
321 2010-02-25 David S. Miller <davem@davemloft.net>
323 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
324 fix logic for setting all_syscalls_numbers.
326 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
328 * Makefile.in: Add py-block and py-symbol.
329 * gdb.python/py-symbol.exp: New File.
330 * gdb.python/py-symtab.exp: New File.
331 * gdb.python/py-block.exp: New File.
332 * gdb.python/py-symbol.c: New File.
333 * gdb.python/py-block.c: New File.
335 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
338 * lib/gdb.exp (skip_python_tests): New function.
339 * gdb.python/py-cmd.exp: Use skip_python_tests.
340 * gdb.python/py-frame.exp: Likewise.
341 * gdb.python/py-function.exp: Likewise.
342 * gdb.python/py-prettyprint.exp: Likewise.
343 * gdb.python/py-template.exp: Likewise.
344 * gdb.python/py-type.exp: Likewise.
345 * gdb.python/py-value.exp: Likewise.
347 2010-02-22 Pedro Alves <pedro@codesourcery.com>
351 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
353 2010-02-19 Tom Tromey <tromey@redhat.com>
355 PR c++/8693, PR c++/9496:
356 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
359 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
361 Fix compatibility with m68k as.
362 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
363 Use only /* comments */.
365 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
367 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
368 * configure: Regenerate.
370 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
372 * gdb.python/py-type.exp: Check for Python support.
374 2010-02-17 Pedro Alves <pedro@codesourcery.com>
376 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
377 `regsub' syntax available.
379 2010-02-17 Pedro Alves <pedro@codesourcery.com>
381 * gdb.base/shmain.c (main): Remove printf call.
382 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
383 * gdb.base/unload.c (main): Make format of fprintf a string
384 literal. Add missing endlines to prints to stderr.
385 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
387 2010-02-17 Tom Tromey <tromey@redhat.com>
389 * gdb.java/jprint.java (jprint.props): New field.
390 * gdb.java/jprint.exp (set_lang_java): Add regression test.
392 2010-02-17 Pedro Alves <pedro@codesourcery.com>
394 * gdb.base/charset.exp: Don't assume new `regsub' syntax
397 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
399 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
400 creation to support remote host testing.
402 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
404 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
405 Recognize "command not found".
407 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
409 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
412 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
414 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
415 if arguments are not supported.
417 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
419 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
420 be const or non-const.
422 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
424 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
425 mi_send_resuming_command to send -exec-continue.
427 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
429 * gdb.base/list.exp (test_list_filename_and_function): Add test
431 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
433 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
434 Add KFAIL'd tests for PR gdb/11289.
436 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
438 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
440 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
442 * gdb.base/comp-dir/subdir/dummy.txt: New file.
443 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
444 a temporary directory.
446 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
448 * gdb.base/charset.exp: Use a single regular expression to match
449 show host-charset and show target-charset output.
451 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
453 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
454 "Illegal process-id" expect string more exact.
455 (attach to digits-starting nonsense is prohibited): New.
457 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
459 * gdb.base/prelink.exp (set verbose on): New.
461 2010-02-12 Tomas Holmberg <th@virtutech.com>
463 * mi-reverse.exp: New file. Test for reverse option to the
464 following MI commands: exec-continue, exec-finish, exec-next,
465 exec-step, exec-next-instruction, exec-step-instruction.
467 2010-02-09 Joel Brobecker <brobecker@adacore.com>
469 * gdb.ada/ptype_tagged_param: New testcase.
471 2010-02-08 Tom Tromey <tromey@redhat.com>
474 * gdb.cp/overload.exp: Add tests.
475 * gdb.cp/overload.cc (struct K): New.
477 (main): Call new functions.
478 (K::staticoverload): Define.
480 Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
483 * gdb.cp/pr10728-x.h: New file.
484 * gdb.cp/pr10728-x.cc: New file.
485 * gdb.cp/pr10728-y.cc: New file.
486 * gdb.cp/pr10728.exp: New file.
487 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
489 Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
492 * gdb.cp/pr9067.exp: New
493 * gdb.cp/pr9067.cc: New
494 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
496 2010-02-08 Joel Brobecker <brobecker@adacore.com>
498 * lib/gdb.exp (gdb_test_timeout): New global variable.
499 Set it to timeout if not already set.
500 (gdb_init): Reset the value of timeout to gdb_test_timeout.
502 2010-02-05 Doug Evans <dje@google.com>
504 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
507 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
510 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
512 2010-02-04 Tom Tromey <tromey@redhat.com>
514 * gdb.cp/virtbase.exp: Make test case names unique.
516 2010-02-02 Tom Tromey <tromey@redhat.com>
518 * gdb.cp/virtbase.exp: Add regression tests.
519 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
520 (main): Instantiate RHC.
522 2010-02-02 Tom Tromey <tromey@redhat.com>
524 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
525 type-printing change.
527 2010-02-02 Tom Tromey <tromey@redhat.com>
529 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
530 * gdb.cp/virtbase.cc: New file.
531 * gdb.cp/virtbase.exp: New file.
532 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
534 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
537 * gdb.threads/current-lwp-dead.c: Include features.h.
539 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
541 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
543 * gdb.base/symbol-without-target_section.exp,
544 gdb.base/symbol-without-target_section.c: New.
546 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
548 * gdb.base/bigcore.exp: Reset increased timeout.
549 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
551 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
553 * gdb.base/gcore.exp (capture_command_output): Use
556 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
558 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
559 * gdb.arch/thumb2-it.exp (test_it_break): New function.
560 (Top level): Call it.
562 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
564 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
566 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
568 * gdb.base/call-strs.exp, gdb.base/default.exp,
569 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
570 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
571 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
572 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
573 gdb.base/watchpoint-solib.exp: Save and restore timeout.
574 * gdb.base/ending-run.exp: Correct restore of timeout.
575 * gdb.base/page.exp: Remove unnecessary timeout setting.
577 2010-01-29 Joel Brobecker <brobecker@adacore.com>
579 * gdb.ada/rec_return: New testcase.
581 2010-01-29 Joel Brobecker <brobecker@adacore.com>
583 * gdb.ada/call_pn: New testcase.
585 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
587 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
588 (Top level): Use it to resume.
589 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
590 the Thumb mode displaced stepping error as unsupported.
592 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
594 * gdb.cp/nsusing.exp: Added more tests.
595 * gdb.cp/nsrecurs.exp: Ditto.
596 * gdb.cp/nsusing.cc: Added test functions.
597 * gdb.cp/nsrecurs.cc: Ditto.
599 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
601 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
602 absolute directory pathnames in gdb.sum file.
604 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
606 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
607 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
609 2010-01-26 Tom Tromey <tromey@redhat.com>
612 * gdb.base/printcmds.exp (test_print_string_constants): Remove
615 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
617 * gdb.cp/nsrecurs.exp: New test.
618 * gdb.cp/nsrecurs.cc: New test program.
619 * gdb.cp/nsstress.exp: New test.
620 * gdb.cp/nsstress.cc: New test program.
621 * gdb.cp/nsdecl.exp: New test.
622 * gdb.cp/nsdecl.cc: New test program.
624 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
626 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
627 imported into file scope.
628 Marked test as xfail.
629 * gdb.cp/namespace-using.cc (marker5): New function.
630 * gdb.cp/shadow.exp: New test.
631 * gdb.cp/shadow.cc: New test program.
632 * gdb.cp/nsimport.exp: New test.
633 * gdb.cp/nsimport.cc: New test program.
635 2010-01-25 Tom Tromey <tromey@redhat.com>
638 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
639 with "set print null-stop on".
641 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
643 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
644 Adjust it for DISASSEMBLY_OMIT_FNAME.
646 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
649 * gdb.dwarf2/member-ptr-forwardref.exp,
650 gdb.dwarf2/member-ptr-forwardref.S: New.
652 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
654 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
655 (thread1_func): Protect thread1_tid with thread1_tid_cond by
656 thread1_tid_mutex. Remove gdbstop_mutex handling.
657 (thread2_func): Protect thread2_tid with thread2_tid_cond by
658 thread2_tid_mutex. Remove gdbstop_mutex handling.
659 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
660 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
661 pthread_cond_wait conditionalizations by while loops.
663 2010-01-20 Tom Tromey <tromey@redhat.com>
666 * gdb.dwarf2/pr10770.exp: New file.
667 * gdb.dwarf2/pr10770.c: New file.
668 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
670 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
672 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
673 that target was removed, and the test always runs native anyway.
675 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
677 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
678 gdb.base/watchpoint-cond-gone-stripped.c: New.
680 2010-01-19 Tom Tromey <tromey@redhat.com>
683 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
685 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
686 (main): Use AAA::SomeEnum.
688 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
690 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
691 (test_ignore_count): Declare line_callme_body global.
692 (run to breakpoint with ignore count): Use line_callme_body.
693 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
694 (set line_main_hello, set line_main_return): Reindent.
695 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
697 (continue to callee4): Use line_callee4_body.
698 (check *stopped from CLI command): Use line_callee4_next.
699 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
700 (set line_main_hello, set line_main_return): Reindent.
701 (set line_callee4_head, set line_callee4_body): New.
702 (continue to callee4): Use line_callee4_body.
704 2010-01-18 Tom Tromey <tromey@redhat.com>
707 * gdb.cp/casts.cc: Add new classes and variables.
708 * gdb.cp/casts.exp: Test new operators.
710 2010-01-18 Tom Tromey <tromey@redhat.com>
711 Thiago Jung Bauermann <bauerman@br.ibm.com>
713 * gdb.python/source2.py: New file.
714 * gdb.python/source1: New file.
715 * gdb.python/python.exp: Test "source" command.
717 2010-01-15 Stan Shebs <stan@codesourcery.com>
719 * gdb.trace/tfile.c: New file.
720 * gdb.trace/tfile.exp: New file.
722 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
724 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
726 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
728 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
730 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
732 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
733 (libfunc): New parameter action. Implement also selectable "sleep".
734 * gdb.base/break-interp-main.c: Include assert.h.
735 (libfunc): New parameter action.
736 (main): New parameters argc and argv. Assert argc. Pass argv.
737 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
738 (test_attach): New proc.
739 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
740 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
742 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
744 * gdb.base/break-interp.exp (test_core): New proc.
747 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
749 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
750 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
751 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
752 and gdb_compile_shlib. Use new -Wl compiler options.
753 (dl bt, main bt): New tests.
755 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
757 Support PIEs with no symfile_objfile.
758 * gdb.base/break-interp.exp: New argument at the test_ld calls.
759 (test_ld): New parameter trynosym.
760 (test_ld <$trynosym>): New block.
762 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
764 * gdb.base/break-interp.exp: New file.
766 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
768 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
769 * gdb.python/py-prettyprint.py (pp_ls): New printer.
770 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
772 * gdb.python/py-prettyprint.c: Define lazystring test structure.
773 * gdb.python/py-mi.exp: Add lazy string test.
775 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
777 * lib/mi-support.exp (mi_check_thread_states): Handle
778 core number in thread listing.
780 2010-01-12 Joel Brobecker <brobecker@adacore.com>
782 * gdb.base/maint.exp: Adjust the expected output for the
783 "maint print type" test. Use gdb_test_multiple instead of
786 2010-01-11 Doug Evans <dje@google.com>
788 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
789 from gdbserver_download. All callers updated.
791 * gdb.server/ext-run.exp: "info os processes" requires xml support.
793 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
795 Implement binary numbers parsing.
796 * gdb.base/printcmds.exp (test_integer_literals_accepted)
797 (test_integer_literals_rejected): New binary tests.
799 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
801 * gdb.cell/configure: Regenerate.
803 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
805 * gdb.base/corefile.exp: Move the core finding block out and call it as
806 core_find, new variable $corefile, replace corefile by $corefile and
807 [file tail $corefile] for usage vs. test names resp.
808 * lib/gdb.exp (core_find): Move it as a new function here. New
809 parameter binfile and deletefiles. New variable $destcore. Pre-delete
810 $destcore. Return "" on error.
812 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
814 Workaround PR binutils/10802.
815 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
818 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
820 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
822 2010-01-08 Joel Brobecker <brobecker@adacore.com>
824 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
825 call, to avoid interruption.
827 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
829 * gdb.stabs/weird.def (args93): New.
831 2010-01-07 Doug Evans <dje@google.com>
833 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
835 2010-01-07 Tom Tromey <tromey@redhat.com>
837 * gdb.base/source.exp: Use correct line number.
839 2010-01-05 Stan Shebs <stan@codesourcery.com>
841 * gdb.trace/tracecmd.exp: Test ftrace.
843 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
845 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
847 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
849 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
850 "uint_for_mi_testing".
852 2010-01-01 Joel Brobecker <brobecker@adacore.com>
854 Test indented comment in file being sourced.
855 * gdb.base/commands.exp: Test indented comment in file being sourced.
857 2010-01-01 Joel Brobecker <brobecker@adacore.com>
859 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
860 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
861 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
864 2010-01-01 Joel Brobecker <brobecker@adacore.com>
866 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
869 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
871 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
872 missing $after_stopped and comma (,) expectation.
874 2009-12-31 Stan Shebs <stan@codesourcery.com>
876 * gdb.trace/actions.exp: Test teval action.
878 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
880 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
881 (top level): Call test_watchpoint_in_big_blob.
882 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
884 (func3): Write to buf.
886 2009-12-29 Stan Shebs <stan@codesourcery.com>
888 * gdb.trace/actions.exp: Test default-collect.
890 2009-12-28 Stan Shebs <stan@codesourcery.com>
892 * gdb.trace/tsv.exp: New file.
893 * gdb.base/completion.exp: Update ambiguous info output.
895 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
897 * gdb.base/find.c (main): Reference search buffers.
898 * gdb.base/included.c (main): Reference integer.
899 * gdb.base/ptype.c (charfoo): Declare.
900 (intfoo): Call charfoo.
901 * gdb.base/scope0.c (useitp): New function.
902 (usestatics): Use useitp.
903 (useit): Add a type for val.
904 * gdb.base/scope1.c (useit1): Take a pointer argument.
905 (usestatics1): Update calls to useit1.
906 * gdb.cp/call-c.cc: Declare foo.
908 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
909 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
910 (main): Call C::ensureRefs and ensureOtherRefs.
911 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
913 (ensureOtherRefs): New function.
914 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
915 * gdb.cp/templates.cc (main): Call t5i.value.
917 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
919 Fix compatibility with G++-4.5.
920 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
921 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
922 (uncaught return): Remove.
924 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
925 Phil Muldoon <pmuldoon@redhat.com>
927 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
928 (bp_location13, bp_location14, bp_location17, bp_location18)
929 (marker3_proto, marker4_proto): New variables.
930 (breakpoint info): Update output.
931 (run until breakpoint at marker3, run until breakpoint at marker4): New
934 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
936 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
937 Replace the printf call of Y by provided "y-set-1" label. New block
938 for the second shared library.
939 * gdb.base/unload.exp: Compile also the second library, call
940 gdb_load_shlibs also for it. Use now gdb_breakpoint.
941 (single pending breakpoint info): Rename to ...
942 (pending breakpoint info before run): ... this extended test.
943 (libfile2, libname2, libsrcfile2, libsrc2)
944 (lib_sl2): New variables.
945 (exec_opts): Set also SHLIB_NAME2.
946 (pending breakpoint info on first run at shrfunc1)
947 (pending breakpoint info on second run at shrfunc1)
948 (pending breakpoint info on second run at shrfunc2)
949 (print y from libfile, print y from libfile2): New tests.
950 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
951 * gdb.base/unloadshr2.c: New.
953 2009-12-22 Hui Zhu <teawater@gmail.com>
955 * gdb.reverse/sigall-reverse.exp: Adjust.
957 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
961 * gdb.mi/var-cmd.c (do_bitfield_tests): New
962 (main): Call do_bitfield_tests.
963 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
965 2009-12-20 Joel Brobecker <brobecker@adacore.com>
967 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
968 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
969 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
970 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
971 gdb.modula2/unbounded1.c: Update copyright header.
973 2009-12-10 Chris Moller <moller@mollerware.com>
976 * gdb.cp/virtfunc2.exp: New tests
977 * gdb.cp/virtfunc2.cc: New tests
978 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
980 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
982 * gdb.reverse/i387-env-reverse.c: New file.
983 * gdb.reverse/i387-env-reverse.exp: New file.
984 * gdb.reverse/i387-stack-reverse.c: New file.
985 * gdb.reverse/i387-stack-reverse.exp: New file.
987 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
989 * gdb.python/py-type.exp (test_range): New test.
991 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
995 * gdb.python/py-type.exp: New file.
996 * gdb.python/py-type.c: New file.
997 * Makefile.in: Add py-type.
999 2009-12-03 Tom Tromey <tromey@redhat.com>
1001 * gdb.python/py-value.exp (test_parse_and_eval): New
1004 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
1008 * gdb.base/pr11022.exp: New test.
1009 * gdb.base/pr11022.c: New test.
1011 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1013 Fix spurious false FAILs.
1014 * gdb.base/structs.c (chartest): New.
1015 (main): Fill-in chartest.
1016 * gdb.base/structs.exp (anychar_re, first): New.
1017 (start_structs_test): Import global anychar_re and first.
1018 New gdb_test call "set print elements 300; ${testfile}"
1019 (start_structs_test <$first>): New block.
1020 (any): Import global anychar_re. New variable ac. Use ${ac}.
1022 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1024 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
1026 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1028 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
1029 Force $srcfile file.
1030 * gdb.base/foll-fork.c (callee): Comment out the printf call.
1032 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1034 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
1035 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1036 * gdb.threads/watchthreads-reorder.exp: Likewise.
1038 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
1042 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
1043 "if", and "thread". Correct matching in the previous test.
1045 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
1047 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
1049 2009-11-23 Michael Snyder <msnyder@vmware.com>
1051 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
1052 * gdb.reverse-watch-precsave.exp: Ditto.
1054 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1056 * gdb.asm/asm-source.exp: Adjust.
1057 * gdb.base/help.exp: Adjust.
1059 2009-11-22 Pedro Alves <pedro@codesourcery.com>
1061 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
1062 (do_syscall_tests_without_xml): Set data-directory to
1063 /the/path/to/nowhere.
1065 2009-11-21 Pedro Alves <pedro@codesourcery.com>
1067 * gdb.threads/local-watch-wrong-thread.c,
1068 gdb.threads/local-watch-wrong-thread.exp: New files.
1070 2009-11-21 Pedro Alves <pedro@codesourcery.com>
1072 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
1073 assume new `regsub' syntax available.
1075 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1077 * gdb.base/watchpoint-hw-hit-once.exp,
1078 gdb.base/watchpoint-hw-hit-once.c: New.
1080 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1082 * gdb.threads/watchthreads-reorder.exp,
1083 gdb.threads/watchthreads-reorder.c: New.
1085 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
1087 * gdb.xml/tdesc-regs.exp: Use for m68k.
1089 2009-11-15 Pedro Alves <pedro@codesourcery.com>
1091 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
1093 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1095 * lib/gdb.exp (current_target_name): New procedure.
1096 (gdb_wrapper_target): New variable.
1097 (gdb_wrapper_init): Set gdb_wrapper_target.
1098 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
1101 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1103 * gdb.base/remote.exp: Delete the slowest load test.
1104 Do not load with fixed packet sizes.
1106 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1108 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
1110 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1112 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
1113 srcfile when setting a breakpoint.
1115 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
1117 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
1120 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
1122 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
1124 * gdb.base/display.c (force_mem): New.
1125 (do_loops): Use it. Add breakpoint comments.
1126 (do_vars): Add a breakpoint comment.
1127 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
1130 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
1132 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
1133 instead of a bare "run".
1135 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1137 * gdb.python/py-prettyprint.exp: Adjust.
1139 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1141 * lib/cell.exp (skip_cell_tests): Clean up test files before
1144 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1146 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
1147 and the breakpoint menu. Do not call perror if a prompt is seen.
1148 Consume the following GDB prompt.
1149 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
1150 * gdb.cp/namespace.exp: Use gdb_test.
1151 * gdb.cp/templates.exp: Use gdb_test.
1152 (test_template_breakpoints): Use gdb_test_multiple.
1154 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1156 * gdb.base/break1.c (struct some_struct, values): Move earlier.
1157 (marker4): Reference values.
1159 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1161 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
1164 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1166 * gdb.base/break.c (need_malloc): New.
1167 * gdb.base/constvars.c (main): Reference crass and crisp.
1168 * gdb.base/gdb1821.c (main): Reference bar.
1169 * gdb.cp/gdb1355.cc (main): Reference s1.
1170 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
1172 * gdb.cp/hang2.cc (dummy2): Define.
1173 * gdb.cp/hang3.cc (dummy3): Define.
1174 * gdb.cp/m-data.cc (main): Reference shadow.
1176 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
1177 Nathan Froyd <froydnj@codesourcery.com>
1179 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
1182 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
1184 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
1185 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
1186 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1187 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1188 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1189 * gdb.dwarf2/dw2-producer.exp: Likewise.
1190 * gdb.dwarf2/mac-fileno.exp: Likewise.
1191 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
1192 py-prettyprint.py to the remote host.
1193 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
1195 2009-11-11 Keith Seitz <keiths@redhat.com>
1197 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
1198 use it instead of "Foo".
1199 * gdb.cp/classes.exp (do_tests): Add a test to access
1200 a method through a typedef'd class name.
1202 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
1204 * gdb.base/long_long.exp: Permit leading zeros on floating-point
1206 * gdb.base/pointers.exp: Likewise.
1207 * gdb.cp/ref-types.exp: Likewise.
1209 2009-11-11 Keith Seitz <keiths@redhat.com>
1211 * gdb.cp/cplusfuncs.cc (class foo): Add operators
1213 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
1215 (probe_demangler): Remove all single-quoting of
1216 method and variable names.
1217 (info_func_regexp): Remove the word "void" from any
1218 occurrence of "(void)".
1219 (print_addr_2): Remove all single-quoting of
1221 (print_addr_2_kfail): Likewise.
1222 (print_addr): Single-quote C function names before
1223 passing to print_addr_2.
1224 (test_paddr_operator_functions): Remove single-quoting
1226 Add tests for operator new[] and operator delete[].
1228 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1230 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
1232 2009-11-09 Keith Seitz <keiths@redhat.com>
1234 * gdb.cp/overload.exp: Add tests for resolving overloaded
1235 methods in expression parsing/evaluation.
1237 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
1239 * lib/gdb.exp (default_gdb_version): Use --version instead of
1242 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
1244 * lib/gdb.exp (gdb_compile_test): New.
1245 (skip_ada_tests, skip_java_tests): New.
1246 (gdb_compile): Use gdb_compile_test for f77.
1247 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
1248 * lib/java.exp (compile_java_from_source): Remove runtests check,
1249 use gdb_compile_test to record result.
1250 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
1251 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
1252 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
1253 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
1254 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
1255 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
1256 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
1257 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
1258 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
1259 adjust gdb_compile invocations.
1261 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1263 * Makefile.in (abs_builddir): New.
1264 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
1265 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
1266 `$(abs_builddir)/site.exp'.
1268 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
1270 * config/m68k-emc.exp, lib/emc-support.exp,
1271 gdb.trace/gdb_c_test.c: Delete.
1272 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
1273 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
1274 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1275 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
1276 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1277 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
1278 casing for m68k-*-elf.
1280 2009-11-03 Pedro Alves <pedro@codesourcery.com>
1282 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
1283 * gdb.arch/i386-prologue.exp: Likewise.
1284 * gdb.arch/i386-unwind.exp: Likewise.
1286 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1288 * lib/gdb.exp (gdb_expect): Fix timeout typo.
1290 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1292 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
1294 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
1296 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
1298 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1300 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
1302 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1304 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
1305 * gdb.base/sepdebug2.c: New file.
1307 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1309 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
1310 the modified warnings for catch syscall. Verify if GDB was compiled
1311 with support for lib expat, and choose which tests to run depending
1314 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
1316 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
1317 that composite commands are parsed OK. And also test
1318 that breakpoint commands do work.
1320 2009-10-23 Michael Snyder <msnyder@vmware.com>
1322 gdb.reverse/consecutive-precsave.exp: Change expect pattern
1323 to allow for new disassembly style.
1325 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1327 * gdb.asm/asm-source.exp: Adjust.
1329 2009-10-22 Michael Snyder <msnyder@vmware.com>
1331 * gdb.reverse/break-precsave.exp: New test.
1332 * gdb.reverse/consecutive-precsave.exp: Ditto.
1333 * gdb.reverse/finish-precsave.exp: Ditto.
1334 * gdb.reverse/i386-precsave.exp: Ditto.
1335 * gdb.reverse/machinestate-precsave.exp: Ditto.
1336 * gdb.reverse/sigall-precsave.exp: Ditto.
1337 * gdb.reverse/solilb-precsave.exp: Ditto.
1338 * gdb.reverse/step-precsave.exp: Ditto.
1339 * gdb.reverse/until-precsave.exp: Ditto.
1340 * gdb.reverse/watch-precsave.exp: Ditto.
1342 2009-10-22 Michael Snyder <msnyder@vmware.com>
1344 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
1345 for gdb_expect. Adjust one test's expect strings for the new
1346 format of disassemble.
1347 * gdb.reverse/finish-reverse.exp: Delete 'return'.
1348 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
1350 * gdb.reverse/step-reverse.exp: Delete 'return'.
1351 * gdb.reverse/until-reverse.exp: Delete blank lines.
1352 * gdb.reverse/watch-reverse.exp: Delete blank lines.
1354 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
1356 * gdb.base/consecutive.exp: Adjust.
1357 * gdb.base/display.exp: Likewise.
1358 * gdb.base/pc-fp.exp: Likewise.
1359 * gdb.base/sigbpt.exp: Likewise.
1361 2009-10-19 Michael Snyder <msnyder@vmware.com>
1363 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
1364 * gdb.reverse/finish-reverse.c: Ditto.
1365 * gdb.reverse/sigall-reverse.c: Ditto.
1366 * gdb.reverse/solib-reverse.c: Ditto.
1367 * gdb.reverse/step-reverse.c: Ditto.
1368 * gdb.reverse/watch-reverse.c: Ditto.
1370 2009-10-19 Pedro Alves <pedro@codesourcery.com>
1371 Stan Shebs <stan@codesourcery.com>
1373 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
1374 * gdb.base/foll-exec.exp: Adjust to expect a process id before
1375 "Executing new program".
1376 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
1377 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
1378 left listed after having been killed.
1379 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
1380 * gdb.base/maint.exp: Adjust test.
1382 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
1383 * gdb.multi/Makefile.in: New.
1384 * gdb.multi/base.exp: New.
1385 * gdb.multi/goodbye.c: New.
1386 * gdb.multi/hangout.c: New.
1387 * gdb.multi/hello.c: New.
1388 * gdb.multi/bkpt-multi-exec.c: New.
1389 * gdb.multi/bkpt-multi-exec.exp: New.
1390 * gdb.multi/crashme.c: New.
1392 2009-10-13 Tristan Gingold <gingold@adacore.com>
1394 * gdb.base/sepdebug.exp: Check debug info are found.
1396 2009-10-08 Pedro Alves <pedro@codesourcery.com>
1398 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
1401 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1403 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
1405 2009-10-07 Joel Brobecker <brobecker@adacore.com>
1407 * gdb.base/watchpoints.c: Add copyright header. Reformat one
1410 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
1412 * gdb.base/annota1.exp: Remove obsolete match_max increase.
1413 * gdb.base/annota3.exp: Idem.
1414 * gdb.base/maint.exp: Idem.
1416 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1418 * lib/gdb.exp (default_gdb_init): Set current value of match_max
1421 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
1423 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
1424 mingw and cygwin targets.
1426 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
1427 Pedro Alves <pedro@codesourcery.com>
1429 * lib/gdb.exp (gdb_compile): Avoid adding
1430 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
1432 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
1434 * gdb.base/shr1.c: Use %p in format string.
1435 * gdb.base/unload.c: Avoid warning in fprintf.
1436 * gdb.base/watchpoint-solib.c: Idem.
1438 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
1440 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
1442 (test_unlink): Correct printf string.
1443 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
1444 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
1446 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1448 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
1449 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
1450 * gdb.arch/ia64-breakpoint-shadow.S: New file.
1452 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1454 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
1455 * gdb.objc/nondebug.exp: Likewise.
1457 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1459 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
1460 target_info setting.
1462 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
1463 that detect new threads during "info threads".
1465 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1467 * gdb.threads/manythreads.c (main): Increase thread stack size
1468 to 2*PTHREAD_STACK_MIN.
1469 * gdb.threads/multi-create.c (main): Likewise.
1470 (create_function): Likewise.
1472 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1474 * gdb.base/dump.exp: Pass difference of pointer types instead
1475 of integer types as offset to restore in intarr3.srec case.
1477 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1479 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
1481 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1483 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
1485 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
1487 New test for two watchpoints, with disabling of
1489 * testsuite/gdb.base/watchpoints.c: New file.
1490 * testsuite/gdb.base/watchpoints.exp: New file.
1492 2009-09-25 Tom Tromey <tromey@redhat.com>
1494 * gdb.base/charset.exp: Test utf-16 strings with Python.
1496 2009-09-25 Tom Tromey <tromey@redhat.com>
1498 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
1500 * gdb.base/charset.c (utf_32_string): Rename.
1501 (init_utf32): Rename.
1504 2009-09-22 Tom Tromey <tromey@redhat.com>
1506 * gdb.python/py-function.exp: Add regression tests.
1508 2009-09-21 Keith Seitz <keiths@redhat.com>
1510 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
1511 with invalid operator.
1513 2009-09-21 Keith Seitz <keiths@redhat.com>
1515 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
1516 and destructor using typedef name of class.
1517 * gdb.cp/classes.cc (class Base1): Add a destructor.
1518 (base1): New typedef.
1519 (use_methods): Instanitate an object of type base1.
1520 * gdb.cp/templates.exp (test_template_typedef): New procedure.
1521 (do_tests): Call test_template_typedef.
1522 * gdb.cp/templates.cc (Baz::~Baz): New method.
1523 (intBazOne): New typedef.
1524 (main): Instantiate intBazOne.
1526 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
1530 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
1532 (run_lang_tests): Add print elements test.
1534 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
1536 * gdb.python/py-value.exp (test_subscript_regression): New
1537 function. Test for invalid subscripts.
1538 * gdb.python/py-value.c (main): Add test array, and pointer to it.
1539 (ptr_ref): New function.
1541 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1543 * gdb.base/default.exp: Fix "show convenience".
1545 2009-09-15 Tom Tromey <tromey@redhat.com>
1547 * lib/mi-support.exp (mi_create_varobj): Update.
1548 (mi_create_floating_varobj): Likewise.
1549 (mi_create_dynamic_varobj): New proc.
1550 (mi_varobj_update): Update.
1551 (mi_varobj_update_with_type_change): Likewise.
1552 (mi_varobj_update_kv_helper): New proc.
1553 (mi_varobj_update_dynamic_helper): Rewrite.
1554 (mi_varobj_update_dynamic): New proc.
1555 (mi_list_varobj_children): Update.
1556 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
1557 * gdb.python/python-prettyprint.py (pp_outer): New class.
1558 (pp_nullstr): Likewise.
1559 (lookup_function): Register new printers.
1560 * gdb.python/python-prettyprint.c (struct substruct): New type.
1561 (struct outerstruct): Likewise.
1562 (substruct_test): New function.
1563 (struct nullstr): New type.
1564 (string_1, string_2): New globals.
1565 (main): Add new tests.
1566 * gdb.python/python-mi.exp: Added regression tests.
1567 * gdb.mi/mi2-var-display.exp: Update.
1568 * gdb.mi/mi2-var-cmd.exp: Update.
1569 * gdb.mi/mi2-var-child.exp: Update.
1570 * gdb.mi/mi2-var-block.exp: Update.
1571 * gdb.mi/mi-var-invalidate.exp: Update.
1572 * gdb.mi/mi-var-display.exp: Update.
1573 * gdb.mi/mi-var-cmd.exp: Update.
1574 * gdb.mi/mi-var-child.exp: Update.
1575 * gdb.mi/mi-var-block.exp: Update.
1576 * gdb.mi/mi-break.exp: Update.
1577 * gdb.mi/gdb701.exp: Update.
1579 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1581 * Makefile.in: Inclusion of catch-syscall object.
1582 * gdb.base/catch-syscall.c: New file.
1583 * gdb.base/catch-syscall.exp: New file.
1585 2009-09-12 Michael Snyder <msnyder@vmware.com>
1587 * gdb.reverse/step-reverse.exp: Explicitly check for targets
1588 that can support reverse debuggnig.
1590 2009-09-11 Tom Tromey <tromey@redhat.com>
1592 * gdb.dwarf2/valop.S: New file.
1593 * gdb.dwarf2/valop.exp: New file.
1595 2009-09-11 Mark Kettenis <kettenis@gnu.org>
1597 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
1599 2009-09-10 Doug Evans <dje@google.com>
1601 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
1602 Add $gdb_prompt to second breakpoint regexp.
1604 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
1606 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
1607 names, add missing ones.
1608 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
1609 * gdb.python/py-frame.c: Rename from python-frame.c.
1610 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
1612 * gdb.python/py-function.exp: Rename from python-function.exp.
1613 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
1615 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
1616 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
1617 Adjust testfile name.
1618 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
1619 * gdb.python/py-template.cc: Rename from python-template.cc.
1620 * gdb.python/py-template.exp: Rename from python-template.exp.
1621 Adjust testfile name.
1622 * gdb.python/py-value.c: Rename from python-value.c.
1623 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
1626 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1628 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
1630 (Second breakpoint address is valid on ia64)
1631 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
1633 2009-09-03 Joseph Myers <joseph@codesourcery.com>
1635 * gdb.base/ending-run.exp: Restrict regular expression matching
1636 line number to require closing brace following.
1638 2009-09-03 Doug Evans <dje@google.com>
1640 * gdb.base/store.exp (check_set): Fix typo in expected value message.
1642 2009-09-02 Tom Tromey <tromey@redhat.com>
1644 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
1646 2009-09-02 Tom Tromey <tromey@redhat.com>
1648 * gdb.dwarf2/callframecfa.exp: New file.
1649 * gdb.dwarf2/callframecfa.S: New file.
1651 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1653 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
1654 gdb.base/solib-overlap-main.c: New.
1656 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
1660 * gdb.base/bitfields.c (struct container, container): New.
1661 (main): Initialize it and call break5.
1662 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
1664 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1666 Support constant DW_AT_data_member_location by GCC PR debug/40659.
1667 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
1669 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1671 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
1673 2009-08-26 Michael Snyder <msnyder@vmware.com>
1675 * gdb.base/i386-reverse.c: New file.
1676 * gdb.base/i386-reverse.exp: New file.
1677 * gdb.base/Makefile.in: Add new files to be removed.
1679 2009-08-26 Joseph Myers <joseph@codesourcery.com>
1681 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
1682 environment-pwd for remote host.
1683 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
1685 2009-08-24 Keith Seitz <keiths@redhat.com>
1687 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
1688 Add two new C++ completer tests which limit the output to a
1691 2009-08-24 Michael Snyder <msnyder@vmware.com>
1693 * gdb.base/del.exp: Fix typo in comment.
1694 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
1696 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1698 * configure: Regenerate.
1699 * gdb.hp/configure: Likewise.
1700 * gdb.hp/gdb.aCC/configure: Likewise.
1701 * gdb.hp/gdb.base-hp/configure: Likewise.
1702 * gdb.hp/gdb.compat/configure: Likewise.
1703 * gdb.hp/gdb.defects/configure: Likewise.
1704 * gdb.hp/gdb.objdbg/configure: Likewise.
1705 * gdb.stabs/configure: Likewise.
1707 2009-08-19 Doug Evans <dje@google.com>
1709 * gdb.base/gdbvars.c: New file.
1710 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
1712 2009-08-14 Pedro Alves <pedro@codesourcery.com>
1714 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
1715 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
1717 2009-08-13 Pedro Alves <pedro@codesourcery.com>
1719 * gdb.base/default.exp: Adjust "set language test": it's now an
1720 enum command. Larger help string moved to "help set language".
1721 * gdb.base/help.exp: Adjust "help set language" expected output,
1722 now lists all known languages.
1724 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
1726 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
1727 all frame arguments.
1728 * gdb.arch/altivec-regs.exp: Likewise.
1730 2009-08-07 Tom Tromey <tromey@redhat.com>
1732 * gdb.base/setshow.exp: Add tests for changes to set language, set
1733 check range, and set check type.
1735 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
1737 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
1738 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
1741 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1743 * configure.ac: Run gdb.cell tests when appropriate.
1744 * configure: Regenerate.
1745 * lib/cell.exp: New file.
1746 * gdb.cell: New directory.
1747 * gdb.cell/configure.ac: New file.
1748 * gdb.cell/configure: New file.
1749 * gdb.cell/Makefile.in: New file.
1750 * gdb.cell/arch.exp: New file.
1751 * gdb.cell/break.c: New file.
1752 * gdb.cell/break.exp: New file.
1753 * gdb.cell/break-spu.c: New file.
1754 * gdb.cell/bt.c: New file.
1755 * gdb.cell/bt2-spu.c: New file.
1756 * gdb.cell/bt-spu.c: New file.
1757 * gdb.cell/bt.exp: New file.
1758 * gdb.cell/coremaker.c: New file.
1759 * gdb.cell/coremaker-spu.c: New file.
1760 * gdb.cell/core.exp: New file.
1761 * gdb.cell/gcore.exp: New file.
1762 * gdb.cell/data.c: New file.
1763 * gdb.cell/data.exp: New file.
1764 * gdb.cell/data-spu.c: New file.
1765 * gdb.cell/ea-cache.exp: New file.
1766 * gdb.cell/ea-cache.c: New file.
1767 * gdb.cell/ea-cache-spu.c: New file.
1768 * gdb.cell/ea-standalone.c: New file.
1769 * gdb.cell/ea-standalone.exp: New file.
1770 * gdb.cell/ea-test.c: New file.
1771 * gdb.cell/ea-test.exp: New file.
1772 * gdb.cell/f-regs.exp: New file.
1773 * gdb.cell/mem-access.c: New file.
1774 * gdb.cell/mem-access.exp: New file.
1775 * gdb.cell/mem-access-spu.c: New file.
1776 * gdb.cell/ptype.exp: New file.
1777 * gdb.cell/registers.exp: New file.
1778 * gdb.cell/size.c: New file.
1779 * gdb.cell/sizeof.exp: New file.
1780 * gdb.cell/size-spu.c: New file.
1781 * gdb.cell/solib.exp: New file.
1782 * gdb.cell/solib-symbol.exp: New file.
1784 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1786 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
1788 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1790 * gdb.base/float.exp: Handle VFP registers.
1792 2009-07-14 Michael Snyder <msnyder@vmware.com>
1794 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
1795 to bring gdb to the beginning of the calling line.
1797 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
1798 confusing the i386 epilogue unwinder.
1800 2009-07-14 Stan Shebs <stan@codesourcery.com>
1802 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
1804 2009-07-14 Michael Snyder <msnyder@vmware.com>
1806 * gdb.reverse/step-reverse.exp (stepi into function call):
1807 Call instruction may not be first instruction in the line.
1808 (reverse stepi from a function call): Used wrong line number.
1810 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1812 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
1814 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1816 Fix gdb.base/macscp.exp when using custom inputrc.
1817 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
1818 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
1820 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
1821 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
1823 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1825 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
1826 * gdb.base/annota1.exp (thread_test): Import global $testfile.
1827 Change the compilation target to match the testcase name.
1828 * gdb.base/sect-cmd.exp: Change the compilation target to match the
1830 * a2-run.exp: Use for setup prepare_for_testing. Change the
1831 compilation target to match the testcase name.
1832 * gdb.base/commands.exp: Likewise.
1833 * gdb.base/finish.exp: Likewise.
1834 * gdb.base/float.exp: Likewise.
1835 * gdb.base/info-target.exp: Likewise.
1836 * gdb.base/relational.exp: Likewise.
1837 * gdb.base/term.exp: Likewise.
1838 * gdb.base/until.exp: Likewise.
1839 * gdb.base/volatile.exp: Likewise.
1840 * gdb.base/whatis-exp.exp: Likewise.
1842 2009-07-11 Hui Zhu <teawater@gmail.com>
1844 * gdb.base/help.exp (disassemble): Update expected help text.
1846 2009-07-09 Tom Tromey <tromey@redhat.com>
1848 * lib/gdb.exp: Handle TRANSCRIPT.
1849 (remote_spawn, remote_close, send_gdb): New procs.
1851 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
1853 * gdb.python/python-prettyprint.c: Add counted null string
1855 * gdb.python/python-prettyprint.exp: Print null string. Test for
1857 * gdb.python/python-prettyprint.py (pp_ns): New Function.
1858 * gdb.python/python-value.exp (test_value_in_inferior): Add
1859 variable length string fetch tests.
1860 * gdb.python/python-value.c (main): Add strings for string fetch tests.
1862 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1864 * gdb.base/dump.exp (inaccessible memory is reported): New test.
1866 2009-07-07 Tom Tromey <tromey@redhat.com>
1868 * gdb.base/call-rt-st.exp: Update for change to escape output.
1869 * gdb.base/callfuncs.exp: Likewise.
1870 * gdb.base/charset.exp: Likewise.
1871 * gdb.base/constvars.exp: Likewise.
1872 * gdb.base/long_long.exp: Likewise.
1873 * gdb.base/pointers.exp: Likewise.
1874 * gdb.base/printcmds.exp: Likewise.
1875 * gdb.base/setvar.exp: Likewise.
1876 * gdb.base/store.exp: Likewise.
1877 * gdb.cp/ref-types.exp: Likewise.
1878 * gdb.mi/mi-var-child.exp: Likewise.
1879 * gdb.mi/mi-var-display.exp: Likewise.
1880 * gdb.mi/mi2-var-display.exp: Likewise.
1881 * gdb.base/charset.exp: Test octal escape sequence length.
1882 Update for change to escape output.
1884 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1886 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
1888 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
1890 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
1892 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1894 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
1895 gdbserver increasing $portnum if "Can't bind address" has been seen.
1897 2009-07-05 Pedro Alves <pedro@codesourcery.com>
1899 * gdb.base/ending-run.exp: Add "step out of main" pattern for
1902 2009-07-05 Pedro Alves <pedro@codesourcery.com>
1904 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
1907 2009-07-02 Pedro Alves <pedro@codesourcery.com>
1909 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
1910 linux. Adjust to use "inferior", "info inferiors", "detach
1911 inferior" and "kill inferior" instead of "restart", "info fork",
1912 "detach fork" and "delete fork".
1913 * gdb.base/ending-run.exp: Spell out "info".
1914 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
1917 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1919 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
1920 change to prefix TLS offset in hex with 0x.
1922 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1924 * gdb.base/default.exp: Update test case for "x" changes.
1926 2009-07-01 Tristan Gingold <gingold@adacore.com>
1928 * gdb.base/bigcore.exp: Make darwin untested.
1930 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1932 * gdb.base/completion.exp (directory completion): Create the directory.
1933 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
1935 (directory completion 2): Expect now ${escapeuniquesub}.
1936 (Glob remaining of directory test): Remove one excessive newline.
1937 Expect the real output.
1939 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1941 Fix `make check//%' target after `make check' has been ran.
1942 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
1944 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
1947 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1949 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
1950 the expected result record.
1952 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1954 Remove racy FAILs relying just on the timeouts.
1955 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
1956 (annotation_level 2): Remove racy FAILs.
1958 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
1961 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
1963 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
1965 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
1967 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
1969 * gdb.mi/mi-stack.exp: Testing symbolic options
1970 to -stack-list-locals and -stack-list-arguments.
1972 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1974 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
1976 2009-06-29 Tom Tromey <tromey@redhat.com>
1978 * dg-extract-results.sh: New file.
1979 * Makefile.in (FORCE_PARALLEL): New variable.
1980 (CHECK_TARGET): New conditional variable.
1981 (check): Use CHECK_TARGET.
1982 (DO_RUNTEST): New variable.
1983 (check-single): New target.
1984 (TEST_DIRS): New variable.
1985 (TEST_TARGETS): Likewise.
1986 (check-parallel): New target.
1987 (check-gdb.%): New pattern.
1988 (BASE1_FILES): New variable.
1989 (BASE2_FILES): Likewise.
1990 (check-gdb.base%): New pattern.
1991 (%/.dir): New pattern.
1992 * configure: Rebuild.
1993 * aclocal.m4 (AM_CONDITIONAL): New defun.
1994 * configure.ac: Check whether user is using GNU make.
1995 (GMAKE): New conditional.
1997 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
1999 * gdb.cp/namespace-nested-import.cc: New test.
2000 * gdb.cp/namespace-nested-import.exp: New test.
2002 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
2004 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
2005 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
2006 * gdb.opt/Makefile.in (EXECUTABLES): Update.
2007 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
2008 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
2009 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
2010 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
2011 gdb.opt/inline-markers.c: New files.
2012 * lib/gdb.exp (skip_inline_frame_tests): New function.
2013 (skip_inline_var_tests): New function.
2015 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
2017 * gdb.cp/exception.exp: Don't require $hex before inner frame in
2020 2009-06-27 Michael Snyder <msnyder@vmware.com>
2022 * gdb.reverse: New directory.
2023 * gdb.reverse/break-reverse.c: New test.
2024 * gdb.reverse/break-reverse.exp: New test.
2025 * gdb.reverse/consecutive-reverse.c: New test.
2026 * gdb.reverse/consecutive-reverse.exp: New test.
2027 * gdb.reverse/finish-reverse.c: New test.
2028 * gdb.reverse/finish-reverse.exp: New test.
2029 * gdb.reverse/machinestate.c: New test.
2030 * gdb.reverse/ms1.c: New test.
2031 * gdb.reverse/machinestate.exp: New test.
2032 * gdb.reverse/Makefile.in: New file.
2033 * gdb.reverse/shr2.c: New test.
2034 * gdb.reverse/solib-reverse.c: New test.
2035 * gdb.reverse/solib-reverse.exp: New test.
2036 * gdb.reverse/step-reverse.c: New test.
2037 * gdb.reverse/step-reverse.exp: New test.
2038 * gdb.reverse/until-reverse.c: New test.
2039 * gdb.reverse/ur1.c: New test.
2040 * gdb.reverse/until-reverse.exp: New test.
2041 * gdb.reverse/watch-reverse.c: New test.
2042 * gdb.reverse/watch-reverse.exp: New test.
2043 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
2044 * configure: Regenerate.
2046 2009-06-26 Doug Evans <dje@google.com>
2048 * gdb.base/psymtab.exp: Turn off pending breakpoints.
2050 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
2052 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
2053 windows problem for 'file delete $binfile'.
2055 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
2057 * gdb.cp/namespace-using.exp: New test.
2058 * gdb.cp/namespace-using.cc: New test.
2060 2009-05-20 Joel Brobecker <brobecker@adacore.com>
2062 * gdb.ada/variant_record_packed_array: New testcase.
2064 2009-06-23 Tom Tromey <tromey@redhat.com>
2066 * gdb.base/charset.exp (test_combination): Regression test.
2067 * gdb.base/charset.c (my_wchar_t): New typedef.
2068 (myvar): New global.
2071 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
2073 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
2076 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2078 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
2080 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2082 * gdb.mi/gdb680.exp: Update test for error message.
2084 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2086 * gdb.base/annota1.exp: Allow multiple occurrences of the
2087 frames-invalid annotation.
2088 * gdb.cp/annota2.exp: Likewise.
2090 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
2092 * gdb.cp/gdb2495.cc: New file.
2093 * gdb.cp/gdb2495.exp: New file.
2095 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2097 Report error on GDB crash during runto.
2098 * lib/gdb.exp (runto <eof>): New.
2100 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
2102 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
2103 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
2104 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
2105 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
2106 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
2107 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
2108 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
2109 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
2110 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
2111 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
2112 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
2113 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
2114 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
2115 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
2116 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
2117 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
2118 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
2119 gdb.server/server-mon.exp, gdb.server/server-run.exp,
2120 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2121 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2122 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
2123 gdb.trace/passcount.exp, gdb.trace/report.exp,
2124 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
2125 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
2126 gdb.trace/while-stepping.exp: Use a unique name for the compiled
2129 2009-06-07 Pedro Alves <pedro@codesourcery.com>
2131 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
2132 defined before referencing it.
2134 2009-06-03 Doug Evans <dje@google.com>
2136 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
2137 * gdb.arch/i386-see.c: Ditto.
2139 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
2141 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
2142 (check_macro): Return 1 if undefined.
2143 If first test fails, check if macro debug information is available,
2144 and report unsupported test if no macro information is found.
2146 2009-05-29 Doug Evans <dje@google.com>
2148 * gdb.threads/hand-call-in-threads.exp: New.
2149 * gdb.threads/hand-call-in-threads.c: New.
2151 2009-05-29 Michael Snyder <msnyder@vmware.com>
2153 * gdb.base/break-always.exp: Change "1" to "on".
2154 Add confirmation check.
2156 2009-05-28 Pedro Alves <pedro@codesourcery.com>
2158 * gdb.threads/threxit-hop-specific.c: New.
2159 * gdb.threads/threxit-hop-specific.exp: New.
2160 * gdb.threads/thread-execl.c: New.
2161 * gdb.threads/thread-execl.exp: New.
2163 2009-05-27 Tom Tromey <tromey@redhat.com>
2164 Thiago Jung Bauermann <bauerman@br.ibm.com>
2166 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
2167 (mi_child_regexp): Likewise.
2168 (mi_list_varobj_children_range): Likewise.
2169 (mi_get_features): Likewise.
2170 (mi_list_varobj_children): Rewrite.
2171 * gdb.python/python-mi.exp: New file.
2173 2009-05-27 Tom Tromey <tromey@redhat.com>
2174 Thiago Jung Bauermann <bauerman@br.ibm.com>
2175 Phil Muldoon <pmuldoon@redhat.com>
2176 Paul Pluzhnikov <ppluzhnikov@google.com>
2178 * gdb.python/python-prettyprint.exp: New file.
2179 * gdb.python/python-prettyprint.c: New file.
2180 * gdb.python/python-prettyprint.py: New file.
2181 * gdb.base/display.exp: print/r is now valid.
2183 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
2184 Tom Tromey <tromey@redhat.com>
2185 Pedro Alves <pedro@codesourcery.com>
2186 Paul Pluzhnikov <ppluzhnikov@google.com>
2188 * gdb.python/python-template.exp: New file.
2189 * gdb.python/python-template.cc: New file.
2190 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
2192 * gdb.python/python-value.exp (py_objfile_tests): New proc.
2194 (test_value_after_death): New proc.
2195 * gdb.python/python-value.c (PTR): New typedef.
2196 (main): New variable 'x'.
2198 2009-05-27 Tom Tromey <tromey@redhat.com>
2200 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
2202 * gdb.python/python-value.exp (py_objfile_tests): New proc.
2205 2009-05-27 Pedro Alves <pedro@codesourcery.com>
2207 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
2209 2009-05-24 Pedro Alves <pedro@codesourcery.com>
2211 * gdb.threads/fork-thread-pending.c: New.
2212 * gdb.threads/fork-thread-pending.exp: New.
2214 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2216 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
2217 * gdb.dwarf2/dw2-strp.S (a_string2): New.
2219 2009-05-18 Jon Beniston <jon@beniston.com>
2221 * gdb.asm/asm-source.exp: Add lm32 target.
2223 2009-05-17 Pedro Alves <pedro@codesourcery.com>
2225 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
2226 `gdb_get_line_number'. Call `callee' in both parent and child.
2227 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
2228 `gdb_get_line_number' instead of hardcoding line numbers.
2229 (catch_fork_unpatch_child): New procedure to test detaching
2230 breakpoints from child fork.
2231 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
2232 hardcoding line numbers.
2233 (do_fork_tests): Run `catch_fork_unpatch_child'.
2235 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
2237 * gdb.mi/mi-cmd-var.exp: Check that when varobj
2238 of structure type enters or leaves the scope, it
2239 is reported by -var-update.
2241 2009-05-11 Doug Evans <dje@sebabeach.org>
2243 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
2244 * gdb.threads/pending-step.c (main): Fix off-by-one error.
2245 * gdb.threads/schedlock.c (main): Fix off-by-one error.
2247 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2249 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
2251 2009-04-30 Doug Evans <dje@google.com>
2253 * gdb.threads/watchthreads2.exp: New testcase.
2254 * gdb.threads/watchthreads2.c: New testcase.
2256 2009-04-29 Doug Evans <dje@google.com>
2258 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
2259 * gdb.cp/mb-ctor.cc: Ditto.
2260 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
2261 * gdb.cp/mb-inline.h (multi_line_foo): New function.
2262 * gdb.cp/mb-inline1.cc: Call it.
2263 * gdb.cp/mb-inline2.cc: Ditto.
2264 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
2265 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
2267 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2269 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
2270 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
2271 Replace all uses of `decimal' by `nonzero'.
2272 (info macro FROM_COMMANDLINE): New test.
2274 2009-04-27 Tom Tromey <tromey@redhat.com>
2276 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2278 2009-04-27 Doug Evans <dje@google.com>
2280 * gdb.threads/watchthreads.c (main): Initialize args before starting
2281 the threads. Plus formatting cleanup.
2282 * gdb.threads/watchthreads.exp: Avoid errant failures due to
2283 biased scheduling of one thread.
2285 2009-04-27 Jerome Guitton <guitton@adacore.com>
2287 * gdb.cp/templates.cc (GetMax): New template.
2288 (main): Declare two instances of GetMax.
2289 * gdb.cp/templates.exp: Add new test.
2291 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2293 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2295 2009-04-22 Joseph Myers <joseph@codesourcery.com>
2297 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2299 2009-04-15 Tom Tromey <tromey@redhat.com>
2301 * gdb.base/charset.exp: Add regression test.
2303 2009-04-14 Joel Brobecker <brobecker@adacore.com>
2305 * gdb.base/exe-lock.exp: New testcase.
2307 2009-04-13 Tom Tromey <tromey@redhat.com>
2309 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
2312 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2314 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
2315 * gdb.server/ext-attach.exp: Likewise.
2317 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
2319 Eliminate some sleep usage.
2321 * gdb.mi/basics.c (do_nothing): New.
2322 (main): Use do_nothing instead of printf, so that
2323 not to introduce race condition between output of
2324 inferiour and output of gdb. Do not use sleep as it
2325 is not generally available on embedded targets.
2327 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2329 * gdb.server/ext-attach.exp: Expect an optional process id after
2330 "Detached from remote process".
2332 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2334 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
2335 gdb.dwarf2/dw2-unresolved.exp: New.
2337 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2339 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
2342 2009-04-02 Pedro Alves <pedro@codesourcery.com>
2344 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
2345 mi_run_to_main. Skip thread exit test on remote targets.
2346 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
2348 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
2350 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
2351 when expecting ^connected. Detect when the target doesn't support
2353 (mi_run_cmd): Detect if non-stop mode was requested by isn't
2354 supported. Return -1 on error, 0 on success.
2355 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
2356 (mi_runto): Return mi_runto_helper's result explicitly.
2358 2009-04-01 Pedro Alves <pedro@codesourcery.com>
2360 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
2362 2009-04-01 Tom Tromey <tromey@redhat.com>
2364 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
2365 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
2366 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
2367 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
2369 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
2370 Jan Kratochvil <jan.kratochvil@redhat.com>
2373 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
2375 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
2377 * dw2-strp.S (DW_AT_language): Change to C++.
2378 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
2380 2009-03-31 Joel Brobecker <brobecker@adacore.com>
2382 * gdb.ada/tasks: New testcase.
2384 2009-03-30 Stan Shebs <stan@codesourcery.com>
2386 * gdb.trace/actions.exp: Update to match new info trace format.
2387 * gdb.trace/deltrace.exp: Ditto.
2388 * gdb.trace/infotrace.exp: Ditto.
2389 * gdb.trace/passcount.exp: Ditto.
2390 * gdb.trace/save-trace.exp: Ditto.
2391 * gdb.trace/while-stepping.exp: Ditto.
2392 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
2394 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2396 * gdb.python/python-frame.c: New file.
2397 * gdb.python/python-frame.exp: New file.
2399 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
2401 * gdb.python/python-value.exp: Add tests for the address
2404 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
2406 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
2408 2009-03-26 Doug Evans <dje@google.com>
2410 * gdb.mi/mi-nonstop-exit.exp: New file.
2411 * gdb.mi/non-stop-exit.c: New file.
2413 2009-03-26 Tom Tromey <tromey@redhat.com>
2415 Update for change to prologue skipping:
2416 * gdb.mi/mi2-simplerun.exp: Update.
2417 * gdb.mi/mi2-break.exp: Update.
2418 * gdb.mi/mi-simplerun.exp: Update.
2419 * gdb.mi/mi-break.exp: Update.
2420 * gdb.base/ending-run.exp: Update.
2422 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
2424 * gdb.python/python-value.exp (test_value_in_inferior): Test
2425 gdb.Value.is_optimized_out attribute.
2427 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2429 * gdb.dwarf2/dw2-noloc-main.c: New file.
2430 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
2433 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
2434 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
2435 (DW_TAG_subprogram func_cu1, noloc): Remove.
2437 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
2438 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
2439 (file_symbols): New procedure.
2441 2009-03-25 Tom Tromey <tromey@redhat.com>
2443 * gdb.base/charset.exp (valid_target_charset): New proc.
2444 Use it to skip tests on invalid charsets.
2446 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
2448 * gdb.base/completion.exp: Add a test for directory completion.
2450 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2453 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
2454 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
2456 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
2458 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
2459 * gdb.python/python-function.exp: Add test for function returning
2462 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
2464 * gdb.python/python-function.exp: New file.
2466 2009-03-20 Tom Tromey <tromey@redhat.com>
2468 * gdb.base/store.exp: Update for change to escape output.
2469 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
2471 * gdb.base/pointers.exp: Update for change to escape output.
2472 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
2474 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
2476 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
2478 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
2480 * gdb.base/setvar.exp: Update for change to escape output.
2481 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
2482 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
2484 (test_print_string_constants): Likewise.
2485 * gdb.base/charset.exp (valid_host_charset): Check size of
2486 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
2487 cases. Handle "auto"-related output.
2488 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
2489 (uvar, Uvar): New globals.
2491 2009-03-19 Jerome Guitton <guitton@adacore.com>
2493 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
2495 * gdb.ada/fixed_points.exp: Ditto.
2497 2009-03-18 Pedro Alves <pedro@codesourcery.com>
2499 * return-nodebug.c: Don't include stdio.h.
2501 (func): Delete definition and provide extern declaration.
2503 (main): Don't call printf. Call func and store its result in t.
2504 * return-nodebug1.c: New.
2505 * return-nodebug.exp: Don't expect stdio output. Instead, print
2506 the global variable t. Drop printf formatters and cast types from
2507 foreach loop. Don't use prepare_for_testing. Compile
2508 return-nodebug.c and return-nodebug1.c in separate steps. Don't
2509 define FORMAT or CAST.
2511 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2513 * gdb.base/solib-display.exp: Disable test for remote targers.
2515 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2517 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2519 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2522 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
2523 code from `follow parent, print pids'.
2524 (`follow child, print pids', `follow parent, print pids'): Call it.
2525 Replace `gdb_test "break..."' by gdb_breakpoint.
2527 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
2529 * gdb.mi/mi-cli.exp: Adjust for output difference in
2530 sync and async modes.
2532 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2534 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
2535 that was checked in by mistake. Remove loading of ada.exp, since
2536 this is not necessary in this case.
2538 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2540 * gdb.ada/ptype_arith_binop.exp: New testcase.
2542 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2544 * gdb.ada/mod_from_name: New testcase.
2546 2009-03-12 Joel Brobecker <brobecker@adacore.com>
2548 * gdb.ada/tick_last_segv: New testcase.
2550 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
2552 * gdb.mi/mi-cli.exp: Remove debug print.
2554 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
2556 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
2557 include the token in ^running and frame info in *stopped.
2559 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2561 * solib-display.exp: New file.
2562 * solib-display-main.c: New file.
2563 * solib-display-lib.c: New file.
2565 2009-03-05 Pedro Alves <pedro@codesourcery.com>
2567 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2569 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2571 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
2572 (list_and_check_macro): Use more specific test name.
2573 (next to definition): Make the test names unique.
2575 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2577 * gdb.pascal/floats.exp: Accept approximate results everywhere.
2579 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
2581 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
2583 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
2584 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
2585 * lib/mi-support.exp (library_loaded_re): New.
2586 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
2588 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
2590 * gdb.gdb/observer.exp: Use test_notification observer, not
2591 normal_stop, everywhere.
2592 (test_normal_stop_notifications): Rename to...
2593 (test_notifications): ...this.
2594 (test_observer_normal_stop): Rename to...
2595 (test_observer): ...this.
2597 2009-02-16 Doug Evans <dje@google.com>
2599 * gdb.arch/amd64-disp-step.S (test_int3): New test.
2600 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
2601 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
2602 (test_prefixed_syscall,test_int3): New tests.
2603 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
2604 (test_prefixed_syscall,test_int3): New tests.
2606 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
2608 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
2609 (mi_expect_interrupt): Likewise.
2610 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
2613 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2615 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
2616 * gdb.base/pc-fp.exp (get_valueofx): Remove.
2617 Replace calls to get_valueofx by get_hexadecimal_valueof.
2619 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
2621 * lib/gdb.exp (get_valueof): Accept anything as a return value.
2622 (get_integer_valueof): New procedure.
2623 (get_sizeof): Use new get_integer_value_of.
2624 * gdb.base/sizeof.exp: Replace all uses of get_valueof
2625 by get_integer_valueof.
2627 2009-02-13 Tom Tromey <tromey@redhat.com>
2629 * gdb.base/remote.exp (get_sizeof): Remove.
2630 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
2631 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
2632 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
2633 * lib/gdb.exp (get_valueof): Move from long_long.exp.
2634 (get_sizeof): Likewise.
2636 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2639 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
2641 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2643 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
2645 2009-02-06 Pedro Alves <pedro@codesourcery.com>
2647 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
2649 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
2651 * gdb.python/python-cmd.exp: New file.
2653 2009-02-06 Tristan Gingold <gingold@adacore.com>
2655 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
2657 2009-02-05 Tristan Gingold <gingold@adacore.com>
2659 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
2660 pointer is dereferenced and use this signal name in regexp.
2661 * gdb.base/signull.exp: Ditto.
2662 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
2663 * gdb.base/signull.c (main): Ditto.
2665 2009-02-04 Tom Tromey <tromey@redhat.com>
2666 Thiago Jung Bauermann <bauerman@br.ibm.com>
2668 * gdb.python/python-value.exp: Use `gdb.history' instead of
2669 `gdb.value_from_history'.
2670 (test_value_numeric_ops): Add test for conversion of enum constant.
2671 * gdb.python/python-value.c (enum e): New type.
2672 (evalue): New global.
2675 2009-02-04 Jerome Guitton <guitton@adacore.com>
2677 * gdb.ada/uninitialized_vars: New test program.
2678 * gdb.ada/uninitialized_vars.exp: New testcase.
2680 2009-02-02 Tom Tromey <tromey@redhat.com>
2682 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
2683 * gdb.cp/pr2489.cc: Rename...
2684 * gdb.cp/pr9594.cc: ... to this.
2686 2009-02-02 Tom Tromey <tromey@redhat.com>
2688 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
2689 * gdb.cp/pr2489.cc: New file.
2690 * gdb.cp/cpcompletion.exp: New file.
2692 2009-02-02 Tom Tromey <tromey@redhat.com>
2695 * gdb.cp/call-c.exp: Add regression test.
2696 * gdb.cp/call-c.cc (FooHandle): New typedef.
2697 (main): New variable 'handle'.
2699 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2701 * lib/mi-support.exp (et_mi_thread_list)
2702 (check_mi_and_console_threads): Adjust for current thread in
2703 -thread-list-ids output.
2705 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
2707 * gdb.mi/mi-break.exp (test_disabled_creation): New.
2710 2009-01-28 Doug Evans <dje@google.com>
2712 * gdb.arch/amd64-disp-step.S: New file.
2713 * gdb.arch/amd64-disp-step.exp: New file.
2714 * gdb.arch/i386-disp-step.S: New file.
2715 * gdb.arch/i386-disp-step.exp: New file.
2717 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
2719 * gdb.base/find.exp: Set newline variable
2720 using quotes instead of braces to fix cygwin failures.
2722 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2724 * gdb.base/radix.exp: Add tests to ensure that that set
2725 input-radix 0 and set output-radix 0 are really rejected.
2727 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2729 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
2732 2009-01-23 Pedro Alves <pedro@codesourcery.com>
2735 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2737 2009-01-22 Pedro Alves <pedro@codesourcery.com>
2740 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2742 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
2744 * gdb.server/file-transfer.exp: Use EXEEXT variable for
2745 binfile definition to fix Windows OS failure.
2747 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2750 * gdb.base/interrupt.c (sigint_handler): New.
2751 (main): Install a SIGINT handler if SIGNALS is defined. Exit
2753 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
2754 Test "signal SIGINT".
2756 2009-01-19 Doug Evans <dje@google.com>
2758 * gdb.base/break.exp: Update expected gdb output.
2759 * gdb.base/sepdebug.exp: Ditto.
2760 * gdb.mi/mi-syn-frame.exp: Ditto.
2761 * gdb.mi/mi2-syn-frame.exp: Ditto.
2762 * gdb.base/call-signal-resume.exp: New file.
2763 * gdb.base/call-signals.c: New file.
2764 * gdb.base/unwindonsignal.exp: New file.
2765 * gdb.base/unwindonsignal.c: New file.
2766 * gdb.threads/interrupted-hand-call.exp: New file.
2767 * gdb.threads/interrupted-hand-call.c: New file.
2768 * gdb.threads/thread-unwindonsignal.exp: New file.
2770 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
2772 * gdb.base/define.exp: Test defining and hooking prefix commands.
2773 * gdb.python/python.exp: Update test for "show user" output.
2775 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2777 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
2778 now the output exactly, using less wildcards. Expect also the output
2779 of gfortran-4.3. Update for the f-valprint.c modification from
2781 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
2782 Remove gdb_test test names where matching the command.
2784 2009-01-01 Pedro Alves <pedro@codesourcery.com>
2786 PR breakpoints/9681:
2787 * gdb.base/watchpoint.exp: Add regression test.
2789 2008-12-31 Pedro Alves <pedro@codesourcery.com>
2791 * gdb.threads/attach-into-signal.exp: Don't use
2792 gdb_suppress_entire_file.
2793 * gdb.threads/attach-stopped.exp: Ditto.
2794 * gdb.threads/attachstop-mt.exp: Ditto.
2796 2008-12-31 Pedro Alves <pedro@codesourcery.com>
2799 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
2801 2008-12-29 Pedro Alves <pedro@codesourcery.com>
2804 * gdb.base/radix.exp: Add tests to ensure invalid input radices
2805 and unsupported output radices are really rejected.
2807 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2809 * gdb.cp/punctuator.exp: Backslash the '$' signs.
2811 2008-12-22 Tom Tromey <tromey@redhat.com>
2813 * gdb.cp/punctuator.exp: New file.
2815 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2817 * gdb.base/completion.exp (Completing non-existing component): New test.
2819 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2821 Fix for PR gdb/8648.
2822 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
2823 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
2824 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
2825 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2827 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2829 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2831 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
2833 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
2834 compiler actually generate code at the expected line number.
2836 2008-12-15 Jie Zhang <jie.zhang@analog.com>
2838 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
2840 2008-12-12 Tom Tromey <tromey@redhat.com>
2842 * gdb.base/commands.exp (redefine_hook_test): New proc.
2845 2008-12-11 Tom Tromey <tromey@redhat.com>
2847 * gdb.base/macscp.exp: New regression test.
2849 2008-12-11 Tom Tromey <tromey@redhat.com>
2851 * gdb.base/macscp.exp: Print "address.addr".
2852 * gdb.base/macscp1.c (struct outer): New struct.
2853 (address): New global.
2855 2008-12-09 Tom Tromey <tromey@redhat.com>
2857 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
2860 2008-12-04 Doug Evans <dje@google.com>
2862 * gdb.server/ext-run.exp: Relax regexp for init program.
2864 2008-12-03 Tristan Gingold <gingold@adacore.com>
2866 * gdb.base/macscp.exp: Generate an object file during compilation
2867 to work around Darwin dsymutil limitations.
2869 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2871 Test resolving external references to TLS variables.
2872 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
2874 (testfile2, srcfile2): New variables.
2875 * gdb.threads/tls.c (file2_thread_local)
2876 (function_referencing_file2_thread_local): New.
2877 * gdb.threads/tls2.c: New file.
2879 2008-11-28 Joel Brobecker <brobecker@adacore.com>
2881 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
2882 rather than integer, as integer might not be big enough when
2885 2008-11-27 Jerome Guitton <guitton@adacore.com>
2887 * gdb.cp/formatted-ref.exp: Add equality test.
2888 * gdb.ada/formatted_ref.exp: Ditto.
2890 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2892 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
2893 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
2895 2008-11-20 Andreas Schwab <schwab@suse.de>
2897 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
2898 matching syscall entry point.
2899 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
2900 (tcatch_vfork_then_child_follow): Likewise. Finish through
2901 vfork even if we stopped at the syscall trampoline.
2903 2008-11-20 Doug Evans <dje@google.com>
2905 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2907 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
2909 * gdb.arch/ppc-dfp.exp: New file.
2910 * gdb.arch/ppc-dfp.c: New file.
2912 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2914 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
2916 2008-11-17 Doug Evans <dje@google.com>
2918 * gdb.mi/mi-syn-frame.exp: Update expected output.
2919 * gdb.mi/mi2-syn-frame.exp: Update expected output.
2921 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
2923 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
2924 "thread N" results in =thread-selected.
2925 * lib/mi-support (mi_run_cmd, mi_expect_stop)
2926 (mi_send_resuming_command_raw): Be prepared for
2929 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
2931 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
2932 * lib/mi-support.exp: Likewise.
2934 2008-11-16 Joel Brobecker <brobecker@adacore.com>
2936 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
2937 commands from the expected output for "help catch".
2939 2008-11-15 Joel Brobecker <brobecker@adacore.com>
2941 * gdb.ada/int_deref.exp: New testcase.
2943 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
2945 * gdb.mi/gdb2549.exp: New file.
2947 2008-11-11 Doug Evans <dje@google.com>
2949 * gdb.base/callexit.exp: New file.
2950 * gdb.base/callexit.c: New file.
2952 2008-11-10 Doug Evans <dje@google.com>
2954 * lib/gdb.exp (GDBFLAGS): Move -nx ...
2955 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
2956 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
2957 (default_gdb_start,default_gdb_exit): Ditto.
2958 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
2959 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
2960 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
2961 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
2962 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
2963 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2965 2008-11-03 Andreas Schwab <schwab@suse.de>
2967 * gdb.base/hashline2.exp: Fix typo.
2968 * gdb.base/hashline3.exp: Likewise.
2970 2008-10-30 Tom Tromey <tromey@redhat.com>
2972 * gdb.base/pointers.exp: Add test.
2973 * gdb.base/pointers.c (k, S): New typedefs.
2974 (instance): New global.
2976 2008-10-30 Andreas Schwab <schwab@suse.de>
2978 * gdb.base/args.exp: Add tests for newlines.
2980 2008-10-30 Joel Brobecker <brobecker@adacore.com>
2982 gdb.base/foll-exec.exp: Update the expected output of a couple
2983 of "info breakpoints" tests.
2985 2008-10-28 Tom Tromey <tromey@redhat.com>
2987 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
2989 2008-10-24 Pedro Alves <pedro@codesourcery.com>
2991 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
2993 Use runto_main before any test that requires execution.
2995 2008-10-23 Pedro Alves <pedro@codesourcery.com>
2997 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
3000 2008-10-22 Joel Brobecker <brobecker@adacore.com>
3002 * gdb.base/completion.exp: Update expected output following
3003 the addition of the "info tasks" command.
3005 2008-10-22 Tom Tromey <tromey@redhat.com>
3007 * gdb.base/exprs.exp (test_expr): Add test for string
3010 2008-10-19 Pedro Alves <pedro@codesourcery.com>
3012 * configure.ac: Output gdb.python/Makefile.
3013 * configure: Regenerate.
3014 * gdb.python/Makefile.in: New.
3016 2008-10-16 Joel Brobecker <brobecker@adacore.com>
3018 * gdb.base/foll-fork.exp: Adjust the expected output to match
3019 the new description for fork/vfork catchpoints in the "info
3020 breakpoints" output.
3022 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3024 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
3026 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
3028 * gdb.python/python-value.c: New file.
3029 * gdb.python/python-value.exp: New file.
3031 2008-10-15 Pedro Alves <pedro@codesourcery.com>
3033 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
3035 2008-10-15 Denis Pilat <denis.pilat@st.com>
3037 * gdb.cp/mb-ctor.exp: Fix a typo.
3039 2008-10-09 Tom Tromey <tromey@redhat.com>
3041 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
3042 'fprintf' and 'stderr'.
3044 2008-10-07 Joel Brobecker <brobecker@adacore.com>
3046 * gdb.ada/ref_tick_size.exp: New testcase.
3048 2008-10-06 Doug Evans <dje@google.com>
3050 * gdb.dwarf2/dw2-cu-size.exp: New file.
3051 * gdb.dwarf2/dw2-cu-size.S: New file.
3053 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
3054 .Ltype_int for clarity.
3056 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3059 * gdb.cp/gdb2384.exp: Extended to test more cases.
3060 * gdb.cp/gdb2384.cc: Likewise.
3061 * gdb.cp/gdb2384-base.h: Likewise.
3062 * gdb.cp/gdb2384-base.cc: Likewise.
3064 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3066 * gdb.base/maint.exp (maint print type): Remove printing
3067 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
3069 2008-09-30 Tom Tromey <tromey@redhat.com>
3071 * gdb.base/macscp.exp: Add completion tests.
3072 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
3073 (TWENTY_THREE): Likewise.
3074 (FORTY_EIGHT): Likewise.
3076 2008-09-30 Tom Tromey <tromey@redhat.com>
3078 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
3080 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
3082 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3084 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
3085 testcase is derived from. Fix racy dependency on an expected PID
3086 number. No longer support the testcase on Linux kernel 2.4.x.
3088 2008-09-27 Tom Tromey <tromey@redhat.com>
3090 * gdb.base/macscp.exp: Add tests for stringification, splicing,
3093 2008-09-22 Pedro Alves <pedro@codesourcery.com>
3095 * lib/mi-support.exp (mi_expect_interrupt): New.
3096 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
3097 from gdb.mi/mi-nonstop.exp.
3098 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
3099 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
3101 Use mi_check_thread_states throughout. Avoid ".*" and do not
3102 require an anchor after -exec-run.
3104 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
3106 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
3107 stop is pending. Avoid ".*" when two stops are pending.
3108 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
3109 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
3110 newlines in fullnames.
3111 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
3112 (mi_expect_stop): Update comments. Only anchor in sync mode.
3113 Do not match newlines.
3114 (mi_send_resuming_command_raw): Always return status.
3115 (mi_get_stop_line): Do not match more than one line by accident.
3116 Only anchor in sync mode.
3117 (mi_run_inline_test): If -exec-next fails, give up.
3119 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3121 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
3124 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3126 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
3128 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3130 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
3131 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3132 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
3133 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3134 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
3135 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
3136 gdb.ada/interface.exp, gdb.ada/null_array.exp,
3137 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3138 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3139 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3140 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
3141 Include the "= " sequence in the expected output of print tests.
3143 2008-09-10 Joel Brobecker <brobecker@adacore.com>
3145 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
3146 description for boolean types.
3148 2008-09-09 Pedro Alves <pedro@codesourcery.com>
3150 * gdb.base/hook-stop-continue.c: New.
3151 * gdb.base/hook-stop-continue.exp: New.
3153 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3155 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
3157 2008-09-08 Jerome Guitton <guitton@adacore.com>
3159 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
3160 (stack_check_probe_2, stack_check_probe_loop_1)
3161 (stack_check_probe_loop_2): New functions.
3162 (main): Add call to these new functions.
3163 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
3164 functions, check that the breakpoint is inserted at the appropriate
3166 (insert_breakpoint): Slightly refine this procedure so that it can
3167 be called several times in the test.
3169 2008-09-08 Jerome Guitton <guitton@adacore.com>
3171 * gdb.base/stack-checking.c: New file.
3172 * gdb.base/stack-checking.exp: New file.
3174 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
3176 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
3177 * gdb.arch/altivec-regs.exp: Likewise.
3178 * gdb.arch/vsx-regs.exp: Likewise.
3180 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
3182 * gdb.arch/ppc-fp.exp: New file.
3183 * gdb.arch/ppc-fp.c: New file.
3185 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3187 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
3188 lest gcc-4.3.1 optimizes the whole thing away.
3190 2008-09-04 Michael Snyder <msnyder@vmware.com>
3192 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
3193 as "at" (for non-debug functions such as _start).
3195 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3197 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
3198 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
3199 software watchpoints.
3200 * gdb.base/watch_thread_num.exp: Likewise.
3202 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
3204 * gdb.arch/i386-bp_permanent.exp: New test.
3206 2008-08-24 Tom Tromey <tromey@redhat.com>
3208 * gdb.base/maint.exp: Update "maint print type".
3210 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
3212 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
3213 support. Adjust the order of "*running" notifications.
3214 * gdb.mi/non-stop.c: Don't cast from int to void* and
3217 2008-08-20 Mark Kettenis <kettenis@gnu.org>
3219 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
3220 expect to find it in the "info frame" output.
3222 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
3224 * gdb.base/interp.exp: Always consume both prompts.
3226 2008-08-20 Pedro Alves <pedro@codesourcery.com>
3228 * gdb.base/pending.exp: Test pending breakpoints without symbols
3231 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
3233 * lib/mi-support.exp (mi_expect_stop): Produce
3234 more details on failures.
3235 * gdb.mi/mi-nonstop.exp: New.
3236 * gdb.mi/non-stop.c: New.
3238 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
3240 * gdb.mi/mi-async.exp: Use 'set target-async'.
3241 * lib/mi-support.exp: Use 'set/show target-async'.
3243 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
3245 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
3247 2008-08-17 Tom Tromey <tromey@redhat.com>
3249 * gdb.base/help.exp (help catch): Rewrite.
3251 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
3253 * gdb.base/define.exp: Test indented command documentation.
3254 * gdb.python/python.exp: Test indented multi-line command.
3256 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
3258 * testsuite/gdb.arch/vsx-regs.c: New source file.
3259 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
3260 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
3262 2008-08-14 Tom Tromey <tromey@redhat.com>
3264 * gdb.base/macscp.exp: Add regression test for "macro define" or
3265 "macro undef" with no arguments.
3267 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3269 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
3271 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3273 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
3275 2008-08-06 Tom Tromey <tromey@redhat.com>
3277 * gdb.python/python.exp: New file.
3279 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3281 Fix for PR gdb/1543.
3282 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
3284 (location): New variable.
3285 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
3286 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
3287 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
3288 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
3289 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
3290 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
3291 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
3292 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
3293 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
3294 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
3295 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
3296 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
3297 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
3298 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
3299 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3300 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
3301 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
3302 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
3303 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
3304 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3305 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
3306 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
3307 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
3308 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
3309 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
3310 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
3311 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
3312 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
3313 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
3314 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
3315 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
3316 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
3317 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
3318 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
3319 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
3320 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
3321 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
3322 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3323 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
3324 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
3325 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
3326 gdb.base/type-opaque.exp, gdb.base/until.exp,
3327 gdb.base/value-double-free.c, gdb.base/varargs.exp,
3328 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
3329 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
3330 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3331 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
3332 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
3333 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3334 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3335 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3336 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
3337 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
3338 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
3339 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
3340 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
3341 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
3342 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
3343 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3344 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
3345 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
3346 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
3347 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
3348 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
3349 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
3350 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
3351 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
3352 gdb.pascal/types.exp, gdb.stabs/weird.exp,
3353 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
3354 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
3355 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
3356 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
3357 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
3358 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
3359 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3360 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
3361 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3362 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
3363 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3364 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3365 lib/mi-support.exp, lib/trace-support.exp: Remove reference
3366 to bug-gdb@prep.ai.mit.edu .
3368 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
3370 * lib/mi-support.exp (mi_load_shlibs): New.
3371 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
3373 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
3375 * lib/mi-support.exp (get_mi_thread_list)
3376 (check_mi_and_console_threads): New, moved from ...
3377 * gdb.mi/mi-pthread.exp: ...here.
3378 * gdb.mi/gdb669.exp (get_mi_thread_list)
3379 (check_mi_and_console_threads): Delete.
3380 * gdb.mi/mi2-pthread.exp: Likewise.
3382 2008-07-28 Tom Tromey <tromey@redhat.com>
3384 * Makefile.in (just-check): Remove. Move body to...
3387 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3389 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
3390 Add a test for duplicated SIGINTs.
3392 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3394 * gdb.threads/schedlock.exp (get_args): Update to work for any
3396 (Top level): Report the number of threads that did not resume.
3398 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3400 * gdb.dwarf2/dw2-compressed.S: Also define __start.
3402 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
3404 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
3407 2008-07-26 Tom Tromey <tromey@redhat.com>
3409 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
3410 (function_struct, function_struct_ptr): New globals.
3411 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
3412 function pointer in a struct.
3414 2008-07-26 Tom Tromey <tromey@redhat.com>
3416 * gdb.base/macscp.exp: Add test for macro lexing bug.
3418 2008-07-18 Tom Tromey <tromey@redhat.com>
3420 * gdb.base/macscp.exp: Add macro tests.
3422 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3424 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
3426 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3428 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
3430 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3432 * gdb.cp/class2.exp: fix for failure on spu-elf
3434 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3436 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
3438 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3440 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
3442 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
3444 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
3446 2008-07-11 Kevin Buettner <kevinb@redhat.com>
3448 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
3449 of regexp to account for changes made to GDB in the printing of
3452 2008-07-11 Tom Tromey <tromey@redhat.com>
3454 * gdb.base/completion.exp: Add 'help' completion test.
3456 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3458 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
3460 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3462 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
3464 2008-07-09 Pedro Alves <pedro@codesourcery.com>
3466 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
3468 2008-07-09 Pedro Alves <pedro@codesourcery.com>
3470 * gdb.base/fullname.exp: Restore pwd if compiling failed.
3472 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3474 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
3476 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
3478 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
3479 previous commit. Add a comment.
3481 2008-06-28 Pedro Alves <pedro@codesourcery.com>
3483 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
3485 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
3487 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
3489 2008-06-27 Pedro Alves <pedro@codesourcery.com>
3491 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
3492 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
3493 compiling an executable, link in an object that forces unbuffered
3495 * lib/set_unbuffered_mode.c: New file.
3497 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3499 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
3501 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
3503 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
3505 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
3506 Demand that *running is output.
3507 (detect_async): Perform checking every time.
3508 (mi_send_resuming_command): Extract everything into...
3509 (mi_send_resuming_command_raw): ...this.
3510 (mi_expect_stop): Don't accept any output before *stopped.
3512 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
3514 Robustify mi-simplerun.
3515 * gdb.mi/basics.c (main): Add a call to sleep.
3516 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
3517 * gdb.mi/mi2-cli.exp: Likewise.
3518 * gdb.mi/mi-break.exp: Likewise.
3520 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
3522 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
3524 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
3526 * gdb.mi/mi-console.exp: Adjust.
3527 * gdb.mi/mi-syn-frame.exp: Adjust.
3528 * gdb.mi/mi2-console.exp: Adjust.
3529 * gdb.mi/mi2-syn-frame.exp: Adjust.
3530 * lib/mi-support.exp (mi_run_cmd): Adjust.
3531 (mi_send_resuming_command): Adjust.
3533 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
3535 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
3536 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
3538 * gdb.mi/mi2-syn-frame.exp: Likewise.
3539 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
3540 (async, detect_async): New.
3541 (mi_expect_stop, mi_continue_to_line): Adjust expectation
3542 depending on if we're running in sync or async mode.
3544 2008-06-09 Tom Tromey <tromey@redhat.com>
3546 * gdb.base/completion.exp: New tests for field name completion
3547 with spaces, and field name completion with '->'.
3549 2008-06-06 Tom Tromey <tromey@redhat.com>
3551 * gdb.base/break1.c (struct some_struct): New struct.
3552 (values): New global.
3553 * gdb.base/completion.exp: Add field name completion test.
3555 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3557 * gdb.cp/call-c.exp: Test for incorrect handling of reference
3559 * gdb.cp/call-c.cc: Likewise.
3561 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
3563 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
3566 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3567 Pedro Alves <pedro@codesourcery.com>
3569 * gdb.threads/execl.c, gdb.threads/execl1.c,
3570 gdb.threads/execl.exp: New tests.
3572 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
3573 Daniel Jacobowitz <dan@codesourcery.com>
3575 * gdb.cp/exception.exp: Activate test, make it work with pending
3578 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3580 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
3582 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
3584 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
3586 * gdb.mi/mi2-var-cmd.exp: Likewise.
3588 2008-05-27 Andreas Schwab <schwab@suse.de>
3590 * gdb.base/frame-args.exp: Handle arguments that are optimized
3593 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
3595 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
3596 quiet for ppc32 and group options into a single variable.
3598 2008-05-23 Joel Brobecker <brobecker@adacore.com>
3600 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
3601 of zero-size elements.
3602 * gdb.ada/null_array.exp: Test printing this new array.
3604 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3606 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
3608 2008-05-21 Joel Brobecker <brobecker@adacore.com>
3610 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
3611 of the "finish" command.
3613 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
3615 * gdb.base/annota1.exp: Test for new annotation.
3617 2008-05-16 Pedro Alves <pedro@codesourcery.com>
3619 * gdb.base/fixsection.exp: New file.
3620 * gdb.base/fixsection0.c: New file.
3621 * gdb.base/fixsection1.c: New file.
3623 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3625 * gdb.base/annota1.exp: Accept printf@... in place of printf.
3626 * gdb.base/annota3.exp: Likewise.
3628 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
3630 * gdb.base/watch_thread_num.exp: Don't run tests that require
3631 watchpoints if the target doesn't support them.
3633 2008-05-12 Doug Evans <dje@google.com>
3635 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
3637 2008-05-09 Joel Brobecker <brobecker@adacore.com>
3639 * gdb.ada/assign_1.exp: New testcase.
3641 2008-05-09 Doug Evans <dje@google.com>
3643 * gdb.base/find.exp: New file.
3644 * gdb.base/find.c: New file.
3646 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
3648 * gdb.base/commands.exp (watchpoint_command_test): Handle
3649 gdb,no_hardware_watchpoints.
3650 * gdb.base/float.exp: Allow ARM targets without floating point.
3651 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
3653 2008-05-06 Jerome Guitton <guitton@adacore.com>
3654 Joel Brobecker <brobecker@adacore.com>
3656 * gdb.ada/lang_switch: New test program.
3657 * gdb.ada/lang_switch.exp: New testcase.
3659 2008-05-05 Doug Evans <dje@google.com>
3661 * gdb.base/help.exp (disassemble): Update expected help text.
3663 2008-05-04 Pedro Alves <pedro@codesourcery.com>
3665 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
3667 2008-05-04 Pedro Alves <pedro@codesourcery.com>
3669 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
3672 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3674 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
3675 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
3676 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
3677 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
3679 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
3681 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
3682 notification to appear.
3684 2008-05-04 Daniel Jacobowitz <dan@debian.org>
3686 * gdb.base/fullname.c: New file.
3687 * gdb.base/fullname.exp: New file.
3688 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
3690 2008-05-03 Pedro Alves <pedro@codesourcery.com>
3692 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
3693 expressions with macros.
3695 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3697 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
3699 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
3701 * gdb.base/completion.exp: Handle lack of other symbols beginning
3704 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
3706 2008-05-02 Jim Blandy <jimb@codesourcery.com>
3708 * gdb.asm/asmsrc1.s: Add scratch space.
3710 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3711 Daniel Jacobowitz <dan@codesourcery.com>
3713 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
3714 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
3715 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
3717 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
3719 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
3721 2008-05-01 Joel Brobecker <brobecker@adacore.com>
3723 * gdb.base/info-target.exp: New testcase.
3725 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3727 * gdb.cp/hang.exp: Use .cc instead of .C.
3728 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
3729 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
3731 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
3733 * gdb.base/gdb1250.exp: Remove perror.
3734 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
3736 2008-04-30 Pedro Alves <pedro@codesourcery.com>
3738 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
3741 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
3743 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
3746 2008-04-25 Pedro Alves <pedro@codesourcery.com>
3748 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
3750 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3752 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
3753 * gdb.mi/mi2-syn-frame.exp: Likewise.
3754 * lib/mi-support.exp: Likewise.
3756 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3758 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
3759 to specify regexp for the location to stop at.
3760 * gdb.base/break-always.c: New.
3761 * gdb.base/break-always.exp: New.
3763 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
3765 * lib/mi-support.exp (mi_runto_helper): Adjust
3766 for the original-location field.
3767 (mi_create_breakpoint, mi_list_breakpoints): New.
3768 * gdb.mi/mi-break.exp: Adjust.
3769 * gdb.mi/mi2-break.exp: Adjust.
3770 * gdb.mi/mi-pending.exp: Adjust.
3771 * gdb.mi/mi-simplerun.exp: Adjust.
3772 * gdb.mi/mi2-simplerun.exp: Adjust.
3773 * gdb.mi/mi-syn-frame.exp: Adjust.
3774 * gdb.mi/mi2-syn-frame.exp: Adjust.
3775 * gdb.mi/mi-until.exp: Adjust.
3776 * gdb.mi/mi2-until.exp: Adjust.
3777 * gdb.mi/mi-var-display.exp: Adjust.
3778 * gdb.mi/mi2-var-display.exp: Adjust.
3779 * gdb.mi/mi-watch.exp: Adjust.
3780 * gdb.mi/mi2-watch.exp: Adjust.
3782 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
3784 * aclocal.m4: Add override.m4.
3785 * configure: Regenerate.
3787 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
3789 * gdb.mi/var-cmd.c (do_at_tests): Verify that
3790 '-var-update --all-values' reports new value even the type
3791 of a variable object has changed.
3793 2008-04-18 Craig Silverstein <csilvers@google.com>
3795 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
3798 2008-04-18 Joel Brobecker <brobecker@adacore.com>
3800 * gdb.ada/atomic_enum: New test program.
3801 * gdb.ada/atomic_enum.exp: New testcase.
3803 2008-04-17 Doug Evans <dje@google.com>
3805 * gdb.opt/Makefile.in: Fix whitespace.
3807 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
3809 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
3811 2008-04-17 Doug Evans <dje@google.com>
3813 * gdb.base/hashline1.exp: New testcase.
3814 * gdb.base/hashline2.exp: New testcase.
3815 * gdb.base/hashline2.exp: New testcase.
3817 2008-04-17 Pedro Alves <pedro@codesourcery.com>
3819 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
3821 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
3823 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
3824 temporary breakpoint to match "Temporary breakpoint".
3825 * gdb.base/break.exp (delete_breakpoints): Likewise.
3826 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
3827 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
3828 * gdb.base/display.exp: Likewise.
3829 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
3830 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
3831 * gdb.base/restore.exp (restore_tests): Likewise.
3832 * gdb.base/sepdebug.exp: Likewise.
3833 * gdb.base/watchpoint.exp: Likewise.
3834 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
3835 * gdb.mi/mi-pending.exp: Likewise.
3836 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
3837 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
3838 * gdb.mi/mi-var-cmd.exp: Likewise.
3839 * gdb.mi/mi-var-display.exp: Likewise.
3840 * gdb.mi/mi2-cli.exp: Likewise.
3841 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
3842 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
3843 * gdb.mi/mi2-var-display.exp: Likewise.
3844 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
3845 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
3847 (mi_expect_stop): Move after_reason argument to be really after
3848 reason. This is to support fix for PR2424.
3850 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3852 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
3854 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
3856 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
3857 field. Add more floating varobj tests.
3858 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
3860 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
3861 (main): Call do_at_tests.
3862 * lib/mi-support.exp (mi_create_floating_varobj)
3863 (mi_varobj_update_with_type_change): New.
3865 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
3867 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
3868 option of -var-evaluate-expression.
3869 * gdb.mi/mi2-var-display.exp: Likewise.
3871 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
3873 Introduce test setup helpers.
3874 * lib/gdb.exp (build_executable, clean_restart)
3875 (prepare_for_testing): New.
3876 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
3877 * gdb.base/return.exp: Likewise.
3878 * gdb.base/ending-run.exp: Likewise.
3880 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
3882 * gdb.mi/mi-async.exp: New test for asynchronous Machine
3883 Interface (MI) responses.
3885 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
3887 * gdb.cp/breakpoint.cc: New code to test conditions involving
3889 * gdb.cp/breakpoint.exp: Test condition involving member
3892 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
3894 * lib/mi-support.exp (mi_expect_stop): New.
3895 (mi_run_cmd): Change the
3896 token. Use mi_send_resuming_command, use
3898 (mi_execute_to_helper): Rename to mi_execute_to.
3899 (mi_send_resuming_command): Add more error patterns.
3900 (mi_wait_for_stop): Renamed to...
3901 (mi_get_stop_line): ...this.
3902 (mi_run_inline_test): Adjust.
3904 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
3905 * gdb.mi/mi-console.exp: Likewise.
3906 * gdb.mi/mi-pending.exp: Likewise.
3907 * gdb.mi/mi-simplerun.exp: Likewise.
3908 * gdb.mi/mi-stack.exp: Likewise.
3909 * gdb.mi/mi-stepi.exp: Likewise.
3910 * gdb.mi/mi-syn-frame.exp: Add comment.
3911 * gdb.mi/mi-until.exp: Likewise.
3912 * gdb.mi/mi-var-display.exp: Likewise.
3913 * gdb.mi/mi-watch.exp: Likewise.
3914 * gdb.mi/mi2-cli.exp: Likewise.
3915 * gdb.mi/mi2-console.exp: Likewise.
3916 * gdb.mi/mi2-simplerun.exp: Likewise.
3917 * gdb.mi/mi2-stack.exp: Likewise.
3918 * gdb.mi/mi2-stepi.exp: Likewise.
3919 * gdb.mi/mi2-until.exp: Likewise.
3920 * gdb.mi/mi2-var-display.exp: Likewise.
3921 * gdb.mi/mi2-watch.exp: Likewise.
3923 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3925 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
3927 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
3929 2008-04-04 Pedro Alves <pedro@codesourcery.com>
3931 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
3932 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
3933 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
3934 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
3935 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
3936 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
3937 expect an mi error duplicated in stderr.
3939 2008-04-03 Joel Brobecker <brobecker@adacore.com>
3941 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
3942 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
3943 Add a couple of tests that verify the behavior when the new setting
3944 is set to "cancel" and "all".
3945 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
3946 "ask" before we start the testing.
3948 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
3950 * gdb.cp/casts.cc: Add class reference variables.
3951 * gdb.cp/casts.exp: New test cases for up/down casting references.
3953 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
3955 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
3956 instead of beginning to make an extra test pass.
3957 * gdb.mi/mi2-var-display.exp: Likewise.
3959 2008-03-31 Maciej W. Rozycki <macro@mips.com>
3961 * gdb.base/break.exp: Mark failures as such. Fix formatting.
3963 2008-03-31 Markus Deuling <deuling@de.ibm.com>
3964 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3966 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
3967 value. Add xfail for older kernels.
3969 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
3971 Bring mi-support in line with gdb.exp.
3972 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
3973 (mi_gdb_start): New function.
3975 2008-03-28 Maciej W. Rozycki <macro@mips.com>
3977 * gdb.mi/mi-var-cmd.exp: Fix a typo.
3979 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
3981 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
3982 * gdb.mi/mi2-var-display.exp: Likewise.
3984 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
3986 * lib/mi-support.exp (mi_create_varobj_checked): New.
3987 (mi_list_varobj_children): Allow to check for a
3989 (mi_list_array_varobj_children): New.
3991 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
3992 and mi_list_varobj_children, as opposed to hardcoding
3994 * gdb.mi/gdb701.exp: Likewise.
3995 * gdb.mi/gdb792.exp: Likewise.
3996 * gdb.mi/mi-var-block.exp: Likewise.
3997 * gdb.mi/mi-var-cmd.exp: Likewise.
3998 * gdb.mi/mi-var-invalidate.exp: Likewise.
3999 * gdb.mi/mi2-var-block.exp: Likewise.
4000 * gdb.mi/mi2-var-child.exp: Likewise.
4001 * gdb.mi/mi2-var-cmd.exp: Likewise.
4002 * gdb.mi/mi2-var-display.exp: Likewise.
4004 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4006 Fix random false FAILs on i386.
4007 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
4009 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
4012 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
4014 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
4017 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
4019 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4021 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
4024 2008-03-21 Pedro Alves <pedro@codesourcery.com>
4026 * gdb.threads/fork-child-threads.exp: Test next over fork.
4028 2008-03-21 Chris Demetriou <cgd@google.com>
4030 * gdb.base/break.exp (rbreak junk): New test for rbreak
4031 "Junk at end of arguments" issue.
4033 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4035 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
4036 *& to work on created array elements.
4037 (Top level): Test print $pc with a file. Test string operations
4039 * gdb.base/ptype.exp: Do not expect *& to work on created array
4042 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
4044 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4045 gdb.threads/staticthreads.exp: Update exit query.
4047 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
4049 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
4051 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
4053 * gdb.base/watchpoint.c (global_ptr, func4): New.
4055 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
4056 (test_inaccessible_watchpoint): New.
4058 2008-02-29 Maciej W. Rozycki <macro@mips.com>
4060 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
4063 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
4065 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
4066 frames-invalid annotations.
4068 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
4070 * gdb.base/assign.exp: avoid same output for different tests.
4072 2008-02-27 Doug Evans <dje@google.com>
4074 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
4076 (breakpoint_to_handler_entry): Ditto.
4078 2008-02-27 Joel Brobecker <brobecker@adacore.com>
4080 * gdb.base/ending-run.exp: Use the first line of code inside
4081 function body to test breakpoints.
4082 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
4083 location where the breakpoint is inserted when using the line
4084 where a function is declared. Fix typo in the description of
4086 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
4088 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
4090 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
4093 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
4095 * gdb.base/args.exp: avoid same output for tests
4098 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
4100 * gdb.base/annota1.exp: Adjust for 'info break'
4102 * gdb.base/annota3.exp: Likewise.
4103 * gdb.base/break.exp: Likewise.
4104 * gdb.base/condbreak.exp: Likewise.
4105 * gdb.base/pending.exp: Likewise.
4106 * gdb.base/sepdebug.exp: Likewise.
4107 * gdb.base/unload.exp: Likewise.
4108 * gdb.cp/ovldbreak.exp: Likewise.
4109 * gdb.mi/mi-pending.exp: Likewise.
4111 2008-02-07 Doug Evans <dje@google.com>
4113 * gdb.cp/mb-inline.exp: New.
4114 * gdb.cp/mb-inline.h: New.
4115 * gdb.cp/mb-inline1.cc: New.
4116 * gdb.cp/mb-inline2.cc: New.
4118 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
4120 * gdb.pascal/floats.pas: New test program.
4121 * gdb.pascal/floats.exp: New testcase.
4123 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
4125 * gdb.base/callfuncs.c (t_float_many_args): New function.
4126 (t_double_many_args): New function.
4127 * gdb.base/callfuncs.exp: Add tests for exceeding float
4128 and double parameters passed through the stack.
4130 2008-02-05 Joel Brobecker <brobecker@adacore.com>
4132 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
4133 gdb.ada/complete/foo.adb: New files.
4134 * gdb.ada/complete.exp: New testcase.
4136 2008-02-03 Doug Evans <dje@google.com>
4138 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
4140 * gdb.cp/gdb2384.exp: New file.
4141 * gdb.cp/gdb2384.cc: New file.
4142 * gdb.cp/gdb2384-base.h: New file.
4143 * gdb.cp/gdb2384-base.cc: New file.
4145 2008-02-02 Doug Evans <dje@google.com>
4147 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
4149 2007-02-01 Joel Brobecker <brobecker@adacore.com>
4151 * gdb.ada/sym_print_name: New test program.
4152 * gdb.ada/sym_print_name.exp: New testcase.
4154 2007-02-01 Joel Brobecker <brobecker@adacore.com>
4156 * gdb.ada/nested/hello.adb: New file.
4157 * gdb.ada/nested.exp: New testcase.
4158 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
4160 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
4162 * gdb.mi/basic.c (return_1): New function.
4163 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
4164 don't cause future evaluations of function to report
4165 creation of internal breakpoints.
4167 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
4169 * gdb.mi/mi-break.exp (test_error): New.
4172 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
4174 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
4175 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
4177 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
4179 * gdb.pascal/integers.pas: New test program.
4180 * gdb.pascal/integers.exp: New testcase.
4182 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
4184 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
4186 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
4188 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
4189 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
4191 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
4193 * gdb.ada/formatted_ref: New test program.
4194 * gdb.ada/formatted_ref.exp: New testcase.
4196 * gdb.cp/formatted-ref.cc: New file.
4197 * gdb.cp/formatted-ref.exp: New testcase.
4199 2008-01-30 Joel Brobecker <brobecker@adacore.com>
4201 * gdb.base/ptype.exp: Add testing of "ptype $pc".
4203 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
4205 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
4206 (test_file_list_exec_source_file): Update to new macro-info field.
4208 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
4210 * gdb.ada/exprs: New test program.
4211 * gdb.ada/exprs.exp: New testcase.
4213 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4215 * dfp-test.c (DELTA, DELTA_B): New definitions.
4216 (double_val1, double_val2, double_val3, double_val4, double_val5,
4217 double_val6, double_val7, double_val8, double_val9, double_val10,
4218 double_val11, double_val12, double_val13, double_val14, dec32_val1,
4219 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
4220 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
4221 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
4222 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
4223 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
4224 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
4225 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
4226 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
4227 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
4228 dec128_val16): New global variables.
4229 (decimal_dec128_align): New function.
4230 (decimal_mixed): Likewise.
4231 (decimal_many_args_dec32): Likewise.
4232 (decimal_many_args_dec64): Likewise.
4233 (decimal_many_args_dec128): Likewise.
4234 (decimal_many_args_mixed): Likewise.
4235 * dfp-test.exp: Add tests calling new inferior functions.
4237 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4239 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
4240 gdb.server/ext-run.exp: New files.
4241 * lib/gdbserver-support.exp (gdbserver_download): New.
4242 (gdbserver_start): New. Update gdbserver expected
4244 (gdbserver_spawn): Use them.
4245 (gdbserver_start_extended): New.
4247 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4249 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
4251 (do_exec_tests): Check for systems which do not support catchpoints.
4253 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
4254 Run on GNU/Linux. Enable verbose output.
4255 (check_fork_catchpoints): New.
4256 (explicit_fork_child_follow, catch_fork_child_follow)
4257 (tcatch_fork_parent_follow): Update expected messages.
4258 (do_fork_tests): Use check_fork_catchpoints.
4259 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
4260 Run on GNU/Linux. Enable verbose output.
4261 (check_vfork_catchpoints): New.
4262 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
4264 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
4266 2008-01-29 Jim Blandy <jimb@red-bean.com>
4268 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
4270 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
4272 2008-01-29 Jim Blandy <jimb@red-bean.com>
4274 * gdb.threads/sigthread.c: Use barriers to ensure that
4275 child_thread and child_thread_two are always initialized before we
4278 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
4280 * gdb.base/watchpoint-solib.exp: New.
4281 * gdb.base/watchpoint-solib.c: New.
4282 * gdb.base/watchpoint-solib-shr.c: New.
4284 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
4286 * gdb.base/gdb1056.exp: Add unsigned integer test.
4288 2008-01-28 Doug Evans <dje@google.com>
4290 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
4292 2008-01-27 Jim Blandy <jimb@codesourcery.com>
4294 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
4296 * gdb.base/expand-psymtabs.exp: Doc fix.
4298 2008-01-26 Mark Kettenis <kettenis@gnu.org>
4300 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
4302 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
4304 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
4307 2008-01-23 Chris Demetriou <cgd@google.com>
4309 * gdb.threads/thread_events.c: New testcase source file.
4310 * gdb.threads/thread_events.exp: New testcase expect file.
4312 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
4314 * lib/gdb.exp: Add the variable octal.
4316 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
4319 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
4320 Vladimir Prus <vladimir@codesourcery.com>
4322 * gdb.base/float.exp: Allow missing floating point for m68k and
4325 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
4327 * gdb.mi/basics.c: Setup for testing breakpoints
4329 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
4330 * gdb.mi/mi-cli.exp: Adjust.
4331 * gdb.mi/mi2-cli.exp: Adjust.
4333 2008-01-17 Pedro Alves <pedro@codesourcery.com>
4335 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
4336 and 'dummy_ptr' integer pointer. Initialize struct_declarations
4337 with dummy_ptr's address.
4338 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
4339 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
4341 * gdb.mi/mi2-var-child.exp: Likewise.
4343 2008-01-09 Joel Brobecker <brobecker@adacore.com>
4345 * gdb.ada/null_array: New test program.
4346 * gdb.ada/null_array.exp: New testcase.
4348 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
4350 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
4351 with required float modifiers.
4353 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4355 * gdb.ada/funcall_param: New test program.
4356 * gdb.ada/funcall_param.exp: New testcase.
4358 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4360 * gdb.ada/arrayparam: New test program.
4361 * gdb.ada/arrayparam.exp: New testcase.
4363 2008-01-08 Joel Brobecker <brobecker@adacore.com>
4365 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
4366 landed. Should also fix random failures in the test following it.
4368 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
4370 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
4371 for expressions with decimal float values.
4372 (test_dfp_conversions): New function to test casts to and from
4373 decimal float types.
4374 Call test_dfp_conversions.
4375 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
4377 (main): Initialize ds.float4 and ds.double8 elements.
4378 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
4379 string to new error message.
4380 (d64_set_tests): Likewise.
4381 (d128_set_tests): Likewise.
4382 Add tests for expressions with decimal float variables. Add tests for
4383 conversions to and from decimal float types.
4385 2008-01-05 Joel Brobecker <brobecker@adacore.com>
4387 * gdb.ada/packed_tagged/comp_bug.adb: New file.
4388 * gdb.ada/packed_tagged.exp: New testcase.
4390 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4392 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
4393 gdb.ada/homonym/homonym_main.adb: New files.
4394 * gdb.ada/homonym.exp: New testcase.
4396 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4398 * gdb.ada/packed_array.exp: Add testing of references to
4401 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4403 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
4405 * gdb.ada/type_coercion.exp: New testcase.
4407 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4409 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
4410 gdb.ada/tagged/foo.adb: New file.
4411 * gdb.ada/tagged.exp: New testcase.
4413 2008-01-04 Joel Brobecker <brobecker@adacore.com>
4415 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
4416 gdb.ada/ptype_field/foo.adb: New files.
4417 * gdb.ada/ptype_field.exp: New testcase.
4419 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4421 * gdb.ada/print_pc.exp: New testcase.
4423 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4425 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
4426 gdb.ada/taft_type/p.adb: New files.
4427 * gdb.ada/taft_type.exp: New testcase.
4429 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4431 * gdb.ada/array_bounds/bar.adb: New file.
4432 * gdb.ada/array_bounds.exp: New testcase.
4434 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4436 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
4437 gdb.ada/arrayptr/foo.adb: New files.
4438 * gdb.ada/arrayptr.exp: New testcase.
4440 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4442 * gdb.base/set-lang-auto.exp: New testcase.
4444 2008-01-03 Joel Brobecker <brobecker@adacore.com>
4446 * gdb.ada/fun_addr/foo.adb: New file.
4447 * gdb.ada/fun_addr.exp: New testcase.
4449 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4451 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
4454 2008-01-02 Joel Brobecker <brobecker@adacore.com>
4456 * array_subscript_addr/p.adb: New file.
4457 * array_subscript_addr.exp: New testcase.
4459 2008-01-02 Joel Brobecker <brobecker@adacore.com>
4461 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
4463 * gdb.ada/str_cmp_ref.exp: New testcase.
4465 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4467 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
4468 gdb.ada/fun_in_declare/foo.adb: New files.
4469 * gdb.ada/fun_in_declare.exp: New testcase.
4471 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4473 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
4474 gdb.ada/ref_param/pck.ads: New files.
4475 * gdb.ada/ref_param.exp: New testcase.
4477 2008-01-01 Joel Brobecker <brobecker@adacore.com>
4479 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
4480 gdb.ada/interface/foo.adb: New files.
4481 * gdb.ada/interface.exp: New testcase.
4483 2007-12-31 Jim Blandy <jimb@codesourcery.com>
4485 * gdb.base/multi-forks.exp: Consume all output from child
4486 processes before proceeding to next test.
4488 2007-12-29 Jim Blandy <jimb@codesourcery.com>
4490 * configure: Regenerated.
4492 2007-12-27 Joel Brobecker <brobecker@adacore.com>
4494 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
4495 gdb.ada/fixed_cmp/fixed.adb: New files.
4496 * gdb.ada/fixed_cmp.exp: New testcase.
4498 2007-12-27 Joel Brobecker <brobecker@adacore.com>
4500 * gdb.ada/boolean_expr.exp: New testcase.
4502 2007-12-26 Jim Blandy <jimb@codesourcery.com>
4504 * gdb.base/multi-forks.exp: Doc fix.
4506 2007-12-26 Joel Brobecker <brobecker@adacore.com>
4508 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
4509 * gdb.ada/char_param.exp: Do not compile our test program with
4510 -gnata, this is unnecessary.
4511 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
4513 2007-12-24 Joel Brobecker <brobecker@adacore.com>
4515 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
4516 gdb.ada/print_chars/foo.adb: New files.
4517 * gdb.ada/print_chars.exp: New testcase.
4519 2007-12-24 Joel Brobecker <brobecker@adacore.com>
4521 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
4522 gdb.ada/char_param/foo.adb: New files.
4523 * gdb.ada/char_param.exp: New testcase.
4525 2007-12-22 Jim Blandy <jimb@codesourcery.com>
4527 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
4528 hard-coding source line numbers into the test.
4529 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
4530 gdb_get_line_number to find.
4532 2007-12-22 Joel Brobecker <brobecker@adacore.com>
4534 * gdb.base/ptype.c (highest): New struct type.
4535 (the_highest): New variable of that type.
4536 (main): Add dummy assignment to a field of variable the_highest.
4537 * gdb.base/ptype.exp: Test type printing of our new variable.
4539 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
4541 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
4542 and record first explicitly generated thread number.
4543 Use that thread number for thread specific watchpoint test.
4544 Add iteration number to repetitive tests.
4546 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4547 Jim Blandy <jimb@codesourcery.com>
4549 * gdb.base/expand-psymtabs.c: New testcase
4551 * gdb.base/expand-psymtabs.exp: New testcase
4554 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
4556 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
4557 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
4559 2007-12-17 Joel Brobecker <brobecker@adacore.com>
4561 * gdb.ada/frame_args/foo.adb: New file.
4562 * gdb.ada/frame_args/pck.ads: New file.
4563 * gdb.ada/frame_args/pck.adb: New file.
4564 * gdb.ada/frame_args.exp: New testcase.
4566 2007-12-17 Joel Brobecker <brobecker@adacore.com>
4568 * gdb.base/frame-args.c: New file.
4569 * gdb.base/frame-args.exp: New testcase.
4571 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
4572 Joseph Myers <joseph@codesourcery.com>
4574 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
4576 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
4578 * gdb.mi/mi-pending.exp: New.
4579 * gdb.mi/mi-pending.c: New.
4580 * gdb.mi/mi-pendshr.c: New.
4582 2007-12-06 Jim Blandy <jimb@codesourcery.com>
4584 * gdb.base/default.exp: Update expected output for 'info catch'.
4586 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4588 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
4589 must be set to binary.
4591 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
4593 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
4595 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
4597 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
4598 gdb.mi/mi-file-transfer.exp: New.
4600 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4602 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
4604 2007-11-22 Maciej W. Rozycki <macro@mips.com>
4606 * gdb.trace/backtrace.exp: Fix a typo.
4607 * gdb.trace/circ.exp: Likewise.
4608 * gdb.trace/collection.exp: Likewise.
4609 * gdb.trace/limits.exp: Likewise.
4610 * gdb.trace/report.exp: Likewise.
4611 * gdb.trace/tfind.exp: Likewise.
4612 * gdb.trace/while-dyn.exp: Likewise.
4614 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
4616 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
4617 objects of pointers that can't be dereferenced are now
4620 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4622 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
4623 (target_cpu): Remove.
4625 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
4627 * gdb.base/ending-run.exp: Expect the list of cleared
4628 breakpoint to come in natural order, not the reversed one.
4630 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
4632 * gdb.mi/mi-var-child.c (do_child_deletion): New.
4633 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
4635 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
4637 * gdb.base/printcmds.exp: New function
4638 test_printf_with_dfp.
4640 2007-11-02 Doug Evans <dje@google.com>
4642 * gdb.disasm/t01_mov.s: Remove carriage returns.
4643 * gdb.disasm/t02_mova.s: Ditto.
4644 * gdb.disasm/t03_add.s: Ditto.
4645 * gdb.disasm/t04_sub.s: Ditto.
4646 * gdb.disasm/t05_cmp.s: Ditto.
4647 * gdb.disasm/t06_ari2.s: Ditto.
4648 * gdb.disasm/t07_ari3.s: Ditto.
4649 * gdb.disasm/t08_or.s: Ditto.
4650 * gdb.disasm/t09_xor.s: Ditto.
4651 * gdb.disasm/t10_and.s: Ditto.
4652 * gdb.disasm/t11_logs.s: Ditto.
4653 * gdb.disasm/t12_bit.s: Ditto.
4654 * gdb.disasm/t13_otr.s: Ditto.
4656 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4658 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
4660 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4662 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
4663 provide DFP support.
4665 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
4667 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
4668 Test "set powerpc vector-abi". Skip auto-detection tests for old
4671 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4673 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
4674 with [string compare].
4676 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
4678 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
4679 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
4681 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
4683 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
4684 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
4685 * gdb.opt/Makefile.in: New makefile.
4686 * Makefile.in: Create new directory "gdb.opt".
4687 * configure.ac: Add "gdb.opt" directory.
4688 * configure: Regenerated.
4690 2007-10-25 Doug Evans <dje@google.com>
4692 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
4693 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
4695 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
4696 Thiago Jung Bauermann <bauerman@br.ibm.com>
4698 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
4699 Floating Point expressions.
4700 * gdb.base/dfp-test.exp: new file adding tests for Decimal
4701 Floating Point variables.
4702 * gdb.base/dfp-test.c: new file containing program with Decimal
4703 Floating variables, used by gdb.base/dfp-test.exp.
4705 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
4707 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
4709 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4711 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
4712 compiling test case with GCC.
4713 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
4715 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4717 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
4720 2007-10-18 Michael Snyder <msnyder@specifix.com>
4722 * gdb.base/dbx.exp: Add missing "-re " operator.
4724 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
4726 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
4727 * configure.ac: Removed trailing spaces after backslash.
4728 * gdb.modula2: New directory.
4729 * gdb.modula2/Makefile.in: New file.
4730 * gdb.modula2/unbounded-array.exp: New file.
4731 * gdb.modula2/unbounded1.c: New file.
4733 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
4735 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
4737 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
4739 * gdb.base/sigstep.c (main): Add checks for
4740 return values for setitimer call.
4741 Call setitimer again with itimer = ITIMER_REAL
4742 if first call to setitimer fails.
4744 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
4746 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
4749 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
4751 * gdb.server/server-run.exp: Test for dynamic linker symbols.
4753 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
4755 * lib/gdb.exp (gdb_run_cmd): Move comment outside
4756 of gdb_expect call, to avoid interruption.
4758 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
4760 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
4761 (v_unsigned_long_long, v_long_long_array)
4762 (v_signed_long_long_array, v_unsigned_long_long_array)
4763 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
4764 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
4765 [!NO_LONG_LONG]: New.
4766 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
4769 (v_long_long_func, v_signed_long_long_func)
4770 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
4771 (main) [!NO_LONG_LONG]: Initialize long long variants.
4773 * gdb.base/whatis.exp: If board file requests no_long_long, build
4774 test with NO_LONG_LONG defined. Test long long, signed long long,
4775 and unsigned long long variants but only if board file doesn't
4778 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
4779 Daniel Jacobowitz <dan@codesourcery.com>
4781 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
4782 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
4783 * configure: Regenerated.
4784 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
4785 gdb.pascal/types.exp, lib/pascal.exp: New files.
4787 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
4789 * gdb.cp/classes.exp (do_tests): Always step to the line after the
4791 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
4792 to return to the call.
4793 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
4794 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
4795 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
4796 * gdb.mi/mi-until.exp (test_until): Likewise.
4797 * gdb.mi/mi2-until.exp (test_until): Likewise.
4799 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
4801 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
4803 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
4805 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
4807 * gdb.threads/watchthreads.c (thread_function): Sleep between
4809 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
4810 at once for S/390. Generate matching fails and passes.
4812 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
4814 * gdb.mi/var-cmd.c (do_children_tests): Initialize
4815 the 'struct_declarations' variable to zeros.
4817 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
4819 * gdb.cp/mb-ctor.cc: New.
4820 * gdb.cp/mb-ctor.exp: New.
4821 * gdb.cp/mb-templates.cc: New.
4822 * gdb.cp/mb-templates.exp: New.
4824 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
4826 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
4828 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
4830 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
4832 * configure: Regenerate.
4834 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
4836 * gdb.base/annota1.exp: Adjust for 'info break'
4838 * gdb.base/annota3.exp: Likewise.
4839 * gdb.base/break.exp: Likewise.
4840 * gdb.base/condbreak.exp: Likewise.
4841 * gdb.base/pending.exp: Likewise.
4842 * gdb.base/sepdebug.exp: Likewise.
4843 * gdb.base/unload.exp: Likewise.
4844 * gdb.base/ovldbreak.exp: Likewise.
4846 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
4848 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
4850 * gdb.base/chng-syms.exp: Likewise.
4851 * gdb.base/unload.exp: Likewise.
4853 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
4855 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
4857 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
4859 * schedlock.c (NUM): Change to 1.
4860 (main): Use args[0] for the main thread.
4861 * schedlock.exp: Only expect two threads. Only issue one pass or fail
4862 regardless of the number of threads.
4864 2007-09-14 Maciej W. Rozycki <macro@mips.com>
4866 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
4868 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
4870 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
4871 watchpoint type down.
4872 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
4875 2007-09-14 Maciej W. Rozycki <macro@mips.com>
4877 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
4878 Move all the tests here and run them twice, once using software
4879 watchpoints and once using hardware watchpoints.
4880 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
4882 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
4884 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
4887 2007-09-10 Mark Kettenis <kettenis@gnu.org>
4889 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
4892 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
4893 know about $ORIGIN. Calculate output dir from $dest instead of
4894 using ${objdir}/{$subdir}.
4896 2007-09-09 Mark Kettenis <kettenis@gnu.org>
4898 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
4899 gcore, before continuing with the test.
4901 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
4903 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
4904 * gdb.mi/mi-watch.exp: Likewise.
4906 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4907 Jim Blandy <jimb@codesourcery.com>
4909 * gdb.arch/i386-sse.exp: Do not expect character constants.
4910 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
4911 * gdb.base/display.exp: Allow print/s.
4912 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
4913 and unsigned char array changes.
4915 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4917 * gdb.base/display.exp: Add tests for printf %p.
4919 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
4921 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
4922 the dll name to unicode.
4924 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4926 * gdb.base/default.exp (show version): Update the version text.
4927 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
4929 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4931 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
4934 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4936 * lib/gdb.exp (build_id_debug_filename_get): New function.
4937 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
4938 Remove the generate DEBUG file for the future testcase runs.
4939 New testcase for the NT_GNU_BUILD_ID retrieval.
4940 Move the final testing step to ...
4941 (test_different_dir): ... a new function.
4942 New parameter XFAIL to XFAIL all the tests performed.
4943 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
4944 New parameter TYPE to PF_PREFIX all the tests performed.
4946 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
4948 * gdb.mi/mi-var-cp.cc (path_expression): New
4950 * gdb.mi/mi-var-cp.exp: Run path exression tests.
4952 2007-08-27 Markus Deuling <deuling@de.ibm.com>
4954 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
4955 to fit into SPU Local Store memory.
4957 2007-08-23 Joel Brobecker <brobecker@adacore.com>
4959 * gdb.base/default.exp: Adjust the expected output of "info
4960 warranty" after the switch to GPLv3.
4962 2007-08-23 Joel Brobecker <brobecker@adacore.com>
4964 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
4965 to 30000 (from 20000).
4967 2007-08-23 Joel Brobecker <brobecker@adacore.com>
4969 Switch the license of all .exp files to GPLv3.
4970 Switch the license of all .f and .f90 files to GPLv3.
4971 Switch the license of all .s and .S files to GPLv3.
4973 2007-08-23 Joel Brobecker <brobecker@adacore.com>
4975 * configure.ac: Switch license to GPLv3.
4977 2007-08-23 Joel Brobecker <brobecker@adacore.com>
4979 Switch the licensing to GPLv3 for all .ads and .adb files.
4981 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
4983 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
4985 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
4987 2007-08-17 Joel Brobecker <brobecker@adacore.com>
4989 * gdb.base/step-line.c: Switch license to GPL version 3, and
4990 update copyright year.
4991 * gdb.base/step-line.inp: Likewise.
4993 2007-08-17 Joel Brobecker <brobecker@adacore.com>
4995 * gdb.base/gdb1555.exp: Make expected output immune to formatting
4996 changes inside gdb1555.c.
4997 * gdb.base/pending.exp: Likewise.
4999 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
5001 * config/default.exp: New file.
5003 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
5005 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
5006 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
5008 2007-07-30 Maciej W. Rozycki <macro@mips.com>
5010 * gdb.base/dump.exp: Force the correct endianness for binary
5011 formats not carrying this information.
5013 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5015 * gdb.threads/staticthreads.exp: Match .*sem_post.
5017 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5019 * gdb.base/readline.exp (operate_and_get_next): Match the final
5022 2007-07-23 Kevin Buettner <kevinb@redhat.com>
5024 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
5027 2007-07-18 Kevin Buettner <kevinb@redhat.com>
5029 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
5030 prior to `gdb_start'.
5032 2007-07-18 Kevin Buettner <kevinb@redhat.com>
5034 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
5035 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
5036 Remove call to gdb_unload.
5038 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
5039 Daniel Jacobowitz <dan@codesourcery.com>
5041 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
5043 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
5044 * gdb.base/unload.exp: Use shared library test routines.
5046 2007-07-03 Markus Deuling <deuling@de.ibm.com>
5048 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
5049 * gdb.base/solib-symbol-lib.c: Likewise.
5050 * gdb.base/solib-symbol-main.c: Likewise.
5052 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
5054 * config/gdbserver.exp (gdb_reconnect): New.
5055 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
5056 gdb.base/solib-disc.exp: New files.
5057 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
5059 (gdb_compile): Add shlib_load flag.
5060 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
5062 (gdbserver_reconnect): New.
5064 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
5065 Daniel Jacobowitz <dan@codesourcery.com>
5067 * gdb.base/annota3.exp: Test for if construct.
5069 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
5071 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
5073 2007-06-21 Chris Dearman <chris@mips.com>
5074 Maciej W. Rozycki <macro@mips.com>
5076 * gdb.base/display.exp: Allow a newline after display/i.
5077 * gdb.base/pc-fp.exp: Likewise.
5078 * gdb.base/sigbpt.exp: Likewise.
5080 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
5082 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
5083 required features to be included.
5085 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
5087 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
5088 in info threads output.
5090 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5091 Markus Deuling <deuling@de.ibm.com>
5093 * gdb.arch/spu-info.exp: New testcase.
5094 * gdb.arch/spu-info.c: New file.
5096 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
5098 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
5099 tpcs_offset. Restore lr after the call.
5100 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
5102 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
5104 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
5105 (gdbserver_run): Kill any running gdbserver.
5106 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
5108 2007-05-17 Maciej W. Rozycki <macro@mips.com>
5110 * gdb.base/sigbpt.exp: Preset segv_addr.
5112 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
5114 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
5115 (gdb_compile_shlib): Likewise.
5116 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
5117 (default_gdb_init): Clear cleanfiles.
5118 (gdb_finish): Delete recorded cleanfiles.
5119 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
5121 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
5122 Do not use isnative.
5123 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
5124 gdb.base/so-impl-ld.exp: Likewise.
5125 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
5126 * gdb.base/unload.exp: Likewise. Do not pass empty option to
5129 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
5131 * config/unknown.exp: Remove.
5133 2007-05-15 Markus Deuling <deuling@de.ibm.com>
5135 * gdb.base/info-proc.exp: Check is_remote.
5137 2007-05-14 Markus Deuling <deuling@de.ibm.com>
5139 * gdb.base/gcore.exp: Initialize variable core_supported.
5141 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5143 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
5145 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5147 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
5148 * gdb.threads/print-threads.exp (test_all_threads): Allow
5149 negative and hexadecimal thread IDs.
5151 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
5153 * gdb.java/jprint.java (public): Avoid invalid call to static
5156 2007-05-14 Denis Pilat <denis.pilat@st.com>
5158 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
5159 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
5160 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
5161 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
5162 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
5164 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5166 * gdb.base/overlays.exp: Add support for targets with only code
5167 overlay support, not data overlay. Support spu-*-* target in
5169 * gdb.base/ovlymgr.c: Provide stubs for spu target.
5170 * gdb.base/spu.ld: New file.
5172 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
5174 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
5176 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
5178 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
5180 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
5182 * gdb.java/jmain.exp: Handle demangled names with and without method
5185 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
5187 * gdb.mi/mi-syn-frame.c (main, foo, bar)
5188 (have_a_very_merry_interrupt): Remove calls to puts.
5189 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
5191 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
5194 2007-04-29 Markus Deuling <deuling@de.ibm.com>
5195 Daniel Jacobowitz <dan@codesourcery.com>
5197 * gdb.base/auxv.exp (core_works): Also check is_remote.
5198 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
5200 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
5202 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
5203 message, not the undefined 'module' variable.
5204 * gdb.base/siginfo.exp: Likewise.
5205 * gdb.base/sigstep.exp: Likewise.
5206 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
5208 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
5210 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
5212 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
5213 target sim fails. Return 0 otherwise.
5214 (gdb_load): Return prematurely if gdb_target_sim fails.
5216 2007-04-16 Denis Pilat <denis.pilat@st.com>
5218 * gdb.base/setshow.exp: Reset height after having set it to 100.
5220 2007-04-16 Denis Pilat <denis.pilat@st.com>
5222 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
5224 2007-04-16 Denis Pilat <denis.pilat@st.com>
5226 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
5228 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
5230 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
5231 tests. Run the frozen varobjs test.
5232 * gdb.mi/var-cmd.c (do_frozen_tests): New.
5233 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
5235 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5237 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
5238 gdb.base/type-opaque.exp: New files.
5240 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
5242 * gdb.mi/mi-var-child.c
5243 (do_children_tests): User char[2] instead of
5244 char so that automatic printing of pointers to char
5245 don't give unpredicable result.
5246 * gdb.mi/var-cmd.c (do_locals_test): Initialize
5248 * gdb.mi/mi-var-child.exp: Step to right line
5249 of do_children_tests.
5250 * gdb.mi/mi2-var-child.exp: Likewise.
5251 * gdb.mi/mi-var-cmd.exp: Step to right line of
5253 (do_children_tests): User char[2] instead of
5254 char so that automatic printing of pointers to char
5255 don't give unpredicable result.
5256 * gdb.mi/mi2-var-cmd.exp: Likewise.
5257 * lib/mi-support.exp (mi_continue_to_line):
5258 Pass test name to mi_wait_for_stop.
5260 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5262 * gdb.asm/asm-source.exp: Remove d10v case.
5263 * lib/gdb.exp (skip_cplus_tests): Likewise.
5264 * gdb.asm/d10v.inc: Deleted.
5266 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5268 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
5270 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
5272 * config/netware.exp: Delete file.
5274 2007-03-29 Joel Brobecker <brobecker@adacore.com>
5276 * gdb.dwarf2/dw2-noloc.S: New file.
5277 * gdb.dwarf2/dw2-noloc.exp: New file.
5279 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
5281 * gdb.cp/method2.cc: New test.
5282 * gdb.cp/method2.exp: New test.
5283 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
5285 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
5287 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
5289 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
5291 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
5293 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
5295 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
5296 (gdb_load): Delete, replace with...
5297 (gdb_reload): ...this.
5298 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
5299 * gdb.server/server-mon.exp: Likewise.
5300 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
5301 (gdb_start_cmd): New.
5302 (gdb_file_cmd): Save the last loaded file.
5304 (gdb_gnu_strip_debug): Use transform.
5305 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
5306 support here. Use new $last_loaded_file. Check mtime.
5307 (gdb_target_cmd): Handle ObjC failure case.
5308 (infer_host_exec): Delete.
5309 (gdbserver_load): Rename to...
5310 (gdbserver_run): ...this. Simplify.
5311 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
5312 (mi_gdb_load): Move most contents to a new function...
5313 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
5314 (mi_run_cmd): Use mi_gdb_target_load.
5315 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
5316 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
5318 * gdb.base/charsign.exp: Remove incorrect comment.
5319 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
5320 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
5321 gdb.base/start.exp: Use gdb_start_cmd.
5323 2007-03-23 Nigel Stephens <nigel@mips.com>
5324 Maciej W. Rozycki <macro@mips.com>
5326 * gdb.base/sigbpt.exp: Fix the message when skipping test.
5327 * gdb.base/signull.exp: Similarly.
5329 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5331 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
5332 messages available to test cases (like chng-sym.exp).
5334 2007-03-14 Andreas Schwab <schwab@suse.de>
5336 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
5339 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
5341 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
5343 (main): Call optimized_1.
5344 (gdb2029): Correct typos. Call gdb2029_marker.
5345 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
5348 2007-03-12 Mark Kettenis <kettenis@gnu.org>
5350 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
5351 as tabs. Remove redundant test pattern.
5353 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5355 * gdb.base/long_long.exp: Accept optional symbol name in <...>
5356 for /a format output.
5358 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
5360 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
5361 collect output incrementally.
5363 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5365 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
5366 for -var-create lpcharacter test.
5367 * gdb.mi/mi2-var-cmd.exp: Likewise.
5369 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5371 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
5372 pass on targets where address zero is readable.
5374 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5376 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
5377 just a single architecture.
5379 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5381 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
5382 (fetch_all_registers): New function, uses gdb_test_multiple and
5383 exp_continue to fetch inferior output line-by-line.
5384 Replace all uses of do_get_all_registers by fetch_all_registers.
5386 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5388 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
5391 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5393 * gdb.threads/manythreads.exp: Use $message string for
5394 consistancy; add a default (timeout) case.
5396 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5398 * gdb.base/watchpoint.exp: Fix truncated comment.
5400 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
5402 * Makefile.in: Remove spurious single-quotes from sed command.
5404 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5406 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
5408 * gdb.mi/mi2-var-cmd.exp: Likewise.
5410 2007-02-27 Joel Brobecker <brobecker@adacore.com>
5412 * gdb.dwarf2/dw2-producer.S: New file.
5413 * gdb.dwarf2/dw2-producer.exp: New testcase.
5415 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
5417 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
5418 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
5419 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
5420 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
5421 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
5422 Revert tests to use mi_gdb_test and include value field in output
5425 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
5427 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
5429 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
5431 * gdb.base/maint.exp: Remove full paths from test names.
5432 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
5433 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
5435 2007-02-27 Joel Brobecker <brobecker@adacore.com>
5437 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
5439 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5441 * gdb.server/server-mon.exp: New test.
5443 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5445 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
5447 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
5449 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
5450 register capitalization.
5452 2007-02-13 Denis Pilat <denis.pilat@st.com>
5454 * gdb.mi/mi-var-invalidate.exp: New file.
5456 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5458 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
5460 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5462 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
5464 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
5466 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
5467 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
5469 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
5471 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
5472 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
5473 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
5474 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
5475 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
5476 * gdb.mi/gdb792.exp, lib/mi-support.exp:
5477 Update tests to include value field in output of -var-create.
5479 2007-02-08 Andreas Schwab <schwab@suse.de>
5481 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
5483 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
5485 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
5486 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
5488 2007-02-02 Denis Pilat <denis.pilat@st.com>
5490 * gdb.threads/threadapply.exp: check that frame is not changed by
5491 the thread apply all command.
5493 2007-01-31 Andreas Schwab <schwab@suse.de>
5495 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5497 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
5498 in the dwarf sections.
5499 * gdb.dwarf2/mac-fileno.S: Likewise.
5501 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
5502 bspstore register on ia64.
5504 2007-01-29 Andreas Schwab <schwab@suse.de>
5506 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
5507 "frame-begin" annotation.
5509 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
5510 number of "frames-invalid" annotations.
5512 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5514 * gdb.base/commands.exp: Call if_commands_test.
5515 (gdb_test_no_prompt, if_commands_test): New.
5517 2007-01-28 Mark Kettenis <kettenis@gnu.org>
5519 * gdb.threads/sigthread.c (NSIGS): Make bigger.
5521 2007-01-27 Andreas Schwab <schwab@suse.de>
5523 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
5524 .short/.int/.quad in the dwarf sections.
5525 * gdb.dwarf2/dw2-intercu.S: Likewise.
5526 * gdb.dwarf2/dw2-intermix.S: Likewise.
5528 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5530 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
5531 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
5533 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
5534 * gdb.base/setvar.exp: Likewise.
5536 2007-01-26 Andreas Schwab <schwab@suse.de>
5538 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
5541 * gdb.base/multi-forks.exp ("restart $i"): Also match
5542 __kernel_syscall_via_break.
5544 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
5546 * lib/mi-support.exp (mi_delete_varobj): New.
5547 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
5549 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
5550 (main): Call the above.
5551 (reference_update_test, base_in_reference_test)
5552 (reference_to_pointer): Delete the created varobjs.
5554 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
5556 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
5557 * configure: Regenerated.
5558 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
5559 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
5560 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
5561 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
5562 * lib/gdb.exp (gdb_skip_xml_test): New function.
5564 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
5566 * gdb.base/sigrepeat.exp: Correct error message.
5568 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5569 Daniel Jacobowitz <dan@codesourcery.com>
5571 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
5572 gdb.arch/i386-gnu-cfi-asm.S: New files.
5574 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5576 * lib/gdb.exp: Abort on missing `site.exp'.
5578 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5579 Daniel Jacobowitz <dan@codesourcery.com>
5581 * gdb.base/included.c, gdb.base/included.exp,
5582 gdb.base/included.h: New files.
5584 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5586 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
5587 (maximize_rlimit): Reduce limits on 64-bit systems.
5589 2007-01-19 Mark Kettenis <kettenis@gnu.org>
5591 From Marcus Deuling <deuling@de.ibm.com>:
5592 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
5595 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
5597 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
5598 (test_path_specification): Use objdir instead of srcdir to always
5599 get an absolute filename.
5601 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
5603 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
5605 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
5607 * gdb.mi/mi-var-cp.cc (reference_update_tests):
5608 Make sure the variable we're using is in scope.
5609 (reference_to_pointer): Likewise.
5611 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5613 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
5614 has no debug information.
5616 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5618 * gdb.base/annota1.exp: Remove extra send_gdb.
5620 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5622 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
5624 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5626 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
5628 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
5629 Daniel Jacobowitz <dan@codesourcery.com>
5631 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
5632 lcharacter or linteger change. Correct duplicated test name.
5633 * gdb.mi/mi2-var-cmd.exp: Likewise.
5635 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5637 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
5639 2007-01-05 Joel Brobecker <brobecker@adacore.com>
5641 * gdb.base/nofield.c: New file.
5642 * gdb.base/nofield.exp: New testcase.
5644 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
5646 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
5648 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
5651 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5653 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
5655 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5657 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
5660 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5662 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
5663 Expect ".exe" extension.
5665 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5667 * gdb.base/charset.exp: Add explicit filename to break.
5668 * gdb.base/dbx.exp: Add explicit filename to breaks.
5670 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
5672 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
5673 * gdb.mi/mi2-file.exp: Likewise.
5675 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5677 Implement specification of MI tests as comments
5678 in C and C++ sources.
5679 * lib/mi-support.exp (mi_autotest_data): New variable.
5680 (mi_autotest_source): New variable.
5681 (count_newlines, mi_prepare_inline_tests)
5682 (mi_get_inline_test, mi_continue_to_line)
5683 (mi_run_inline_test, mi_tbreak)
5684 (mi_send_resuming_command, mi_wait_for_stop): New functions.
5685 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
5687 * gdb.mi/mi-var-cp.cc: Define tests here.
5689 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5691 Simplify usage of mi_continue_to.
5692 * lib/mi-support.exp (mi_runto_helper): Renamed
5693 from mi_runto, added new parameter 'run_or_continue'.
5694 (mi_runto): Use mi_runto_helper.
5695 (mi_continue_to): Accept just function name as parameter.
5696 Use mi_runto_helper.
5697 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
5698 * gdb.mi/mi2-var-cmd.exp: Likewise.
5700 2006-01-04 Joel Brobecker <brobecker@adacore.com>
5702 Make this testcase a bit more realistic. The current code
5703 is too simplistic, and allows the compiler to optimize out
5704 some of the entities we need for this testcase.
5705 * gdb.ada/null_record/bar.ads (Void_Star): New type.
5706 (Do_Nothing): Add extra parameter.
5707 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
5708 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
5709 by using a variable of type Void_Star.
5711 2006-01-04 Joel Brobecker <brobecker@adacore.com>
5713 * gdb.ada/catch_ex/foo.adb: New file.
5714 * gdb.ada/catch_ex.exp: New testcase.
5716 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
5718 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
5719 pass --image-base to linker.
5721 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5722 Daniel Jacobowitz <dan@codesourcery.com>
5724 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
5727 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5729 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
5730 output. Test the types of members and member pointers.
5731 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
5733 * gdb.cp/member-ptr.exp: Search for a comment instead of a
5734 statement. Enable for GCC. Update expected output for some tests
5735 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
5737 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
5738 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
5739 (Diamond::vget_base): New.
5740 (main): Add new tests.
5741 * gdb.cp/printmethod.exp: Update expected output for member functions.
5742 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
5745 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5747 * gdb.threads/tls.exp: Allow stops in sem_post.
5749 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
5751 * gdb.base/annota1.exp: Allow .*printf in backtraces.
5752 * gdb.base/annota3.exp: Likewise.
5753 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
5754 again (instead of timing out).
5755 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
5757 * gdb.java/jmisc.exp: Adjust to work with method signatures including
5758 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
5759 test from jmisc1.exp.
5760 * gdb.java/jmisc1.exp: Delete.
5761 * gdb.java/jprint.exp: Adjust to work with method signatures including
5763 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
5764 * gdb.threads/linux-dp.exp: Don't be confused by program output.
5765 * lib/java.exp (compile_java_from_source): Pass the correct type
5768 2006-12-31 Joel Brobecker <brobecker@adacore.com>
5770 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
5771 (stack_align_edx): New function.
5772 (stack_align_eax): New function.
5773 (main): Add calls to stack_align_edx and stack_align_eax.
5774 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
5775 Add testing for the cases where the register used during a stack
5776 realignment is edx. Same for eax.
5778 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
5780 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
5781 and generic PE targets.
5783 2006-12-29 Joel Brobecker <brobecker@adacore.com>
5785 * gdb.ada/array_return.exp: Update copyright date list.
5787 2006-12-27 Joel Brobecker <brobecker@adacore.com>
5789 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
5790 (Create_Small_Float_Vector): New function.
5791 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
5793 * gdb.ada/array_return/p.adb: Use new type and function from
5795 * gdb.ada/array_return.exp: Add a test verifying that GDB is
5796 able to print the value returned by a function returning an
5799 2006-12-20 Joel Brobecker <brobecker@adacore.com>
5801 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
5802 The associated tests should be PASSing.
5804 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
5806 Test for base in references.
5807 * gdb.mi/mi-var-cp.cc: Add test code.
5808 * gdb.mi/mi-var-cp.exp: Test for bases in references.
5809 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
5810 * gdb.mi/mi2-watch.exp: Likewise.
5811 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
5812 (mi_list_varobj_children): New function.
5814 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
5816 * lib/mi-support.exp
5817 (mi_runto): Accept "()" after function name.
5818 (mi_create_varobj): New function.
5819 (mi_varobj_update): New function.
5820 (mi_Check_varobj_value): New function.
5821 * gdb.mi/mi-var-cp.exp: New file.
5822 * gdb.mi/mi-var-cp.cc: New file.
5824 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
5826 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
5827 gdb.base/weaklib2.c: New files.
5829 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
5831 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
5832 info. Adjust test names.
5834 * gdb.base/break.c (main): Move position of malloc.
5835 * gdb.base/break.exp: Revert mistaken checkin.
5837 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
5839 * gdb.mi/mi-var-cmd.exp: Check -var-update after
5840 assignement of arrays and function pointers.
5841 * gdb.mi/var-cmd.c: Add declaration necessary for above
5844 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
5846 * gdb.base/break.c (main): Call malloc.
5848 * gdb.threads/linux-dp.exp: Read thread table before and after
5849 creating each philosopher and verify it.
5851 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
5852 Paul Brook <paul@codesourcery.com>
5853 Daniel Jacobowitz <dan@codesourcery.com>
5855 * gdb.base/ending-run.exp: Flatten expect script stepping out of
5856 main to remove duplication. Add start function of the form
5857 '_*start[1-9]*'. Add RVDS start function.
5859 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
5861 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
5863 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5865 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
5866 * gdb.asm/spu.inc: New file.
5867 * gdb.base/term.exp: Disable if [target_info exists noargs].
5868 * gdb.gdb/complaints.exp: Disable if ![isnative].
5869 * gdb.gdb/selftest.exp: Likewise.
5870 * gdb.gdb/observer.exp: Likewise.
5871 * gdb.gdb/xfullpath.exp: Likewise.
5872 * gdb.base/attach.exp: Disable on SPU target.
5873 * gdb.cp/bs145503.exp: Likewise.
5874 * gdb.cp/exception.exp: Likewise.
5875 * gdb.cp/userdef.exp: Likewise.
5877 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
5879 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
5881 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
5883 * gdb.base/completion.exp: Fix completion tests for
5885 * gdb.base/help.exp (help_test_raw, test_class_help)
5886 (test_prefix_command_help): Move...
5887 * lib/gdb.exp: Here.
5888 * gdb.base/main.exp: Adjust.
5889 * gdb.cp/maint.exp: Adjust.
5890 * gdb.trace/tracecmd.exp: Use test_help_class.
5892 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
5894 * gdb.stabs/weird.exp (print_weird_var): Use
5895 gdb_test_multiple instead of gdb_expect.
5897 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
5899 * gdb.base/help.exp (help_test_raw): New.
5900 (test_class_help): New.
5901 (test_prefix_command_help): New.
5904 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
5906 * gdb.base/constvars.c (main): Write to crass and crips, so that
5907 they are allocated by the compiler.
5909 2006-10-27 Andreas Schwab <schwab@suse.de>
5911 * gdb.base/multi-forks.exp: Use "detach fork" instead of
5914 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
5916 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
5919 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
5921 * gdb.base/sepdebug.exp: Remove debug format test.
5922 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
5924 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
5926 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
5928 * gdb.threads/manythreads.c (thread_function, main): Don't cast
5929 int to pointer or pointer to int.
5930 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
5932 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
5934 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
5936 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5938 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
5940 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
5943 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
5945 2006-10-06 Joel Brobecker <brobecker@adacore.com>
5947 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
5948 the corresponding bug has been fixed in GDB (PR/2018).
5950 2006-10-06 Joel Brobecker <brobecker@adacore.com>
5952 * gdb.base/subst.exp: New testcase.
5954 2006-10-06 Joel Brobecker <brobecker@adacore.com>
5956 * gdb.ada/array_return/pck.ads: Add copyright notice.
5957 * gdb.ada/array_return/pck.adb: Likewise.
5958 * gdb.ada/array_return/p.adb: Likewise.
5959 * gdb.ada/exec_changed/first.adb: Likewise.
5960 * gdb.ada/exec_changed/second.adb: Likewise.
5962 2006-10-06 Joel Brobecker <brobecker@adacore.com>
5964 * gdb.ada/watch_arg/watch.adb: New file.
5965 * gdb.ada/watch_arg.exp: New testcase.
5967 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
5969 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
5970 via string_to_regexp.
5971 * gdb.mi/mi2-basics.exp: Likewise.
5973 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
5975 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
5976 Remove unused / obsolete files.
5978 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
5980 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
5982 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
5984 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
5985 HIGH_FRAME argument to -stack-list-arguments can be larger than
5986 the number of frames.
5988 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
5990 * gdb.base/args.c (main): Add breakpoint marker.
5991 * gdb.base/args.exp: Use args_test for tests. Add new tests which
5992 really test empty arguments.
5993 (args_load): Delete.
5996 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
5998 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
6001 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
6003 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
6004 HIGH_FRAME argument to -stack-list-locals can be larger than
6005 the number of frames.
6007 2006-08-18 Fred Fish <fnf@specifix.com>
6009 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
6010 '$' in front of skip_vmx_tests_saved when setting that.
6012 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
6014 * gdb.base/trace-commands.exp: New file.
6016 2006-08-10 Joel Brobecker <brobecker@adacore.com>
6017 Daniel Jacobowitz <dan@codesourcery.com>
6019 * gdb.base/step-bt.exp: Make hexadecimal address optional in
6020 expected output of the backtrace commands.
6022 2006-08-09 Joel Brobecker <brobecker@adacore.com>
6024 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
6025 untested followed by return combination.
6026 * gdb.arch/altivec-regs.exp: Likewise.
6027 * gdb.arch/e500-abi.exp: Likewise.
6028 * gdb.arch/e500-regs.exp: Likewise.
6029 * gdb.arch/gdb1291.exp: Likewise.
6030 * gdb.arch/gdb1431.exp: Likewise.
6031 * gdb.arch/gdb1558.exp: Likewise.
6032 * gdb.arch/i386-prologue.exp: Likewise.
6033 * gdb.arch/i386-unwind.exp: Likewise.
6034 * gdb.asm/asm-source.exp: Likewise.
6035 * gdb.base/a2-run.exp: Likewise.
6036 * gdb.base/advance.exp: Likewise.
6037 * gdb.base/all-bin.exp: Likewise.
6038 * gdb.base/annota1.exp: Likewise.
6039 * gdb.base/annota3.exp: Likewise.
6040 * gdb.base/args.exp: Likewise.
6041 * gdb.base/arithmet.exp: Likewise.
6042 * gdb.base/assign.exp: Likewise.
6043 * gdb.base/async.exp: Likewise.
6044 * gdb.base/attach.exp: Likewise.
6045 * gdb.base/bang.exp: Likewise.
6046 * gdb.base/bigcore.exp: Likewise.
6047 * gdb.base/bitfields.exp: Likewise.
6048 * gdb.base/bitfields2.exp: Likewise.
6049 * gdb.base/break.exp: Likewise.
6050 * gdb.base/call-sc.exp: Likewise.
6051 * gdb.base/call-strs.exp: Likewise.
6052 * gdb.base/callfuncs.exp: Likewise.
6053 * gdb.base/checkpoint.exp: Likewise.
6054 * gdb.base/chng-syms.exp: Likewise.
6055 * gdb.base/code-expr.exp: Likewise.
6056 * gdb.base/commands.exp: Likewise.
6057 * gdb.base/completion.exp: Likewise.
6058 * gdb.base/cond-expr.exp: Likewise.
6059 * gdb.base/condbreak.exp: Likewise.
6060 * gdb.base/consecutive.exp: Likewise.
6061 * gdb.base/constvars.exp: Likewise.
6062 * gdb.base/corefile.exp: Likewise.
6063 * gdb.base/cvexpr.exp: Likewise.
6064 * gdb.base/dbx.exp: Likewise.
6065 * gdb.base/define.exp: Likewise.
6066 * gdb.base/detach.exp: Likewise.
6067 * gdb.base/display.exp: Likewise.
6068 * gdb.base/dump.exp: Likewise.
6069 * gdb.base/ena-dis-br.exp: Likewise.
6070 * gdb.base/ending-run.exp: Likewise.
6071 * gdb.base/environ.exp: Likewise.
6072 * gdb.base/eval-skip.exp: Likewise.
6073 * gdb.base/exprs.exp: Likewise.
6074 * gdb.base/fileio.exp: Likewise.
6075 * gdb.base/finish.exp: Likewise.
6076 * gdb.base/float.exp: Likewise.
6077 * gdb.base/foll-exec.exp: Likewise.
6078 * gdb.base/foll-fork.exp: Likewise.
6079 * gdb.base/foll-vfork.exp: Likewise.
6080 * gdb.base/freebpcmd.exp: Likewise.
6081 * gdb.base/funcargs.exp: Likewise.
6082 * gdb.base/gcore.exp: Likewise.
6083 * gdb.base/gdb1090.exp: Likewise.
6084 * gdb.base/gdb1250.exp: Likewise.
6085 * gdb.base/huge.exp: Likewise.
6086 * gdb.base/info-proc.exp: Likewise.
6087 * gdb.base/interrupt.exp: Likewise.
6088 * gdb.base/jump.exp: Likewise.
6089 * gdb.base/langs.exp: Likewise.
6090 * gdb.base/lineinc.exp: Likewise.
6091 * gdb.base/list.exp: Likewise.
6092 * gdb.base/logical.exp: Likewise.
6093 * gdb.base/long_long.exp: Likewise.
6094 * gdb.base/macscp.exp: Likewise.
6095 * gdb.base/maint.exp: Likewise.
6096 * gdb.base/mips_pro.exp: Likewise.
6097 * gdb.base/miscexprs.exp: Likewise.
6098 * gdb.base/multi-forks.exp: Likewise.
6099 * gdb.base/opaque.exp: Likewise.
6100 * gdb.base/overlays.exp: Likewise.
6101 * gdb.base/pc-fp.exp: Likewise.
6102 * gdb.base/pointers.exp: Likewise.
6103 * gdb.base/printcmds.exp: Likewise.
6104 * gdb.base/psymtab.exp: Likewise.
6105 * gdb.base/ptype.exp: Likewise.
6106 * gdb.base/recurse.exp: Likewise.
6107 * gdb.base/relational.exp: Likewise.
6108 * gdb.base/relocate.exp: Likewise.
6109 * gdb.base/remote.exp: Likewise.
6110 * gdb.base/reread.exp: Likewise.
6111 * gdb.base/restore.exp: Likewise.
6112 * gdb.base/return.exp: Likewise.
6113 * gdb.base/return2.exp: Likewise.
6114 * gdb.base/scope.exp: Likewise.
6115 * gdb.base/sect-cmd.exp: Likewise.
6116 * gdb.base/sep.exp: Likewise.
6117 * gdb.base/sepdebug.exp: Likewise.
6118 * gdb.base/setshow.exp: Likewise.
6119 * gdb.base/setvar.exp: Likewise.
6120 * gdb.base/sigall.exp: Likewise.
6121 * gdb.base/sigbpt.exp: Likewise.
6122 * gdb.base/signals.exp: Likewise.
6123 * gdb.base/signull.exp: Likewise.
6124 * gdb.base/sizeof.exp: Likewise.
6125 * gdb.base/solib.exp: Likewise.
6126 * gdb.base/step-line.exp: Likewise.
6127 * gdb.base/step-test.exp: Likewise.
6128 * gdb.base/structs.exp: Likewise.
6129 * gdb.base/structs2.exp: Likewise.
6130 * gdb.base/term.exp: Likewise.
6131 * gdb.base/twice.exp: Likewise.
6132 * gdb.base/until.exp: Likewise.
6133 * gdb.base/varargs.exp: Likewise.
6134 * gdb.base/volatile.exp: Likewise.
6135 * gdb.base/watchpoint.exp: Likewise.
6136 * gdb.base/whatis-exp.exp: Likewise.
6137 * gdb.base/whatis.exp: Likewise.
6138 * gdb.cp/ambiguous.exp: Likewise.
6139 * gdb.cp/annota2.exp: Likewise.
6140 * gdb.cp/annota3.exp: Likewise.
6141 * gdb.cp/bool.exp: Likewise.
6142 * gdb.cp/breakpoint.exp: Likewise.
6143 * gdb.cp/casts.exp: Likewise.
6144 * gdb.cp/class2.exp: Likewise.
6145 * gdb.cp/classes.exp: Likewise.
6146 * gdb.cp/cplusfuncs.exp: Likewise.
6147 * gdb.cp/ctti.exp: Likewise.
6148 * gdb.cp/derivation.exp: Likewise.
6149 * gdb.cp/exception.exp: Likewise.
6150 * gdb.cp/gdb1355.exp: Likewise.
6151 * gdb.cp/hang.exp: Likewise.
6152 * gdb.cp/inherit.exp: Likewise.
6153 * gdb.cp/local.exp: Likewise.
6154 * gdb.cp/m-data.exp: Likewise.
6155 * gdb.cp/m-static.exp: Likewise.
6156 * gdb.cp/member-ptr.exp: Likewise.
6157 * gdb.cp/method.exp: Likewise.
6158 * gdb.cp/misc.exp: Likewise.
6159 * gdb.cp/namespace.exp: Likewise.
6160 * gdb.cp/overload.exp: Likewise.
6161 * gdb.cp/ovldbreak.exp: Likewise.
6162 * gdb.cp/pr-1023.exp: Likewise.
6163 * gdb.cp/pr-1210.exp: Likewise.
6164 * gdb.cp/pr-574.exp: Likewise.
6165 * gdb.cp/printmethod.exp: Likewise.
6166 * gdb.cp/psmang.exp: Likewise.
6167 * gdb.cp/ref-params.exp: Likewise.
6168 * gdb.cp/ref-types.exp: Likewise.
6169 * gdb.cp/rtti.exp: Likewise.
6170 * gdb.cp/templates.exp: Likewise.
6171 * gdb.cp/try_catch.exp: Likewise.
6172 * gdb.cp/userdef.exp: Likewise.
6173 * gdb.cp/virtfunc.exp: Likewise.
6174 * gdb.disasm/am33.exp: Likewise.
6175 * gdb.disasm/h8300s.exp: Likewise.
6176 * gdb.disasm/mn10300.exp: Likewise.
6177 * gdb.disasm/sh3.exp: Likewise.
6178 * gdb.disasm/t01_mov.exp: Likewise.
6179 * gdb.disasm/t02_mova.exp: Likewise.
6180 * gdb.disasm/t03_add.exp: Likewise.
6181 * gdb.disasm/t04_sub.exp: Likewise.
6182 * gdb.disasm/t05_cmp.exp: Likewise.
6183 * gdb.disasm/t06_ari2.exp: Likewise.
6184 * gdb.disasm/t07_ari3.exp: Likewise.
6185 * gdb.disasm/t08_or.exp: Likewise.
6186 * gdb.disasm/t09_xor.exp: Likewise.
6187 * gdb.disasm/t10_and.exp: Likewise.
6188 * gdb.disasm/t11_logs.exp: Likewise.
6189 * gdb.disasm/t12_bit.exp: Likewise.
6190 * gdb.disasm/t13_otr.exp: Likewise.
6191 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
6192 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
6193 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
6194 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
6195 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
6196 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
6197 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
6198 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
6199 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
6200 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
6201 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
6202 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
6203 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
6204 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
6205 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
6206 * gdb.mi/gdb701.exp: Likewise.
6207 * gdb.mi/gdb792.exp: Likewise.
6208 * gdb.mi/mi-basics.exp: Likewise.
6209 * gdb.mi/mi-break.exp: Likewise.
6210 * gdb.mi/mi-cli.exp: Likewise.
6211 * gdb.mi/mi-console.exp: Likewise.
6212 * gdb.mi/mi-disassemble.exp: Likewise.
6213 * gdb.mi/mi-eval.exp: Likewise.
6214 * gdb.mi/mi-file.exp: Likewise.
6215 * gdb.mi/mi-read-memory.exp: Likewise.
6216 * gdb.mi/mi-regs.exp: Likewise.
6217 * gdb.mi/mi-return.exp: Likewise.
6218 * gdb.mi/mi-simplerun.exp: Likewise.
6219 * gdb.mi/mi-stack.exp: Likewise.
6220 * gdb.mi/mi-stepi.exp: Likewise.
6221 * gdb.mi/mi-syn-frame.exp: Likewise.
6222 * gdb.mi/mi-until.exp: Likewise.
6223 * gdb.mi/mi-var-block.exp: Likewise.
6224 * gdb.mi/mi-var-child.exp: Likewise.
6225 * gdb.mi/mi-var-cmd.exp: Likewise.
6226 * gdb.mi/mi-var-display.exp: Likewise.
6227 * gdb.mi/mi-watch.exp: Likewise.
6228 * gdb.mi/mi2-basics.exp: Likewise.
6229 * gdb.mi/mi2-break.exp: Likewise.
6230 * gdb.mi/mi2-cli.exp: Likewise.
6231 * gdb.mi/mi2-console.exp: Likewise.
6232 * gdb.mi/mi2-disassemble.exp: Likewise.
6233 * gdb.mi/mi2-eval.exp: Likewise.
6234 * gdb.mi/mi2-file.exp: Likewise.
6235 * gdb.mi/mi2-read-memory.exp: Likewise.
6236 * gdb.mi/mi2-regs.exp: Likewise.
6237 * gdb.mi/mi2-return.exp: Likewise.
6238 * gdb.mi/mi2-simplerun.exp: Likewise.
6239 * gdb.mi/mi2-stack.exp: Likewise.
6240 * gdb.mi/mi2-stepi.exp: Likewise.
6241 * gdb.mi/mi2-syn-frame.exp: Likewise.
6242 * gdb.mi/mi2-until.exp: Likewise.
6243 * gdb.mi/mi2-var-block.exp: Likewise.
6244 * gdb.mi/mi2-var-child.exp: Likewise.
6245 * gdb.mi/mi2-var-cmd.exp: Likewise.
6246 * gdb.mi/mi2-var-display.exp: Likewise.
6247 * gdb.mi/mi2-watch.exp: Likewise.
6248 * gdb.stabs/exclfwd.exp: Likewise.
6249 * gdb.stabs/weird.exp: Likewise.
6250 * gdb.threads/gcore-thread.exp: Likewise.
6251 * gdb.trace/actions.exp: Likewise.
6252 * gdb.trace/backtrace.exp: Likewise.
6253 * gdb.trace/circ.exp: Likewise.
6254 * gdb.trace/collection.exp: Likewise.
6255 * gdb.trace/deltrace.exp: Likewise.
6256 * gdb.trace/infotrace.exp: Likewise.
6257 * gdb.trace/limits.exp: Likewise.
6258 * gdb.trace/packetlen.exp: Likewise.
6259 * gdb.trace/passc-dyn.exp: Likewise.
6260 * gdb.trace/passcount.exp: Likewise.
6261 * gdb.trace/report.exp: Likewise.
6262 * gdb.trace/save-trace.exp: Likewise.
6263 * gdb.trace/tfind.exp: Likewise.
6264 * gdb.trace/tracecmd.exp: Likewise.
6265 * gdb.trace/while-dyn.exp: Likewise.
6266 * gdb.trace/while-stepping.exp: Likewise.
6268 2006-08-08 Joel Brobecker <brobecker@adacore.com>
6270 * gdb.base/step-bt.c: New file.
6271 * gdb.base/step-bt.exp: New testcase.
6273 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
6275 * config/monitor.exp (gdb_load): Remove support for obsolete
6276 download-write-size.
6277 * gdb.base/remote.exp: Likewise. Update all callers of
6280 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
6282 * cursal.exp: Pass binfile to gdb_load.
6284 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
6286 * gdb.base/cursal.exp: Add "" to gdb_load call.
6288 2006-07-29 Mark Kettenis <kettenis@gnu.org>
6290 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
6293 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
6295 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
6298 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
6300 * gdb.base/completion.exp: Update for change in "file" behavior.
6301 * gdb.stabs/weird.exp: Likewise.
6302 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
6303 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
6305 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
6307 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
6308 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
6310 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
6312 * gdb.base/default.exp: Update source command error message.
6313 * gdb.base/help.exp: Update 'help source' message.
6315 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
6317 * gdb.cp/bs15503.exp: Update comment for no longer crashing
6320 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
6322 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
6324 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
6326 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
6328 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
6330 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
6332 2006-07-17 Mark Kettenis <kettenis@gnu.org>
6334 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
6335 *-*-openbsd* from targets for wich we expect ARM FPA floating
6338 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
6340 * gdb.cp/annota3.exp: Expect frame-begin annotation.
6342 2006-07-17 Mark Kettenis <kettenis@gnu.org>
6344 * gdb.base/annota3.exp: Expect frame-begin annotation.
6346 2006-07-14 Joel Brobecker <brobecker@adacore.com>
6348 * gdb.base/help.exp: Adjust "help unset" test to accept
6349 any list of unset commands.
6351 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
6352 Daniel Jacobowitz <dan@codesourcery.com>
6354 * gdb.cp/ref-params.exp: New test.
6355 * gdb.cp/ref-params.cc: New source file.
6356 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
6358 2006-07-08 Mark Kettenis <kettenis@gnu.org>
6360 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
6361 spaces/tabs in regular expressions since they might not be there.
6363 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
6365 * gdb.base/ifelse.exp: New file.
6367 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
6369 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
6371 * gdb.base/huge.exp: Loop over compilation to find a size that
6373 * gdb.base/remote.exp: Correct expected strings.
6374 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
6376 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6378 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
6380 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6382 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
6385 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6387 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
6388 enable stabs testing.
6390 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6392 * gdb.base/auxv.exp: Intercept undefined command messages before
6393 gdb_test_multiple does.
6395 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
6397 * Makefile.in (host_alias): Remove.
6398 (target_alias): Use @target_noncanonical@.
6399 (site.exp): Don't set host_alias.
6400 * aclocal.m4: Remove contents. Include acx.m4.
6401 * configure: Regenerated.
6402 * configure.ac: Use ACX_NONCANONICAL_TARGET.
6404 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
6406 * lib/gdb.exp (gdb_load_cmd): New.
6408 * gdb.base/fileio.c: Add system(NULL) test.
6409 * gdb.base/fileio.exp: Check it.
6411 * gdb.base/break.c: Add 10a breakpoint at }
6412 * gdb.base/break.exp: Add test for breakpoint at }
6413 * gdb.cp/anon-union.cc: Add code at end of function.
6414 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
6415 * gdb.mi/var-cmd.c: Add code at end of function.
6416 * gdb.mi/mi-var-display.exp: Adjust end of next.
6417 * gdb.mi/mi2-var-display.exp: Likewise.
6418 * gdb.base/fileio.c: Add stop function and insert calls at
6420 * gdb.base/fileio.exp: Breakpoint stop function and remove
6421 explicit line number references.
6423 2006-05-19 Joel Brobecker <brobecker@adacore.com>
6425 * gdb.base/del.exp (test_delete_alias): New function.
6426 Now check that both "del" and "d" work as aliases for "delete".
6428 2006-05-18 Fred Fish <fnf@specifix.com>
6430 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
6431 required. Check for spurious output after program exits normally.
6433 2006-05-17 Fred Fish <fnf@specifix.com>
6435 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
6436 gdb_load, so it works in the simulator.
6438 2006-05-11 Fred Fish <fnf@specifix.com>
6440 * gdb.base/bang.exp: Ignore unexpected output between the
6441 "program exited normally" and the gdb prompt, as many other
6444 2006-05-07 Mark Kettenis <kettenis@gnu.org>
6446 * gdb.base/help.exp: Make "delete checkpoint" part option for
6447 "help d" and "help delete" tests.
6449 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6451 * gdb.mi/mi-basics.exp: Add missing serial number to
6452 expected output in some mi_gdb_test statements.
6453 * gdb.mi/mi2-basics.exp: Likewise.
6455 2006-05-05 Joel Brobecker <brobecker@adacore.com>
6457 * gdb.base/del.c: New file.
6458 * gdb.base/del.exp: New testcase.
6460 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
6462 * gdb.base/break.exp: Do not assume a breakpoint on
6463 main will actually be in $srcfile when optimizing.
6464 * gdb.base/savedregs.exp: Do not require that the dummy
6465 frame location match up to a symbol and source file location.
6466 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
6467 will get printed without a mi_cmd_data_list_register_values prefix.
6468 (*-data-list-register-*): Correct regular expressions to expect the new
6469 pseudo d? floating point registers.
6470 * gdb.mi/mi2-regs.exp: Likewise.
6472 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
6474 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
6475 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
6476 is allocated by the compiler.
6477 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
6478 anons, e, anone to force their allocation by the compiler.
6480 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
6482 * gdb.base/help.exp: Update expected text for help d and
6485 2006-05-02 Mark Kettenis <kettenis@gnu.org>
6487 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
6490 2006-04-30 Mark Kettenis <kettenis@gnu.org>
6492 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
6493 single-step breakpoint fails; make this a KFAIL on
6495 * gdb.base/siginfo.exp: Likewise.
6496 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6498 2006-04-26 Michael Snyder <msnyder@redhat.com>
6500 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
6501 which may have to consume output from other forks.
6502 Add tests to make sure that "delete fork" succeeded.
6504 2006-04-20 Michael Snyder <msnyder@redhat.com>
6506 * 2006-03-22 Jim Blandy <jimb@redhat.com>
6507 Add support for the Renesas M32C and M16C.
6509 * gdb.asm/asm-source.exp: Add m32c target.
6510 * gdb.asm/m32c.inc: Support for m32c target.
6512 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
6514 * gdb.base/commands.exp (recursive_source_test): New test.
6516 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
6518 * gdb.base/float.exp: Add pattern for sparc targets.
6520 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6522 * gdb.base/commands.exp (stray_arg0_test): New test.
6524 2006-03-30 Paul Brook <paul@codesourcery.com>
6526 * gdb.mi/mi-until.exp: kfail broken until command.
6527 * gdb.mi/mi2-until.exp: Ditto.
6529 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
6531 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
6533 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
6535 * gdb.base/prelink.exp: Anchor tested-for regular expression
6538 2006-03-07 Paul Brook <paul@codesourcery.com>
6540 * gdb.base/assign.exp: Correct fail message.
6542 2006-03-07 Paul Brook <paul@codesourcery.com>
6544 * lib/compiler.c: Extract armcc version number.
6545 * lib/compiler.cc: Ditto.
6547 2006-03-07 Paul Brook <paul@codesourcery.com>
6549 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
6550 additional_flags=-w.
6551 * gdb.arch/altivec-regs.exp: Ditto.
6552 * gdb.arch/e500-abi.exp: Ditto.
6553 * gdb.arch/e500-regs.exp: Ditto.
6554 * gdb.base/all-bin.exp: Ditto.
6555 * gdb.base/annota1.exp: Ditto.
6556 * gdb.base/annota3.exp: Ditto.
6557 * gdb.base/args.exp: Ditto.
6558 * gdb.base/arithmet.exp: Ditto.
6559 * gdb.base/assign.exp: Ditto.
6560 * gdb.base/async.exp: Ditto.
6561 * gdb.base/bang.exp: Ditto.
6562 * gdb.base/break.exp: Ditto.
6563 * gdb.base/call-rt-st.exp: Ditto.
6564 * gdb.base/completion.exp: Ditto.
6565 * gdb.base/cond-expr.exp: Ditto.
6566 * gdb.base/condbreak.exp: Ditto.
6567 * gdb.base/consecutive.exp: Ditto.
6568 * gdb.base/define.exp: Ditto.
6569 * gdb.base/display.exp: Ditto.
6570 * gdb.base/ena-dis-br.exp: Ditto.
6571 * gdb.base/environ.exp: Ditto.
6572 * gdb.base/eval-skip.exp: Ditto.
6573 * gdb.base/info-proc.exp: Ditto.
6574 * gdb.base/jump.exp: Ditto.
6575 * gdb.base/logical.exp: Ditto.
6576 * gdb.base/long_long.exp: Ditto.
6577 * gdb.base/maint.exp: Ditto.
6578 * gdb.base/miscexprs.exp: Ditto.
6579 * gdb.base/pc-fp.exp: Ditto.
6580 * gdb.base/pointers.exp: Ditto.
6581 * gdb.base/relational.exp: Ditto.
6582 * gdb.base/reread.exp: Ditto.
6583 * gdb.base/sect-cmd.exp: Ditto.
6584 * gdb.base/sep.exp: Ditto.
6585 * gdb.base/sepdebug.exp: Ditto.
6586 * gdb.base/until.exp: Ditto.
6587 * gdb.base/whatis-exp.exp: Ditto.
6588 * gdb.cp/annota2.exp: Ditto.
6589 * gdb.cp/annota3.exp: Ditto.
6590 * gdb.trace/actions.exp: Ditto.
6591 * gdb.trace/backtrace.exp: Ditto.
6592 * gdb.trace/circ.exp: Ditto.
6593 * gdb.trace/collection.exp: Ditto.
6594 * gdb.trace/deltrace.exp: Ditto.
6595 * gdb.trace/infotrace.exp: Ditto.
6596 * gdb.trace/limits.exp: Ditto.
6597 * gdb.trace/packetlen.exp: Ditto.
6598 * gdb.trace/passc-dyn.exp: Ditto.
6599 * gdb.trace/passcount.exp: Ditto.
6600 * gdb.trace/report.exp: Ditto.
6601 * gdb.trace/save-trace.exp: Ditto.
6602 * gdb.trace/tfind.exp: Ditto.
6603 * gdb.trace/tracecmd.exp: Ditto.
6604 * gdb.trace/while-dyn.exp: Ditto.
6605 * gdb.trace/while-stepping.exp: Ditto.
6606 * lib/gdb.exp: Ditto.
6607 (gdb_compile): Handle nowarning option.
6609 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
6611 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
6612 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
6613 Rename executable to prelinkt. Don't re-prelink if we didn't
6614 get a core file. Test prelink -u exit status to tell whether
6615 prelinking failed. Use gdb_test_multiple.
6617 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6619 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
6620 (do_tests): Call it.
6622 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
6624 * gdb.base/prelink.exp: New test.
6625 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
6627 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
6629 * gdb.fortran/derived-type.f90: New file.
6630 * gdb.fortran/derived-type.exp: New testcase.
6632 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
6634 * gdb.base/default.exp: Allow ';' as a directory separator.
6636 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
6638 * gdb.base/help.exp (help add-symbol-file): Update.
6640 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
6642 * gdb.base/help.exp (help load): Update expected results.
6644 2006-02-19 Fred Fish <fnf@specifix.com>
6646 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
6647 specifix hex value as part of results.
6648 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
6650 2006-02-16 Fred Fish <fnf@specifix.com>
6652 * gdb.base/whatis.c: Define variables using typedefs char_addr,
6653 ushort_addr, and slong_addr, so the typedefs are not optimized
6655 * gdb.base/whatis.exp: Add tests using type name for struct type,
6656 union type, enum type, and typedef.
6658 2006-02-13 Mark Kettenis <kettenis@gnu.org>
6660 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
6662 2006-02-13 Jim Blandy <jimb@redhat.com>
6664 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
6665 case where it takes two "next" commands to skip past the init
6668 2006-02-12 Fred Fish <fnf@specifix.com>
6670 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
6671 to handle cases where it takes two "next" commands to skip
6674 2006-02-07 Joel Brobecker <brobecker@adacore.com>
6676 * gdb.ada/array_return.exp: Mark the last test as expected to fail
6679 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
6681 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
6684 2006-01-29 Mark Kettenis <kettenis@gnu.org>
6686 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
6688 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6690 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
6693 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6695 * gdb.cp/maint.exp: Set complaints to a positive value.
6697 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6699 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
6700 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
6703 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
6705 * gdb.base/checkpoint.c: Update copyright notice. Include
6708 2006-01-04 Jim Blandy <jimb@redhat.com>
6710 * gdb.asm/asm-source.exp: Independently provide default values for
6711 asm-flags and debug-flags. Use 'string equal' to do the
6712 comparison, not the implicit expr's '==' operator. Remove
6713 now-unneeded assignments to asm-flags. In h8300 case, place
6714 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
6716 2006-01-04 Michael Snyder <msnyder@redhat.com>
6718 * gdb.base/checkpoint.c: New file.
6719 * gdb.base/checkpoint.exp: New file.
6720 * gdb.base/multi-fork.c: New file.
6721 * gdb.base/multi-fork.exp: New file.
6722 * gdb.base/pi.txt: New file (data for checkpoint.c test).
6724 2006-01-04 Fred Fish <fnf@specifix.com>
6726 * gdb.base/ptype.c (foo): Add typedef.
6727 (intfoo): Add function.
6728 * gdb.base/ptype1.c: New file.
6729 * gdb.base/ptype.exp: Handle compilation and linking with two
6730 source files. Test that proper type for "foo" is found based
6731 on source context rather than first match found in symtabs.
6733 2005-12-28 Mark Kettenis <kettenis@gnu.org>
6735 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
6736 * gdb.asm/openbsd.inc: Indent commands.
6738 2005-12-26 Mark Kettenis <kettenis@gnu.org>
6740 * gdb.base/freebpcmd.exp: Increase timeout.
6742 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
6744 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
6746 * gdb.base/default.exp: Update check for "show version".
6748 2005-12-09 Randolph Chung <tausq@debian.org>
6750 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
6751 * gdb.asm/pa64.inc: New file.
6753 2005-12-09 Randolph Chung <tausq@debian.org>
6755 * gdb.asm/common.inc: Indent commands.
6756 * gdb.asm/asmsrc1.s: Likewise.
6757 * gdb.asm/asmsrc2.s: Likewise.
6759 2005-12-09 Randolph Chung <tausq@debian.org>
6761 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
6762 (get_addr_of_sym): Remove duplicate print.
6763 (gen_core): xfail hppa*-*-hpux*, update expected output.
6764 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
6765 * gdb.arch/pa64-nullify.s: New file.
6767 2005-12-09 Randolph Chung <tausq@debian.org>
6769 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
6771 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
6773 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
6774 code generation for these functions.
6775 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
6778 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
6780 * gdb.base/help.exp (help b, help br, help bre, help brea)
6781 (help break): Update the expected message.
6783 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
6785 * gdb.asm/m68hc11.inc: Setup the data section.
6786 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
6787 script for this test.
6788 (m6812-*-*): Likewise.
6790 2005-11-09 Randolph Chung <tausq@debian.org>
6792 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
6794 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
6796 * gdb.base/break.exp: Fix a comment typo.
6798 2005-11-03 Jim Blandy <jimb@redhat.com>
6800 Checked in by Elena Zannoni <ezannoni@redhat.com>
6802 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
6804 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
6806 * gdb.arch/gdb1558.c: Include stdio.h.
6808 2005-10-31 Mark Kettenis <kettenis@gnu.org>
6810 * gdb.asm/asm-source.exp: Use -e instead of --entry.
6812 2005-10-31 Mark Kettenis <kettenis@gnu.org>
6814 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
6816 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
6818 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
6819 vscr" tests to better match output.
6821 2005-10-12 Jim Blandy <jimb@redhat.com>
6823 * gdb.base/structs.exp (any): New function.
6824 (test_struct_returns): Don't make any assumptions at all about
6825 what value the function returns when GDB can't set the return
6828 2005-10-09 Joel Brobecker <brobecker@adacore.com>
6830 * gdb.ada/arrayidx/p.adb: New file.
6831 * gdb.ada/arrayidx.exp: New testcase
6833 2005-10-09 Joel Brobecker <brobecker@adacore.com>
6835 * gdb.ada/array_return/pck.ads: New file.
6836 * gdb.ada/array_return/pck.adb: New file.
6837 * gdb.ada/array_return/p.adb: New file.
6838 * gdb.ada/array_return.exp: New testcase.
6840 2005-10-03 Joel Brobecker <brobecker@adacore.com>
6842 * gdb.base/arrayidx.c: New file.
6843 * gdb.base/arrayidx.exp: New testcase.
6845 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
6847 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
6848 frames-invalid and breakpoints-invalid are no longer generated
6849 with level 3 so don't expect them in the output.
6851 2005-09-27 Bob Rossi <bob@brasko.net>
6853 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
6854 from test. Escape the | in mi_gdb_test call.
6855 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
6856 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
6857 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
6858 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
6859 expected regex's in mi_gdb_test calls.
6860 * lib/mi-support.exp: Remove arbitrary .* from tests.
6861 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
6862 Fully anchor GDB/MI expected results in mi_gdb_test.
6863 * lib/gdb.exp (string_to_regexp): Escape the ] character.
6864 * gdb.base/sizeof.exp: Remove escape character. Correct test.
6866 2005-09-26 Paul Brook <paul@codesourcery.com>
6868 * long_long.exp: Exclude eabi targets from arm FPA float format test.
6870 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
6872 * bfp-test.c: New file.
6873 * bfp-test.exp: New testcase.
6875 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
6877 * gdb.fortran/subarray.exp: New testcase to test the evaluation
6878 of subarray and substring variable.
6879 * gdb.fortran/subarray.f: New source file for the test of subarray
6880 and substring variable evaluation.
6881 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
6884 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
6886 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
6889 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
6891 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
6892 powerpc altivec' test with an almost identical 'info vector' test.
6894 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
6896 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
6897 vscr" tests to match output.
6899 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
6901 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
6904 2005-09-11 Bob Rossi <bob@brasko.net>
6906 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
6907 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
6908 commands that return an MI output command and an asyncronous MI output
6910 * gdb.mi/mi-console.exp: Ditto.
6912 2005-09-11 Bob Rossi <bob@brasko.net>
6914 * gdb.mi/mi-var-child.c: Include <string.h>.
6916 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
6918 * killed.exp: Correct gdb_expect syntax.
6920 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
6922 * lib/mi-support.exp (mi_gdb_load): Fix typo.
6924 2005-08-02 Bob Rossi <bob@brasko.net>
6926 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
6927 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
6928 Change tests to inferior-tty-set/show.
6929 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
6930 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
6931 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
6932 inferior. Use mi_gdb_test to get GDB and Inferior output.
6933 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
6935 (mi_inferior_tty_name): Add inferior PTY file name.
6936 (mi_gdb_start): Add INFERIOR_PTY parameter.
6937 (mi_gdb_test): Add IPATTERN parameter.
6939 2005-08-02 Bob Rossi <bob@brasko.net>
6941 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
6942 parameter to mi_gdb_test.
6943 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
6945 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6947 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
6948 struct_declarations.
6949 * gdb.mi/mi-var-child.exp: Step over the initialization of
6950 struct_declarations.
6952 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6954 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
6955 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
6956 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
6957 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
6958 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
6961 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
6963 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
6964 (do_children_tests): Assign values to the extra elements.
6966 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
6967 them for tests for "-var-update --no-values" and
6968 "-var-update --all-values".
6969 Add test for "-var-list-children --simple-values".
6971 * gdb.mi/basics.c (callee4): Add integer array D[3]...
6973 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
6974 "-stack-list-locals --simple-values" Improve doc strings and
6977 2005-07-18 Mark Kettenis <kettenis@gnu.org>
6979 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
6981 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
6983 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
6986 2005-07-14 Bob Rossi <bob@brasko.net>
6988 * gdb.base/default.exp (tty): Changed output of command.
6989 * gdb.base/help.exp (help tty): Ditto.
6991 2005-07-12 Mark Kettenis <kettenis@gnu.org>
6993 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
6995 2005-07-10 Mark Kettenis <kettenis@gnu.org>
6997 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
6998 -stack-select-frame without arguments.
6999 (test_stack_frame_listing): Add test for newly implemented command
7002 2005-07-06 Bob Rossi <bob@brasko.net>
7004 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
7006 (Copyright): Update copyright.
7008 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
7010 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
7011 tests to evaluate exponentiation expression.
7013 2005-06-29 Andreas Schwab <schwab@suse.de>
7015 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
7016 main to avoid warnings.
7018 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
7020 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
7022 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
7023 -stack-select-frame without arguments.
7024 (test_stack_frame_listing): Add test for newly implemented command
7027 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
7029 * gdb.fortran/array-element.f: New file.
7030 * gdb.fortran/array-element.exp: New testcase.
7032 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7034 * gdb.base/bigcore.exp: Correct checks for systems which can
7035 not dump a large core file.
7037 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7039 * gdb.base/relocate.c: Add a copyright notice.
7041 * gdb.base/relocate.exp: Test printing the values of variables
7042 from a relocatable file.
7044 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7046 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
7047 excess MI output after an error.
7049 2005-05-29 Joel Brobecker <brobecker@adacore.com>
7051 * gdb.arch/alpha-step.c: New file.
7052 * gdb.arch/alpha-step.exp: New testcase.
7054 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
7055 Dennis Brueni <dennis@slickedit.com>
7057 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
7058 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
7059 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
7060 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
7061 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7062 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
7063 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
7065 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
7066 Wu Zhou <woodzltc@cn.ibm.com>
7068 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
7070 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
7071 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
7073 2005-05-13 Jim Blandy <jimb@redhat.com>
7075 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
7076 calling gdb_suppress_entire_file.
7077 * gdb.base/charset.exp: Same.
7078 * gdb.base/call-rt-st.exp: Same.
7080 2005-05-05 Bob Rossi <bob_rossi@cox.net>
7082 * lib/gdb.exp (fullname_syntax): Added global regex.
7083 (fullname_syntax_POSIX): Ditto.
7084 (fullname_syntax_UNC): Ditto.
7085 (fullname_syntax_DOS_CASE): Ditto.
7086 (fullname_syntax_DOS): Ditto.
7087 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
7088 fullname_syntax variable to scope and use it.
7089 (test_file_list_exec_source_files): Ditto.
7090 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
7092 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
7094 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
7096 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
7098 * lib/gdb.exp (skip_altivec_tests): New function, based on
7099 check_vmx_hw_available from the GCC testsuite.
7100 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
7101 * lib/gdb.arch/altivec-regs.exp: Likewise.
7103 2005-05-02 Jim Blandy <jimb@redhat.com>
7105 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
7106 calling gdb_suppress_entire_file.
7108 2005-04-30 Randolph Chung <tausq@debian.org>
7110 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
7111 Slightly relax "sem_post" name checking.
7113 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
7115 * gdb.base/unload.exp: Use new shared library infrastructure.
7117 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
7119 * gdb.base/so-impl-ld.exp: Use new shared library
7122 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
7124 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
7125 * gdb.asm/h8300.inc: New file.
7127 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7129 * gdb.base/shlib-call.exp: Change to use new shared library
7132 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7134 * gdb.base/pending.exp: Change to use new shared library
7137 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7139 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
7140 use test_compiler_info instead of gcc_compiled, and update copyright.
7142 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
7144 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
7145 shared objects being adjusted and update copyright years.
7147 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
7149 * ChangeLog: Correct some 2003-01-13 dates.
7150 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
7151 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
7152 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
7153 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
7154 gdb.trace/tfind.exp: Update copyright years.
7156 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
7157 Daniel Jacobowitz <dan@codesourcery.com>
7159 * lib/gdb.exp (gdb_compile): Handle shlib=.
7160 (gdb_compile_shlib): New function.
7162 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
7164 * lib/gdb.exp (test_compiler_info): Give argument a default value.
7166 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
7168 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
7170 * configure.ac: Likewise.
7171 * configure: Regenerated.
7172 * gdb.gdbserver/Makefile.in: Moved to...
7173 * gdb.server/Makefile.in: ... here.
7174 * gdb.gdbserver/server.c: Moved to...
7175 * gdb.server/server.c: ... here.
7176 * gdb.gdbserver/server-run.exp: Moved to...
7177 * gdb.server/server-run.exp: ... here.
7179 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
7181 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
7182 * configure.ac: Create gdb.gdbserver/Makefile.
7183 * configure: Regenerated.
7184 * lib/gdbserver-support.exp: New file, derived from
7185 config/gdbserver.exp.
7186 * config/gdbserver.exp: Use gdbserver-support.exp.
7187 * gdb.gdbserver/Makefile.in: New file.
7188 * gdb.gdbserver/server.c: New file.
7189 * gdb.gdbserver/server-run.exp: New file.
7191 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
7193 * lib/gdb.exp (test_compiler_info): Return compiler_info
7194 if no arguments are given.
7196 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
7198 * gdb.arch/altivec-abi.exp: Check for compiler and set
7199 use altivec' flag accordingly.
7200 * gdb.arch/altivec-regs.exp: Likewise.
7202 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
7204 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
7206 2005-03-27 Andreas Schwab <schwab@suse.de>
7208 * gdb.base/bigcore.c (main): Add missing mode argument in open
7211 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
7213 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
7215 * config/gdbserver.exp (gdb_load): Likewise.
7217 2005-03-14 Paul Brook <paul@codesourcery.com>
7219 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
7222 2005-03-09 Joel Brobecker <brobecker@adacore.com>
7224 * gdb.dwarf2/dup-psym.S: New file.
7225 * gdb.dwarf2/dup-psym.exp: New testcase.
7227 2005-03-09 Joel Brobecker <brobecker@adacore.com>
7229 * gdb.ada/exec_changed/first.adb: New file.
7230 * gdb.ada/exec_changed/second.adb: New file.
7231 * gdb.ada/exec_changed.exp: New testcase.
7233 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
7235 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
7237 (main): Test operator+.
7238 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
7241 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
7242 * gdb.base/signull.exp: Disable if gdb,nosignals.
7243 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
7244 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
7245 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
7246 * gdb.mi/mi2-console.exp: Likewise.
7247 * gdb.trace/collection.exp (run_trace_experiment): Consume the
7248 continue output at start.
7249 (gdb_collect_locals_test): Robustify regexp.
7250 * gdb.trace/passc-dyn.exp: Fix comment typo.
7251 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
7253 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
7255 * gdb.asm/asm-source.exp: Add iq2000 case.
7256 * gdb.asm/iq2000.inc: New file.
7258 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
7260 * gdb.base/command.exp: Change hardcoded value to regular expression.
7261 * gdb.base/float.exp: Add powerpc to the list of targets checked.
7263 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
7265 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
7266 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
7267 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
7268 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
7269 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
7271 2005-03-05 Mark Kettenis <kettenis@gnu.org>
7273 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
7276 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
7278 * lib/compiler.c: Add test for IBM's xlc compiler.
7279 * lib/compiler.cc: Likewise.
7281 2004-02-24 Joel Brobecker <brobecker@adacore.com>
7283 * gdb.ada/fixed_points.exp: Create compilation object directory
7284 before running the test.
7285 * gdb.ada/null_record.exp: Likewise.
7286 * gdb.ada/packed_array.exp: Likewise.
7287 * gdb.ada/start.exp: Likewise.
7289 2005-02-15 Joel Brobecker <brobecker@adacore.com>
7291 * gdb.ada/packed_array/pa.adb: New file.
7292 * gdb.ada/packed_array.exp: New testcase.
7294 2005-02-10 Mark Kettenis <kettenis@gnu.org>
7296 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
7299 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
7300 on *-*-openbsd*. Correctly match whitespace in regukar
7303 2005-02-10 Daniel Jacobowitz <dan@debian.org>
7305 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
7307 * gdb.base/gdb1821.c: New test file.
7308 * gdb.base/gdb1821.exp: New test file.
7310 2005-02-09 Joel Brobecker <brobecker@adacore.com>
7312 * gdb.base/start.c: New file.
7313 * gdb.base/start.exp: New testcase.
7315 2005-02-09 Joel Brobecker <brobecker@adacore.com>
7317 * gdb.ada/start/dummy.adb: New file.
7318 * gdb.ada/start.exp: New testcase.
7320 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
7322 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
7323 for printing symbols and statistics.
7324 Add test for using relative pathnames in "maint print msymbols" test.
7325 Mark "maint info sections DATA" XFAIL on Cygwin.
7326 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
7329 2005-02-09 Andreas Schwab <schwab@suse.de>
7331 Committed by Andrew Cagney <cagney@gnu.org>
7332 * gdb.base/remotetimeout.exp: New file.
7334 2005-02-07 Mark Kettenis <kettenis@gnu.org>
7336 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
7338 2005-02-03 Joel Brobecker <brobecker@adacore.com>
7340 * gdb.ada/gnat_ada.gpr: New file.
7341 * gdb.ada/gnat_ada.gin: Delete, no longer used.
7342 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
7343 * configure.ac: No longer generate gnat_ada.gpr.
7344 * configure: Regenerate.
7345 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
7346 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
7347 * gdb.ada/null_record/bar.ads: Likewise.
7348 * gdb.ada/null_record/bar.adb: Likewise.
7349 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
7350 * gdb.ada/null_record.exp (testdir): New variable.
7351 (testfile): executable is now in testdir subdirectory.
7352 (srcfile): Use full path to the main compilation unit.
7353 * gdb.ada/fixed_points.exp: Same changes as above.
7355 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
7357 * gdb.base/interp.exp: New test.
7359 2005-01-24 Andrew Cagney <cagney@gnu.org>
7361 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
7363 2005-01-19 Andrew Cagney <cagney@gnu.org>
7365 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
7366 configure.ac not configure.in.
7368 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
7370 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
7371 * gdb.base/list.exp (test_list_function)
7372 (test_list_filename_and_function): Ditto.
7373 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
7375 2005-01-16 Andrew Cagney <cagney@gnu.org>
7377 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
7379 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
7381 2005-01-14 Andrew Cagney <cagney@gnu.org>
7383 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
7384 * gdb.mi/mi2-var-cmd.exp: Ditto.
7386 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
7388 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
7390 2005-01-07 Andrew Cagney <cagney@gnu.org>
7392 * configure.ac: Rename configure.in, require autoconf 2.59.
7393 * configure: Re-generate.
7394 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
7395 * gdb.stabs/configure: Re-generate.
7396 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
7397 * gdb.hp/configure: Re-generate.
7398 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
7400 * gdb.hp/gdb.objdbg/configure: Re-generate.
7401 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
7403 * gdb.hp/gdb.defects/configure: Re-generate.
7404 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
7406 * gdb.hp/gdb.compat/configure: Re-generate.
7407 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
7409 * gdb.hp/gdb.base-hp/configure: Re-generate.
7410 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
7412 * gdb.hp/gdb.aCC/configure: Re-generate.
7414 2004-12-15 Jim Blandy <jimb@redhat.com>
7416 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
7417 under NPTL when there is debugging info available for libpthread.
7419 2004-12-13 Jerome Guitton <guitton@gnat.com>
7421 * gdb.ada/fixed_points.c: New file.
7422 * gdb.ada/fixed_points.exp: New file.
7424 2004-12-03 Randolph Chung <tausq@debian.org>
7426 * gdb.arch/pa-nullify.exp: New file.
7427 * gdb.arch/pa-nullify.s: New file.
7429 2004-11-30 Randolph Chung <tausq@debian.org>
7431 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
7432 instead of "tbug". Fix regexp to work properly with gdb_test.
7434 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
7436 * gdb.base/bitfields2.exp: New test.
7437 * gdb.base/bitfields2.c: New file.
7439 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
7441 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
7443 2004-11-16 Randolph Chung <tausq@debian.org>
7445 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
7447 2004-11-14 Daniel Jacobowitz <dan@debian.org>
7449 * gdb.threads/threadapply.exp: Correct "macro details" test.
7451 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
7453 * gdb.threads/threadapply.exp: New test.
7454 * gdb.threads/threadapply.c: New file.
7456 2004-11-07 Mark Kettenis <kettenis@gnu.org>
7458 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
7461 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
7463 * gdb.base/cursal.exp: New file.
7464 * gdb.base/cursal.c: New file.
7466 2004-11-03 Andrew Cagney <cagney@gnu.org>
7468 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
7470 2004-10-30 Mark Kettenis <kettenis@gnu.org>
7472 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
7475 2004-10-29 Joel Brobecker <brobecker@gnat.com>
7477 * gdb.threads/bp_in_thread.c: New file, copied from
7478 pthread_cond_wait.c.
7479 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
7480 file, rather than reusing the .c file from another testcase.
7482 2004-10-20 Joel Brobecker <brobecker@gnat.com>
7484 * gdb.ada/null_record.exp: Check where we stopped after
7485 sending the start command, instead of where the associated
7486 temporary breakpoint was inserted.
7488 2004-10-14 Andrew Cagney <cagney@gnu.org>
7490 * gdb.mi/gdb701.c (main): Return 0.
7492 2004-10-13 Daniel Jacobowitz <dan@debian.org>
7494 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
7496 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
7498 * gdb.threads/schedlock.c: Add comment markers to use to find
7500 * gdb.threads/schedlock.exp: Adjust regex to handle the new
7502 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
7505 2004-10-12 Daniel Jacobowitz <dan@debian.org>
7507 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
7509 2004-10-12 Daniel Jacobowitz <dan@debian.org>
7511 * configure.in: Add gdb.dwarf2.
7512 * configure: Regenerated.
7513 * Makefile.in: Add gdb.dwarf2.
7514 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
7515 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
7516 gdb.dwarf2/file1.txt: New files.
7518 2004-10-11 Orjan Friberg <orjanf@axis.com>
7520 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
7521 of "run", since the latter doesn't work with remote targets. Adjust
7522 the breakpoint numbering accordingly.
7523 * gdb.threads/pthread_cond_wait.exp: Ditto.
7525 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
7527 * gdb.base/overlays.exp: Update copyright years.
7529 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
7531 * gdb.base/overlays.exp: Disable if target is Linux.
7533 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
7535 * config/gdbserver.exp (gdb_load): Use right filename on remote.
7537 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
7539 * gdb.asm/asm-source.exp: Add m32r-linux target.
7540 * gdb.asm/m32r-linux.inc: New file.
7542 2004-09-24 Andrew Cagney <cagney@redhat.com>
7543 David Anderson <anderson@redhat.com>
7545 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
7546 command fails, assume things will work.
7547 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
7548 (_GNU_SOURCE): Define.
7549 (print_unsigned, print_hex): Change parameter to "long long".
7550 (print_byte_count): New function, use to print byte counts.
7551 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
7553 (main): Compute an upper bound on a corefile in max_core_size.
7554 Limit memory chunk size to max_core_size. Limit total memory
7555 allocated to max_core_size.
7557 2004-09-23 Andrew Cagney <cagney@gnu.org>
7559 * gdb.base/bigcore.exp: Replace the code that creates a corefile
7560 from a separate process with code that creates a corefile by
7561 making the inferior dump core.
7563 2004-09-23 Mark Kettenis <kettenis@gnu.org>
7565 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
7568 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
7570 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
7571 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
7572 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
7575 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
7577 * gdb.java/jprint.exp: New test case for java inferior call.
7578 * gdb.java/jprint.java: Ditto.
7580 2004-09-15 Joel Brobecker <brobecker@gnat.com>
7582 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
7584 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
7586 * gdb.threads/killed.c: Include <stdlib.h>.
7587 * gdb.threads/pthreads.c: Likewise.
7589 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
7591 * gdb.threads/killed.c: Add copyright notice.
7593 2004-09-10 Jason Molenda (jmolenda@apple.com)
7595 * gdb.base/define.exp: Two new tests to verify zero space chars
7596 after 'if' and 'while' commands in a user-defined command is correctly
7599 2004-09-08 Andrew Cagney <cagney@gnu.org>
7601 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
7602 delivery test with duplicate at end of file.
7604 2004-09-06 Mark Kettenis <kettenis@jive.nl>
7606 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
7608 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7610 * config/hppro.exp: Removed.
7612 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7614 * config/sparclet.exp: Removed.
7616 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
7618 * config/udi.exp: Removed.
7620 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
7622 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
7624 (advancei): Likewise.
7626 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
7628 * gdb.base/unload.exp: Fix so messages aren't duplicated.
7630 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
7632 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
7633 to check for nodebug in executable.
7634 * gdb.gdb/observer.exp (setup_test): Likewise.
7635 * gdb.gdb/selftest.exp (test_with_self): Likewise.
7636 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
7638 2004-09-01 Andrew Cagney <cagney@gnu.org>
7640 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
7643 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
7645 * gdb.base/unload.exp: Fix expected warning message to match
7648 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
7650 * gdb.base/call-rt-st.exp: Fix typos.
7652 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
7654 * gdb.threads/thread_check.exp: New testcase.
7655 * gdb.threads/thread_check.c: New testcase.
7657 2004-08-31 Andrew Cagney <cagney@gnu.org>
7659 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
7660 (skip_to_handler_entry): New procedures. Test stepping into a
7661 handler when the breakpoint is at the handler's entry point.
7663 2004-08-30 Andrew Cagney <cagney@gnu.org>
7665 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
7668 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7670 With code from Manoj Iyer <manjo@austin.ibm.com>:
7671 * lib/gdb.exp (gdb_file_cmd): Return more information in the
7672 return value. Add an arm for "no debugging symbols found".
7673 Change a stray "error" to "perror".
7674 (gdb_run_cmd): Adapt to new return value.
7675 * gdb.base/remote.exp: Adapt to new return value.
7676 * gdb.gdb/complaints.exp: Likewise.
7677 * gdb.gdb/observer.exp: Likewise.
7678 * gdb.gdb/selftest.exp: Likewise.
7679 * gdb.gdb/xfullpath.exp: Likewise.
7681 2004-08-27 Joel Brobecker <brobecker@gnat.com>
7683 * gdb.threads/bp_in_thread.exp: New testcase.
7685 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
7687 Fix PR testsuite/1735.
7688 * gdb.threads/schedlock.c (thread_function): Add a cast
7689 to suppress a gcc warning.
7690 * gdb.threads/thread-specific.c (thread_function): Likewise.
7692 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7694 * gdb.base/unload.c: Include <stdlib.h>.
7696 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7698 From Paul Gilliam <pgilliam@us.ibm.com>:
7699 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
7700 synchronized after the "return".
7702 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7704 * gdb.mi/basics.c: Include <stdio.h>.
7705 * gdb.mi/pthreads.c: Include <stdlib.h>.
7706 * gdb.mi/var-cmd.c: Include <stdlib.h>.
7708 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
7710 * gdb.threads/schedlock.c: Add copyright notice.
7712 2004-08-25 Andrew Cagney <cagney@gnu.org>
7714 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
7715 (skip_over_handler, breakpoint_over_hander): New test procedures.
7716 (advance, advancei): Add a proper prefix, do not use
7718 * gdb.base/sigstep.c (main): Change to use an infinite loop.
7720 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
7722 * gdb.mi/basics.c: Add copyright notice.
7723 * gdb.mi/var-cmd.c: Add copyright notice.
7725 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7727 * lib/gdb.exp: Remove signed_keyword_not_used.
7728 * lib/compiler.c: Likewise.
7729 * lib/compiler.cc: Likewise.
7731 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7733 * gdb.base/whatis.c: Remove conditional disabling of "signed".
7734 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
7736 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
7738 * gdb.base/whatis.c: Add copyright notice.
7740 2004-08-20 Mark Kettenis <kettenis@gnu.org>
7742 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
7743 it to skip the breakpoints encoded in the inline assembly.
7745 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7747 * Makefile.in: Add gdb.fortran.
7749 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
7751 * gdb.base/call-sc.exp (test_scalar_returns):
7752 Fix cut-and-paste glitch in "Make fun return now".
7754 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7756 * configure.in: Add gdb.fortran.
7757 * configure: Regenerate.
7758 * gdb.fortran/Makefile.in: New file.
7759 * lib/gdb.exp (skip_fortran_tests): New procedure.
7761 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
7763 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
7764 reference to bug-gnu@prep.ai.mit.edu.
7765 * gdb.mi/mi-var-child.exp: Likewise.
7766 * gdb.mi/mi-var-cmd.exp: Likewise.
7767 * gdb.mi/mi-var-display.exp: Likewise.
7768 * gdb.mi/mi2-var-block.exp: Likewise.
7769 * gdb.mi/mi2-var-child.exp: Likewise.
7770 * gdb.mi/mi2-var-cmd.exp: Likewise.
7771 * gdb.mi/mi2-var-display.exp: Likewise.
7773 2004-08-15 Mark Kettenis <kettenis@gnu.org>
7775 * gdb.base/unload.c (main): Make local variable msg const.
7777 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
7779 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
7780 to bug-gnu@prep.ai.mit.edu.
7781 * gdb.mi/mi-disassemble.exp: Likewise.
7782 * gdb.mi/mi-eval.exp: Likewise.
7783 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
7784 default line number.
7785 * gdb.mi/mi-return.exp: Likewise.
7786 * gdb.mi/mi-simplerun.exp: Likewise.
7787 * gdb.mi/mi-stack.exp: Likewise.
7788 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
7789 number with explicit range test.
7790 * gdb.mi/mi-watch.exp: Likewise.
7791 * gdb.mi/mi2-break.exp: Likewise.
7792 * gdb.mi/mi2-cli.exp: Likewise.
7793 * gdb.mi/mi2-disassemble.exp: Likewise.
7794 * gdb.mi/mi2-eval.exp: Likewise.
7795 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
7796 default line number.
7797 * gdb.mi/mi2-return.exp: Likewise.
7798 * gdb.mi/mi2-simplerun.exp: Likewise.
7799 * gdb.mi/mi2-stack.exp: Likewise.
7800 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
7801 number with explicit range test.
7802 * gdb.mi/mi2-watch.exp: Likewise.
7804 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
7806 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
7807 * gdb.cp/m-static.exp: Likewise.
7808 * gdb.cp/rtti.exp: Likewise.
7810 2004-08-14 Mark Kettenis <kettenis@gnu.org>
7812 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
7814 2004-08-14 Eli Zaretskii <eliz@gnu.org>
7816 * ChangeLog: Prefix Local Variables with semi-colons and indent
7817 the reference to older ChangeLog files, to fix fontification in
7820 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7822 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
7823 * gdb.mi/mi2-break.exp: Likewise.
7825 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7827 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
7829 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7831 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
7833 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
7835 * gdb.cp/classes.exp: Remove unused declarations. Just let
7836 test names default instead of providing special names. Remove
7837 extraneous demangler test.
7839 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
7841 * gdb.base/unload.exp: New test for breakpoints in dynamically
7843 * gdb.base/unload.c: Ditto.
7844 * gdb.base/unloadshr.c: Ditto.
7846 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
7848 * gdb.cp/classes.exp (test_ptype_class_objects): Call
7849 cp_test_ptype_class.
7850 (test_enums): Likewise.
7852 2004-08-10 Andrew Cagney <cagney@gnu.org>
7854 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
7857 2004-08-10 Andrew Cagney <cagney@gnu.org>
7859 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
7862 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
7864 * ChangeLog: Add copyright notice. The notice is copied
7865 from emacs 21.3 top level ChangeLog.
7867 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7869 * lib/cp-support.exp: New file.
7870 * lib/cp-support.exp (cp_test_type_class): New function.
7871 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
7872 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
7873 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
7874 cp_test_ptype_class.
7876 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7878 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
7879 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
7880 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
7881 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
7882 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7883 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
7884 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
7885 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
7886 gdb.mi/mi2-watch.exp: Update copyright years.
7888 2004-08-09 Mark Kettenis <kettenis@gnu.org>
7890 * gdb.base/sigaltstack.exp: Provide proper anchoring.
7892 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
7894 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
7895 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
7896 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
7897 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7898 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
7899 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
7900 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
7901 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7902 gdb.mi/mi-watch.exp: Update copyright years.
7904 2004-08-08 Daniel Jacobowitz <dan@debian.org>
7907 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
7908 from a breakpoint with a pending signal.
7910 2004-08-08 Daniel Jacobowitz <dan@debian.org>
7913 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
7914 * gdb.base/sigaltstack.exp (finish_test): Consume output until
7916 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
7918 2004-08-08 Daniel Jacobowitz <dan@debian.org>
7920 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
7922 2004-08-08 Daniel Jacobowitz <dan@debian.org>
7925 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
7928 2004-08-08 Daniel Jacobowitz <dan@debian.org>
7930 * gdb.arch/i386-prologue.exp: Compile without debug information.
7932 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
7934 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
7935 rather than asking gdb to search.
7937 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7939 * gdb.base/gcore.c: Include <string.h>.
7941 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7943 * gdb.base/gcore.c: Add copyright notice.
7945 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
7947 * gdb.base/freebpcmd.c: Include <stdio.h>.
7948 * gdb.base/long_long.c: Include <string.h>.
7949 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
7950 * gdb.base/siginfo.c: Include <string.h>.
7951 * gdb.base/sigstep.c: Include <string.h>.
7953 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7955 * gdb.base/complex.c: Include <stdlib.h>.
7957 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7959 * gdb.base/complex.c: Add copyright notice.
7961 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7963 * gdb.base/charset.c: Include <stdlib.h>.
7965 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7967 * gdb.base/auxv.c: Include <stdlib.h>.
7969 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7971 * gdb.base/auxv.c: Add copyright notice.
7973 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
7975 * gdb.base/coremaker.c: Add copyright notice.
7976 * gdb.base/coremaker2.c: Add copyright notice.
7978 2004-08-04 Andrew Cagney <cagney@gnu.org>
7980 * gdb.base/store.exp: Update copyright.
7981 (check_set, up_set, check_struct, up_struct): Add a prefix to test
7982 names, do not import gdb_prompt.
7984 2004-08-01 Andrew Cagney <cagney@gnu.org>
7986 Fix PR testsuite/1729.
7987 * gdb.base/dump.exp: Add test name to callers of capture_value, do
7988 not use capture_value with value 4.
7989 (capture_value): Add optional test name parameter.
7990 (test_reload_saved_value, test_restore_saved_value): Use $msg as
7991 the prefix, pass to capture_value.
7993 2004-08-01 Mark Kettenis <kettenis@gnu.org>
7995 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
7996 * gdb.arch/i386-prologue.c (standard): New prototype and function.
7997 (main): Call new function.
7999 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8001 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
8003 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8005 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
8007 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
8009 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
8010 Accept more values of vtbl pointer. Remove some messages
8011 about "obsolete gcc or gdb".
8013 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
8015 * gdb.cp/classes.exp: Accept more varieties of ptype output.
8017 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
8019 * gdb.base/asm-source.exp: Properly convert target board
8020 debug flags from gcc format to binutils format.
8022 2004-07-28 Mark Kettenis <kettenis@gnu.org>
8024 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
8025 gdb1718". PR backtrace/1718 partially fixed.
8027 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
8029 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
8031 2004-07-26 Nick Clifton <nickc@redhat.com>
8033 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
8034 good default value for a specific architecture is available then
8035 set it to that value. Otherwise default to the -gstabs switch.
8036 Remove the -g... switches from the asm-flags variable. Allow the
8037 target board info to override the value if it wants to. Pass the
8038 switch on the assembler command line.
8040 2004-07-23 Mark Kettenis <kettenis@gnu.org>
8042 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
8043 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
8044 (main): Call new function.
8046 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
8048 Test for PR exp/1715.
8049 * gdb.base/radix.exp: Refactor common procedures. Make all
8050 test names unique. Change XFAIL to KFAIL.
8052 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
8054 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
8055 * gdb.ada/gnat_ada.gin: ... to here.
8056 * configure.in: Use gnat_ada.gin.
8057 * configure: Regenerate.
8059 2004-07-20 Andrew Cagney <cagney@gnu.org>
8061 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
8062 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
8063 XFAILs. Clean up test messages and comments. Check backtraces.
8064 Delete re-sync code.
8066 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
8069 * gdb.base/annota1.exp: Honor gdb,nosignals.
8070 * gdb.base/annota3.exp: Likewise.
8072 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
8074 * lib/java.exp: Update copyright notice.
8076 2004-07-19 Andrew Cagney <cagney@gnu.org>
8078 * gdb.base/selftest.exp: Copy file from here ...
8079 * gdb.gdb/selftest.exp: ... to here.
8081 2004-07-16 Andrew Cagney <cagney@redhat.com>
8083 * lib/insight-support.exp: Delete file.
8084 * lib/java.exp (java_init): Fix copyright.
8086 2004-07-16 Andrew Cagney <cagney@gnu.org>
8088 * gdb.base/restore.c: Append "prologue" to comments marking the a
8089 function's prologue.
8090 * gdb.base/restore.exp: Update copyright, re-indent.
8091 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
8092 callerN" prefix where needed. Update patterns that match a
8093 function's prologue.
8095 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
8097 * gdb.base/restore.c: Add copyright notice.
8099 2004-07-16 Andrew Cagney <cagney@gnu.org>
8101 * gdb.base/logical.exp: Update copyright.
8102 (evaluate): New procedure. Use to re-implement tests using
8105 2004-07-14 Martin Hunt <hunt@redhat.com>
8107 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
8108 which fixes some problems where init.tcl was not found.
8110 2004-07-13 Andrew Cagney <cagney@gnu.org>
8112 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
8113 (check_sizeof, check_valueof): Do not include the output in the
8114 test name. Use gdb_test.
8115 (get_valueof): Use gdb_test_multiple.
8117 * gdb.base/step-test.exp: Update copyright. Use
8118 gdb_test_multiple. Ensure that test names do not include
8119 architecture dependent output.
8121 * gdb.gdb/observer.exp: Update copyright.
8122 (setup_test): Use gdb_test_multiple.
8123 (attach_first_observer, attach_second_observer)
8124 (attach_third_observer, detach_first_observer)
8125 (detach_second_observer, detach_third_observer)
8126 (reset_counters, check_counters): Make $message a prefix.
8127 (test_normal_stop_notifications): Add "args" parameter - a list of
8128 init functions to be called. Make $message a prefix,
8129 (test_observer_normal_stop): Change the message prefixes so that
8130 they are unique, pass the attach / detach procedures to
8131 test_normal_stop_notifications.
8133 * gdb.base/signull.exp (test_segv): Prefix all tests with
8134 "${name}". Clean up test messages.
8136 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
8138 * gdb.base/ena-dis-br.exp: Update copyright.
8139 (break_at): New function. Replace send_gdb with gdb_test,
8140 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
8141 ignore count, not stopped at bpt", with KFAIL.
8143 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
8145 * gdb.base/attach.exp: Remove cleanupfile handling.
8147 2004-07-12 Andrew Cagney <cagney@gnu.org>
8149 * gdb.base/annota1.exp: Cleanup corefile test name.
8150 * gdb.base/annota3.exp: Ditto.
8152 2004-07-12 Andrew Cagney <cagney@gnu.org>
8154 * gdb.base/signals.exp: Clean up copyright, re-indent.
8156 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
8157 gdb_test and gdb_test_multiple.
8159 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
8161 * gdb.java/jmain.exp: Fix expected line number for main to
8162 break at. Set XFAIL for break at main test since gcj does not
8163 provide line number info for first statement in main.
8165 2004-07-08 Andrew Cagney <cagney@gnu.org>
8167 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
8169 * gdb.base/sigbpt.exp: Make the common part of each test name a
8170 prefix instead of suffix.
8172 2004-07-07 Bob Rossi <bob_rossi@cox.net>
8174 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
8175 test from test_tbreak_creation_and_listing to
8176 test_file_list_exec_source_file
8177 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
8178 Changed name of test from test_tbreak_creation_and_listing to
8179 test_file_list_exec_source_file
8181 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
8183 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
8184 the jmisc() constructor instead of <init>.
8185 * gdb.java/jmisc1.exp: Ditto.
8187 2004-07-07 Andrew Cagney <cagney@gnu.org>
8189 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
8192 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
8194 * gdb.cp/templates.exp: Accept whitespace change in demangler
8197 2004-07-06 Andrew Cagney <cagney@gnu.org>
8199 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
8201 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
8203 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
8204 * lib/compiler.cc: Likewise.
8206 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
8208 * lib/compiler.cc: Work around string preprocessing problem
8209 with old hp c++ compiler.
8210 * lib/compiler.c: Likewise.
8212 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
8214 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
8215 directives to conditionalize symbol prefixing.
8216 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
8217 additional_flags handling. Add underscore prefix for Cygwin.
8218 * gdb.arch/i386-unwind.c: Use preprocessor directives to
8219 conditionalize symbol prefixing.
8220 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
8221 additional_flags handling. Add underscore prefix for Cygwin.
8223 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
8225 * gdb.base/bigcore.exp: Skip test on Cygwin.
8227 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
8229 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
8230 formats for "info register". Use gdb_test_multiple. Fix
8231 the "invalid register" test.
8233 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
8235 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
8236 PID for Cygwin. Add Cygwin specific strings to check for in some
8238 (do_attach_tests): Add a test for user interaction when attaching
8239 to a process with no matching symbol table already loaded.
8241 2004-06-26 Andrew Cagney <cagney@gnu.org>
8243 Test PR java/1567 and PR java/1565.
8244 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
8245 * gdb.java/jmisc2.exp: Delete file.
8247 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
8249 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
8251 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
8253 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
8256 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
8258 * gdb.cp/pr-1553.exp: Remove.
8260 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
8262 * gdb.cp/pr-1553.cc: Remove.
8263 * gdb.cp/pr-1553.exp: Disable this test.
8265 2004-06-20 Jim Blandy <jimb@redhat.com>
8267 Fix PR testsuite/1680.
8268 * gdb.arch/i386-sse.exp: Properly quote curly braces in
8269 regular expressions.
8271 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
8273 Fix PR testsuite/1679.
8274 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
8275 Issue an UNSUPPORTED result instead.
8277 2004-06-18 Jim Blandy <jimb@redhat.com>
8279 * gdb.base/charset.exp: Only send a control-C if we see a new
8280 prompt and incomplete command.
8282 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
8284 * gdb.cp/pr-574.cc: Add copyright notice.
8286 2004-06-17 Jim Blandy <jimb@redhat.com>
8288 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
8289 cases where the regexp has no groups; this grabs random text from
8290 the previous test suite, whatever that was.
8292 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
8294 * gdb.cp/printmethod.cc: Add copyright notice.
8296 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
8298 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
8300 2004-06-16 Andrew Cagney <cagney@gnu.org>
8302 * gdb.base/signull.c: Update copyright. Include <string.h>.
8303 (bowler): Replace data_pointer with data_read
8304 and data_write cases. Add code_descriptor case.
8305 (zero, desc): New array and pointer.
8306 (data, code): Change to simple pointers.
8307 * gdb.base/signull.exp: Fix probe pattern matching a function
8308 descriptor SIGSEGV. Replace data_pointer with data_read and
8311 2004-06-16 Andrew Cagney <cagney@gnu.org>
8313 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
8315 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
8317 * gdb.base/long_long.c: Add copyright notice.
8319 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
8321 * gdb.base/long_long.exp: Remove reference to
8322 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
8323 to gdb_breakpoint and gdb_continue_to_breakpoint.
8325 2004-06-14 Jim Blandy <jimb@redhat.com>
8327 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
8330 2004-06-14 Andrew Cagney <cagney@gnu.org>
8332 * gdb.base/gcore.exp (capture_command_output): Delete the always
8333 passing tests containing inferior values.
8334 * gdb.base/ending-run.exp: Do not include the breakpoint address
8335 in the test message. Update copyright.
8336 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
8337 size in the test name, use gdb_test_multiple. Update copyright.
8339 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
8341 * gdb.cp/ref-types.cc: Add copyright notice.
8343 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
8345 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
8347 * lib/compiler.cc: Likewise.
8348 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
8349 'set' commands. Log diagnostics for other lines. Set
8350 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
8352 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
8354 * gdb.cp/try_catch.cc: Add copyright notice.
8356 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
8358 * gdb.cp/userdef.cc: Add copyright notice.
8360 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
8362 * gdb.cp/virtfunc.cc: Add copyright notice.
8364 2004-06-11 Randolph Chung <tausq@debian.org>
8366 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
8369 2004-06-10 Andrew Cagney <cagney@gnu.org>
8371 * lib/compiler.cc, lib/compiler.c: Append either
8372 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
8373 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
8376 2004-06-09 Andrew Cagney <cagney@gnu.org>
8378 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
8379 gdb/1455, bug is specific to "long long" and "double".
8381 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
8382 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
8383 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
8386 2004-06-09 Andrew Cagney <cagney@gnu.org>
8388 * gdb.base/structs.exp (test_struct_returns): Replace
8389 "return_value_unknown" and "finish_value_unknown" by
8390 "return_value_known" and "finish_value_known". Instead of
8391 "return_value_unknown" iff "finish_value_unknown", check
8392 "return_value_known" implies "finish_value_known".
8394 2004-06-08 Martin Hunt <hunt@redhat.com>
8396 * gdb.base/float.exp: Add pattern for mips targets.
8398 2004-06-08 Randolph Chung <tausq@debian.org>
8400 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
8401 message for unknown architectures more clear.
8403 2004-06-08 Joel Brobecker <brobecker@gnat.com>
8405 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
8406 start the execution of the program.
8408 2004-06-07 Jim Blandy <jimb@redhat.com>
8410 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
8411 * gdb.arch/i386-cpuid.h: New helper file.
8413 2004-06-07 Randolph Chung <tausq@debian.org>
8415 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
8418 2004-06-04 Roland McGrath <roland@redhat.com>
8421 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
8422 differently to be robust to output buffering differences.
8424 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
8426 * gdb.threads/pthreads.exp: Update copyright years.
8427 (check_control_c): Change asynchronous 'after' to synchronous.
8429 2004-06-04 Roland McGrath <roland@redhat.com>
8431 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
8434 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
8437 * gdb.threads/manythreads.exp: Change asynchronous 'after'
8438 calls to synchronous.
8440 2004-05-26 Jim Blandy <jimb@redhat.com>
8442 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
8444 2004-05-24 Randolph Chung <tausq@debian.org>
8446 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
8447 * gdb.asm/pa.inc: New file.
8449 2004-05-22 Mark Kettenis <kettenis@gnu.org>
8451 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
8453 2004-05-21 Joel Brobecker <brobecker@gnat.com>
8454 Daniel Jacobowitz <drow@mvista.com>
8456 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
8459 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8461 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
8462 setjmp/longjmp. Use sigaction instead of signal.
8464 2004-05-19 J. Brobecker <brobecker@gnat.com>
8465 Michael Snyder <msnyder@redhat.com>
8467 * gdb.threads/pthread_cond_wait.c: New file.
8468 * gdb.threads/pthread_cond_wait.exp: New testcase.
8470 2004-05-13 Andrew Cagney <cagney@redhat.com>
8472 * gdb.base/signull.exp, gdb.base/signull.c: New files.
8473 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
8475 2004-05-11 Andrew Cagney <cagney@redhat.com>
8477 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
8478 fixed but revealed gdb/1639.
8480 2004-05-10 Andrew Cagney <cagney@redhat.com>
8482 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
8483 func1" and "next to 2nd alarm", kernel bug avoided.
8485 2004-05-10 Daniel Jacobowitz <dan@debian.org>
8488 * gdb.base/bigcore.exp: Check the size of the dumped core file.
8489 XFAIL if it is smaller than bytes_allocated.
8490 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
8491 (main): Make chunks_allocated unsigned. Correct comment.
8493 2004-05-07 Joel Brobecker <brobecker@gnat.com>
8495 * gdb.arch/powerpc-aix-prologue.c: New file.
8496 * gdb.arch/powerpc-aix-prologue.exp: New file.
8498 2004-05-07 Jim Blandy <jimb@redhat.com>
8500 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
8501 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
8503 2004-05-06 Joel Brobecker <brobecker@gnat.com>
8505 * gdb.base/sep.exp: No longer setup_kfail when the program was
8508 2004-05-05 Jim Ingham <jingham@apple.com>
8510 * gdb.base/pending.exp: Make sure pending breakpoints
8511 preserve the ignore count.
8513 2004-04-27 Jerome Guitton <guitton@gnat.com>
8515 * i386-prologue.exp: Add testcase for jump instruction as first
8516 instruction of the real code.
8517 * i386-prologue.c (jump_at_beginning): New function.
8519 2004-04-28 Mark Kettenis <kettenis@gnu.org>
8521 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
8524 2004-04-28 Mark Kettenis <kettenis@gnu.org>
8526 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
8529 2004-04-25 Mark Kettenis <kettenis@gnu.org>
8531 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
8532 expression that checks the return type.
8534 2004-04-23 Andrew Cagney <cagney@redhat.com>
8536 * gdb.base/call-sc.exp: New test of scalar call/return values.
8537 * gdb.base/call-sc.c: Ditto.
8539 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8541 * gdb.threads/manythreads.c: Reduce thread stack size.
8543 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
8545 * gdb.threads/manythreads.c: Add copyright notice.
8547 2004-04-23 Andrew Cagney <cagney@redhat.com>
8549 * gdb.base/siginfo.exp: Better handle step out of signal.
8550 * gdb.base/sigstep.exp: Ditto.
8552 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
8553 Daniel Jacobowitz <drow@mvista.com>
8555 * gdb.threads/manythreads.c: New testcase.
8556 * gdb.threads/manythreads.exp: Ditto.
8558 2004-04-22 Jim Blandy <jimb@redhat.com>
8560 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
8561 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
8563 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
8565 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
8567 2004-04-21 Andrew Cagney <cagney@redhat.com>
8569 * gdb.base/sigstep.c: New file.
8570 * gdb.base/sigstep.exp: New file.
8572 2004-04-16 Joel Brobecker <brobecker@gnat.com>
8574 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
8575 call to observer_notify_normal_stop.
8577 2004-04-15 Andrew Cagney <cagney@redhat.com>
8579 * gdb.base/siginfo.c: New file.
8580 * gdb.base/siginfo.exp: New file.
8582 2004-04-12 J. Brobecker <brobecker@gnat.com>
8584 * gdb.base/sep.exp: Fix typo in comment.
8586 2004-04-12 J. Brobecker <brobecker@gnat.com>
8588 * gdb.base/sep.c: New file.
8589 * gdb.base/sep-proc.c: New file.
8590 * gdb.base/sep.exp: New testcase.
8592 2004-04-09 Mark Kettenis <kettenis@gnu.org>
8594 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
8597 2004-04-05 Andrew Cagney <cagney@redhat.com>
8599 * gdb.base/sigaltstack.c: New file.
8600 * gdb.base/sigaltstack.exp: New file.
8602 2004-04-04 Joel Brobecker <brobecker@gnat.com>
8604 * gdb.base/foll-fork.exp: Update the expected output for
8605 "help set follow-fork-mode", to match a change that was made
8606 to the help of this variable on 2004-01-13.
8608 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8610 * lib/ada.exp: Add copyright notice.
8611 * bar.ads: Likewise.
8612 * bar.adb: Likewise.
8613 * null_record.adb: Likewise.
8614 * null_record.exp: Likewise.
8615 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
8617 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8619 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
8620 * configure: Regenerate.
8622 2004-04-01 Joel Brobecker <brobecker@gnat.com>
8624 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
8625 to build the application. Remove the message printed when in
8626 verbose mode, redundant with the UNSUPPORTED message above.
8628 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8630 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
8631 * gdb.ada (null_record.exp): New testcase.
8633 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8635 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
8637 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8639 * gdb.ada: New subdirectory.
8640 * gdb.ada/Makefile.in: New file.
8641 * gdb.ada/gnat_ada.gpr.in: New file.
8643 2004-03-31 Joel Brobecker <brobecker@gnat.com>
8645 * lib/ada.exp: New file.
8647 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
8649 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
8650 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
8652 2004-03-22 Andrew Cagney <cagney@redhat.com>
8654 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
8655 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
8656 Problem identified by Ulrich Weigand.
8658 2004-03-17 David Carlton <carlton@kealia.com>
8660 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
8663 2004-03-16 Roland McGrath <roland@redhat.com>
8665 * gdb.base/auxv.exp: New file.
8666 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
8668 2004-03-12 David Carlton <carlton@kealia.com>
8670 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
8671 * gdb.cp/pr-1553.cc: Ditto.
8672 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
8675 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
8677 * gdb.cp/templates.exp: Accept more template types.
8679 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8681 From Corinna Vinschen with modifications.
8682 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
8683 local variable obj_with_enum.
8684 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
8685 results with obj_with_enum.
8687 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8689 * gdb.cp/classes.cc: New file, copied from misc.cc.
8690 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
8692 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
8694 * gdb.cp/misc.cc: Add copyright notice.
8696 2004-03-05 David Carlton <carlton@kealia.com>
8698 * gdb.cp/rtti.exp: Add 'print *obj3' test.
8699 * gdb.cp/rtti.h: Update copyright.
8700 (namespace n2::n3): New.
8701 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
8702 (n2::n3::func3): New.
8703 (main): Call n2::n3::func3.
8704 * gdb.cp/rtti2.cc: Update copyright.
8707 2004-03-04 Mark Kettenis <kettenis@gnu.org>
8709 * gdb.asm/openbsd.inc: Fix typo.
8711 2004-03-03 Fred Fish <fnf@redhat.com>
8713 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
8714 "val" instead of unused "size". Update copyright year.
8716 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
8718 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
8719 to use unsigned char.
8720 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
8721 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
8723 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
8725 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
8728 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
8730 * gdb.base/relocate.c (dummy): Initialize.
8732 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
8734 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
8735 a breakpoint at exit.
8737 2004-02-27 Fred Fish <fnf@redhat.com>
8739 * gdb.base/chng-syms.exp: Add expect condition to match failing
8740 case that isn't a timeout.
8742 2004-02-27 Andrew Cagney <cagney@redhat.com>
8744 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
8747 2004-02-26 Fred Fish <fnf@redhat.com>
8749 * gdb.arch/gdb1431.c: Remove.
8750 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
8751 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
8752 of "until" incorrectly.
8754 2004-02-26 J. Brobecker <brobecker@gnat.com>
8756 * gdb.cp/class2.cc (empty): New class.
8757 (refer): New function.
8758 (main): Declare an object of type empty and use it.
8759 * gdb.cp/class2.exp: Print the value of an object of type empty.
8761 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
8763 * gdb.base/langs.exp: Update query string to match the
8764 new nquery format used for pending breakpoints.
8766 2004-02-26 Andrew Cagney <cagney@redhat.com>
8769 * gdb.base/charset.c: Update copyright notice.
8770 (main, init_string): Remove the escape character '\e' tests.
8771 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
8772 * gdb.base/charset.exp (valid_host_charset): Ditto.
8773 * gdb.base/setvar.exp: Ditto.
8775 2004-02-24 Andrew Cagney <cagney@redhat.com>
8777 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
8778 mmapped data in core file" PASS and FAIL messages consistent.
8780 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
8781 setting a breakpoint. Work around PR java/1565.
8783 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
8785 * lib/gdb.exp (gdb_breakpoint): Update query string to match
8787 * gdb.base/pending.exp: Ditto.
8789 2004-02-22 Mark Kettenis <kettenis@gnu.org>
8791 * configure.in: Run stabs tests on *BSD.
8792 * configure: Regenerated.
8794 2004-02-21 Mark Kettenis <kettenis@gnu.org>
8796 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
8798 2004-02-20 Fred Fish <fnf@redhat.com>
8800 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
8801 blank in test for "returns short", for consistency with other
8802 "returns xxx" tests. Update copyright year.
8804 2004-02-19 Fred Fish <fnf@redhat.com>
8806 New testcase for PR breakpoint/1558.
8807 * gdb.arch/gdb1558.exp: New file.
8808 * gdb.arch/gdb1558.c: New file.
8810 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
8812 * gdb.base/nodebug.exp: Fix typo.
8814 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8816 Committed by Jim Blandy <jimb@redhat.com>.
8818 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
8820 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
8822 * gdb.base/float.exp: Support s390*-*-* targets.
8824 2004-02-17 Adam Fedor <fedor@gnu.org>
8826 * gdb.base/gdb1555.exp: New file.
8827 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
8829 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
8831 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
8833 2004-02-16 Fred Fish <fnf@redhat.com>
8835 * gdb.arch/gdb1291.c: Remove
8836 * gdb.arch/gdb1291.s: New test input file.
8837 * gdb.arch/gdb1291.exp: Expand test to check case that should not
8838 fail. Test for correct result, known incorrect result, other
8839 failures and timeouts.
8841 2004-02-16 Andrew Cagney <cagney@redhat.com>
8843 * gdb.base/bigcore.exp: New file.
8844 * gdb.base/bigcore.c: New file.
8846 2004-02-13 Andrew Cagney <cagney@redhat.com>
8848 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
8849 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
8850 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
8851 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
8852 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
8853 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
8854 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
8855 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
8856 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
8857 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
8859 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
8861 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
8862 executed is an alloc instruction.
8864 2004-02-11 David Carlton <carlton@kealia.com>
8866 * gdb.cp/breakpoint.exp: New.
8867 * gdb.cp/breakpoint.cc: New.
8869 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
8871 Partial fix for PR gdb/1543.
8872 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
8873 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
8874 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
8875 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
8876 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
8877 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
8878 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
8879 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
8880 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
8881 to bug-gdb@prep.ai.mit.edu .
8882 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
8883 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
8884 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
8887 2004-02-10 Andrew Cagney <cagney@redhat.com>
8889 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
8890 using gdb_internal_error_resync.
8892 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
8894 * gdb.threads/thread-specific.exp: Stop early if no threads are
8897 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
8899 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
8901 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
8903 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
8906 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
8908 * config/sim.exp (gdb_load): Handle $arg == "".
8909 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
8910 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
8912 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
8914 * gdb.base/maint.exp: Update test to reflect
8917 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
8919 * gdb.base/pendshr.c (pendfunc): New function that calls
8921 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
8923 2004-02-04 Fred Fish <fnf@redhat.com>
8925 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
8926 function symbols and update copyright years.
8927 * gdb.arch/gdb1291.c: Ditto.
8929 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8931 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
8933 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8935 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
8937 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8939 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
8941 2004-02-02 Fred Fish <fnf@redhat.com>
8943 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
8944 remote targets. Update copyright years.
8946 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
8948 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
8950 * gdb.base/langs.exp: Fix test which attempts to create
8951 breakpoint on non-existent function to handle new pending
8953 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
8955 * gdb.base/pending.exp: New test.
8956 * gdb.base/pending.c: New file.
8957 * gdb.base/pendshr.c: Ditto.
8959 2004-02-02 David Carlton <carlton@kealia.com>
8961 * gdb.cp/overload.exp: Add overloadNamespace tests.
8962 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
8963 (overloadNamespace, XXX): New.
8964 (main): Call XXX::marker2.
8966 2004-02-01 Fred Fish <fnf@redhat.com>
8968 * gdb.base/dump.exp: Use runto_main instead of "runto main".
8969 * gdb.base/finish.exp: Ditto.
8970 * gdb.base/gcore.exp: Ditto.
8971 * gdb.base/huge.exp: Ditto.
8972 * gdb.base/info-proc.exp: Ditto.
8973 * gdb.base/return2.exp: Ditto.
8974 * gdb.threads/gcore-thread.exp: Ditto.
8976 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
8978 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
8980 2004-02-01 Mark Kettenis <kettenis@gnu.org>
8982 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
8983 that opening the file succeeds on OpenBSD.
8985 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
8987 * gdb.threads/thread-specific.c: New file.
8988 * gdb.threads/threads-specific.exp: New test script.
8989 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
8992 2004-02-01 Mark Kettenis <kettenis@gnu.org>
8994 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
8995 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
8996 only on the "print_small_structs from print_long_arg_list" test.
8998 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
9000 * gdb.base/completion.exp: Kill a stray backslash.
9002 From Jim Ingham <jingham@apple.com>:
9003 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
9004 agrees with the result from sending a tab.
9006 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
9008 * gdb.base/chng-syms.exp: Remove stray newline.
9010 2004-01-31 Mark Kettenis <kettenis@gnu.org>
9012 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
9014 * gdb.asm/openbsd.inc: New file.
9016 2004-01-30 Mark Kettenis <kettenis@gnu.org>
9018 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
9019 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
9020 *-*solaris2*. Remove commented out default settings for
9021 asm-flags. Replace gdb_compile with target_link.
9023 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
9025 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
9026 for all tests. Remove old hp-ux and cygnus xfail cases.
9028 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
9030 * gdb.base/chng-syms.exp: New file.
9031 * gdb.base/chng-syms.c: New file.
9033 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
9035 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
9036 Provide arms for current output in all my configurations.
9038 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
9040 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
9041 * lib/compiler.cc: Likewise.
9042 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
9043 get the right preprocessor. Eval the output directly. Remove
9044 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
9045 hp_f77_compiler and hp_f90_compiler completely.
9046 (gdb_preprocess): Delete.
9047 (get_compiler): Delete.
9049 2004-01-24 Mark Kettenis <kettenis@gnu.org>
9051 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
9054 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
9056 * gdb.mi/mi-stack.exp: Update copyright.
9058 2004-01-23 David Carlton <carlton@kealia.com>
9060 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
9061 test for cp_lookup_transparent_type.
9062 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
9065 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
9067 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
9070 2004-01-23 David Carlton <carlton@kealia.com>
9072 * gdb.cp/namespace.cc (C::ensureRefs): New.
9073 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
9075 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
9077 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
9078 case "-stack-list-locals 2".
9079 * gdb.mi/mi-var-child.exp: Test for case
9080 "-var-list-children --all-values NAME".
9082 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
9084 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
9086 2004-01-18 Mark Kettenis <kettenis@gnu.org>
9088 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
9089 used with gdb_test_multiple.
9091 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
9092 read at address 0. This fixes PR testsuite/1504.
9094 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
9096 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
9097 Remove downloading, guessing the host executable, the calls to
9098 gdb_file_cmd and gdb_target_cmd, and "load" support.
9099 (infer_host_exec): New function broken out from gdb_load.
9100 (gdb_load): New wrapper for gdbserver_gdb_load.
9101 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
9102 gdb_target_cmd. Use -target-select.
9103 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
9104 Download binaries to the host. Clear last_mi_remote_file when
9105 we load a new binary.
9106 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
9107 call gdbserver_gdb_load and mi_gdb_target_cmd.
9109 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
9111 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
9114 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
9116 * gdb.cp/templates.exp: Fix typo in test name of
9117 "print Foo<volatile char*>::foo".
9119 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
9121 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
9123 2004-01-16 Ben Elliston <bje@wasabisystems.com>
9125 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
9126 (clean mostlyclean): Remove empty rm.
9128 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
9130 * gdb.base/setvar.exp: Add copyright years.
9132 2004-01-14 David Carlton <carlton@bactrian.org>
9134 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
9135 PR c++/1511 and update coment.
9136 * gdb.cp/templates.exp: Update patterns to match current output.
9137 If changes involve something other than whitespace, KFAIL
9138 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
9140 2004-01-14 David Carlton <carlton@kealia.com>
9142 * gdb.cp/namespace.exp: Add tests involving classes defined within
9144 * gdb.cp/namespace.cc (C::CClass): New.
9145 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
9147 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
9149 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
9150 what debug info we have. Print a better message if something goes
9151 wrong while producing the separate debug info file.
9153 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
9155 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
9157 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
9159 * gdb.base/callfuncs.c: Add copyright notice.
9161 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
9163 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
9164 inheritance. PR gdb/1498, PR gcc/13539.
9166 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
9168 * gdb.threads/gcore-thread.exp: Prefix name of binary with
9170 * gdb.mi/gdb669.exp: Ditto.
9171 * gdb.mi/mi-pthreads.exp: Ditto.
9172 * gdb.mi/mi1-pthreads.exp: Ditto.
9173 * gdb.mi/mi2-pthreads.exp: Ditto.
9175 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
9177 * gdb.cp/member-ptr.cc: Add copyright notice.
9179 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
9181 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
9182 some patterns for recent versions of gcc and hpacc. Delete
9183 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
9184 Delete tests that access a NULL pointer-to-member-data. This
9185 script is still disabled for gcc.
9187 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
9189 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
9192 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
9194 * gdb.base/sepdebug.exp: New file.
9195 * gdb.base/sepdebug.c: New file.
9196 * lib/gdb.exp (separate_debug_filename): New procedure.
9197 (gdb_gnu_strip_debug): New procedure.
9199 2004-01-12 Andrew Cagney <cagney@redhat.com>
9201 * gdb.mi/ChangeLog: Delete file. Renamed to ...
9202 * gdb.mi/ChangeLog-1999-2003: New file.
9204 2004-01-12 Andrew Cagney <cagney@redhat.com>
9206 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
9207 "Renaming a directory to a non-empty directory returns ENOTEMPTY
9208 or EEXIST", treat EBUSY as an XFAIL.
9210 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
9212 * gdb.base/scope.exp: Remove obsolete setup_xfail for
9215 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
9217 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
9220 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
9222 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
9223 and "(aCC)" decorations. Remove obsolete doco about old
9226 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9228 * gdb.cp/exception.exp: Fix typo in doco.
9230 2004-01-09 Mark Kettenis <kettenis@gnu.org>
9232 * gdb.base/gdb1476.exp: Fix typo.
9234 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9236 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
9239 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
9241 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
9242 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
9243 Use gdb_compile. Remove restriction on gcc. Add some patterns
9244 for recent version of gdb. Delete second half, which was a copy
9245 of the first half with different build flags. This test is
9246 still disabled because it is still not ready for production.
9248 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9250 * gdb.cp/exception.cc: Add copyright notice.
9251 * gdb.cp/exception.exp: Add a notice that this file is broken
9252 because of line number changes caused by addition of copyright
9255 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9257 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
9258 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
9260 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9262 * gdb.cp/classes.exp: Accept gnu abi 2.
9263 * gdb.cp/derivation.exp: Likewise.
9264 * gdb.cp/overload.exp: Likewise.
9265 * gdb.cp/virtfunc.exp: Likewise.
9267 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
9269 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
9270 semicolon after end of function.
9272 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9274 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
9275 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
9276 boilerplate code for compiling and running the program under
9277 test. Add some string method tests.
9279 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9281 * gdb.cp/bs15503.cc: Add copyright notice.
9282 * gdb.cp/bs15503.exp: Adjust line number.
9284 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9286 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
9287 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
9289 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9291 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
9294 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9296 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
9297 * gdb.cp/ctti.exp: Use the marker instead of "next".
9298 With gcc, run further before bailing.
9300 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9302 * gdb.cp/cttiadd.cc: Add copyright notice.
9303 * gdb.cp/cttiadd1.cc: Likewise.
9304 * gdb.cp/cttiadd2.cc: Likewise.
9305 * gdb.cp/cttiadd3.cc: Likewise.
9307 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9309 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
9310 Use gdb_test, gdb_test_multiple. Use floating-point values that
9311 have exact representations in IEEE-ish formats.
9313 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9315 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
9316 compilers. Delete duplicate call to get_compiler_info.
9317 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
9318 * gdb.base/volatile.exp: Likewise.
9320 2004-01-07 Mark Kettenis <kettenis@gnu.org>
9322 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
9323 memory at address 0.
9325 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
9327 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
9328 to test for hp-ux assembler. Fix copyright years.
9330 2004-01-07 Andrew Cagney <cagney@redhat.com>
9332 * gdb.base/fileio.c (strerrno): Add "EBUSY".
9334 2004-01-07 Andrew Cagney <cagney@redhat.com>
9336 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
9337 when creating the read-only file. From analysis by Roland McGrath
9340 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9342 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
9344 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9346 * gdb.base/cvexpr.c: Be type-safe with function pointers and
9349 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9351 * gdb.cp/m-static.exp: Compile one source file at a time.
9352 Delete unused call to get_compiler_info.
9354 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
9356 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
9357 * gdb.base/call-rt-st.exp: Likewise.
9358 * gdb.base/nodebug.exp: Likewise.
9359 * gdb.base/volatile.exp: Likewise.
9360 * gdb.cp/ref-types.exp: Likewise.
9361 * gdb.cp/templates.exp: Likewise.
9363 2004-01-05 Mark Kettenis <kettenis@gnu.org>
9365 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
9367 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
9369 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
9372 2004-01-04 Mark Kettenis <kettenis@gnu.org>
9374 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
9377 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
9378 sparc64-*-* and sparc*-solaris2*.
9380 2004-01-04 Mark Kettenis <kettenis@gnu.org>
9382 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
9383 return ${tests}" test. The ${tests} already mentions the
9386 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9388 * gdb.cp/local.exp: Accept gcc abi 2.
9390 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9392 * gdb.cp/templates.exp: Accept gcc abi 2.
9394 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
9396 * lib/compiler.cc: Remove supports_template_debugging.
9397 * gdb.cp/templates.exp: Do not test supports_template_debugging.
9399 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9401 * gdb.cp/namespace.exp: Accept gcc abi 2.
9403 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9405 * gdb.cp/method.exp: Accept gcc abi 2.
9407 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9409 * gdb.cp/classes.exp: Generate identical results as old version.
9410 * gdb.cp/derivation.exp: Likewise.
9411 * gdb.cp/overload.exp: Likewise.
9412 * gdb.cp/virtfunc.exp: Likewise.
9414 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9416 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
9417 mysterious bug with sourceware version of expect.
9419 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9421 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
9422 current versions of gcc, including gcc abi 2. Remove gratuitous
9423 restart of test program. Use gdb_test_multiple and gdb_test for
9424 all tests. Add patterns to xfail missing "const" in "const char *"
9425 and kfail PR gdb/1155.
9427 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
9429 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
9430 current versions of gcc, including gcc abi 2. Remove gratuitous
9431 restart of test program. Use gdb_test_multiple and gdb_test for
9432 all tests. Add patterns to kfail PR gdb/1498.
9434 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
9436 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
9437 current versions of gcc, including gcc abi 2. Use "breakpoint"
9438 and "continue" instead of restarting the target program. Use
9439 gdb_test_multiple and gdb_test for all tests.
9441 2004-01-01 Mark Kettenis <kettenis@gnu.org>
9443 * gdb.asm/asm-source.exp: Update copyright year. Link statically
9446 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
9448 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
9449 current versions of gcc, including gcc abi 2. Use "breakpoint"
9450 and "continue" instead of restarting the target program several
9451 times. Use gdb_test_multiple and gdb_test for all tests.
9453 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
9455 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
9458 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9460 * gdb.base/environ.exp: Handle compiling test case from multiple
9463 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9465 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
9467 2003-12-17 Jim Blandy <jimb@redhat.com>
9469 * gdb.base/freebpcmd.c: Add copyright notice.
9471 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
9473 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
9475 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
9477 2003-12-13 Jim Blandy <jimb@redhat.com>
9479 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
9481 2003-12-12 Kevin Buettner <kevinb@redhat.com>
9483 * gdb.asm/frv.inc: New file.
9484 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
9486 2003-12-09 Fred Fish <fnf@redhat.com>
9488 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
9489 functions to break1.c and leave prototypes behind. Add more
9490 "set breakpoint NN here" comments.
9491 * gdb.base/break1.c: New file.
9493 * gdb.base/break.exp: Handle compiling test case from multiple
9494 source files and change source file references as needed.
9495 * gdb.base/completion.exp: Ditto.
9496 * gdb.base/condbreak.exp: Ditto.
9497 * gdb.base/define.exp: Ditto.
9498 * gdb.base/ena-dis-br.exp: Ditto.
9499 * gdb.base/info-proc.exp: Ditto.
9500 * gdb.base/maint.exp: Ditto.
9501 * gdb.base/until.exp: Ditto.
9503 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
9504 hardcoded line numbers.
9505 * gdb.base/define.exp: Ditto.
9506 * gdb.base/ena-dis-br.exp: Ditto.
9507 * gdb.base/maint.exp: Ditto.
9508 * gdb.base/until.exp: Ditto.
9510 * gdb.base/completion.exp: Use "break1" for completion tests since
9511 "break" is no longer a unique prefix.
9513 2003-12-06 Andrew Cagney <cagney@redhat.com>
9515 * gdb.base/structs.exp (test_struct_returns): When applicable, set
9516 "return_value_unimplemented". When an unimplemented struct return
9517 architecture, report incorrect values as a KFAIL
9519 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
9521 * gdb.cp/rtti.exp: Accept new wording of warning from
9522 cp_lookup_rtti_type.
9524 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
9526 Partial fix for PR testsuite/1456.
9527 * gdb.base/scope.exp (test_at_main): Replace references to
9528 gcc_compiled with calls to test_compiler_info.
9529 (test_at_foo): Likewise.
9530 (test_at_bar): Likewise.
9532 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
9534 Partial fix for PR testsuite/1456.
9535 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
9536 to test_compiler_info.
9538 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
9540 * gdb.base/so-impl-ld.exp: Update copyright notice.
9542 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
9544 Partial fix for PR testsuite/1456.
9545 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
9546 to test_compiler_info.
9548 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9550 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
9551 from current versions of gdb. Clean up regular expressions.
9552 Delete redundant timeout case.
9554 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9556 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
9557 from current versions of gdb. Clean up regular expressions.
9558 Delete redundant timeout case.
9560 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
9562 Partial fix for PR testsuite/1456.
9563 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
9564 gcc_compiled with call to test_compiler_info.
9566 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
9568 Partial fix for PR testsuite/1456.
9569 * gdb.base/list.exp (test_list_function): Delete unused declaration
9572 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
9574 Partial fix for PR testsuite/1456.
9575 * gdb.base/complex.exp: Replace reference to gcc_compiled with
9576 call to test_compiler_info.
9578 2003-11-29 Mark Kettenis <kettenis@gnu.org>
9580 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
9581 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
9582 it to create the appropriate note.inc.
9583 * gdb.asm/asmsrc1.s: Include "note.inc".
9584 * gdb.asm/netbsd.inc: New file.
9585 * gdb.asm/empty.inc: New file.
9587 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
9589 Partial fix for PR testsuite/1456.
9590 * gdb.base/constvars.exp: Replace references to gcc_compiled with
9591 calls to test_compiler_info.
9593 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
9595 Partial fix for PR testsuite/1456.
9596 * gdb.base/volatile.exp: Replace references to gcc_compiled with
9597 calls to test_compiler_info.
9599 2003-11-27 Mark Kettenis <kettenis@gnu.org>
9601 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
9602 pattern for the KFAILs.
9604 2003-11-25 Adam Fedor <fedor@gnu.org>
9606 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
9607 * gdb.objc/objcdecode.m: New file.
9609 2003-11-25 Adam Fedor <fedor@gnu.org>
9611 * gdb.objc/nondebug.exp: Test for PR objc/1236.
9612 * gdb.objc/nondebug.m: New file.
9614 2003-11-26 Ben Elliston <bje@wasabisystems.com>
9616 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
9617 NetBSD as it does on FreeBSD. Modelled on a similar change by
9618 Mark Kettenis on 2003-05-30.
9619 (link-flags): Set to "--entry _start" regardless of target.
9620 Special linker flags are to be appended to $link-flags.
9621 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
9623 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9625 * gdb.cp/method.exp: Accept output of new demangler.
9627 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9629 * gdb/class2.exp: New file.
9630 * gdb/class2.cc: New file.
9632 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
9634 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
9637 2003-11-23 Mark Kettenis <kettenis@gnu.org>
9639 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
9642 2003-11-23 Mark Kettenis <kettenis@gnu.org>
9644 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
9645 "continue" into "run".
9647 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
9649 Partial fix for PR testsuite/1456.
9650 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
9651 call to test_compiler_info.
9652 * gdb.cp/ctti.exp: Likewise.
9653 * gdb.cp/derivation.exp: Likewise.
9654 * gdb.cp/member-ptr.exp: Likewise.
9655 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
9656 reference to gcc_compiled.
9658 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
9660 Fix PR testsuite/1463.
9661 * gdb.base/structs.exp (start_structs_test): Call
9662 get_debug_format before using the debug format.
9664 2003-11-22 Andrew Cagney <cagney@redhat.com>
9666 * lib/gdb.exp (gdb_test_multiple): Add simple example.
9667 * gdb.base/structs.exp: Use gdb_test_multiple.
9669 2003-11-20 Andrew Cagney <cagney@redhat.com>
9671 * gdb.base/structs.exp: Handle and recover from internal errors.
9672 Replace "foo${n}" with "foo<n>" in test messages.
9674 * gdb.base/structs.exp: Update copyright. Rewrite.
9675 * gdb.base/structs.c: Update copyright. Rewrite.
9677 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
9678 resync count exceeded.
9680 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
9681 from the internal error.
9682 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
9683 Original from Jim Blandy.
9684 (gdb_test_multiple): Use gdb_internal_error_resync.
9686 2003-11-19 Andrew Cagney <cagney@redhat.com>
9688 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
9691 2003-11-17 Mark Kettenis <kettenis@gnu.org>
9693 New testcase for PR backtrace/1435.
9694 * gdb.arch/i386-unwind.exp: New file.
9695 * gdb.arch/i386-unwind.c: New file.
9697 2003-11-17 Andrew Cagney <cagney@redhat.com>
9699 * lib/gdb.exp (compiler_info): New global.
9700 (test_compiler_info): New function.
9701 (get_compiler_info): Set compiler_info.
9702 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
9703 "compiler_info" to gcc-<major>-<minor>.
9705 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
9707 * gdb.trace/configure: Remove.
9709 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
9711 * gdb.base/break.c: Add comments to aid finding line numbers for
9713 * gdb.base/break.exp: Remove all references to explicit line
9716 2003-11-11 Nick Clifton <nickc@redhat.com>
9718 * gdb.base/shreloc.exp: Do not run for targets which do not
9719 support shared objects.
9721 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
9723 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
9724 Don't run tests if nofileio flag is given.
9726 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
9728 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
9729 as well as 'Watchpoint'.
9731 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
9733 Reported by Jim Ingham <jingham@apple.com>:
9734 * gdb.base/annota1.exp: Match at least one occurrence of the
9735 signal handler annotation.
9737 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
9739 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
9740 as well as 'Watchpoint'.
9742 2003-11-05 Michael Chastain <mec@shout.net>
9744 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
9746 2003-11-03 Kris Warkentin <kewarken@qnx.com>
9748 * gdb.arch/gdb1291.c: New test file.
9749 * gdb.arch/gdb1291.exp: New test script.
9750 * gdb.arch/gdb1431.c: New test file.
9751 * gdb.arch/gdb1431.exp: New test script.
9753 2003-10-22 Michael Chastain <mec@shout.net>
9755 * gdb.mi/pthreads.c: Add copyright notice.
9757 2003-10-22 Michael Chastain <mec@shout.net>
9759 * gdb.threads/pthreads.c: Add copyright notice.
9761 2003-10-20 Michael Chastain <mec@shout.net>
9763 * gdb.base/gdb1056.exp: New test script.
9765 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
9767 * gdb.threads/killed.exp: Use gdb_run_cmd.
9769 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
9771 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
9773 * gdb.threads/gcore-thread.exp: Likewise.
9775 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
9777 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
9778 type, based on char type.
9779 (struct bit_flags_short_t): New bitfield type, based on short type.
9780 (init_bit_flags_char): New fuction.
9781 (init_bit_flags_short): Ditto.
9782 (print_bit_flags_char): Ditto.
9783 (print_bit_flags_short): Ditto.
9784 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
9786 2003-10-11 Michael Chastain <mec@shout.net>
9788 * gdb.base/call-rt-st.exp: Update copyright year.
9790 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
9792 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
9793 * gdb.disasm/sh3.s: Ditto.
9795 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
9797 * gdb.threads/switch-threads.exp: New test.
9798 * gdb.threads/switch-threads.c: New source file.
9800 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
9802 * gdb.base/ending-run.exp: Add sh specific case.
9804 2003-10-06 Andrew Cagney <cagney@redhat.com>
9806 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
9807 * gdb.disasm/mn10200.exp: Delete obsolete file.
9809 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
9811 * ChangeLog: Correct an entry command.exp -> commands.exp.
9812 * gdb.base/commands.exp (bp_deleted_in_command_test)
9813 (temporary_breakpoint_commands): Check noargs.
9815 2003-09-25 David Carlton <carlton@kealia.com>
9817 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
9818 of some print tests, where appropriate. Add tests for C::D::cd,
9819 E::ce, F::cXfX, G::XgX.
9820 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
9822 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
9824 * lib/java.exp (java_init): Import target_alias before using it.
9826 2003-09-25 David Carlton <carlton@kealia.com>
9828 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
9830 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
9832 * gdb.base/selftest.exp: Accomodate more instruction reordering
9835 2003-09-17 Michael Chastain <mec@shout.net>
9837 * gdb.cp/gdb1355.exp: New file.
9838 * gdb.cp/gdb1355.c: New file.
9840 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
9842 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
9843 * gdb.asm/sh.inc: New file.
9845 2003-09-11 David Carlton <carlton@kealia.com>
9847 * gdb.cp/namespace.exp: Add tests for namespace types.
9848 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
9849 (test_namespace): New.
9851 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
9853 * gdb.base/relocate.exp: Handle new gdb output at startup.
9854 * gdb.stabs/weird.exp: Ditto.
9856 2003-09-08 Michael Chastain <mec@shout.net>
9858 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
9860 2003-09-07 Michael Chastain <mec@shout.net>
9862 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
9865 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
9867 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
9869 2003-08-30 Michael Chastain <mec@shout.net>
9871 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
9872 * gdb.gdb/observer.exp: Ditto.
9873 * gdb.gdb/xfullpath.exp: Ditto.
9875 2003-08-29 Mark Kettenis <kettenis@gnu.org>
9877 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
9880 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
9882 * gdb.base/dump.exp: Skip for ia64.
9884 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
9886 * gdb.asm/asm-source.exp: Add ia64 support.
9887 * gdb.asm/ia64.inc: New file.
9889 2003-08-22 Michael Chastain <mec@shout.net>
9891 * gdb.cp: New directory.
9892 * gdb.cp/*: Copy from gdb.c++/*.
9893 * gdb.c++/*: Remove.
9894 * Makefile.in: Change gdb.c++ to gdb.cp.
9895 * configure.in: Ditto.
9896 * configure: Regnerate.
9898 2003-08-18 Mark Kettenis <kettenis@gnu.org>
9900 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
9901 * gdb.arch/i386-prologue.c (gdb1338): Add function.
9903 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
9905 * mi-var-display.exp (-var-list-children weird): Accept function
9906 pointers with argument types.
9907 * mi1-var-display.exp (-var-list-children weird): Likewise.
9908 * mi2-var-display.exp (-var-list-children weird): Likewise.
9910 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
9912 * gdb.base/annota3.exp: Add missing newline.
9914 2003-08-06 Michael Chastain <mec@shout.net>
9916 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
9918 2003-08-12 Michael Snyder <msnyder@redhat.com>
9920 * gdb.base/float.exp: Add test for SH.
9922 2003-08-10 Mark Kettenis <kettenis@gnu.org>
9924 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
9926 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
9928 * gdb.base/completion.exp: Remove reduntant completion test
9931 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
9933 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
9934 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
9935 gdb.trace/save-trace.exp: Make sure that full pathnames are
9938 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
9940 * configure.in: Don't generate config.h from config.hin.
9941 * configure: Regenerate.
9942 * config.hin: Remove file.
9943 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
9944 * gdb.threads/pthreads.c: Ditto.
9946 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
9948 From Kei Sakamoto <sakamoto.kei@renesas.com>:
9949 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
9950 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
9951 Replace ld24 with seth/add3.
9953 2003-08-02 Andrew Cagney <cagney@redhat.com>
9955 * gdb.base/annota3.exp: New file.
9956 * gdb.base/annota3.c: New file.
9957 * gdb.c++/annota3.exp: New file.
9958 * gdb.c++/annota3.cc: New file.
9960 2003-07-29 Michael Chastain <mec@shout.net>
9962 * gdb.threads/tls.c (spin): Check errno only if sem_wait
9964 (do_pass): Likewise.
9965 * gdb.threads/tls.exp: Always initialize no_of_threads.
9967 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
9969 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
9971 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
9972 * gdb.threads/tls.exp: Recognize one case of the host library not
9975 2003-07-27 Andrew Cagney <cagney@redhat.com>
9977 * gdb.base/fileio.exp: Use SH when running commands using
9980 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
9982 From Kei Sakamoto <sakamoto.kei@renesas.com>:
9983 * gdb.base/relocate.c (dummy): New padding array.
9985 2003-07-22 Michael Snyder <msnyder@redhat.com>
9987 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
9989 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
9990 patterns to be more general, accepting old and new output.
9991 Some output chars (such as '+') also must be quoted.
9992 Some addresses are displayed numerically instead of
9995 2003-07-23 Michael Snyder <msnyder@redhat.com>
9997 * gdb.base/return2.exp: Don't test long-long return.
9999 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
10000 * gdb.disasm/t01_mov.exp: Ditto.
10001 * gdb.disasm/t02_mova.s: Ditto.
10002 * gdb.disasm/t02_mova.exp: Ditto.
10003 * gdb.disasm/t03_add.s: Ditto.
10004 * gdb.disasm/t03_add.exp: Ditto.
10005 * gdb.disasm/t04_sub.s: Ditto.
10006 * gdb.disasm/t04_sub.exp: Ditto.
10007 * gdb.disasm/t05_cmp.s: Ditto.
10008 * gdb.disasm/t05_cmp.exp: Ditto.
10009 * gdb.disasm/t06_ari2.s: Ditto.
10010 * gdb.disasm/t06_ari2.exp: Ditto.
10011 * gdb.disasm/t07_ari3.s: Ditto.
10012 * gdb.disasm/t07_ari3.exp: Ditto.
10013 * gdb.disasm/t08_or.s: Ditto.
10014 * gdb.disasm/t08_or.exp: Ditto.
10015 * gdb.disasm/t09_xor.s: Ditto.
10016 * gdb.disasm/t09_xor.exp: Ditto.
10017 * gdb.disasm/t10_and.s: Ditto.
10018 * gdb.disasm/t10_and.exp: Ditto.
10019 * gdb.disasm/t11_logs.s: Ditto.
10020 * gdb.disasm/t11_logs.exp: Ditto.
10021 * gdb.disasm/t12_bit.s: Ditto.
10022 * gdb.disasm/t12_bit.exp: Ditto.
10023 * gdb.disasm/t13_otr.s: Ditto.
10024 * gdb.disasm/t13_otr.exp: Ditto.
10026 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
10028 * gdb.threads/tls.exp :Add kfail for 'info address' case.
10030 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
10032 * gdb.threads/tls.c : New file.
10033 * gdb.threads/tls.exp : New file.
10034 * gdb.threads/tls-main.c : New file.
10035 * gdb.threads/tls-shared.c : New file.
10036 * gdb.threads/tls-shared.exp : New file.
10038 2003-07-22 Andreas Schwab <schwab@suse.de>
10040 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
10042 2003-07-20 Andreas Schwab <schwab@suse.de>
10044 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
10045 due to insn reordering.
10047 2003-07-15 Andrew Cagney <cagney@redhat.com>
10049 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
10051 2003-07-15 Michael Chastain <mec@shout.net>
10053 * gdb.base/gdb1250.exp: New file.
10054 * gdb.base/gdb1250.c: New file.
10056 2003-07-09 Michal Ludvig <mludvig@suse.cz>
10058 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
10059 expansion of size_t to 'unsigned long', not only to 'unsigned'.
10061 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
10063 * gdb.threads/tls.c: New file.
10064 * gdb.threads/tls.exp: New file.
10065 * gdb.threads/tls-main.c: New file.
10066 * gdb.threads/tls-shared.c: New file.
10067 * gdb.threads/tls-shared.exp: New file.
10069 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
10071 * gdb.base/annota1.exp: Make sure that we properly escape the
10072 full path of the source file. Xfail more permissive patterns,
10073 due to a compiler debug info problem.
10075 2003-07-07 Andreas Schwab <schwab@suse.de>
10077 * gdb.asm/m68k.inc: New file.
10078 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
10080 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
10081 arguments"): Also match negative number.
10083 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
10085 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
10087 * gdb.base/store.c (charest): New typedef.
10088 (add_char): Rename to add_charest, update.
10089 (wack_char): Rename to wack_charest, update types. Return l + r
10090 to keep r live across the call.
10091 (wack_short, wack_int, wack_long, wack_longest, wack_float)
10092 (wack_double, wack_doublest): Return l + r to keep r live across
10094 * gdb.base/store.exp: Accomodate store.c changes.
10096 2003-06-30 David Carlton <carlton@kealia.com>
10098 * gdb.c++/maint.exp (test_invalid_name): New.
10099 (test_first_component): Add tests for invalid names.
10101 2003-06-29 Michael Chastain <mec@shout.net>
10103 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
10104 output of '<VTT for class>' for virtual base classes.
10106 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10108 * gdb.base/completion.exp: Tab-complete "complet" instead of
10110 * gdb.base/complex.exp, gdb.base/complex.c: New files.
10112 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10114 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
10115 * gdb.base/volatile.exp: Likewise.
10117 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
10119 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
10122 2003-06-28 Michael Chastain <mec@shout.net>
10123 Daniel Jacobowitz <drow@mvista.com>
10125 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
10126 initial line count of 'captured_main' from 26 to 32.
10127 (test_with_self): Allow xmalloc call to be interleaved with the
10128 preceding two lines.
10130 2003-06-24 Joel Brobecker <brobecker@gnat.com>
10132 * gdb.base/bang.exp: New testcase.
10134 2003-06-23 Joel Brobecker <brobecker@gnat.com>
10136 * gdb.base/langs.exp: Add some tests for the "minimal" language
10139 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
10141 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
10144 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
10146 * gdb.base/relocate.exp: Test add-symbol-file with a variable
10149 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
10151 * gdb.c++/pr-1210.cc: New file.
10152 * gdb.c++/pr-1210.exp: New file.
10154 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
10156 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
10159 2003-06-15 Mark Kettenis <kettenis@gnu.org>
10161 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
10162 on *-*-*bsd* instead of *-*-freebsd*.
10164 2003-06-14 Andrew Cagney <cagney@redhat.com>
10166 * gdb.base/store.exp: Test longest and doublest. Test all
10167 parameters. Weaken return statement match.
10168 * gdb.base/store.c: Add longest and doublest - aka long long and
10169 long double functions. Put all parameters into local register
10170 variables. Use negative values.
10172 2003-06-14 Andrew Cagney <cagney@redhat.com>
10174 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
10175 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
10177 * gdb.base/fileio.exp: Disable target when nointerrupts and
10178 noinferiorio, instead of limiting it to remote. Use remote_exec
10181 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
10183 * gdb.base/float.exp: Add ia64 support.
10185 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
10187 * gdb.base/fileio.exp: Run only on remote targets.
10189 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
10191 * gdb.base/fileio.c: New file, testing File-I/O.
10192 * gdb.base/fileio.exp: Ditto.
10194 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
10196 * gdb.base/shreloc.exp: New file, check symbol values obtained from
10197 shared objects after relocation at load time (gdb PR/1132).
10198 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
10199 as above, part of the shared object relocation test.
10201 2003-06-08 Mark Kettenis <kettenis@gnu.org>
10203 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
10204 fully filled history list.
10205 * gdb.base/gdb_history: New file.
10207 * gdb.base/signals.exp: XFAIL "continue to func1" on
10210 * gdb.base/attach.exp: When trying to attach to a nonexistent
10211 process, make it possible to specify the PID based on the target,
10212 and do so for *-*-freebsd*.
10214 2003-06-02 Richard Henderson <rth@redhat.com>
10216 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
10218 2003-06-02 Richard Henderson <rth@redhat.com>
10220 * gdb.base/selftest.exp: Next over lim_at_start initialization.
10222 2003-06-02 Richard Henderson <rth@redhat.com>
10224 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
10226 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
10228 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
10231 2003-06-01 Mark Kettenis <kettenis@gnu.org>
10233 * gdb.asm/asm-source.exp: Check for memory read errors in
10234 disassembler test on *BSD too.
10236 2003-06-01 Richard Henderson <rth@redhat.com>
10238 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
10240 (gdbasm_call): Lose ldgp.
10241 (gdbasm_startup): Add frame information.
10242 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
10244 2003-05-31 Mark Kettenis <kettenis@gnu.org>
10246 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
10249 2003-05-30 Mark Kettenis <kettenis@gnu.org>
10251 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
10254 2003-05-29 Richard Henderson <rth@redhat.com>
10256 * gdb.asm/alpha.inc: New file.
10257 * gdb.asm/asm-source.exp: Use it.
10259 2003-05-29 Jim Blandy <jimb@redhat.com>
10261 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
10264 2003-05-22 Jim Blandy <jimb@redhat.com>
10266 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
10269 2003-05-20 David Carlton <carlton@math.stanford.edu>
10271 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
10274 2003-05-19 David Carlton <carlton@bactrian.org>
10276 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
10277 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
10279 2003-05-19 David Carlton <carlton@bactrian.org>
10281 * gdb.c++/namespace.exp: Add namespace scope and anonymous
10283 Bump copyright date.
10284 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
10285 (main): Call C::D::marker2.
10286 * gdb.c++/namespace1.cc: New file.
10288 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
10290 Roland McGrath <roland@redhat.com>
10291 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
10292 there is no manager thread.
10294 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
10296 * gdb.threads/schedlock.exp: Remove assumption that all threads
10297 will run in a particular small time slice. Also ensure we break
10298 in one of the child threads rather than the main thread.
10300 2003-05-07 Jim Blandy <jimb@redhat.com>
10302 Add support for assembly source testing on the s390x.
10303 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
10305 * gdb.asm/s390x.inc: New file.
10307 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
10308 succession of 'if' statements.
10310 2003-05-05 Andrew Cagney <cagney@redhat.com>
10312 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
10314 2003-05-05 Andrew Cagney <cagney@redhat.com>
10316 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
10317 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
10319 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
10321 * gdb.base/charset.exp: Update based on new behavior of set/show
10324 2003-05-01 Andrew Cagney <cagney@redhat.com>
10326 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
10327 variable do not give memory errors.
10329 2003-04-30 Adam Fedor <fedor@gnu.org>
10331 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
10332 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
10333 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
10334 gdb.objc/basicclass.m: : New files
10336 * lib/gdb.exp (gdb_compile_objc): New procedure.
10338 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
10340 * gdb.base/signals.exp: Make backtrace tests more specific.
10342 2003-04-23 David Carlton <carlton@bactrian.org>
10344 * gdb.c++/maint.exp (test_first_component): Add tests for
10345 'operator' in more locations.
10347 2003-04-16 Kevin Buettner <kevinb@redhat.com>
10349 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
10351 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
10353 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
10354 func marke' instead. Update test name.
10356 2003-04-15 David Carlton <carlton@math.stanford.edu>
10358 * gdb.c++/maint.exp: New file.
10360 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
10362 * gdb.threads/schedlock.c: Change type of thread function argument
10363 to long, to avoid warnings on 64-bit platforms.
10365 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
10367 * gdb.base/attach.exp: Add new message from ptrace in case of
10368 attaching to nonexistent process.
10370 2003-04-11 Jim Blandy <jimb@redhat.com>
10372 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10373 gdb.c++/userdef.cc: Place comments on the lines to which the
10374 marker function might return.
10375 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10376 gdb.c++/userdef.exp: Look for those comments to check that we've
10377 returned to the right place, instead of checking line numbers.
10379 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
10381 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
10382 match on sourcefile name, instead of directory name.
10384 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
10386 * gdb.base/completion.exp: Use string_to_regexp to match the
10387 working directory name.
10389 2003-04-09 Jim Blandy <jimb@redhat.com>
10391 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
10392 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
10393 after an inferior function call, report the failure, but allow the
10396 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
10398 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
10401 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
10403 * gdb.base/break.exp: Revert last patch.
10405 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
10407 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
10410 2003-04-02 Andrew Cagney <cagney@redhat.com>
10412 * gdb.base/callfuncs.exp: Make "print add" messages unique.
10413 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
10414 matching directories by the name breakpoint.
10415 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
10416 Make "continue to marker1" consistent.
10417 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
10418 message consistent.
10419 * lib/gdb.exp: Put "the program is no longer running", and "the
10420 program exited" in parenthesis.
10421 * lib/mi-support.exp: Ditto.
10423 2003-04-02 Bob Rossi <bob_rossi@cox.net>
10425 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
10427 2003-03-29 Andrew Cagney <cagney@redhat.com>
10429 * gdb.base/sizeof.c (main): Print the value of '\377'.
10430 * gdb.base/sizeof.exp: Check the sign of '\377'.
10432 2003-03-27 Michael Chastain <mec@shout.net>
10434 * gdb.base/gdb1090.exp: New file.
10435 * gdb.base/gdb1090.cc: New file.
10437 2003-03-27 J. Brobecker <brobecker@gnat.com>
10439 * gdb.gdb/observer.exp: New regression test.
10441 2003-03-27 Michael Chastain <mec@shout.net>
10443 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
10444 * gdb.base/ptype.exp: Likewise.
10446 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
10448 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
10450 2003-03-26 Michael Chastain <mec@shout.net>
10452 * gdb.base/ptype.exp: Actually use some typedef'd types.
10454 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
10456 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
10457 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
10459 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10461 * gdb.base/default.exp: Fix regular expression.
10463 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10465 * gdb.base/args.exp: Fix regular expression.
10467 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10469 * gdb.base/help.exp: Allow Win32 child process.
10471 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10473 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
10474 when stepping out of main().
10476 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10478 * gdb.base/default.exp: Check for win32 specific message when calling
10479 "run" without executable.
10481 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10483 * gdb.base/args.exp: Expect .exe in output.
10485 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
10487 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
10490 2003-03-17 Andrew Cagney <cagney@redhat.com>
10492 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
10494 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
10495 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
10497 2003-03-17 David Carlton <carlton@math.stanford.edu>
10499 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
10500 test, for PR breakpoints/38.
10501 Call test_watchpoint_and_breakpoint.
10502 * gdb.base/watchpoint.c (func3): New function.
10503 (main): Call func3.
10505 2003-03-04 David Carlton <carlton@math.stanford.edu>
10507 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
10508 Garply<Garply<char> >:: garply".
10509 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
10510 with respect to PR c++/1111; note also PR c++/1113.
10511 (test_template_breakpoints): KFAIL "constructor breakpoint" with
10512 respect to PR c++/1062.
10513 KFAIL "destructor breakpoint" with respect to PR c++/1112.
10515 2003-03-03 David Carlton <carlton@math.stanford.edu>
10517 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
10518 with respect to PR c++/57.
10519 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
10521 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
10522 respect to PR c++/57.
10524 2003-03-03 David Carlton <carlton@math.stanford.edu>
10526 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
10527 respect to PR c++/33 into FAILs.
10529 2003-03-03 Michael Chastain <mec@shout.net>
10531 * configure.in: Update copyright years.
10533 2003-03-03 Michael Chastain <mec@shout.net>
10535 * Makefile.in: Update copyright years.
10537 2003-02-28 David Carlton <carlton@math.stanford.edu>
10539 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
10540 print class instead of struct and/or superfluous protection
10541 specifiers, as long as the resulting output is equivalent to the
10543 Delete FIXME from end of messages on tests that don't need
10546 2003-02-28 David Carlton <carlton@math.stanford.edu>
10548 * gdb.c++/templates.exp (do_tests): Allow const in the two
10549 Foo<volatile char *>::foo tests.
10551 2003-02-27 Michael Snyder <msnyder@redhat.com>
10553 * gdb.base/restore.c (main): Return zero, so exit code
10554 will be consistant.
10556 2003-02-26 David Carlton <carlton@math.stanford.edu>
10558 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
10559 char *>::foo" test with respect to PR c++/33. Create a new test
10560 which is identical to that one except that it doesn't put the
10561 space between the "char" and the "*"; KFAIL it, too.
10563 2003-02-26 David Carlton <carlton@math.stanford.edu>
10565 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
10566 template types into either PASSes or KFAILs (corresponding to PR
10567 c++/57). Tweak indentation. Update copyright.
10569 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
10571 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
10573 2003-02-13 Michael Chastain <mec@shout.net>
10575 * gdb.base/exprs.exp: Remove i960 remnants.
10576 * gdb.base/funcargs.exp: Likewise.
10577 * gdb.base/list.exp: Likewise.
10578 * gdb.base/ptype.exp: Likewise.
10580 2003-02-14 David Carlton <carlton@math.stanford.edu>
10582 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
10583 pEe->D::vg()" from XFAIL to KFAIL.
10585 2003-02-13 Jason Molenda (jmolenda@apple.com)
10587 * gdb.base/maint.exp: Update maint print statistics regexp to include
10590 2003-02-13 Michael Chastain <mec@shout.net>
10592 * gdb.c++/inherit.exp: Remove call to get_debug_format.
10594 2003-02-12 Michael Chastain <mec@shout.net>
10596 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
10597 * gdb.c++/inherit.exp: Likewise.
10598 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
10599 * gdb.c++/templates.exp: Likewise.
10600 * gdb.c++/virtfunc.exp: Likewise.
10602 2003-02-06 Jason Molenda (jason-cl@molenda.com)
10604 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
10605 why the code is written that way.
10607 2003-02-05 Michael Chastain <mec@shout.net>
10609 * gdb.base/dump.exp: Add missing copyright line.
10611 2003-02-05 Jason Molenda (jason-cl@molenda.com)
10613 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
10614 at the beginning so the breakpoint doesn't get set on the loop.
10616 2003-02-05 Michael Chastain <mec@shout.net>
10618 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
10619 output for configurations with gcc 2.95.3.
10621 2003-02-05 Keith Seitz <keiths@redhat.com>
10622 Andrew Cagney <ac131313@redhat.com>
10624 * gdb.mi/mi-cli.exp: New file.
10626 2003-02-04 Michael Chastain <mec@shout.net>
10628 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
10629 Call perror and then continue.
10631 2003-02-03 Michael Chastain <mec@shout.net>
10633 * gdb.c++/pr-1023.cc: New file.
10634 * gdb.c++/pr-1023.exp: New file.
10636 2003-02-05 Jim Blandy <jimb@redhat.com>
10638 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
10639 it's local to foobar. Check for it there, and check that it's not
10641 * gdb.c++/local.cc (marker2): New function.
10642 (foobar): Call marker1.
10643 (main): Call marker2 instead of marker1.
10645 2003-02-04 Andrew Cagney <ac131313@redhat.com>
10647 * gdb.disasm/mn10200.exp: Obsolete file.
10648 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
10649 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
10650 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
10652 2003-02-04 David Carlton <carlton@math.stanford.edu>
10654 * gdb.c++/overload.exp: Test intToChar(1).
10655 * gdb.c++/overload.cc (intToChar): New.
10656 (main): Call intToChar.
10658 2003-02-03 David Carlton <carlton@math.stanford.edu>
10660 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
10662 KFAIL some of the continue_to_bp_overloaded calls, according to
10665 2003-02-01 Michael Chastain <mec@shout.net>
10667 * gdb.base/advance.c (marker1): New marker function.
10668 * gdb.base/advance.exp: When the 'advance' command lands on the
10669 return breakpoint, it can legitimately stop on either the
10670 current line or the next line. Accommodate both outcomes.
10671 * gdb.base/until.exp: Likewise.
10673 2003-02-02 Andrew Cagney <ac131313@redhat.com>
10675 2002-11-10 Jason Molenda (jason-cl@molenda.com):
10676 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
10677 now a list, not a tuple.
10678 * gdb.mi/mi-var-display.exp: Ditto.
10679 * gdb.mi/gdb792.exp: Ditto.
10681 2003-02-01 Andrew Cagney <ac131313@redhat.com>
10683 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
10684 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
10686 * gdb.mi/mi-syn-frame.c: Part of same.
10688 2003-02-01 Mark Kettenis <kettenis@gnu.org>
10690 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
10691 gdb.mi/mi1-pthreads.exp: Return instead of calling
10692 gdb_suppress_entire_file.
10694 2003-02-01 Mark Salter <msalter@redhat.com>
10696 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
10698 2003-01-31 Mark Salter <msalter@redhat.com>
10700 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
10703 2003-01-30 Michael Chastain <mec@shout.net>
10705 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
10706 This was a workaround for a UTF-8 bug in readline 4.3. The bug
10707 has been fixed in gdb/readline on 2003-01-09.
10709 2003-01-29 Michael Snyder <msnyder@redhat.com>
10711 * gdb.base/maint.exp: Allow for leading underscore in symbol.
10712 * gdb.base/display.exp: Allow for leading underscore in symbol.
10713 * gdb.base/args.exp: Skip if target does not support args passing.
10715 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
10717 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
10718 gdb_test. Accept a list of expect arguments as the third
10720 (gdb_test): Use it.
10722 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
10724 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
10725 allow for different test tree configurations. Update some
10726 tescases accordingly.
10727 * gdb.arch/altivec-regs.exp: Ditto.
10728 * gdb.asm/asm-source.exp: Ditto.
10729 * gdb.base/advance.exp: Ditto.
10730 * gdb.base/display.exp: Ditto.
10731 * gdb.base/long_long.exp: Ditto.
10732 * gdb.base/mips_pro.exp: Ditto.
10733 * gdb.base/overlays.exp: Ditto.
10734 * gdb.base/relocate.exp: Ditto.
10735 * gdb.base/setshow.exp: Ditto.
10736 * gdb.base/step-line.exp: Ditto.
10737 * gdb.base/step-test.exp: Ditto.
10738 * gdb.base/until.exp: Ditto.
10739 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
10741 2003-01-17 David Carlton <carlton@math.stanford.edu>
10743 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
10744 corresponding to PR c++/945.
10747 2003-01-17 David Carlton <carlton@math.stanford.edu>
10749 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
10750 corresponding to PR c++/68.
10752 2003-01-17 David Carlton <carlton@math.stanford.edu>
10754 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
10755 (test_paddr_hairy_functions): Call print_addr_2_kfail for
10756 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
10758 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
10760 * gdb.base/break.exp: Fix change of default location, because of
10761 removal of until tests.
10762 * gdb.base/help.exp: Update test for new 'until' help message.
10763 Add test for help on 'advance'.
10764 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
10766 2003-01-15 Mark Kettenis <kettenis@gnu.org>
10768 * gdb.base/default.exp: Adapt "info float" test for recent changes
10769 to that command. Add test for "info vector".
10770 * gdb.base/float.exp: New file. Add test for "info float" that
10771 resembles the old test in gdb.base/default.exp.
10773 2003-01-15 David Carlton <carlton@math.stanford.edu>
10775 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
10777 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
10779 * gdb.base/break.exp: Move the tests of until command from here...
10780 * gdb.base/until.exp: ... to here. New file. Add other tests.
10781 * gdb.base/advance.c: New file.
10782 * gdb.base/advance.exp: New file.
10784 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
10786 * gdb.base/args.c: New file.
10787 * gdb.base/args.exp: New file.
10789 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
10791 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
10793 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
10795 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
10797 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
10799 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
10802 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
10804 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
10806 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
10808 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
10810 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
10812 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
10814 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
10815 * gdb.mi/mi1-console.exp: Likewise.
10817 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
10819 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
10820 * gdb.mi/mi1-console.exp: Likewise.
10822 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
10824 * gdb.c++/overload.exp: Remove some fixed XFAILs.
10826 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
10828 * gdb.base/detach.exp: New test.
10830 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
10832 * Makefile.in (ALL_SUBDIRS): New variable.
10833 (subdirs, clean, distclean): Use it.
10834 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
10835 regenerating Makefile, since it is generated from the top level.
10836 * gdb.asm/Makefile.in: Likewise.
10837 * gdb.base/Makefile.in: Likewise.
10838 * gdb.c++/Makefile.in: Likewise.
10839 * gdb.disasm/Makefile.in: Likewise.
10840 * gdb.java/Makefile.in: Likewise.
10841 * gdb.mi/Makefile.in: Likewise.
10842 * gdb.threads/Makefile.in: Likewise.
10843 * gdb.trace/Makefile.in: Likewise.
10845 2003-01-09 David Carlton <carlton@math.stanford.edu>
10847 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
10848 Add copyright year 2003.
10850 2003-01-06 Michael Chastain <mec@shout.net>
10852 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
10853 When selecting a thread, 'line' and 'file' are optional.
10854 * gdb.mi/mi1-pthreads.exp: Likewise.
10856 2003-01-06 Andreas Schwab <schwab@suse.de>
10858 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
10861 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
10864 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
10865 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
10867 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
10868 instead of calling gdb_suppress_entire_file.
10869 * gdb.threads/print-threads.exp: Likewise.
10870 * gdb.threads/schedlock.exp: Likewise.
10872 * gdb.threads/killed.exp: Return instead of calling
10873 gdb_suppress_entire_file.
10874 * gdb.threads/linux-dp.exp: Likewise.
10875 * gdb.threads/pthreads.exp: Likewise.
10877 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
10879 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
10881 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
10882 * gdb.base/whatis.exp: Always allow (void) after function names.
10884 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
10886 * gdb.c++/casts.exp: Correct regexp.
10888 2003-01-04 Mark Kettenis <kettenis@gnu.org>
10890 * configure.in: Call AC_CONFIG_HEADER. Don't call
10891 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
10892 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
10893 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
10894 aforementioned directories in the AC_OUPUT call.
10895 * config.hin: New file.
10896 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
10897 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
10898 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
10899 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
10900 pass -I$objdir instead of -I$objdir/$subdir in compilation.
10901 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
10902 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
10903 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
10904 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
10905 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
10906 gdb.threads/configure.in, gdb.threads/configure,
10907 gdb.threads/config.in, gdb.trace/configure.in,
10908 gdb.trace/configure: Removed.
10910 2003-01-03 Michael Chastain <mec@shout.net>
10912 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
10913 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
10915 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
10917 * gdb.base/store.exp: Fix regular expressions.
10919 2002-12-28 Mark Kettenis <kettenis@gnu.org>
10921 * configure.in: Rewrite.
10922 * configure: Regenerated.
10924 2003-01-03 David Carlton <carlton@math.stanford.edu>
10926 * gdb.base/psymtab.exp: New file.
10927 * gdb.base/psymtab1.c: Ditto.
10928 * gdb.base/psymtab2.c: Ditto.
10930 2002-12-23 Adam Fedor <fedor@gnu.org>
10932 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
10934 2002-12-23 David Carlton <carlton@math.stanford.edu>
10936 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
10937 and current_directory initialization.
10939 2002-12-22 Jim Blandy <jimb@redhat.com>
10941 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
10942 rather than as part of the output file name.
10944 * gdb.base/attach.exp: There's no need to copy the test program to
10945 /tmp; that was only ever necessary on HP/UX, and this test is
10946 entirely disabled there anyway.
10948 2002-12-21 Jim Blandy <jimb@redhat.com>
10950 * gdb.c++/psmang.exp: Doc fix.
10952 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
10955 2002-12-20 David Carlton <carlton@math.stanford.edu>
10957 * gdb.c++/annota2.exp: KFAIL annotate-quit.
10959 2002-12-18 Michael Chastain <mec@shout.net>
10961 * gdb.c++/annota2.exp: Add copyright year 2002.
10963 2002-12-17 David Carlton <carlton@math.stanford.edu>
10965 * gdb.c++/try_catch.cc: Add marker comments.
10966 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
10967 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
10968 * gdb.c++/m-static.cc: Ditto.
10969 * gdb.c++/m-static1.cc: Ditto.
10970 * gdb.c++/try_catch.cc: Ditto.
10972 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
10974 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
10975 to see whether we are using the new -environment-directory
10976 command which resets via -r or the old version of the command
10977 which may prompt the user. Part of fix for gdb/741.
10979 2002-12-13 Andrew Cagney <ac131313@redhat.com>
10981 * gdb.fortran/types.exp: Update obsolete comment.
10982 * gdb.fortran/exprs.exp: Ditto.
10983 * lib/gdb.exp: Delete obsolete code.
10984 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
10985 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
10986 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
10987 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
10988 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
10989 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
10990 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
10991 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
10992 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
10993 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
10994 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
10995 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
10996 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
10997 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
10998 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
10999 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
11000 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
11001 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
11002 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
11003 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
11004 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
11005 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
11006 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
11007 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
11008 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
11009 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
11010 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
11011 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
11012 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
11013 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
11014 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
11015 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
11016 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
11017 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
11018 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
11019 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
11020 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
11022 2002-12-11 David Carlton <carlton@math.stanford.edu>
11024 * gdb.c++/m-data.exp: Add test for members that shadow global
11025 variables: see PR gdb/804.
11026 * gdb.c++/m-data.cc: Ditto.
11028 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
11030 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
11032 2002-12-06 David Carlton <carlton@math.stanford.edu>
11034 * gdb.base/store.c: Don't declare functions static.
11036 2002-12-04 Andrew Cagney <ac131313@redhat.com>
11038 * gdb.base/store.exp, gdb.base/store.c: New files.
11040 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11042 * gdb.base/selftest.exp: Update for current gdb.
11044 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11046 * gdb.base/maint.exp: Only dump symbols from one source file
11049 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
11051 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
11054 2002-11-25 Jim Blandy <jimb@redhat.com>
11056 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
11057 function appearing in error message.
11059 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
11061 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
11063 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
11065 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
11066 for mi1 and current mi is in correct format. New mi startup message
11067 should be in mi console format. This is part of fix for PR gdb/604.
11069 2002-09-18 Fernando Nasser <fnasser@redhat.com>
11071 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
11072 which explicitly prints the zero offset as "+0".
11074 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
11076 * gdb.threads/schedlock.c (args): Make unsigned.
11078 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
11080 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
11081 numbers. Allow "foo2|selected stack frame".
11082 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
11083 * gdb.asm/asmsrc2.s: Likewise.
11084 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
11086 * gdb.asm/mips.inc: New file.
11088 2002-10-18 Adam Fedor <fedor@gnu.org>
11090 * gdb.base/default.exp: Update expected output to include 'ObjC'.
11091 * gdb.base/help.exp: Likewise.
11093 2002-10-17 Kevin Buettner <kevinb@redhat.com>
11095 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
11096 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
11098 2002-10-02 Jim Blandy <jimb@redhat.com>
11100 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
11102 2002-10-01 Andrew Cagney <ac131313@redhat.com>
11104 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
11105 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
11106 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
11107 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
11108 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
11109 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
11110 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
11112 2002-09-29 Andrew Cagney <ac131313@redhat.com>
11114 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
11115 * mi0-disassemble.exp, mi0-eval.exp: Delete.
11116 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
11117 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
11118 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
11119 * mi0-var-block.exp, mi0-var-child.exp: Delete.
11120 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
11122 2002-09-27 Kevin Buettner <kevinb@redhat.com>
11124 * gdb.base/annota1.exp (info break): Make directory components of
11125 path optional since not all compilers emit this debug information.
11127 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
11128 step ends up stepping out of the function instead of stopping on
11131 2002-09-26 Keith Seitz <keiths@redhat.com>
11133 * lib/insight-support.exp (gdbtk_start): Figure out where
11134 the insight executable is based on where gdb is. Use this
11135 executable to start insight instead of gdb.
11137 2002-09-25 Andrew Cagney <cagney@redhat.com>
11139 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
11141 2002-09-24 Andrew Cagney <ac131313@redhat.com>
11143 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
11144 test_isolated_complaints.
11145 (test_empty_complaint): New function.
11146 (test_empty_complaints): New function. Check no output when no
11149 2002-09-19 Jim Blandy <jimb@redhat.com>
11151 * gdb.base/charset.exp, gdb.base/charset.c: New files.
11153 2002-09-19 Andrew Cagney <ac131313@redhat.com>
11155 * gdb.gdb/complaints.exp: New file.
11157 2002-09-18 Andrew Cagney <ac131313@redhat.com>
11159 * gdb.base/maint.exp: Check `help maint internal-warning'.
11161 2002-09-18 David Carlton <carlton@math.stanford.edu>
11163 * gdb.c++/m-static.exp: Remove breakpoints depending on line
11164 numbers, and replace them by a single breakpoint after the
11165 constructors are all finished.
11167 * gdb.c++/m-static.cc: Add test 4.
11168 * gdb.c++/m-static.h: New file.
11169 * gdb.c++/m-static1.cc: New file.
11171 * gdb.c++/printmethod.exp: New file.
11172 * gdb.c++/printmethod.cc: New file.
11174 * gdb.c++/pr-574.exp: New file.
11175 * gdb.c++/pr-574.cc: New file.
11177 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11179 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
11180 embedded targets which never actually exit.
11182 2002-09-18 Fernando Nasser <fnasser@redhat.com>
11184 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
11185 "don't step after run" as unresolved or unsupported, instead of xfail.
11187 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11189 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
11190 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
11191 Add newline to expected string in "step out of main (status wrapper)"
11194 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
11196 * lib/gdb.exp (rerun_to_main): Allow restarting application.
11197 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
11199 2002-09-17 Tom Tromey <tromey@redhat.com>
11201 * gdb.base/printcmds.exp (test_print_string_constants): Expect
11202 \000, not \0, in double-quoted string.
11204 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
11206 * gdb.base/commands.exp: Don't expect a "Program exited normally"
11207 string after running the commands execution on breakpoint tests.
11209 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
11211 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
11213 2002-09-12 Joel Brobecker <brobecker@gnat.com>
11215 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
11217 2002-09-10 Keith Seitz <keiths@redhat.com>
11219 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
11221 (mi_run_to_main): Use mi_runto.
11222 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
11224 2002-09-10 Keith Seitz <keiths@redhat.com>
11226 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
11227 regexp for stopping at main. Could have multiple event notifications.
11228 Don't assume that main was declared with no parameters.
11229 (mi_next): Use mi_step_to.
11230 (mi_step): Use mi_next_to.
11232 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
11234 * gdb.base/default.exp: Fix expected string in `info float' test.
11236 2002-09-09 Ben Elliston <bje@redhat.com>
11238 * config/mips.exp: Update comments.
11239 * config/mips-idt.exp: Likewise.
11240 * config/nind.exp: Likewise.
11241 * config/slite.exp: Likewise.
11242 * config/sparclet.exp: Likewise.
11243 * config/udi.exp: Likewise.
11244 * config/vx.exp: Likewise.
11245 * config/vxworks29k.exp: Likewise.
11247 2002-09-05 Jim Blandy <jimb@redhat.com>
11249 * gdb.threads/killed.exp: Fix test failure message.
11251 2002-09-04 Keith Seitz <keiths@redhat.com>
11253 * lib/mi-support.exp: Update copyright.
11254 (mi_gdb_test): Increase the priority of the expected pattern
11255 so that it matches gdb_test.
11257 2002-09-03 Keith Seitz <keiths@redhat.com>
11259 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
11260 Use integer comparison instead of string comparison for testing
11261 whether binary was built.
11263 2002-09-03 Jim Blandy <jimb@redhat.com>
11265 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
11267 2002-08-29 Jim Blandy <jimb@redhat.com>
11269 * gdb.threads/pthreads.exp: Move the portable thread compilation
11270 code into a function in lib/gdb.exp, and call that from here.
11271 * lib/gdb.exp (gdb_compile_pthreads): New function.
11273 2002-08-29 Keith Seitz <keiths@redhat.com>
11275 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
11276 expect_out so that callers can get at it.
11278 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
11280 * gdb.threads/print-threads.c: New file.
11281 * gdb.threads/print-threads.exp: New file.
11282 * gdb.threads/schedlock.c: New file.
11283 * gdb.threads/schedlock.exp: New file.
11285 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
11287 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
11290 2002-08-17 Mark Kettenis <kettenis@gnu.org>
11292 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
11293 targets. The problem should be fixed now.
11295 2002-08-15 Mark Kettenis <kettenis@gnu.org>
11297 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
11298 2002-07-24 change that removes final dots from error messages.
11300 2002-08-13 Tom Tromey <tromey@redhat.com>
11302 * gdb.base/readline.exp: New file.
11304 2002-08-01 Andrew Cagney <ac131313@redhat.com>
11306 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
11309 2002-08-01 Andrew Cagney <cagney@redhat.com>
11311 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
11312 CHILL_FOR_TARGET and CHILL_LIB.
11313 * configure.in (configdirs): Remove gdb.chill.
11314 * configure: Regenerate.
11315 * lib/gdb.exp: Obsolete references to chill.
11316 * gdb.fortran/types.exp: Ditto.
11317 * gdb.fortran/exprs.exp: Ditto.
11319 2002-07-30 Kevin Buettner <kevinb@redhat.com>
11321 * gdb.base/shlib-call.exp (additional_flags): Conditionally
11322 set Irix-specific compile and link flags.
11324 2002-07-29 Kevin Buettner <kevinb@redhat.com>
11326 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
11327 source files. The ``-o'' option doesn't work with the ``-E'' option
11328 when using the Irix compiler.
11330 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
11332 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
11333 Improve support for reusing an exec file. Copy exec file
11334 to target, and run gdbserver on the target instead of on the host.
11336 2002-07-18 Jim Blandy <jimb@redhat.com>
11338 * gdb.base/ending-run.exp: Don't expect to see the program end in
11339 some orderly fashion when we're running on a real stand-alone
11342 * gdb.base/interrupt.exp: Correct logic for skipping tests on
11343 targets that don't support interrupts.
11345 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
11347 * gdb.base/attach.exp: Add patterns to match output from /proc-based
11349 Move comments in expect statements to inside the actions, so that they
11350 don't get matched against.
11352 2002-07-10 Mark Kettenis <kettenis@gnu.org>
11354 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
11355 function when asleep" test.
11357 2002-07-10 Andrew Cagney <ac131313@redhat.com>
11359 * gdb.base/page.exp: Rewrite to handle problems with very long
11360 `info set' output. Update copyright.
11362 2002-06-26 Andrew Cagney <ac131313@redhat.com>
11364 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
11366 * gdb.hp/configure: Regenerate.
11367 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
11368 * gdb.hp/gdb.threads-hp/configure: Delete file.
11369 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
11371 2002-06-22 Andrew Cagney <ac131313@redhat.com>
11373 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
11374 setlocale, bindtextdomain and textdomain.
11376 2002-06-11 Jim Blandy <jimb@redhat.com>
11378 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
11379 preprocessor macro information is present.
11381 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
11384 2002-06-06 Michael Snyder <msnyder@redhat.com>
11386 * gdb.base/overlays.exp: Record addresses of overlay
11387 functions in TCL variables rather than in GDB variables,
11388 to avoid having GDB convert them to pointers (with loss
11391 * gdb.base/d10v.ld: Merge in several years worth of
11392 default linker script changes.
11393 * gdb.base/long_long.exp: Add check for sizeof (long double).
11395 2002-06-06 Michal Ludvig <mludvig@suse.cz>
11397 * gdb.asm/asm-source.exp: Add x86-64 target.
11398 * gdb.asm/x86_64.inc: New.
11400 2002-05-30 Michael Chastain <mec@shout.net>
11402 From Benjamin Kosnik <bkoz@redhat.com>:
11403 * gdb.c++/m-static.cc: New file.
11404 * gdb.c++/m-static.exp: New file.
11406 2002-05-28 Michael Snyder <msnyder@redhat.com>
11408 * gdb.base/call-ar-st.exp: Allow for reduced floating point
11411 2002-05-27 Michael Chastain <mec@shout.net>
11413 From Benjamin Kosnik <bkoz@redhat.com>:
11414 * gdb.c++/m-data.cc: New file.
11415 * gdb.c++/m-data.exp: New file.
11417 2002-05-27 Michael Chastain <mec@shout.net>
11419 From Benjamin Kosnik <bkoz@redhat.com>:
11420 * gdb.c++/try_catch.cc: New file.
11421 * gdb.c++/try_catch.exp: New file.
11423 2002-05-27 Michael Chastain <mec@shout.net>
11425 * gdb.c++/local.exp: Accept more nested types in output.
11427 2002-05-26 Michael Chastain <mec@shout.net>
11429 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
11431 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
11433 * lib/gdb.exp (gdb_wrapper_init): Just because
11434 gdb_wrapper_file exists, this does not mean that the file
11435 should not be rebuilt. That is what gdb_wrapper_initialized
11437 (default_gdb_init): Reset gdb_wrapper_initialized.
11439 2002-05-23 Michael Snyder <msnyder@redhat.com>
11441 * gdb.base/all-bin.exp: Revise previous patch by just reducing
11442 the precision of the floating point test results.
11443 * gdb.base/call-rt-st.exp: Ditto.
11445 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
11446 * gdb.base/call-rt-st.exp: Ditto.
11448 2002-05-19 Michael Chastain <mec@shout.net>
11450 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
11452 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
11454 * configure.in (configdirs): Add gdb.arch.
11455 * configure: Regenerate.
11457 2002-05-17 Jim Blandy <jimb@redhat.com>
11459 * gdb.base/completion.exp: Recognize the more detailed error
11460 messages produced by the macro expander's lexical analyzer.
11462 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
11464 * gdb.arch/altivec-abi.c: New file.
11465 * gdb.arch/altivec-abi.exp: New file.
11466 * gdb.arch/altivec-regs.c: New file.
11467 * gdb.arch/altivec-regs.exp: New file.
11469 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
11471 * gdb.base/maint.exp (maint print type): Update for new type
11474 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
11476 * gdb.arch: New directory.
11477 * gdb.arch/configure.in: New file.
11478 * gdb.arch/configure: New file.
11479 * gdb.arch/Makefile.in: New file.
11481 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
11483 * gdb.asm/asm-source.exp: Add v850 as supported target.
11484 * gdb.asm/v850.inc: New file.
11486 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
11488 * gdb.c++/annota2.exp (annotate-quit): Add comment.
11490 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
11492 * gdb.base/break.exp: Check 'break "marker2"'.
11494 2002-05-10 Michael Snyder <msnyder@redhat.com>
11496 * gdb.base/long_long.exp: Fix typo.
11498 2002-05-10 Jim Blandy <jimb@redhat.com>
11500 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
11503 * gdb.base/printcmds.exp (test_integer_literals_rejected):
11504 Recognize more detailed error message produced by the macro
11505 expander's lexical analyzer.
11506 * lib/gdb.exp (test_print_reject): Same.
11508 2002-05-09 Mark Kettenis <kettenis@gnu.org>
11510 * gdb.c++/method.exp: Fix typo.
11512 2002-05-08 Michael Snyder <msnyder@redhat.com>
11514 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
11515 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
11516 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
11517 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
11518 Add iftarget clause for strongarm.
11520 2002-05-06 Michael Snyder <msnyder@redhat.com>
11522 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
11523 (gdb_continue_to_end): Accept output from status wrapper.
11524 * gdb.base/ending-run.exp: Add case for output from status wrapper.
11525 Clean up fail messages to match pass messages.
11527 Enable the "needs_status_wrapper" testsuite feature.
11528 * lib/gdb.exp (gdb_wrapper_init): New procedure.
11529 (gdb_compile): Conditionally call gdb_wrapper_init.
11530 * gdb.base/a2-run.exp: Recognize output from status wrapper.
11531 * gdb.c++/method.exp: Recognize output from status wrapper.
11533 2002-05-06 Ben Elliston <bje@redhat.com>
11534 From Graydon Hoare <graydon@redhat.com>
11536 * config/sid.exp: Include support for "rawsid" protocol.
11538 2002-05-03 Jim Blandy <jimb@redhat.com>
11540 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
11541 * gdb.c++/hang3.C: New file.
11543 2002-05-04 Andrew Cagney <ac131313@redhat.com>
11545 * gdb.base/default.exp: Remove obsolete code.
11546 * gdb.c++/misc.exp: Ditto. Update copyright.
11547 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
11548 * gdb.base/whatis.exp: Ditto. Update copyright.
11549 * gdb.base/scope.exp: Ditto. Update copyright.
11550 * gdb.base/ptype.exp: Ditto. Update copyright.
11551 * gdb.base/printcmds.exp: Ditto. Update copyright.
11552 * gdb.base/opaque.exp: Ditto. Update copyright.
11553 * gdb.base/list.exp: Ditto.
11554 * gdb.base/funcargs.exp: Ditto. Update copyright.
11555 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
11556 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
11557 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
11558 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
11559 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
11560 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
11562 2002-05-02 Michael Snyder <msnyder@redhat.com>
11564 * gdb.base/watchpoint.exp: Add xscale target.
11565 * gdb.base/long_long.exp: Add xscale target.
11566 * gdb.base/default.exp: Add xscale target.
11568 2002-05-01 Jim Blandy <jimb@redhat.com>
11570 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
11571 gdb.c++/hang.exp: New test.
11573 2002-05-01 Fred Fish <fnf@redhat.com>
11575 * gdb.base/completion.exp: Handle completions of "./Make" for
11576 more than one completion possibility, as is the case when we
11577 build and test in the source tree.
11579 2002-04-29 Anthony Green <green@redhat.com>
11581 * gdb.java/jmisc1.exp: New file.
11582 * gdb.java/jmisc2.exp: New file.
11584 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
11586 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
11588 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
11590 * gdb.base/help.exp: Change 'help status' to allow for target
11591 dependent output differences.
11593 2002-04-22 Michael Chastain <mec@shout.net>
11595 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
11597 2002-04-22 Michael Chastain <mec@shout.net>
11599 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
11601 2002-04-17 David S. Miller <davem@redhat.com>
11603 * gdb.asm/sparc64.inc: New file.
11604 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
11606 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
11608 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
11609 instruction file directly into the build tree. Clean up at end of
11612 2002-04-18 David S. Miller <davem@redhat.com>
11614 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
11615 handle 64-bit platforms correctly.
11616 * gdb.base/maint.exp: Likewise.
11618 2002-04-18 Kevin Buettner <kevinb@redhat.com>
11620 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
11621 ``-fpic'' when compiling files comprising a shared library, but
11622 it does need additional linker flags in order to find shared
11623 libraries at run time.
11625 2002-04-18 Kevin Buettner <kevinb@redhat.com>
11627 * gdb.base/cvexpr.c (use): New function.
11628 (main): Invoke use() on all global variables to prevent
11629 some linkers from deleting these otherwise unused symbols.
11631 2002-04-17 Michael Chastain <mec@shout.net>
11632 From David S. Miller <davem@redhat.com>
11634 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
11635 handle 64-bit platforms correctly.
11637 2002-04-12 Michael Snyder <msnyder@redhat.com>
11638 From Jim Blandy <jimb@redhat.com>
11639 * gdb.base/foo.c (foox): Remove section attribute; the linker
11640 script can handle this instead.
11641 * gdb.base/bar.c (barx): Same.
11642 * gdb.base/baz.c (bazx): Same.
11643 * gdb.base/grbx.c (grbxx): Same.
11645 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
11646 manager doesn't automatically unmap overlays unnecessarily.
11648 2002-04-10 Martin M. Hunt <hunt@redhat.com>
11650 * gdb.base/ending-run.exp: Fix pattern for Mips targets
11651 stepping out of main.
11653 2002-04-09 Michael Chastain <mec@shout.net>
11655 * gdb.c++/local.cc (main): Move call to marker1() inside nested
11656 scope so that the nested scope tests will make sense.
11657 * gdb.c++/local.exp: Write patterns that actually work with gcc
11658 (the HP patterns "were never known to work with gcc").
11659 Keep the old aCC patterns too.
11661 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
11663 * gdb.base/attach.exp: Correct target board test.
11665 2002-04-08 Michael Chastain <mec@shout.net>
11667 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
11668 in a const method. Add some xfail and fail cases for configurations
11669 that do not emit the "const ...".
11671 2002-04-07 Michael Chastain <mec@shout.net>
11673 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
11674 Accept "A * const" and "const A * const" as type of "this".
11675 Fix spelling of getFunky throughout. Make messages uniform.
11677 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
11679 Work around for PR gdb/285:
11680 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
11682 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
11684 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
11685 instructions file at run time instead of configure time.
11686 Sometimes we run the test in a directory that is not the one we
11688 * gdb.asm/configure.in: Delete creation of symlink.
11689 * gdb.asm/configure: Regenerate.
11691 2002-04-05 J. Brobecker <brobecker@gnat.com>
11693 * gdb.gdb/xfullpath.exp: New test, to exercise the new
11694 xfullpath () function.
11696 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
11698 * gdb.asm/Makefile.in: Correct dependencies.
11700 * gdb.asm/powerpc.inc: New file.
11701 * gdb.asm/asm-source.exp: Add PowerPC.
11702 * gdb.asm/configure.in: Likewise.
11703 * gdb.asm/configure: Regenerated.
11705 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
11707 * gdb.base/relocate.exp: New file.
11708 * gdb.base/relocate.c: New file.
11710 2002-04-04 Fred Fish <fnf@redhat.com>
11712 * gdb.base/step-test.exp: Update comment regarding stopping in
11713 memcpy/bcopy calls inserted as part of the compiler runtime.
11715 2002-04-04 Michael Snyder <msnyder@redhat.com>
11717 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
11719 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
11721 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
11722 (gdb_expect): Remove $notransfer hack.
11724 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
11726 * gdb.c++/classes.exp ("calling method for small class"): Match
11727 updated register output.
11729 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
11732 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
11733 when finished. Make gdb_file_cmd send "exec-file" when
11736 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
11738 * gdb.base/attach.exp: Remove extra setup_xfail.
11740 2002-03-26 Michael Snyder <msnyder@redhat.com>
11742 * gdb.base/default.exp: Add tests for dump, append, and restore.
11743 * gdb.base/help.exp: Add tests for dump, append, and restore.
11744 * gdb.base/dump.exp: New file, test dump, append and restore.
11745 * gdb.base/dump.c: New file.
11747 2002-03-27 Michael Snyder <msnyder@redhat.com>
11749 * gdb.base/help.exp: Modify expect strings to reflect
11750 clean-ups in help messages.
11752 2002-03-26 Fred Fish <fnf@redhat.com>
11754 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
11755 have debugging info for those functions and the compiler uses them
11756 internally to copy structs around.
11758 2002-03-26 Fred Fish <fnf@redhat.com>
11760 * gdb.base/list.exp: Revert the change made yesterday and add note
11761 about why we don't list the default lines for remote targets.
11763 2002-03-25 Michael Snyder <msnyder@redhat.com>
11765 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
11767 2002-03-25 Fred Fish <fnf@redhat.com>
11769 * gdb.base/list.exp: This test works on remote targets so remove
11770 the short circuit for remote targets. Update copyright.
11772 2002-03-25 Fred Fish <fnf@redhat.com>
11774 * gdb.base/attach.exp: Fix logic error that was suppressing this
11775 test for all non hppa*-*-hpux* targets, instead of the hp target.
11776 Move comments closer to the suppression point. Also now need to
11777 check that we are running natively.
11779 2002-03-22 Michael Snyder <msnyder@redhat.com>
11781 * gdb.base/default.exp: Add test for gcore. Update copyright.
11782 * gdb.base/help.exp: Add test for gcore. Update copyright.
11784 2002-03-06 Fred Fish <fnf@redhat.com>
11786 * gdb.base/funcargs.c: Remove extraneous ';' character.
11787 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
11789 2002-03-04 Michael Chastain <mec@shout.net>
11791 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
11792 accommodate gcc v3 function signature.
11793 * gdb.mi/mi0-var-cmd-exp: Ditto.
11795 2002-02-24 Andrew Cagney <ac131313@redhat.com>
11797 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
11798 ``GNU/Linux'' or ``Linux kernel''
11799 * testsuite/gdb.threads/pthreads.c: Ditto.
11801 2002-02-24 Michael Chastain <mec@shout.net>
11803 * gdb.threads/pthreads.c (thread1): Add a return statement.
11804 (thread2): Likewise.
11807 2002-02-23 Michael Chastain <mec@shout.net>
11809 * gdb.threads/linux-dp.c (philosopher): Add a return statement
11812 2002-02-23 Michael Chastain <mec@shout.net>
11814 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
11815 test "ptype bint". The test passes on all my stabs configurations.
11817 2002-02-21 Jim Blandy <jimb@redhat.com>
11819 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
11820 filename at a time, and watch for the ones we want to see.
11822 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
11823 types of pointers to prototyped functions.
11825 2002-02-20 Andrew Cagney <ac131313@redhat.com>
11827 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
11828 signed, unsigned and straight char.
11829 (padding_char, padding_short, padding_int, padding_long,
11830 padding_long_long, padding_float, padding_double,
11831 padding_long_double): New global variables.
11832 (fill, fill_structs): New functions.
11834 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
11835 for correctly sized writes. Update copyright.
11836 (get_valueof): New procedure.
11837 (get_sizeof): Call get_valueof.
11838 (check_valueof): New procedure.
11839 (check_padding): New procedure.
11841 2002-02-20 Michael Chastain <mec@shout.net>
11843 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
11844 to setup_xfail. Document some of the remaining calls.
11846 2002-02-18 Michael Chastain <mec@shout.net>
11848 * gdb.c++/userdef.exp: Update copyright year.
11850 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
11852 * gdb.c++/userdef.exp: Test overloaded operators properly.
11855 2002-02-14 Michael Snyder <msnyder@redhat.com>
11857 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
11859 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
11861 * gdb.base/a2-run.exp: Check for a remote target properly.
11862 * gdb.base/annota1.exp: Likewise.
11863 * gdb.base/list.exp: Likewise.
11864 * gdb.base/reread.exp: Likewise.
11865 * gdb.base/scope.exp: Likewise.
11866 * gdb.base/shlib-call.exp: Likewise.
11867 * gdb.base/term.exp: Likewise.
11868 * gdb.c++/annota2.exp: Likewise.
11870 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
11872 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
11874 2002-02-10 Michael Chastain <mec@shout.net>
11876 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
11877 (call_after_alloca): Ditto.
11879 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
11881 * gdb.base/ending-run.exp: Guard "cont" test with
11882 gdb_skip_stdio_test.
11884 2002-02-06 Jim Blandy <jimb@redhat.com>
11886 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
11888 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
11889 To here. Disable this test on non-HP platforms. Add big comment.
11891 2002-02-04 Michael Snyder <msnyder@redhat.com>
11893 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
11894 other than d10v and m32r.
11896 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
11898 * gdb.base/default.exp: Rewrite test patterns to reduce time
11899 taken to match them.
11901 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
11903 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
11904 Allow a start function above main.
11905 * gdb.threads/linux-dp.exp: Fix copyright date.
11907 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
11909 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
11910 (check_philosopher_stack): Check for manager thread before checking
11911 for a just-starting thread.
11913 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
11915 From Neil Booth <neil@daikokuya.demon.co.uk>:
11916 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
11919 2002-01-21 Fred Fish <fnf@redhat.com>
11921 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
11924 2002-01-21 Jim Blandy <jimb@redhat.com>
11926 * gdb.base/reread.exp: Check that GDB properly re-reads the
11927 executable file when it changes while no inferior is running.
11929 2002-01-21 Fred Fish <fnf@redhat.com>
11931 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
11932 optionally accept the "shlib events" variation.
11934 2002-01-21 Jim Blandy <jimb@redhat.com>
11936 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
11937 call `fflush' after every `printf', so that the output is produced
11938 at predictable points, regardless of whatever buffering does (or
11939 doesn't) take place.
11940 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
11941 at different points.
11943 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
11945 * gdb.c++/inherit.exp: Update copyright years.
11946 * gdb.c++/method.exp: Likewise.
11948 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
11950 * gdb.c++/classes.exp: Update for improved v3 support and skipping
11951 artificial methods/arguments.
11952 * gdb.c++/derivation.exp: Likewise.
11953 * gdb.c++/inherit.exp: Likewise.
11954 * gdb.c++/method.exp: Likewise.
11955 * gdb.c++/virtfunc.exp: Likewise.
11957 2002-01-18 Andrew Cagney <ac131313@redhat.com>
11959 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
11960 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
11961 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
11962 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
11963 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
11964 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
11966 2002-01-17 Jim Blandy <jimb@redhat.com>
11968 * gdb.asm/asm-source.exp (info symbol): Take another shot at
11969 anchoring the pattern matching the entry point symbol's name.
11971 2002-01-17 Andrew Cagney <ac131313@redhat.com>
11973 * gdb.base/maint.exp: Update ``maint internal-error'' to match
11974 continue/quit query. Update copyright.
11976 2002-01-14 Michael Snyder <msnyder@redhat.com>
11978 * gdb.base/gcore.exp: Remove extra debugging output.
11980 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
11982 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
11983 for slightly dubious v2 mangled string.
11985 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
11987 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
11989 2002-01-10 Jason Merrill <jason@redhat.com>
11991 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
11993 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
11995 * gdb.c++/derivation.exp: Likewise.
11996 * gdb.c++/templates.exp: Likewise.
11997 * gdb.c++/virtfunc.exp: Likewise.
11999 2002-01-10 Michael Snyder <msnyder@redhat.com>
12001 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
12003 2002-01-08 Michael Snyder <msnyder@redhat.com>
12005 * gdb.base/gcore.exp: New test for generate-core-file command.
12006 * gdb.base/gcore.c: Testcase for above.
12007 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
12009 2002-01-08 Jason Merrill <jason@redhat.com>
12011 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
12013 2002-01-07 Fred Fish <fnf@redhat.com>
12015 * gdb.c++/overload.exp: Remove unconditional xfails for:
12016 print foo_instance1.overloadargs(1)
12017 print foo_instance1.overloadargs(1, 2)
12018 print foo_instance1.overloadargs(1, 2, 3)
12019 print foo_instance1.overloadargs(1, 2, 3, 4)
12020 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
12021 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
12022 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
12023 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
12024 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
12025 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
12026 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
12027 print foo_instance1.overload1arg()
12028 print foo_instance1.overload1arg((char)arg2)
12029 print foo_instance1.overload1arg((signed char)arg3)
12030 print foo_instance1.overload1arg((unsigned char)arg4)
12031 print foo_instance1.overload1arg((int)arg7)
12032 print foo_instance1.overload1arg((unsigned int)arg8)
12033 print foo_instance1.overload1arg((float)arg11)
12034 print foo_instance1.overload1arg((double)arg12)
12036 2002-01-07 Michael Snyder <msnyder@redhat.com>
12038 * gdb.base/huge.exp: New test. Print a very large target data object.
12039 (skip_huge_test): New test variable. Define if you want to skip this
12040 test. The test reads an 8 megabyte data object from the target, so it
12041 might be very time consuming on remote targets with a slow connection.
12042 * gdb.base/huge.c: New file. Test case for above.
12044 2002-01-07 Fred Fish <fnf@redhat.com>
12046 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
12047 g_instance.bfoo, and g_instance.cfoo.
12049 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
12051 * gdb.base/break.c (multi_line_if_conditional): New function.
12052 (multi_ilne_while_conditional): Likewise.
12053 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
12054 IF or WHILE condition puts the breakpoint at the start of
12057 * gdb.base/selftest.exp (backtrace through signal handler): Remove
12058 hppa*-*-hpux* expected failure.
12059 * gdb.base/structs.exp (do_function_calls): Similarly.
12061 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
12064 2002-01-06 Andrew Cagney <ac131313@redhat.com>
12067 * gdb.base/structs.exp: Replace skip for a29k with skip for
12068 gdb,cannot_call_functions.
12069 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
12070 * gdb.base/callfuncs.exp: Ditto.
12071 * gdb.base/call-rt-st.exp: Ditto.
12072 * gdb.base/call-strs.exp: Ditto.
12073 * gdb.base/callfwmall.exp: Ditto.
12074 * gdb.base/scope.exp: Obsolete xfail a29k.
12075 * gdb.c++/misc.exp: Ditto.
12076 * gdb.c++/cplusfuncs.exp: Ditto.
12077 * gdb.base/ptype.exp: Ditto.
12078 * gdb.base/printcmds.exp: Ditto.
12079 * gdb.base/opaque.exp: Ditto.
12080 * gdb.base/list.exp: Ditto.
12081 * gdb.base/funcargs.exp: Ditto.
12082 * gdb.base/default.exp: Ditto.
12084 2002-01-04 Michael Snyder <msnyder@redhat.com>
12086 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
12087 * gdb.base/maint.exp: Add tests for maint info sections options.
12089 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
12091 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
12093 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
12095 * gdb.asm/arm.inc: New file.
12096 * gdb.asm/asm-source.exp: Add arm targets.
12097 * gdb.asm/configure.in: Ditto.
12098 * gdb.asm/configure: Recreated from configure.in.
12100 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
12102 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
12103 with HP's compiler.
12104 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12105 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12106 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12107 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12109 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
12110 either HP's compilers or GCC.
12112 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
12113 a SIGBUS or SIGSEGV.
12115 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
12117 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
12118 can be compiled with either HP's compiler or GCC.
12120 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
12121 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
12122 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
12124 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
12125 to match current gdb output. Update due to using auto-solib-limit
12126 for limiting instead of overloading auto-solib-add.
12127 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
12130 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
12131 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
12132 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12133 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12134 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12135 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12136 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
12137 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
12138 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
12139 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
12140 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
12141 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
12142 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
12144 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
12145 a SIGTRAP to the inferior.
12147 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
12149 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
12150 Substitute call to target_link by call to gdb_compile.
12152 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
12154 * gdb.base/break.exp: Fix HP specific search string when testing
12155 backtracing in a called function.
12157 * gdb.base/constvars.exp: Only set lang to C++ if we're
12158 compiling the test with HP's compilers.
12159 * gdb.base/volatile.exp: Similarly.
12161 2001-12-19 Jim Blandy <jimb@redhat.com>
12163 * gdb.base/printcmds.exp: Expect the null character to be printed
12164 as '\0', and the '\013' to be printed as '\v'.
12165 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
12166 * gdb.base/setvar.exp: Same.
12168 2001-12-17 Jim Blandy <jimb@redhat.com>
12170 * gdb.base/completion.exp: Rather than completing very long
12171 filenames, which can make the readline library produce output we
12172 don't recognize, cd to the directory first, and then complete
12173 using nice, short relative paths.
12175 * gdb.base/completion.exp: On some systems, there is, in fact, a
12176 variable named `b' in scope, since GDB treats all static
12177 variables as being in scope. So use `no_var_named_this'
12180 * gdb.base/corefile.exp: Recognize the message saying that GDB
12181 can't find the core file's registers as a failure.
12183 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
12185 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
12186 test expect string more specific.
12188 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
12190 * gdb.asm/asm-source.exp: Add support for xstormy16.
12191 * gdb.asm/configure.in: Ditto.
12192 * gdb.asm/configure: Rebuild.
12193 * gdb.asm/xstormy16.inc: New file.
12195 2001-12-10 Fred Fish <fnf@redhat.com>
12197 * gdb.base/maint.exp: Update to match changes in type dumping code.
12199 2001-12-10 Jim Blandy <jimb@redhat.com>
12201 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
12202 matching the entry point symbol's name at the beginning of the
12205 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
12207 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
12208 gdb.c++/inherit.exp, gdb.c++/method.exp,
12209 gdb.c++/namespace.exp, gdb.c++/templates.exp,
12210 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
12211 and class layout support.
12213 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
12215 * gdb.c++/classes.exp: Add test for static member function.
12216 * gdb.c++/misc.cc: Add class with static member function.
12218 2001-12-07 Jim Blandy <jimb@redhat.com>
12220 If GDB says it can't find the struct the function returned, report
12221 those tests as `unsupported'.
12222 * gdb.base/call-rt-st.exp (print_struct_call): New function.
12223 Rewrite subsequent tests to use it.
12225 If GDB says it can't find the struct the function returned, report
12226 those tests as `unsupported'.
12227 * gdb.base/structs.exp (call_struct_func): New function.
12228 (do_function_calls): Use call_struct_func to call the functions
12231 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
12232 whether functions are prototyped or not, so we can't possibly pass
12233 arguments to t_float_values2 properly.
12235 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
12236 value of `timeout' for targets other than the mips*tx39-*.
12238 2001-12-06 Michael Snyder <msnyder@redhat.com>
12240 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
12241 and detect whether the start symbol has a leading underscore.
12243 2001-12-04 Jim Blandy <jimb@redhat.com>
12245 * gdb.base/completion.exp: Clarify indentation.
12247 2001-12-03 Jim Blandy <jimb@redhat.com>
12249 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
12250 variables on the S/390, not `.word'.
12252 2001-11-30 Jim Blandy <jimb@redhat.com>
12254 Add assembly-source tests for s390-ibm-linux.
12255 * gdb.asm/s390.inc: New file.
12256 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
12257 the S/390 architecture.
12258 * gdb.asm/configure: Regenerated.
12260 2001-11-30 Michael Snyder <msnyder@redhat.com>
12262 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
12263 next, info source, info sources, info line, global and static
12264 variables, and static functions.
12265 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
12266 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
12267 * gdb.asm/asmsrc1.s: Add a static function and some variables.
12268 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
12269 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
12270 (gdbasm_leave): Restore frame pointer.
12271 (gdbasm_startup): Copy stack set-up from crt0.S.
12273 2001-11-26 Fernando Nasser <fnasser@redhat.com>
12275 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
12276 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
12277 to a local (non-static) variable. Copy tstruct.a to a static buffer
12278 and return a pointer to that buffer.
12279 * gdb.base/callfwmall.c (t_structs_a): Ditto.
12281 2001-11-24 Mark Kettenis <kettenis@gnu.org>
12283 * gdb.asm/configure.in: Fix recognition of ix86 target.
12284 * gdb.asm/configure: Regenerate.
12286 2001-11-21 Michael Snyder <msnyder@redhat.com>
12288 * gdb.asm/sparc.inc: New file.
12289 * gdb.asm/asm-source.exp: Recognize sparc target.
12290 * gdb.asm/configure.in: Recognize sparc target.
12291 * gdb.asm/configure: Regenerate.
12293 2001-11-21 Michael Snyder <msnyder@redhat.com>
12295 * gdb.asm/m32r.inc: New file.
12296 * gdb.asm/asm-source.exp: Recognize m32r target.
12297 * gdb.asm/configure.in: Recognize m32r target.
12298 * gdb.asm/configure: Regenerate.
12300 2001-11-20 Michael Snyder <msnyder@redhat.com>
12302 * gdb.asm/i386.inc: New file.
12303 * gdb.asm/asm-source.exp: Recognize ix86 target.
12304 * gdb.asm/configure.in: Recognize ix86 target.
12305 * gdb.asm/configure: Regenerate.
12307 * gdb.c++/namespace.exp: Fix quotes in output messages.
12309 2001-11-14 Michael Snyder <msnyder@redhat.com>
12311 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
12312 qualifier in a type cast expression, to designate an address
12313 in the instruction space (Harvard architecture).
12315 2001-11-13 Michael Snyder <msnyder@redhat.com>
12317 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
12318 Tests for expressions using 'const' and 'volatile'.
12320 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
12322 * gdb.asm/asm-sources.exp: Allow defining linker flags.
12324 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
12326 * lib/mi-support.exp (mi_run_to_helper): Move comments
12327 outside of gdb_expect.
12329 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
12331 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
12332 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
12333 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
12334 mi0_run_to): New functions.
12335 * gdb.mi/mi-simplerun.exp: Use them.
12336 * gdb.mi/mi0-simplerun.exp: Likewise.
12337 * gdb.mi/mi-var-cmd.exp: Likewise.
12338 * gdb.mi/mi0-var-cmd.exp: Likewise.
12340 2001-11-10 Andrew Cagney <ac131313@redhat.com>
12342 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
12343 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
12345 2001-11-09 Andrew Cagney <ac131313@redhat.com>
12347 * gdb.base/restore.exp: Include $expected value in restored test
12350 2001-11-09 Andrew Cagney <ac131313@redhat.com>
12352 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
12355 2001-11-08 Michael Snyder <msnyder@redhat.com>
12357 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
12358 Add pass/fail message for stop at breakpoint in call dummy function.
12360 2001-11-07 Michael Snyder <msnyder@redhat.com>
12362 * gdb.c++/templates.exp (test_template_breakpoints):
12363 If we get an overload menu, but it does not match what
12364 we expect, we still need to issue the "cancel" command.
12365 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
12366 making the whitespace optional. Argument for "new" may be
12367 "unsigned" as well as "unsigned int/long".
12368 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
12369 making the whitespace optional. Also replace "(void) with
12370 "((void|)), making the keyword "void" optional.
12371 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
12372 making the whitespace optional. Also replace "(void) with
12373 "((void|)), making the keyword "void" optional.
12374 * gdb.base/callfuncs.c (t_float_values): This function must
12375 _not_ be prototyped, and the following function (t_float_values2)
12376 must be prototyped (if the compiler supports it), so that GDB
12377 can be tested against both cases. Usually one case involves
12378 promotion of float to double, while the other does not.
12379 * gdb.base/callfwmall.c: Ditto.
12380 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
12381 includes a stack frame for "start".
12383 2001-11-05 Jim Blandy <jimb@redhat.com>
12385 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
12386 pointers are 32 bits long, and that offsets of relocs are always
12387 stored in the data (REL-style), and not in the reloc entry itself
12389 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
12392 2001-11-01 Michael Snyder <msnyder@redhat.com>
12394 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
12395 and regular expression operators by using quoting.
12397 2001-10-31 Michael Snyder <msnyder@redhat.com>
12399 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
12400 depending on what the symbol table contains.
12401 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
12402 the output of the ptype command. Similarly, accept both "const &"
12405 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
12407 * gdb.base/miscexprs.c (main): Add usage of preprocessor
12408 symbol `STORAGE' to allow to choose the storage class of
12409 the local datastructures.
12410 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
12411 compiler directive.
12413 2001-10-30 Michael Snyder <msnyder@redhat.com>
12415 * gdb.base/jump.exp: Allow it to run for all targets.
12417 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
12419 * gdb.base/call-ar-st.c (print_double_array): Match for loop
12420 with new double_array size.
12421 (main): Change storage class of all local variables to static.
12422 Reduce size of double_array to 9.
12423 * gdb.base/call-ar-st.exp: Increase timeout value.
12424 Change expected output for double array to match new size in
12427 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
12429 * gdb.base/ending-run.exp: Create identical output when passing
12430 `step to end of run' case. Add regular expression branch satisfying
12433 2001-10-28 Mark Kettenis <kettenis@gnu.org>
12435 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
12436 that we catch the expected failure under Linux/x86.
12438 2001-10-29 Orjan Friberg <orjanf@axis.com>
12440 * gdb.base/setvar.exp: Escape curly braces.
12441 * gdb.stabs/weird.exp: Ditto.
12443 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
12445 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
12446 * gdm.mi/mi0-hack-cli.exp: Likewise.
12448 2001-10-25 Andrew Cagney <ac131313@redhat.com>
12450 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
12453 2001-10-21 Andrew Cagney <ac131313@redhat.com>
12455 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
12456 checking MI enabled.
12458 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
12460 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
12462 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
12464 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
12465 if gdb child process crashes, just signal an error.
12467 2001-10-02 Jim Blandy <jimb@redhat.com>
12469 * lib/gdb.exp (test_xfail_format): Simplify.
12471 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
12472 front of the variable name `format'. Simplify `if'.
12474 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
12476 * gdb.threads/pthreads.exp: Wait for output and delay
12479 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
12481 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
12482 some incorrect output instead of timing out.
12483 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
12485 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
12487 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
12488 check to allow additional `int'.
12490 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
12492 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
12493 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
12495 2001-09-27 Michael Snyder <msnyder@redhat.com>
12497 * lib/gdb.exp (test_debug_format): New proc.
12498 (setup_xfail_format): Use new proc test_debug_format.
12499 * gdb.base/constvars.exp (local_compiler_xfail_check): New
12500 proc; use new service proc test_debug_format.
12501 Replace all other "gcc_compiled" tests with this test.
12502 * gdb.base/volatile.exp (local_compiler_xfail_check): New
12503 proc; use new service proc test_debug_format.
12504 Replace all other "gcc_compiled" tests with this test.
12506 2001-09-27 Michael Snyder <msnyder@redhat.com>
12508 * gdb.base/cvexpr.exp: New file.
12509 * gdb.base/cvexpr.c: New file
12510 Test for expressions using const and volatile keywords.
12512 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
12514 * gdb.base/constvars.exp: Check for different orders of keywords
12515 and additional "int" strings in output.
12517 2001-09-22 Andrew Cagney <ac131313@redhat.com>
12519 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
12520 responses from "help maint".
12522 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
12524 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
12525 to localhost:NNN instead of :NNN, in case Xvfb is listening
12528 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
12530 * gdb.base/recurse.exp: When checking leaving the watchpoint
12531 scope, recognize when gdb is in function's epilogue and pass.
12533 2001-09-18 Keith Seitz <keiths@redhat.com>
12535 * lib/insight-support.exp (_gdbtk_export_target_info): Add
12536 support for running tests against sid targets.
12537 (gdbtk_done): Ditto.
12539 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
12541 * gdb.base/ending-run.c (main): Set stdout buffersize
12542 to the same reasonable value for any target.
12543 * gdb.base/ending-run.exp: Add a regular expression
12544 to make testsuite happy on Sanyo Stormy16 target.
12546 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
12548 * gdb.base/display.c (do_loops): Add float variable `f'.
12549 Increment f in loop.
12550 * gdb.base/display.exp: Increment timeout by 60 seconds.
12551 Change float display test to use variable `f'.
12553 2001-09-17 Jim Blandy <jimb@redhat.com>
12555 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
12556 overflowing the limited breakpoint tables on some ROM monitors
12559 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
12561 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
12562 the "-ac" (disable access control) flag.
12564 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
12566 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
12569 2001-08-30 Keith Seitz <keiths@redhat.com>
12571 * lib/gdb.exp: Move all insight-related functionality into
12573 * lib/insight-support.exp: New file.
12575 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
12577 * config/sid.exp (sid_start): Never set sid verbosity; disable
12578 expect_background {} that consumed its stdout; tolerate </dev/null.
12579 Attempt to set endianness override in "sid" protocol mode. Cleanup.
12581 2001-08-18 Andrew Cagney <ac131313@redhat.com>
12583 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
12584 CLI jump command to start it.
12585 (mi_run_to_main): Fail immediatly when unexpected output.
12587 2001-08-18 Andrew Cagney <ac131313@redhat.com>
12589 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
12590 beginning of function. Fix PR gdb/191.
12592 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
12594 * config/sid.exp (sid_start): Don't warn if we cannot figure out
12595 what to force sid endianness to.
12597 2001-08-15 Keith Seitz <keiths@redhat.com>
12599 * lib/gdb.exp (gdbtk_start): Don't set environment
12600 variables for TCL_LIBRARY and friends. Insight will
12601 now figure these out for itself.
12603 2001-08-02 Michael Snyder <msnyder@redhat.com>
12605 * gdb.base/completion.exp: Remove the symbol "a64l" from
12606 the expect string; this is target-specific, and not related
12607 to what is being tested.
12609 2001-08-02 Dave Brolley <brolley@redhat.com>
12611 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
12613 2001-07-25 Michael Snyder <msnyder@redhat.com>
12615 * gdb.base/consecutive.exp: New file. Test stepping over
12616 breakpoints on consecutive instructions.
12617 * gdb.base/consecutive.c: New file.
12619 * gdb.base/call-rt-st.exp: Use double-backslash to quote
12620 curly braces in regular expressions.
12622 2001-07-25 Michael Snyder <msnyder@redhat.com>
12624 * gdb.base/ending-run.exp: Accept "Program exited normally" as
12625 legitimate output from stepping out of main.
12627 2001-07-22 Keith Seitz <keiths@redhat.com>
12629 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
12630 the empty string, do not run the tests.
12632 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12634 * gdb.base/long_long.exp: Detect size of pointer. Take into
12635 account 2-byte pointers when testing for p/a results.
12637 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12639 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
12640 and defined to 1K for m68hc11.
12641 (random_data): Reduce table to 1K for embedded platforms (68hc11).
12642 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
12643 (sizeof_random_data): New variable to tell the size of the data table;
12644 don't test past this size; always run to main.
12646 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12648 * gdb.base/return2.exp: return of long long and double fails for
12649 68HC11; don't execute these tests on that platform.
12650 * gdb.base/return.exp: Return of a double fails for 68hc11.
12652 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
12654 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
12655 tests that print a float.
12656 * call-rt-st.exp: Likewise.
12658 2001-07-12 Mark Kettenis <kettenis@gnu.org>
12660 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
12661 running this test on Linux.
12663 2001-06-24 Michael Chastain <chastain@redhat.com>
12665 * gdb.base/arithmet.exp: Remove some tests to make all test names
12668 2001-07-03 Michael Snyder <msnyder@redhat.com>
12670 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
12671 the output of the ptype command.
12673 2001-07-02 Michael Snyder <msnyder@redhat.com>
12675 * gdb.base/completion.exp: Don't assume that break.c is the only
12676 source file that may contain functions named "marker".
12677 * gdb.base/corefile.exp: Quote the curly braces in regexp.
12679 2001-06-28 Andrew Cagney <ac131313@redhat.com>
12681 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
12682 of files to delete.
12684 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
12685 * gdb.disasm/h8300s.exp: New file.
12686 gdb.disasm/h8300s.s: Likewise.
12688 2001-06-27 Andrew Cagney <ac131313@redhat.com>
12690 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
12691 empty breakpoint tables.
12693 2001-06-25 Andrew Cagney <ac131313@redhat.com>
12695 * lib/mi-support.exp: Update args=... part of stop-reason
12696 patterns. Accept either a list or a tuple.
12698 2001-06-23 Andrew Cagney <ac131313@redhat.com>
12700 * lib/mi-support.exp: Remove local emacs variable defining
12701 change-log-default-name.
12703 2001-06-22 Michael Chastain <chastain@redhat.com>
12705 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
12706 This is operationally compatible with the previous version.
12708 2001-06-13 Jim Blandy <jimb@redhat.com>
12710 * lib/gdb.exp (gdb_test): Doc fix.
12712 2001-06-10 Michael Chastain <chastain@redhat.com>
12714 * gdb.base/exprs.exp: Remove a duplicate test.
12716 2001-06-06 Jim Blandy <jimb@redhat.com>
12718 * gdb.base/return2.exp (main): Use values to test float and double
12719 returns that are not NaN's, to avoid being confused by IEEE
12722 2001-06-04 Michael Snyder <msnyder@redhat.com>
12724 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
12725 non-zero if control_c fails. Terminate the test on failure,
12726 rather than wait for 12 more tests to time out.
12728 2001-06-06 Jim Blandy <jimb@redhat.com>
12730 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
12731 Don't forget to match the GDB prompt.
12733 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
12735 2001-06-04 Jim Blandy <jimb@redhat.com>
12737 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
12740 2001-05-31 Kevin Buettner <kevinb@redhat.com>
12742 * gdb.base/annota1.exp (info break): Match four or more spaces
12745 2001-05-31 Michael Chastain <chastain@redhat.com>
12747 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
12748 (dm_type_int_star): Likewise.
12749 (dm_type_long_star): Likewise.
12750 (dm_type_void_star): Likewise.
12752 2001-05-29 Kevin Buettner <kevinb@redhat.com>
12754 * gdb.base/completion.exp (INPUTRC): Set this environment variable
12755 to a known value in order to get consistent results regardless
12756 of the setting of INPUTRC or the presence or contents of .inputrc.
12758 2001-05-24 Michael Snyder <msnyder@redhat.com>
12760 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
12761 Don't require that the main thread and the manager thread are the
12764 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
12765 debugging. If test fails, issue an "unsupported" not a "fail".
12767 2001-05-24 Jim Blandy <jimb@redhat.com>
12769 Don't assume that short is shorter than int.
12770 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
12771 assume that shorts are smaller than ints. On a 16-bit machine,
12773 ("print unsigned char == (~0)"): Add test that verifies that ~0,
12774 an int, is not equal to ~0 stored in an unsigned char. This tests
12775 the same thing that the previous test meant to, but works on
12776 16-bit machines, too.
12777 ("print unsigned char != (~0)"): Same test, complemented.
12779 2001-05-24 Michael Snyder <msnyder@redhat.com>
12781 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
12782 test for (full_coverage == 0). This makes the test run faster,
12783 and prevents dejagnu getting out of step.
12785 2001-05-23 Kevin Buettner <kevinb@redhat.com>
12787 * gdb.base/finish.exp (finish_void): Revise pattern for
12788 stopping on the call statement to not permit stopping at
12789 the start of the instructions comprising the call sequence.
12791 2001-05-19 Michael Chastain <chastain@redhat.com>
12793 * gdb.base/callfuncs.exp: Make all test names unique.
12794 * gdb.base/commands.exp: Make all test names unique.
12795 * gdb.base/condbreak.exp: Make all test names unique.
12796 * gdb.base/dbx.exp: Make all test names unique.
12797 * gdb.base/default.exp: Make all test names unique.
12798 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
12799 and TIMEOUT messages to their corresponding PASS message.
12800 * gdb.base/ending-run.exp: Make all test names unique.
12801 * gdb.base/long_long.exp: Remove duplicate test.
12803 2001-05-21 Kevin Buettner <kevinb@redhat.com>
12805 * gdb.base/finish.exp (finish_void): Allow "finish" command to
12806 stop on the call statement as well as the statement after the
12809 2001-05-21 Michael Snyder <msnyder@redhat.com>
12811 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
12813 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
12815 * gdb.base/completion.exp: Revamp test. Make it execute on all
12818 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
12820 * config/gdbserver.exp (gdb_load): Handle the case
12821 in which the arguments to gdbserver are given in the
12822 baseboard configuration file.
12823 Also handle the case in which the server needs to do a
12826 2001-05-07 Keith Seitz <keiths@cygnus.com>
12828 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
12829 set up the display for testing.
12830 (gdbtk_start): Convert all paths to paths that tcl will like.
12831 Export target information to environment.
12832 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
12834 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
12835 (to_tcl_path): New proc to convert a given pathname into
12836 a path acceptible as an argument to a tcl command.
12837 (_gdbtk_export_target_info): New proc to export target info
12838 into the environment for gdbtk testing.
12839 (gdbtk_done): New proc to signal end-of-test.
12841 2001-05-06 Jim Blandy <jimb@redhat.com>
12843 * restore.c: Make the code of caller0 correspond to its comment.
12845 2001-05-03 Michael Snyder <msnyder@redhat.com>
12847 * config/sid.exp (gdb_target_sid): Check for error messages.
12848 On error or timeout, don't make expect exit (which will terminate
12849 all subsequent tests); instead just make gdb exit.
12850 (gdb_load): Check for error messages. On error or timeout,
12851 return a negative value.
12853 2001-04-24 Jim Blandy <jimb@redhat.com>
12855 * gdb.c++/templates.exp: If we see the prompt for the overload
12856 list, but we haven't recognized any of the longer patterns,
12857 arrange for this test to fail, not hang.
12859 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
12862 2001-04-22 Michael Chastain <chastain@redhat.com>
12864 * gdb.c++/local.exp: Use the 'runto' library function.
12865 * gdb.c++/namespace.exp: Likewise.
12866 * gdb.c++/overload.exp: Likewise.
12868 2001-03-26 Kevin Buettner <kevinb@redhat.com>
12870 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
12871 * gdb.base/step-line.exp: New file. Test step/next in presence of
12873 * gdb.base/step-line.c: New file. Test program for the above.
12874 * gdb.base/step-line.inp: New file. We pretend that this file has
12875 been transformed by some other tool into step-line.c.
12877 2001-03-21 Jim Blandy <jimb@redhat.com>
12879 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
12880 unmangled operator names.
12882 2001-03-20 Jim Blandy <jimb@redhat.com>
12884 * gdb.threads/linux-dp.exp: Recognize an additional message
12885 generated by GDB when it doesn't understand how to debug threads
12886 on the target system.
12888 2001-03-19 Andrew Cagney <ac131313@redhat.com>
12890 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
12892 2001-03-12 Michael Chastain <chastain@redhat.com>
12894 * gdb.c++/derivation.exp: Use the 'runto' library function.
12896 2001-03-12 Michael Chastain <chastain@redhat.com>
12898 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
12900 2001-02-24 Michael Chastain <chastain@redhat.com>
12902 * gdb.c++/ref-types.exp: Change handwritten code to library
12905 2001-03-16 Orjan Friberg <orjanf@axis.com>
12907 * gdb.base/signals.exp: Set count to 0 explicitly.
12909 2001-03-15 Mark Salter <msalter@redhat.com>
12911 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
12912 (gdb_target_monitor): Add check of gdb_target_cmd return value.
12913 (gdb_load): Add support for additional target_info: gdb_download_size
12914 and gdb_load_timeout.
12916 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
12918 * gdb.base/annota1.exp: Move test of isnative to earlier in the
12919 file -- to prevent failing when the compile fails but we have no
12920 intention of running the tests anyway.
12922 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
12925 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
12928 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
12929 * gdb.c++/namespace.exp: Ditto.
12931 2001-03-07 Orjan Friberg <orjanf@axis.com>
12933 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
12934 * gdb.base/pointers.exp: Relax pattern match of decimals.
12936 2001-03-06 Kevin Buettner <kevinb@redhat.com>
12938 * Makefile.in, config/abug.exp, config/cfdbug.exp,
12939 config/cpu32bug.exp, config/dve.exp, config/est.exp,
12940 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
12941 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
12942 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
12943 config/sh.exp, config/sid.exp, config/slite.exp,
12944 config/sparclet.exp, config/udi.exp, config/unknown.exp,
12945 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
12946 config/vxworks.exp, config/vxworks29k.exp,
12947 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
12948 gdb.base/all-bin.exp, gdb.base/annota1.exp,
12949 gdb.base/arithmet.exp, gdb.base/assign.exp,
12950 gdb.base/async.exp, gdb.base/attach.exp,
12951 gdb.base/bitfields.exp, gdb.base/bitops.exp,
12952 gdb.base/break.exp, gdb.base/call-ar-st.exp,
12953 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
12954 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
12955 gdb.base/commands.exp, gdb.base/completion.exp,
12956 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
12957 gdb.base/constvars.exp, gdb.base/corefile.exp,
12958 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
12959 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
12960 gdb.base/ending-run.exp, gdb.base/environ.exp,
12961 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
12962 gdb.base/finish.exp, gdb.base/foll-exec.exp,
12963 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
12964 gdb.base/funcargs.exp, gdb.base/help.exp,
12965 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
12966 gdb.base/logical.exp, gdb.base/long_long.exp,
12967 gdb.base/maint.exp, gdb.base/mips_pro.exp,
12968 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
12969 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
12970 gdb.base/pointers.exp, gdb.base/printcmds.exp,
12971 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
12972 gdb.base/regs.exp, gdb.base/relational.exp,
12973 gdb.base/remote.exp, gdb.base/reread.exp,
12974 gdb.base/restore.exp, gdb.base/return2.exp,
12975 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
12976 gdb.base/selftest.exp, gdb.base/setshow.exp,
12977 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
12978 gdb.base/sigall.exp, gdb.base/signals.exp,
12979 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
12980 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
12981 gdb.base/step-test.exp, gdb.base/structs.c,
12982 gdb.base/structs.exp, gdb.base/structs2.exp,
12983 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
12984 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
12985 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
12986 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
12987 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
12988 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
12989 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
12990 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
12991 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
12992 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
12993 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
12994 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
12995 gdb.fortran/types.exp, gdb.java/jmisc.exp,
12996 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
12997 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
12998 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12999 gdb.trace/circ.exp, gdb.trace/collection.exp,
13000 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13001 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13002 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
13003 gdb.trace/report.exp, gdb.trace/save-trace.exp,
13004 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13005 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13006 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
13009 2001-02-27 Michael Snyder <msnyder@cygnus.com>
13011 * gdb.base/varargs.c (find_max_double): Fix printf format string:
13012 first arg is int not float.
13014 2001-02-22 Michael Snyder <msnyder@cygnus.com>
13016 * gdb.base/reread.exp: Unsupported for non-native targets;
13017 doesn't work for remote debugging.
13019 2001-02-19 Fernando Nasser <fnasser@redhat.com>
13021 From Drew Moseley <dmoseley@redhat.com>
13022 * gdb.base/ending-run.exp: Properly handle the BSP state when
13023 stepping past the end of main.
13025 2001-02-19 John Moore <jmoore@redhat.com>
13027 * gdb.base/commands.exp (infrun_breakpoint_command_test):
13028 Converted HPUX fix for non-expected items following multiple
13029 step commands into general solution for all platforms.
13031 2001-02-18 Michael Chastain <chastain@redhat.com>
13033 * gdb.c++/classes.exp (do_tests): Change runto statements
13034 from "runto 'foo(void)'" to "runto 'foo'". This makes the
13035 statements demangler agnostic.
13036 * gdb.c++/virtfunc.exp (do_tests): Likewise.
13037 (gdb_virtfunc_restart): Likewise.
13039 2001-02-14 Michael Chastain <chastain@redhat.com>
13041 * gdb.c++/inherit.exp (do_tests): Change runto statements
13042 from "runto 'foo(void)'" to "runto 'foo'". This makes the
13043 statements demangler agnostic.
13045 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
13047 * gdb.threads/pthreads.exp: Unify pass/fail messages for
13048 ``continue to bkpt at common_routine in thread 2'' and ``stopped
13049 before calling common_routine 15 times'' tests.
13051 2001-02-11 Michael Chastain <chastain@redhat.com>
13053 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
13054 Helps the test script figure out which demangler is in use.
13055 (dm_type_foo_ref): Ditto.
13056 (dm_type_int_star): Ditto.
13057 (dm_type_long_star): Ditto.
13058 (dm_type_unsigned_int): Ditto.
13059 (dm_type_void): Ditto.
13060 (dm_type_void_star): Ditto.
13061 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
13062 Probe the gdb demangler and set variables to accommodate
13063 formatting differences.
13064 (info_func_regexp): New function. Same as info_func, but
13065 matches against a regexp.
13066 (info_func): Match against a literal string.
13067 (print_addr_2): New function. Match against a literal string,
13068 which can be different from the input to gdb.
13069 (print_addr): Simply call print_addr_2 with the same argument twice.
13070 (test_lookup_operator_functions): Use demangler formatting variables.
13071 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
13072 the tests in the same order as the C++ class declaration.
13073 (test_paddr_operator_functions): Ditto.
13074 (test_paddr_overloaded_functions): Ditto.
13075 (test_paddr_hairy_functions): Use demangler formatting variables.
13076 Add reference to gdb/19 for related tests.
13077 (do_tests): Call probe_demangler.
13079 2001-01-30 Kevin Buettner <kevinb@redhat.com>
13081 * gdb.c++/templates.cc (printf): Remove unused function definition.
13083 2001-01-26 Felix Lee <flee@redhat.com>
13085 * sid.exp (sid_exit): Pass host, not target, to remote_close.
13087 2001-01-25 matthew green <mrg@redhat.com>
13089 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
13091 (sid_exit): Call `remote_pop_conn' after GDB is gone.
13093 2001-01-25 matthew green <mrg@redhat.com>
13095 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
13096 Deprecate $sid_spawn_id.
13097 (sid_exit): Remove code necessary only for `spawn.'
13099 2001-01-25 matthew green <mrg@redhat.com>
13101 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
13103 2001-01-28 Michael Chastain <chastain@redhat.com>
13105 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
13106 to call when tests fail. It takes gdb out of the overloaded
13107 function choice menu back to the main prompt, so that the test
13108 program stays synchronized.
13109 (set_bp_overloaded): New proc to collect all the common
13110 code for setting a breakpoint on an overloaded name. Calls
13111 take_gdb_out_of_choice_menu when needed.
13112 (menu_overload1arg): New variable to collect the repeated
13113 instances of the expected menu for an overloaded name. Change
13114 the regular expression to handle changes in g++ type encoding:
13115 "void" can be either "void" or "", and "unsigned int" can be
13116 either "unsigned int" or "unsigned".
13117 (continue_to_bp_overloaded): Change regular expressions to handle
13118 changes in g++ type encoding.
13119 (no proc): Call take_gdb_out_of_choice_menu when needed.
13120 Remove redundant calls to "info break". Accept either "canceled"
13121 or "cancelled". Change regular expressions in "info break"
13122 calls to handle changes in g++ type encoding. Give all tests
13125 2001-01-17 Ben Elliston <bje@redhat.com>
13127 * config/sid.exp: New file.
13129 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
13131 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
13133 2000-12-21 Michael Snyder <msnyder@cygnus.com>
13135 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
13136 Add a RE to accept a non-ascii char if one is ever presented.
13138 2000-12-20 Fernando Nasser <fnasser@redhat.com>
13140 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
13142 2000-12-18 Michael Snyder <msnyder@cygnus.com>
13144 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
13145 in regexp. One '\' does not suffice on Linux.
13147 2000-12-09 Michael Chastain <chastain@redhat.com>
13149 * gdb.base/break.exp (test_clear_command): Use a marker function
13150 rather than 'main' for the test function. Also move this
13151 test to an execution point where the marker function names are
13152 guaranteed to be bound to functions. (Executing tests after a
13153 'finish' from main runs into name conflicts with local names
13154 in __libc_start_main).
13156 2000-12-07 Michael Snyder <msnyder@cygnus.com>
13158 * gdb.base/finish.exp: New test for gdb's "finish" command.
13159 * gdb.base/return2.exp: New test for gdb's "return" command.
13160 * gdb.base/return2.c: New source file for above.
13162 2000-12-05 Michael Snyder <msnyder@cygnus.com>
13164 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
13165 * gdb.base/miscexprs.exp: Ditto.
13166 * gdb.base/pointers.exp: Ditto.
13167 * gdb.c++/derivation.exp: Ditto.
13168 * gdb.c++/local.exp: Ditto.
13169 * gdb.c++/namespace.exp: Ditto.
13170 * gdb.c++/overload.exp: Ditto.
13171 * gdb.c++/ref-types.exp: Ditto.
13173 2000-12-05 Michael Snyder <msnyder@cygnus.com>
13175 * gdb.base/constvars.exp: Test result of "up" command.
13176 * gdb.base/miscexprs.exp: Ditto.
13177 * gdb.base/pointers.exp: Ditto.
13178 * gdb.base/scope.exp: Ditto.
13179 * gdb.c++/derivation.exp: Ditto.
13180 * gdb.c++/local.exp: Ditto.
13181 * gdb.c++/namespace.exp: Ditto.
13182 * gdb.c++/overload.exp: Ditto.
13183 * gdb.c++/ref-types.exp: Ditto.
13185 2000-11-22 Michael Chastain <chastain@redhat.com>
13187 * mips_pro.exp: Accept either "middle -> top -> main" or
13188 "middle -> main" in the backtrace, because gcc can optimize
13189 tail calls to jumps. Remove setup_xfail for the hppa case.
13190 Add a comment with the original warning messages from PR 3016,
13191 which was filed in 1993, to preserve them for posterity.
13193 2000-11-17 Nick Duffek <nsd@redhat.com>
13195 * lib/gdb.exp (gdb_test): Override timeout with board info.
13197 2000-11-17 Nick Duffek <nsd@redhat.com>
13199 * gdb.base/display.exp: Don't kill running stub. Add "again" to
13200 the second kill and detach messages.
13202 2000-11-17 Nick Duffek <nsd@redhat.com>
13204 * configure.in: Add AC_EXEEXT.
13205 * configure: Regenerate.
13206 * Makefile.in (just-check): Export EXEEXT.
13207 * lib/gdb.exp ($EXEEXT): Import from environment.
13208 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
13209 expect "maint dump-me" on Cygwin.
13210 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
13213 2000-11-17 Nick Duffek <nsd@redhat.com>
13215 * gdb.base/break.exp: Test backtrace and finish from called
13216 function on all platforms, not just HP-UX.
13218 2000-11-03 Michael Snyder <msnyder@cygnus.com>
13220 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
13221 code from gdb_target_monitor, so it can be used independantly
13222 for gdbserver. Also comment out an unnecessary PUTS.
13224 2000-11-03 Michael Snyder <msnyder@cygnus.com>
13226 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
13227 * gdb.base/corefile.exp: Expect the message "Program is being
13228 debugged already" when we send the "corefile" command, since
13229 the preceeding gdb_load may have connected gdb to a remote target.
13230 * gdb.base/display.exp: Disable hardware watchpoints if new
13231 board info variable "no_hardware_watchpoints" is true.
13232 Replace single-letter commands with more readable ones.
13233 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
13234 if new board info variable "no_hardware_watchpoints" is true.
13235 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
13236 to see if stdio (printf) testing is possible.
13237 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
13238 board info variable "no_hardware_watchpoints" is true. Use new
13239 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
13241 2000-11-13 Fernando Nasser <fnasser@redhat.com>
13243 From Orjan Friberg <orjanf@axis.com>:
13244 * gdb.base/printcmds.exp: Escape curly braces followed by a number
13245 in array print pattern match.
13247 2000-11-09 Fernando Nasser <fnasser@redhat.com>
13249 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
13250 spelling "cancelled" to U.S. spelling "canceled" to match changes
13252 * gdb.c++/ovldbreak.exp: Ditto.
13254 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
13256 * gdb.base/callfuncs.c (main): Moved to end of file, call
13257 t_double_values to initialize the FPU before inferior calls are made.
13258 * gdb.base/callfuncs.exp: Test for register preservation after calling
13259 inferior functions. Add tests for continuining, finishing and
13260 returning from a stop in a call dummy.
13262 2000-10-24 Michael Snyder <msnyder@cygnus.com>
13264 * gdb.base/commands.exp: Break up long lines, and re-indent.
13266 2000-10-19 Michael Snyder <msnyder@cygnus.com>
13268 * config/gdbserver.exp: Rewritten from the ground up, to make it
13269 compatible with the current dejagnu tree, and to make it work with
13270 the new "gdbserver" in libremote.
13272 2000-10-16 Michael Snyder <msnyder@cygnus.com>
13274 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
13275 * gdb.base/varargs.exp: Skip entire test if no printf support.
13276 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
13277 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
13279 2000-10-13 Michael Snyder <msnyder@cygnus.com>
13281 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
13282 no floating point support.
13283 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
13284 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
13285 * gdb.base/call-rt-st.exp: Ditto.
13286 * gdb.base/call-strs.exp: Ditto.
13288 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
13290 * gdb.base/sizeof.c: include <stdio.h>.
13292 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
13293 'finish', otherwise uncaptured gdb_prompt would potentially
13294 throw remaining test points out of sync.
13296 2000-07-26 Scott Bambrough <scottb@netwinder.org>
13298 * gdb.base/recurse.exp: Run tests for all targets.
13299 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
13300 gnu-oldld case on ARM.
13301 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
13304 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
13306 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
13307 * gdb.java/configure: Rebuild.
13309 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
13311 * gdb.java/jv-exp.exp: New file.
13313 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
13315 * configure: Rebuilt.
13316 * configure.in (configdirs): Add gdb.java.
13317 * gdb.java/jmisc.java: New file.
13318 * gdb.java/jmisc.exp: New file.
13319 * gdb.java/Makefile.in: New file.
13320 * gdb.java/configure: Rebuilt.
13321 * gdb.java/configure.in: New file.
13322 * lib/java.exp: New file.
13324 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
13326 * gdb.base/exprs.exp: Test casts to a pointer including over and
13329 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
13331 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
13332 and the compilers sizes.
13334 2000-07-09 Nick Duffek <nsd@redhat.com>
13336 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
13337 (use_methods): New function.
13338 (main): Call use_methods().
13339 * gdb.c++/classes.exp (test_method_param_class): New procedure.
13340 (do_tests): Call test_method_param_class.
13342 2000-07-09 Nick Duffek <nsd@redhat.com>
13344 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
13346 (test_enums): New procedure. Move enum tests from end of script
13347 to here. Set breakpoint on function name instead of line number.
13348 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
13349 (enums2): New marker function.
13350 (enums1): New function.
13351 (main): Call enums1(). Move enum tests to enums1().
13353 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
13355 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
13356 compile/link program. Update line numbers.
13357 * gdb.asm/d10v.inc: Define ``startup''.
13358 * gdb.asm/asmsrc1.s: Add definition of _start.
13360 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
13362 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
13364 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13366 * gdb.base/maint.exp: Add 'maint print architecture' item to output
13367 of 'help maint print' command.
13369 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
13371 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
13372 they use gdb_expect_list.
13374 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
13376 * gdb.base/commands.exp: Use ``set remote
13377 memory-read-packet-size'' instead of ``set endian big'' to test
13380 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
13382 * gdb.c++/templates.exp (do_tests): Make all of these work under
13383 g++, and stop skipping them.
13385 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
13388 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
13391 2000-06-02 Michael Snyder <msnyder@cygnus.com>
13393 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
13394 the regular expression: accept an (almost) arbitrary sequence of
13395 "frames-invalid" and "breakpoints-invalid" messages both before
13396 and after the "starting" message.
13398 2000-06-02 Michael Snyder <msnyder@cygnus.com>
13400 * gdb.c++/local.exp: This test has never been known to work with g++.
13402 2000-05-18 Michael Snyder <msnyder@cygnus.com>
13404 * gdb.base/annota1.exp (annotate-signal-handler-caller):
13405 Relax the regular expression a little, make it pass on Solaris 8.
13407 2000-05-12 Kevin Buettner <kevinb@redhat.com>
13409 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
13410 a call, do not require that gdb stop on the line after the call.
13411 Instead, it is permissible for gdb to stop on the line of the
13414 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
13416 * gdb.base/break.exp (bp on small function, optimized file):
13417 Add a second pass pattern. The behavior differs here between stabs
13418 and dwarf for one-line functions. Stabs preserves two line symbols
13419 (one before the prologue and one after) with the same line number,
13420 but dwarf regards these as duplicates and discards one of them.
13421 Therefore the address after the prologue (where the breakpoint is)
13422 has no exactly matching line symbol, and GDB reports the breakpoint
13423 as if it were in the middle of a line rather than at the beginning.
13425 2000-05-08 Michael Snyder <msnyder@cygnus.com>
13427 * gdb.base/interrupt.exp: Make "pass" message say "send"
13428 rather than "send_gdb" (for consistancy).
13430 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
13432 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
13433 * gdb.c++/templates.cc: Properly check for GCC version number.
13434 * lib/compiler.cc: Likewise
13436 2000-04-28 Michael Snyder <msnyder@cygnus.com>
13438 * gdb.base/break.exp: When compiled with -O2 optimization,
13439 gdb may not stop at the first line of main, due to code motion.
13441 2000-04-26 Michael Snyder <msnyder@cygnus.com>
13443 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
13444 This test depends on parsing the printf output from the target.
13445 Since the sparclet stub doesn't do stdio, this will never work.
13446 * gdb.base/call-rt-st.exp: ditto.
13447 * gdb.base/call-strs: ditto.
13449 2000-04-24 Michael Snyder <msnyder@cygnus.com>
13451 * gdb.base/miscexprs.exp: make sizeof long array test portable.
13453 * gdb.base/ending-run.exp: After connecting to a remote target,
13454 but before running, the target will appear to be in a random
13455 location. Specify both a file and a line for breakpoints.
13456 Also, the function that calls main may be called 'init'
13457 rather than 'start'.
13459 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13461 * gdb.base/help.exp: Update output for add-symbol-file command.
13463 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
13465 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13466 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
13468 2000-04-07 J.T. Conklin <jtc@redback.com>
13470 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
13472 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
13474 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
13476 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
13477 values that can be represented exactly.
13478 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
13479 above change, and to not check against the directory part of the source
13481 (step into print_long_arg_list): Likewise.
13482 (print print_small_structs from print_long_arg_list): Likewise.
13483 (print print_long_arg_list): Likewise.
13485 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13487 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
13489 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
13491 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
13493 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
13495 * gdb.base/commands.exp (deprecated_command_test): Add test for
13496 deprecate with no arguments.
13498 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
13500 * gdb.base/break.exp: Add new test for setting breakpoints on
13501 optimized code so we can test breakpoints work even when function
13502 prologues may be optimized away
13504 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
13506 From David Whedon <dwhedon@gordian.com>
13507 * gdb.base/commands.exp : Added command deprecator tests.
13509 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
13511 * gdb.base/help.exp: Added test for new apropos command.
13513 2000-03-21 Kevin Buettner <kevinb@redhat.com>
13515 * gdb.base/pointers.c (usevar): New function.
13516 (main): Make sure that global variables v_int_pointer2, rptr,
13517 and y are all referenced someplace in the program by calling
13518 usevar() on them. [Some linkers delete symbols which are
13519 never referenced. The space remains, but there's no way to
13520 get a (symbolic) handle on the variable from the debugger.]
13522 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13524 * gdb.base/printcmds.c: Add typedeffed arrays.
13526 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
13527 procedure to test arrays that are typedef'd.
13529 2000-03-13 James Ingham <jingham@leda.cygnus.com>
13531 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
13532 the library directories.
13534 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
13536 * configure.in (configdirs): Add sub directory gdb.mi.
13537 * configure: Re-generate.
13539 * gdb.mi: New directory.
13541 2000-02-25 Scott Bambrough <scottb@netwinder.org>
13543 * gdb.base/long_long.exp: Correct test suite failure when printing
13544 a long long value as a double on ARM platforms.
13546 2000-02-16 Jim Blandy <jimb@redhat.com>
13548 * gdb.base/break.exp ("breakpoint line number"): Make sure the
13549 default source file is set properly before running this test.
13551 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13553 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
13554 gdbtk/library directory, not in gdbtcl2.
13556 2000-02-04 Jim Blandy <jimb@redhat.com>
13558 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
13559 backslash from regexp pattern.
13561 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
13562 procedure. Use it to run all the "continue to bp overloaded"
13563 tests. Note that this changes the names of the tests slightly.
13564 If the breakpoint hit message includes a hex PC value, because
13565 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
13566 from the real source code, still consider that a pass.
13568 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
13569 XFAIL here if the breakpoint message contains a hex address. Note
13570 similar change on 1999-11-02.
13572 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
13574 * gdb.base/ptype.exp: Establish a default source file before
13575 calling get_debug_format.
13577 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
13579 * gdb.base/watchpoint.exp: Remove duplication of test messages.
13581 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
13583 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
13584 of successive stepi commands -- while in the prologue we should see
13585 the function entry bracket.
13587 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
13589 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
13590 reach __change_mode() when stepping through the end of main().
13592 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
13594 * gdb.base/default.exp: Fix expected pattern.
13595 * gdb.base/help.exp: Same.
13597 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13599 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
13600 Don't use xfail's because that affects only the following test.
13602 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
13605 * gdb.base/selftest.exp: Update to reflect changes to main.c.
13607 2000-01-07 Michael Snyder <msnyder@cygnus.com>
13609 * gdb.base/display.exp: Some yacc parsers like to say
13610 "A syntax error" rather than "A parse error". Accept both.
13612 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
13614 * gdb.base/default.exp: Remove OS dependent string from "target
13616 * gdb.base/help.exp: Same for "help target remote" test.
13618 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13620 From Jim Kingdon <kingdon@redhat.com>:
13622 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
13623 prompt (cleanup rather than necessity, but still might keep output
13624 from spilling to next test).
13626 2000-01-02 Fred Fish <fnf@cygnus.com>
13628 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
13629 AIX, which defines them in <sys/types.h>.
13631 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
13633 * gdb.base/default.exp: Match arm* etc instead of arm in "info
13636 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
13638 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
13640 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
13641 outermost frame disallowed".
13643 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
13645 * gdb.base/setvar.exp: New tests for setting the value of a struct
13646 with a constant list.
13648 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
13650 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
13651 require the user to type a cast before setting the value of a struct.
13653 1999-12-06 Jim Blandy <jimb@cygnus.com>
13655 * gdb.base/default.exp: Expect the new 'info float' command on
13656 all i386 platforms.
13658 * gdb.threads/linux-dp.exp: Expand our ability to recognize
13659 LinuxThreads libraries that don't support debugging.
13661 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
13663 * gdb.base/remote.c: Fill the buffer with truely random data.
13664 Change the buffer type to ``unsigned char'' to simplify size
13667 * gdb.base/remote.exp: Reduce download numbers by one. Typical
13668 stub only handles 400-1 byte packets. Verify that the download
13671 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
13673 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
13674 tests, using UNRESOLVED for the untested cases. Also, does not wait
13675 for a timeout if the prompt was received before a recognizable pattern.
13677 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
13679 * lib/gdb.exp (gdb_expect_list): Fix spelling.
13681 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13683 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
13686 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
13688 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
13690 * gdb.c++/local.exp: Be more flexible in recognizing local class
13691 name mangling. Don't allow horribly truncated method names.
13692 * gdb.c++/derivation.exp: Expect protected inheritance.
13693 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
13694 * gdb.c++/virtfunc.exp: Likewise.
13695 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
13696 when printing a nested enum.
13698 1999-11-22 Jim Blandy <jimb@cygnus.com>
13700 * gdb.base/step-test.exp: Properly await GDB's response to setting
13701 a breakpoint on the call to large_struct_by_value.
13703 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
13704 just because we have debug info for the `start' function.
13706 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
13708 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
13709 "Unknown signal" messages, which indicate (on LinuxThreads) that
13710 GDB doesn't know how to debug threads on this system. This is
13711 better than hanging while philosopher 0 dumps chatter into gdb.log.
13713 1999-11-18 Tom Tromey <tromey@cygnus.com>
13715 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
13717 1999-11-18 Fred Fish <fnf@cygnus.com>
13719 * gdb.base/coremaker2.c: Add sample program for generating
13720 cores that is more self contained than coremaker.c. Eventually
13721 I'll add more code to this and tie it into the testsuite.
13723 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
13725 * gdb.base/dollar.exp: Remove, now in gdb.hp.
13727 1999-11-10 Jimmy Guo <guo@cup.hp.com>
13729 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
13731 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
13734 * gdb.c++/derivation.exp: remove redundant get compiler info code.
13736 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
13737 'continue with watch' test point.
13739 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
13741 Merged from p2linux-990323-branch:
13743 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
13745 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
13747 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
13748 {limit,fixed}''. Test ``set download-write-size''.
13750 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
13752 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
13755 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
13757 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
13759 1999-11-03 Mark Salter <msalter@cygnus.com>
13761 * gdb.base/break.exp: Fix "stub continue" pattern.
13763 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
13765 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
13767 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
13769 * gdb.base/display.exp ("finish"): Add timeout clause.
13771 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
13772 plain prompt clause, so this doesn't have to time out in order to
13775 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
13776 breakpoint hit messages include an address.
13778 * gdb.base/display.exp: Don't forget to escape parens in regular
13779 expressions. Unix regexp notatation sucks.
13781 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13783 * gdb.base/annota1.exp: Test for annotate-signalled: change output
13784 order for 'signalled' message.
13786 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
13788 From Jimmy Guo <guo@cup.hp.com>:
13789 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
13790 * gdb.base/annota1.c: Add code for tests to work with.
13792 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
13794 * gdb.base/remote.exp: New test for remote downloading settings.
13795 * gdb.base/remote.c: New file with large .data.
13797 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
13799 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
13800 for LinuxThreads support, merged from the Code Fusion branch.
13802 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
13804 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
13805 containing exp_continue into a while within an expect. Don't
13806 attempt a start more than three times. Check return value from
13809 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
13811 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
13814 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
13816 * gdb.base/break.c (main): Added a statement that we can step
13818 * gdb.base/break.exp: Added tests for setting a breakpoint
13819 at an offset and stepping onto a breakpoint.
13821 1999-10-01 Fred Fish <fnf@cygnus.com>
13823 * gdb.base/help.exp (help add-symbol-file): Update to match current
13826 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
13828 * gdb.base/break.exp: Code locations are in hex, don't forget!
13831 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
13833 * condbreak.exp: Use break.c as test program.
13834 * condbreak.c: Remove, redundant with break.c.
13836 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
13838 * config/monitor.exp (gdb_target_monitor): Disable X- and
13839 Z-packets if the target needs it.
13841 1999-09-13 James Ingham <jingham@leda.cygnus.com>
13843 * gdb.c++/overload.exp: Added tests for listing overloaded
13844 functions with function pointers in the arg, explicitly calling
13845 out the version you want.
13847 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
13849 * long_long.exp: Add variations of test cases that work for
13850 targets with 16-bit ints and 32-bit doubles.
13852 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
13854 * break.c (main): Compare a possibly-uninitialized argc with an
13855 unlikely value that fits in 16 bits.
13857 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
13859 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
13860 0xfeeb, don't want negative numbers if ints are 16 bits.
13862 * lib/gdb.exp (skip_cplus_tests): New proc.
13863 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
13864 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
13865 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
13866 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
13867 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
13868 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
13869 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
13870 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
13872 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
13874 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
13876 * gdb.base/corefile.exp (up): Allow a parameter to appear
13877 in the frame that we're going up to.
13879 From Jim Blandy <jimb@cygnus.com>:
13881 * gdb.base/default.exp (info float): Expect some output now.
13883 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
13884 returning floating-point values to fail on the x86.
13885 * gdb.base/callfwmall.exp (do_function_calls): Same.
13887 * gdb.base/list.exp (test_listsize): Correct expectations for
13888 listing line 1 with listsize 2. Also, listing a single line
13889 works now, as does listing three lines. [Kevin's note: There
13890 were a number of other cases fixed too where the expectations
13893 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
13895 * gdb.base/selftest.exp: Add case for when version prints as
13896 constant string instead of char pointer.
13898 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
13900 * gdb.base/ending-run.exp: Add Solaris case for what happens when
13901 stepping out of main.
13903 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
13906 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
13907 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
13909 * gdb.c++/ovldbreak.exp: Update match string in test that
13910 includes a warning of multiple breakpoints.
13912 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
13914 * gdb.base/display.exp: Improve precision of step-after-finish
13917 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
13920 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
13921 configs when using G++, not just hppa*.
13923 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13925 * gdb.base/async.c: New file.
13926 * gdb.base/async.exp: New file.
13928 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
13930 * gdb.base/break.exp: Tweak PA specific tests to properly handle
13933 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
13935 * gdb.base/display.exp: "finish" can leave us mid-line on many
13936 targets, deal with it. Add a small constant to main, instead of
13937 1000 since main+1000 may not be a valid address in the target.
13939 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
13942 * gdb.base/attach.exp: Handle another hpux11 error message variant
13943 when attaching to a process that does not exist.
13945 1999-08-19 J.T. Conklin <jtc@redback.com>
13947 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
13948 characters in 'continue to 1241' test.
13950 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
13952 * gdb.base/call-ar-st.exp: Add a shorter match case for the
13953 stop in print_long_arg_list, define and use a whitespace
13954 variable in print_small_structs test, add an XFAIL for Solaris.
13955 * gdb.base/dbx.exp: XFAIL func commands until somebody is
13956 interested enough to fix.
13958 1999-08-13 Keith Seitz <keiths@cygnus.com>
13960 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
13961 (dbx_gdb_load): Remove. Use gdb_load instead, since that
13962 proc knows about targets other than the natives.
13963 (test_assign): Use "gdb_run_cmd" to "run" the target.
13964 Check that we've actually hit the breakpoint at main.
13965 When we attempt to assign a value to a local variable, check
13966 that the variable is in the current scope, i.e., don't use
13967 a test with an empty result.
13969 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
13971 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
13974 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
13976 From Jimmy Guo <guo@cup.hp.com> and others at HP:
13977 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
13978 gdb.compat, gdb.threads-hp.
13979 gdb.hp/configure, gdb.hp/configure.in: New files.
13980 gdb.hp/Makefile.in: Recurse into new subdirs.
13981 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
13982 gdb.hp/gdb.objdbg: New directory, tests for debugging info
13984 gdb.hp/tools: New directory, aux tools for HP-specific tests.
13986 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
13988 * gdb.base/display.exp: Help expect by putting a newline in the
13989 funky printf, remove a bogus p/a test.
13991 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
13993 * gdb.base/display.exp: Make sure that when we say 'run', we are
13994 connected to the target. This is necessary when running not
13997 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
13999 * gdb.base/step-test.exp: Removed some extraneous messages.
14001 * gdb.base/long_long.exp: Don't run memory examination tests
14002 on little-endian targets (they will need a different set of
14005 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
14007 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
14008 until somebody decides to fix GDB.
14010 * gdb.base/long_long.c: Stop compiler complaint by specifying long
14012 * gdb.base/long_long.exp: Loosen x/c test, add partial result
14013 matches for a couple x/2 commands.
14015 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
14017 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
14018 by merging in ref-types2 tests.
14019 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
14021 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14022 * gdb.c++/Makefile.in: Add standard actions.
14023 (EXECUTABLES): Rename from PROGS, update list.
14024 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
14026 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
14027 foo and bar locals.
14028 * gdb.c++/anon-union.exp: Fix tests to match.
14029 * gdb.c++/classes.exp: Run if HP compiler used, add extra
14030 expect matches to handle output variations.
14031 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
14032 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
14033 output, add HP alternatives for new and delete prints.
14034 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
14035 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
14036 * gdb.c++/demangle.exp: Use $style when reporting failure.
14037 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
14038 * gdb.c++/inherit.exp: Run if HP compiler used, add some
14039 match alternatives.
14040 * gdb.c++/local.exp: Add match alternatives or xfails for HP
14042 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
14043 * gdb.c++/method.exp: Add match alternatives.
14044 * gdb.c++/misc.cc: Add bool types.
14045 * gdb.c++/misc.exp: Add tests for bool types.
14046 * gdb.c++/overload.exp: Add xfails.
14047 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
14048 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
14049 add some more template parameter tests (only for HP currently).
14050 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
14051 * gdb.c++/virtfunc.cc: Add return type and value for main.
14052 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
14053 match alternatives.
14055 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14057 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
14059 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
14061 * gdb.base/signals.exp: Don't expect getting a backtrace from
14062 within a signal handler to fail on Linux.
14064 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
14066 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14067 * lib/gdb.exp: Remove some gratuitious semicolons.
14068 (delete_breakpoints): Increase timeout.
14069 (gdb_expect): Add -notransfer option.
14070 (gdb_test): Use -notransfer option.
14071 (get_compiler_info): Add f77 case.
14072 (get_compiler): New proc, split out from gdb_preprocess, add f77
14074 (gdb_preprocess): Call get_compiler.
14076 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
14077 * gdb.base/attach.exp, gdb.base/display.exp,
14078 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
14079 gdb.base/long_long.exp, gdb.base/printcmds.exp,
14080 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
14081 third arg to gdb_test.
14082 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
14083 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
14084 HP-UX xfails, add others.
14085 * gdb.base/completion.exp: Reflect name change of self-test.
14086 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
14087 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
14088 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
14090 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
14091 useless HP-UX 10.30 references.
14092 * gdb.base/maint.exp: Loosen matches.
14093 * gdb.base/pointers.c (main): Declare more_code.
14094 * gdb.base/pointers.exp: Match on output of a `next'.
14095 * gdb.base/structs.c: Add prototypes.
14096 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
14097 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
14099 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14101 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
14104 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14106 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
14107 Fix run to main failures. Watchpoint can be hardware watchpoint.
14109 * gdb.base/annota1.exp: Clean up some more, in case printf has
14110 debug info. Deal with lack of signal hanlder info in stack.
14112 From Jim Kingdon <kingdon@redhat.com>:
14113 * gdb.base/annota1.exp: If printf has debug info, deal with it.
14115 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
14117 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
14118 gdb.base/foll-vfork.exp: Don't run for crosses.
14120 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
14122 * gdb.base/configure.in: Check for gdbvars.exp instead of
14124 * gdb.base/configure: Re-generate.
14126 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
14128 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
14129 in trying to run first and name is too long.
14131 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
14132 pointers2.c and pointers2.exp, respectively.
14133 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
14136 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
14138 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
14139 callfuncs2.c and callfuncs2.exp.
14141 * gdb.base/list.exp: Remove mistaken xfails.
14142 * gdb.base/list0.h: Add optional prototypes.
14144 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
14146 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
14148 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
14149 * ptype.exp: Move test for get_debug_format to before its first
14152 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14154 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
14155 * gdb.base/annota2.cc, annota2.exp: Move from here.
14156 * gdb.c++/annota2.cc, annota2.exp: To here.
14157 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
14159 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
14161 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
14162 a consistent format.
14164 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
14166 From Jimmy Guo <guo@cup.hp.com> and others at HP:
14167 * lib/gdb.exp (get_compiler_info): Add detection for assorted
14168 HP compilers, also set the globals $true and $false.
14170 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
14171 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
14172 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
14173 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
14174 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
14175 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
14176 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
14177 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
14178 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
14179 whatis.c} Add C++ compatible function definitions and return
14180 types, add includes for library functions.
14181 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
14182 * gdb.base/step-test.c (myglob): Rename from glob.
14183 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
14184 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
14185 files, move here from gdb.hp.
14186 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
14187 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
14188 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
14189 Adjust line numbers in regexps.
14191 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
14192 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
14195 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
14196 foll-vfork.exp: New files, move here from gdb.hp.
14197 * gdb.base/page.exp: New file, test of pagination command.
14199 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
14201 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
14203 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
14204 gdb.base/solib.exp: Fix compiler invocation process.
14206 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
14207 HP-UX 11, turn off overload resolution explicitly.
14208 * gdb.base/commands.exp: Set argument list explicitly, add
14210 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
14212 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
14213 expressions properly.
14214 * gdb.base/corefile.exp: Loosen the match slightly.
14215 * gdb.base/default.exp: Allow "Error accessing memory" message
14217 * gdb.base/display.exp: Skip over x/0 j if PA64.
14218 * gdb.base/funcargs.exp: Add xfails for HP-UX.
14219 * gdb.base/interrupt.exp: Ditto.
14220 * gdb.base/langs.exp: Add symbolic matches governed by compiler
14222 * gdb.base/list.exp: Add xfails for HP-UX.
14223 * gdb.base/long_long.exp: Refine some of the numeric matches.
14224 * gdb.base/mips_pro.exp: Xfail on HP-UX.
14225 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
14226 * gdb.base/nodebug.exp: Succeed on more varieties of output.
14227 * gdb.base/opaque.exp: Remove some HP-UX xfails.
14228 * gdb.base/ptype.exp: Succeed on more varieties of output.
14229 * gdb.base/scope.exp: Add xfails for HP-UX.
14230 * gdb.base/sect-cmd.exp: Add more cases.
14231 * gdb.base/setvar.exp: Add xfails for HP-UX.
14232 * gdb.base/shlib-call.exp: Loosen some matches slightly.
14233 * gdb.base/signals.exp: Match on void symbolically.
14234 * gdb.base/step-test.exp: Add case for PA64.
14235 * gdb.base/term.exp: Add exit and restart.
14236 * gdb.base/twice.exp: Clean up after self.
14237 * gdb.base/varargs.exp: Disable overload resolution explicitly.
14238 * gdb.base/whatis.exp: Allow more ways to pass tests.
14240 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
14243 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
14245 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
14247 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
14248 print_double_array(double_array)", "continuing to breakpoint
14249 1018", "print print_double_array(array_d)" and "continuing to
14252 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
14254 * Makefile.in: Add empty html and install-html targets.
14256 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
14258 * config/mt-*: Remove, these haven't been used since 1996.
14260 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
14262 * gdb.base/call-strs.c, gdb.base/ending-run.c,
14263 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
14264 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
14266 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
14268 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
14269 simpler match case for the ptype of the big class.
14271 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14273 * gdb.exp: Fix test for gdb_prompt existence.
14275 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14277 * gdb.exp (gdb_test): Add fail after calls to perror.
14279 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14281 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
14283 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
14285 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
14287 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
14289 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
14290 malloc() is linked in.
14292 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
14294 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
14297 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
14299 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
14301 * gdb.java/jv-print.exp: New file. (Our first Java test!)
14303 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
14305 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
14306 * gdb.base/mips_pro.exp: Likewise.
14308 1999-06-02 Keith Seitz <keiths@cygnus.com>
14310 * gdb.c++/templates.cc: Change all "new" operators to throw
14312 * gdb.c++/cplusfuncs.cc: Likewise.
14314 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
14316 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
14318 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
14319 * gdb.base/ending-run.exp: When stepping out of main, accept a
14320 step into an arbitrary assembler file.
14322 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14324 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
14325 "breakpoint-invalid" to be printed.
14326 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
14327 number of "frames-invalid" and "breakpoint-invalid" to be printed.
14328 * gdb.base/annota2.cc: Initialize a.x to 0.
14330 1999-05-17 Keith Seitz <keiths@cygnus.com>
14332 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
14333 when "skip_float_tests" set.
14334 Ditto for "print print_double_array(array_d)", "print print_small_structs",
14335 "print print_ten_doubles", and "step into print_long_arg_list".
14336 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
14337 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
14338 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
14339 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
14340 "skip_float_tests" is set.
14341 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
14342 when "skip_float_tests" set.
14344 1999-05-06 Keith Seitz <keiths@cygnus.com>
14346 * gdb.base/annota2.cc: Include stdio.h.
14348 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
14350 * gdb.base/crossload.exp: Remove, this has been disabled ever
14351 since BFD stopped including all targets, and cross-GDB gets
14352 plenty of testing anyway.
14353 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
14354 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
14355 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
14356 * gdb.base/README: Remove, was doc for this.
14357 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
14360 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14362 * gdb.base/call-ar-st.exp: Fix one regular expression in test
14365 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
14366 * gdb.base/annota2.exp: New file. More annotation tests.
14367 * gdb.base/annota1.c: New file. Source file for annota1.exp.
14368 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
14370 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
14372 * config/cfdbug.exp: New file.
14374 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
14376 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
14377 Marcus Daniel's and Dale Hawkins's demangler crashes.
14379 * gdb.c++/demangle.exp (test_gnu_style_demangling,
14380 test_lucid_style_demangling, test_arm_style_demangling,
14381 test_hp_style_demangling): Try Tom Tromey's core-dumping
14382 identifier under each demangling style.
14384 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
14386 * gdb.c++/demangle.exp: Include the current demangling style
14388 (current_demangling_style): New global variable.
14389 (set_demangling_style, test_demangling_core, test_demangling,
14390 test_demangling_exact): New functions.
14391 (test_gnu_style_demangling, test_lucid_style_demangling,
14392 test_arm_style_demangling, test_hp_style_demangling): Use those,
14393 instead of calling gdb_test and gdb_test_exact directly.
14394 (catch_demangling_errors): New function, which reports errors
14395 signalled by the demangling test functions in an orderly way.
14396 (do_tests): Use catch_demangling_errors.
14398 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
14400 * gdb.base/signals.exp (test_handle_all_print): Use () for
14401 grouping in expressions, not {}.
14403 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
14406 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
14408 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
14411 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
14413 * gdb.stabs/weird.exp: Test for CC being defined before
14414 looking at its value.
14416 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
14418 * gdb.base/call-ar-st.exp: Remove stray '#'.
14419 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
14420 "short int" and "long int".
14421 * gdb.c++/overload.cc: Cast the string added in the previous
14422 change, to mollify finicky HP compiler.
14423 * gdb.hp/reg-test.exp (testfile): Fix file name.
14424 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
14426 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
14427 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
14428 alternate form of enum ptype.
14430 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
14432 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
14433 * gdb.hp/*.exp: Change all to run compiler probe only after
14434 passing skip_hp_tests, so as not to waste time on guaranteed
14437 * gdb.c++/overload.cc: Pass string instead of char addr, always
14439 * gdb.c++/templates.cc: Fix syntax error.
14441 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14443 * gdb.base/commands.exp: Add test for correct position of '>'
14444 when issuing the 'commands' command after a 'while' or 'if'
14447 1999-03-18 James Ingham <jingham@cygnus.com>
14449 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
14451 * gdb.c++/method.exp: It was testing an uninitialized int on the
14452 stack and assuming it was positive.
14454 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
14456 * gdb.base/step-test.exp: Catch a case where finish is broken and
14457 keep it from killing the rest of the tests.
14458 Use gdb_continue_to_end.
14460 * gdb.base/sigall.exp: use gdb_continue_to_end.
14462 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
14464 * gdb.base/display.exp: use runto_main, not run.
14466 * gdb.base/default.exp: Check for the current error message in the
14467 r abbreviation test.
14468 Add strongarm to the targets that know info float.
14470 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
14471 run which doesn't work with monitors.
14473 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
14475 * gdb.base/break.exp: use the gdb_continue_to_end proc.
14477 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
14478 program. Traps the case (in Cygmon) when the program never really
14479 exits. Same as Mark's continue_to_exit, but I had put it in a lot
14480 more places, so I used my name. Sorry Mark...
14482 * config/monitor.exp (gdb_target_monitor): added another
14483 target_info parameter: remotebinarydownload. This will set the
14484 remotebinarydownload flag if this is causing some boards trouble.
14486 1999-03-18 Mark Salter <msalter@cygnus.com>
14488 * lib/gdb.exp (continue_to_exit): New function.
14490 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
14491 * gdb.base/ending-run.exp: Ditto.
14492 * gdb.base/step-test.exp: Ditto.
14494 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
14496 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
14497 (suggested by Art Haas <ahaas@neosoft.com>).
14499 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
14501 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
14503 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
14505 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
14506 descriptions of types (short unsigned int vs unsigned short, etc).
14508 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
14510 * gdb.base/call-strs.exp: Don't assume that `step' will step over
14511 a call to strlen; sometimes we do have sources.
14513 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
14515 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
14516 character, so GDB won't print garbage after its end.
14518 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
14519 breakpoint there instead. Sometimes GCC emits memcpy to handle
14520 the large structures being passed by value, so we step into that
14521 instead of sum_array_print, which obscures what we're really testing.
14522 * gdb.base/step-test.exp: However, we do want a test that notices
14523 the bizarre steps into memcpy, so do that here. Add check for
14524 stepping into function calls that pass large structures by value.
14525 ("Is that a noun clause, or are you just happy to see me?")
14526 Remove all references to specific line numbers.
14527 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
14528 New type and function.
14529 (main): Call large_struct_by_value, passing it a large struct by value.
14530 * lib/gdb.exp (gdb_get_line_number): New function.
14532 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
14535 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
14537 * lib/gdb.exp: Doc fixes.
14539 1999-03-05 Nick Clifton <nickc@cygnus.com>
14541 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
14543 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
14545 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
14546 commands. They're not germane to this test, and they don't work
14547 that way on remote targets.
14549 1999-03-01 James Ingham <jingham@cygnus.com>
14551 * Changelog entries merged over from gdb development branch.
14553 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
14555 * lib/gdb.exp (gdbtk_analyze_results): Generic function
14556 for outputting results of test run.
14558 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
14560 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
14562 1999-02-25 Felix Lee <flee@cygnus.com>
14564 * lib/gdb.exp (debug_format): initialize
14566 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
14568 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
14569 * gdb.base/call-rt-st.c: Ditto.
14571 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
14573 * gdb.threads/pthreads.exp (horiz): New variable.
14574 (test_startup): Fix regexps that capture thread numbers.
14576 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
14578 * gdb.base/smoke.exp: Disambiguate two test case names (both
14581 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
14583 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
14586 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
14588 * gdb.base/miscexprs.exp: Change patterns to match GDB's
14589 actual output formatting.
14590 * gdb.base/smoke.exp: GDB removes leading 0's.
14591 * gdb.base/volatile.exp: Don't check type of remuneration;
14592 that variable is no longer defined in constvars.c.
14593 * gdb.base/step-test.c (main): Exit with explicit exit code.
14594 * gdb.base/step-test.exp: Remove two nexti checks--they are
14597 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
14599 * gdb.base/help.exp ("help delete display"): Fix test to match
14602 * gdb.base/long_long.c (known_types): Initialize values to zero.
14603 * gdb.base/long_long.exp: Step one more line
14604 so 'dec' is initialized in "get to known place". GDB removes
14605 leading zeros. Explicitly ask for hex formatting. Use
14606 unique test case names.
14608 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14610 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
14612 * gdb.c++/method.exp: Add missing close brace.
14614 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
14616 * gdb.base/maint.exp: Use 'set height 0' to disable page
14617 prompting, not 'set height 400'.
14619 Fix a bunch of timeouts.
14620 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
14621 four separate tests, so expect doesn't take forever to match a ton
14622 of text against a regexp with lots of .* forms.
14623 ("maint print psymbols", "maint print symbols"): Make some of
14624 these greps more selective, so that expect doesn't try to wade
14625 through huge piles of output and time out.
14627 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
14629 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
14630 tests: one which doesn't expect shlib events to be reported, and
14631 another which does, but is XFAIL for all platforms other than
14634 * gdb.base/break.exp: Teach the test suite that the `catch
14635 fork', `catch vfork', and `catch exec' commands produce error
14636 messages on platforms that don't provide these features.
14638 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
14640 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
14641 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
14642 (shortening names from solib_threshold.exp etc), won't run on
14643 anything but HP-UX for the foreseeable future.
14644 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
14647 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
14649 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
14650 gdb.trace/Makefile.in (clean): Remove all test executables.
14652 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
14654 * gdb.base/shlib-call.exp: add test cases to verify that gdb
14655 successfully re-sets breakpoints in shared libraries.
14656 * gdb.base/shmain.c (main): return 0, don't fall off the end.
14658 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14660 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
14661 and compiled w/o GCC.
14663 * gdb.hp/watch-cmd.exp: ditto.
14665 * gdb.hp/watch-hp.exp: ditto.
14667 * gdb.hp/xdb1.exp: ditto.
14669 * gdb.hp/xdb2.exp: ditto.
14671 * gdb.hp/dbx.exp: ditto.
14673 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
14675 * constvars.c: Remove C++-isms.
14676 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
14679 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
14681 The following changes are part of the HP merge.
14683 * gdb.base/break.exp: new tests to verify that catchpoints for
14684 fork, vfork, and exec don't trigger inappropriately.
14686 * gdb.base/opaque.exp: compile one file at a time, then link.
14688 * gdb.base/signals.exp: be more restrictive about which hppa
14689 systems receive a setup_xfail. new tests.
14691 * gdb.base/solib_threshold.build: new file.
14692 * gdb.base/solib_threshold.exp: new file.
14693 * gdb.base/solib_threshold.link_opts: new file.
14694 * gdb.base/solib_threshold.mk: new file.
14695 * gdb.base/gen_solib_threshold.c: new file.
14697 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
14698 tests. New tests for enums inside classes.
14700 * gdb.c++/compiler.cc: indicate support of template debugging.
14702 * gdb.c++/demangle.exp: run hp style demangling tests.
14704 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
14707 * gdb.c++/misc.cc: changes to support new tests.
14709 * gdb.c++/templates.cc: changes to support HP's compiler; changes
14710 to support new tests.
14712 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
14713 gcc, then skip these tests.
14715 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
14717 The following files are part of the HP merge; some had longer
14718 names at HP, but have been renamed to be no more than 14
14719 characters in length.
14721 * gdb.hp/ambiguous.cc: new file.
14722 * gdb.hp/ambiguous.exp: new file.
14723 * gdb.hp/attach.exp: new file.
14724 * gdb.hp/attach2.exp: new file.
14725 * gdb.hp/classes-hp.exp: new file.
14726 * gdb.hp/ctti.exp: new file.
14727 * gdb.hp/ctti-add.cc: new file.
14728 * gdb.hp/ctti-add1.cc: new file.
14729 * gdb.hp/ctti-add2.cc: new file.
14730 * gdb.hp/ctti-add3.cc: new file.
14731 * gdb.hp/dbx.exp: new file.
14732 * gdb.hp/exception.cc: new file.
14733 * gdb.hp/exception.exp: new file.
14734 * gdb.hp/foll-exec.c: new file.
14735 * gdb.hp/foll-exec.exp: new file.
14736 * gdb.hp/foll-fork.c: new file.
14737 * gdb.hp/foll-fork.exp: new file.
14738 * gdb.hp/foll-vfork.c: new file.
14739 * gdb.hp/foll-vfork.exp: new file.
14740 * gdb.hp/inherit-hp.exp: new file.
14741 * gdb.hp/more-steps.exp: new file.
14742 * gdb.hp/namespace.cc: new file.
14743 * gdb.hp/namespace.exp: new file.
14744 * gdb.hp/optimize.exp: new file.
14745 * gdb.hp/pxdb.c: new file.
14746 * gdb.hp/pxdb.exp: new file.
14747 * gdb.hp/quicksort.exp: new file.
14748 * gdb.hp/reg-test.exp: new file.
14749 * gdb.hp/reg-test.s: new file.
14750 * gdb.hp/sized-enum.c: new file.
14751 * gdb.hp/sized-enum.exp: new file.
14752 * gdb.hp/start-stop.exp: new file.
14753 * gdb.hp/templ-hp.cc: new file.
14754 * gdb.hp/templ-hp.exp: new file.
14755 * gdb.hp/thr-lib.c: new file.
14756 * gdb.hp/thr-lib.exp: new file.
14757 * gdb.hp/thr-lib.h: new file.
14758 * gdb.hp/thr-liblib.c: new file.
14759 * gdb.hp/virtfun-hp.c: new file.
14760 * gdb.hp/virtfun-hp.exp: new file.
14761 * gdb.hp/watch-cmd.exp: new file.
14762 * gdb.hp/watch-hp.exp: new file.
14763 * gdb.hp/xdb1.exp: new file.
14764 * gdb.hp/xdb2.exp: new file.
14765 * gdb.hp/xdb3.exp: new file.
14767 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
14769 The following files are part of the HP merge; some had longer
14770 names at HP, but have been renamed to be no more than 14
14771 characters in length.
14773 * gdb.base/ss.h: new file.
14774 * gdb.base/call-ar-st.c: new file.
14775 * gdb.base/call-ar-st.exp: new file.
14776 * gdb.base/call-rt-st.c: new file.
14777 * gdb.base/call-rt-st-exp: new file.
14778 * gdb.base/call-strs.exp: new file.
14779 * gdb.base/ena-dis-br.exp: new file.
14780 * gdb.base/environ.exp: new file.
14781 * gdb.base/long_long.exp: new file.
14782 * gdb.base/sect-cmd.exp: new file.
14783 * gdb.base/shlib-cl2.exp: new file.
14784 * gdb.base/smoke.exp: new file.
14785 * gdb.base/so-impl-ld.c: new file.
14786 * gdb.base/so-impl-ld.exp: new file.
14787 * gdb.base/so-indr-cl.c: new file.
14788 * gdb.base/so-indr-cl.exp: new file.
14789 * gdb.base/varargs.exp: new file.
14790 * gdb.base/volatile.exp: new file.
14791 * gdb.base/whatis-exp.exp: new file.
14792 * gdb.base/display.exp: new file.
14793 * gdb.c++/derivation.exp: new file.
14794 * gdb.c++/local.exp: new file.
14795 * gdb.c++/member-ptr.exp: new file.
14796 * gdb.c++/overload.exp: new file.
14797 * gdb.c++/ovldbreak.exp: new file.
14798 * gdb.c++/ref-types.exp: new file.
14799 * gdb.c++/ref-types2.exp: new file.
14800 * gdb.c++/userdef.exp: new file.
14802 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
14804 * gdb.base/default.exp: Reflect wording change in remote.c.
14806 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
14808 * gdb.base/help.exp: Update to reflect current text.
14810 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
14812 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
14813 they're stack variables and contain garbage.
14814 * gdb.c++/anon-union.exp: new file.
14816 The following changes were made by David Taylor
14817 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
14818 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
14821 * gdb.base/bitops.exp: new file.
14822 * gdb.base/default.exp: change expected messages for catch and
14823 info catch tests to reflect HP merge changes.
14824 * gdb.base/enable-disable-break.exp
14825 * gdb.base/ending-run.c: new file.
14826 * gdb.base/long_long.c: new file.
14827 * gdb.base/maint.exp: new file.
14828 * gdb.base/pointers2.exp: new file.
14829 * gdb.base/shlib-call2.exp: new file.
14830 * gdb.base/solib.exp: new file.
14831 * gdb.base/step-test.c: new file.
14832 * gdb.c++/anon-union.cc: new file.
14833 * gdb.c++/local.cc: new file.
14834 * gdb.c++/member-pointer.cc: new file.
14835 * gdb.c++/method.cc: new file.
14836 * gdb.c++/ref-types.cc: new file.
14837 * gdb.c++/ref-types2.cc: new file.
14838 * gdb.c++/userdef.cc: new file.
14840 * gdb.base/scope.exp: compile one file at a time, then link.
14841 * gdb.base/langs.exp: ditto.
14842 * gdb.base/list.exp: ditto.
14844 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
14846 The following changes were made by David Taylor
14847 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
14848 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
14851 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
14852 skip tests. When compiling pass c++ flag to gdb_compile.
14855 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
14856 test for on hppa*-*-hpux*; use args to see if c++ was specified.
14857 (skip_hp_tests): new function.
14858 (gdb_preprocess): new function.
14860 * configure.in (hpdir): decide whether to configure gdb.hp.
14861 * configure: regenerated.
14863 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
14864 to delete on clean.
14865 (EXECUTABLES): update to reflect new additions.
14866 * gdb.base/commands.exp: update message expected.
14867 * gdb.base/default.exp: add copyright notice.
14868 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
14869 * gdb.base/help.exp: update messages to reflect current text.
14870 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
14871 targets for recurse tests.
14872 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
14875 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
14876 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
14878 * gdb.c++/misc.exp: ditto.
14879 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
14880 run the tests. tell gdb_compile that it's a c++ compilation.
14882 * gdb.threads/pthreads.exp: fix typo in message.
14884 * gdb.base/all-bin.exp: new file.
14885 * gdb.base/arithmet.exp: new file.
14886 * gdb.base/assign.exp: new file.
14887 * gdb.base/completion.exp: new file.
14888 * gdb.base/cond-expr.exp: new file.
14889 * gdb.base/condbreak.exp: new file.
14890 * gdb.base/define.exp: new file.
14891 * gdb.base/dollar.exp: new file.
14892 * gdb.base/environment.exp: new file.
14893 * gdb.base/eval-skip.exp: new file.
14894 * gdb.base/jump.exp: new file.
14895 * gdb.base/logical.exp: new file.
14896 * gdb.base/pointers.exp: new file.
14897 * gdb.base/relational.exp: new file.
14898 * gdb.base/section_command.exp: new file.
14899 * gdb.base/whatis-expr.exp: new file.
14901 * gdb.base/all-types.c: new file.
14902 * gdb.base/call-array-struct.c: new file.
14903 * gdb.base/call-return-struct.c: new file.
14904 * gdb.base/call-strings.c: new file.
14905 * gdb.base/callfuncs2.c: new file.
14906 * gdb.base/condbreak.c: new file.
14907 * gdb.base/constvars.c: new file.
14908 * gdb.base/display.c: new file.
14909 * gdb.base/int-type.c: new file.
14910 * gdb.base/jump.c: new file.
14911 * gdb.base/miscexprs.c: new file.
14912 * gdb.base/pointers.c: new file.
14913 * gdb.base/pointers2.c: new file.
14914 * gdb.base/shmain.c: new file.
14915 * gdb.base/shr1.c: new file.
14916 * gdb.base/shr2.c: new file.
14917 * gdb.base/solib.c: new file.
14918 * gdb.base/solib1.c: new file.
14919 * gdb.base/solib2.c: new file.
14920 * gdb.base/varargs.c: new file.
14921 * gdb.c++/derivation.cc: new file.
14922 * gdb.c++/overload.cc: new file.
14923 * gdb.c++/ovldbreak.cc: new file.
14924 * gdb.hp/attach.c: new file.
14925 * gdb.hp/attach2.c: new file.
14926 * gdb.hp/average.c: new file.
14927 * gdb.hp/compiler.c: new file.
14928 * gdb.hp/compiler.cc: new file.
14929 * gdb.hp/execd-program.c: new file.
14930 * gdb.hp/follow-exec.c: new file.
14931 * gdb.hp/follow-fork.c: new file.
14932 * gdb.hp/follow-vfork-and-exec.c: new file.
14933 * gdb.hp/misc-hp.cc: new file.
14934 * gdb.hp/more-steps.c: new file.
14935 * gdb.hp/optimize.c: new file.
14936 * gdb.hp/quicksort.c: new file.
14937 * gdb.hp/run-hp.c: new file.
14938 * gdb.hp/start-stop.c: new file.
14939 * gdb.hp/sum.c: new file.
14940 * gdb.hp/templates-hp.cc: new file.
14941 * gdb.hp/thread-local-in-lib.c: new file.
14942 * gdb.hp/thread-local-in-lib.h: new file.
14943 * gdb.hp/thread-local-in-lib.lib.c: new file.
14944 * gdb.hp/vforked-program.c: new file.
14945 * gdb.hp/virtfunc-hp.cc: new file.
14946 * gdb.hp/watchpoint-hp.c: new file.
14947 * gdb.hp/xdb.c: new file.
14948 * gdb.hp/xdb0.c: new file.
14949 * gdb.hp/xdb0.h: new file.
14950 * gdb.hp/xdb1.c: new file.
14952 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
14954 The following change was made by Edith Epstein
14955 <eepstein@cygnus.com> as part of a project to merge in changes
14956 originally made by HP; HP did not create ChangeLog entries.
14958 * gdb.c++/demangle.exp: changed the expected output for some
14959 ARM-style mangling -- removed second reference to datatype.
14960 For example, maint demangle __dt__11T1__pt__2_cFv
14961 T1<char>::~T1<char>(void)
14963 maint demangle __dt__11T1__pt__2_cFv
14964 T1<char>::~T1(void)
14966 (test_hp_style_demangling): new hp specific demangling test cases.
14968 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
14970 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
14971 * gdb.trace/backtrace.exp: Likewise.
14972 * gdb.trace/circ.exp: Likewise.
14973 * gdb.trace/collection.exp: Likewise.
14974 * gdb.trace/deltrace.exp: Likewise.
14975 * gdb.trace/infotrace.exp: Likewise.
14976 * gdb.trace/limits.exp: Likewise.
14977 * gdb.trace/packetlen.exp: Likewise.
14978 * gdb.trace/passc-dyn.exp: Likewise.
14979 * gdb.trace/passcount.exp: Likewise.
14980 * gdb.trace/report.exp: Likewise.
14981 * gdb.trace/save-trace.exp: Likewise.
14982 * gdb.trace/tfind.exp: Likewise.
14983 * gdb.trace/tracecmd.exp: Likewise.
14984 * gdb.trace/while-dyn.exp: Likewise.
14985 * gdb.trace/while-stepping.exp: Likewise.
14987 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
14989 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
14991 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
14993 From Brendan Kehoe:
14994 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
14997 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
14999 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
15000 remote dos host testing right.
15002 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
15004 * gdb.base/corefile.exp: remove some xfails.
15006 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
15008 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
15009 have different timestamps.
15011 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
15013 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
15014 gdb.base/default.exp: Replace "exec" with "executable".
15016 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
15018 * gdb.base/default.exp: Change else if to elseif from previous
15021 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
15023 * gdb.base/default.exp: Add brace missing from previous delta.
15025 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
15027 * gdb.base/default.exp: Support test for info float for all
15028 varieties of arm toolchain.
15030 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
15032 * gdb.trace/*.exp: remove "remote_download" command.
15034 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
15036 * gdb.trace/*.exp: remove -gdwarf from compile.
15038 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
15040 * gdb.trace/configure.in(AC_INIT): typo
15041 * gdb.trace/configure: regenerated
15043 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
15045 * config/m68k-emc.exp: New file.
15046 * lib/<emc-support.exp trace-support.exp}: New files.
15047 * configure.in: add new test directory gdb.trace.
15048 * gdb.trace/{configure configure.in Makefile.in}: New files.
15049 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
15050 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
15051 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
15052 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
15053 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
15054 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
15055 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
15057 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
15059 * gdb.c++/classes.exp: Change all regular expressions to match
15060 arbitrary combinations of newline/carriage-return, so that they
15061 will work equally well on Unix and Windows.
15062 * gdb.c++/inherit.exp: ditto.
15063 * gdb.c++/virtfunc.exp: ditto.
15065 1998-08-11 Dawn Perchik <dawn@cygnus.com>
15067 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
15069 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
15071 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
15072 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
15073 to use a0-a3/d0-d3 as needed.
15075 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
15077 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
15078 * gdb.disasm/am33.exp: Corresponding changes.
15080 1998-07-11 Felix Lee <flee@cygnus.com>
15082 * gdb.base/callfuncs.exp: add cmp10 test.
15083 * gdb.base/callfuncs.c (cmp10): new function.
15085 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
15087 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
15088 into two parts to get around a synchronization problem in expect.
15090 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
15092 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
15094 * configure.in: Add options for gdbtk testsuite.
15096 * configure: Regenerate.
15098 * gdb.gdbtk: New directory to hold gdbtk tests.
15100 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15102 * gdb.fortran/types.exp: Escape brackets in expect patterns
15103 for test_float_literal_types_accepted tests.
15104 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
15107 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
15109 * am33.exp: Just compile, do not link the testcase.
15110 * am33.s: Add ".am33" pseudoop to force am33 mode.
15112 1998-06-25 Felix Lee <flee@cygnus.com>
15114 * gdb.base/setshow.exp: make sure $pc is sane.
15116 * gdb.stabs/weird.exp: split expect patterns properly.
15118 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
15120 * gdb.disasm/am33.s: New disassembler testfile for the am33.
15121 * gdb.disasm/am33.exp: Run it.
15123 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
15125 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
15126 match processing (and eliminate spurious timeouts when running).
15128 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
15130 * gdb.base/signals.exp (test_handle_all_print): put back Mach
15131 exception test, but conditionalize it on target [mach | gnu].
15133 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
15135 * gdb.base/overlays.exp: fixup compile line for linker script.
15137 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
15139 * gdb.fortran/types.exp: don't guess at float size.
15141 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
15143 * gdb.base/exprs.exp: delete test that depends on int size.
15145 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
15147 * config/sim.exp: Removed checks for target triplets.
15148 (gdb_target_sim): Use gdb,target_sim_options.
15150 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
15152 * gdb.base/reread.exp: New file.
15153 * gdb.base/reread1.c: New file.
15154 * gdb.base/reread2.c: New file.
15156 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
15158 * config/sim.exp: Use 'target sim -sparclite' when running
15159 SPARClite programs.
15161 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
15163 * gdb.base/structs2.exp: New file.
15164 * gdb.base/structs2.c: New file.
15166 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
15168 * gdb.asm/common.inc: New file.
15169 * gdb.asm/d10v.inc: New file.
15170 * asm-source.exp: Pass -I's to gas to find .inc files.
15171 Update line numbers in expected output.
15172 * asmsrc1.s: Rewrite.
15173 * asmsrc2.s: Rewrite.
15174 * configure.in: Create arch.inc symlink.
15175 * configure: Regenerate.
15176 * Makefile.in (distclean): Delete arch.inc.
15178 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
15180 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
15181 (t_enum_value2): ditto
15182 (t_enum_value3): ditto
15184 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15186 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
15187 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
15189 Use gdb_test instead of send_gdb/gdb_expect sequences.
15191 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
15193 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
15196 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
15198 * gdb.base/branches.c: Code with lots of loops and
15199 subroutines. Used to test gdbs ability to single step through PC
15200 changes, especially to test mips-tdep.c:mips_next_pc
15202 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
15204 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
15205 more rigorous EGCS C++ error checking.
15207 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
15209 * gdb.base/help.exp: Clean up `help set args' and `help show args'
15211 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
15212 function when asleep.
15213 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
15214 for i*86 Linux and SVR4 signal handling problems.
15215 Remove linux xfail for `next to handler in signals_tests_1', fixed
15216 by recent infrun.c change.
15217 Limit backtrace to 10 frames to avoid timeout problems with infinite
15219 Adjust expect pattern in `handle all print' test to match Apr 28 1997
15220 target.[ch] change.
15222 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
15224 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
15225 for a newline from gdb before continuing.
15226 (default_gdb_exit): Just look for y or n.
15227 (gdb_test): Detect abnormal exit from GDB running on DOS; if
15228 it does, fail the rests of the tests in the file.
15230 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
15232 * config/cygmon.exp: New file.
15234 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
15236 * gdb.base/list.exp: Fix problem with "list default lines around
15237 main" test on remote targets.
15239 * gdb.base/scope.exp: Fix problem with filelocal_bss before
15240 run test on remote targets.
15242 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
15244 * gdb.asm: New directory.
15245 * configure.in: Configure it.
15246 * configure: Regenerate.
15247 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
15248 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
15250 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
15252 * config/mn10300-eval.exp: New file to support MN10300 eval board.
15254 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
15256 * gdb.base/overlays (several files): Merge the two overlay
15257 managers into one. Change variables (foox, barx, bazx, grbxx)
15258 back into ints but force them to load in their proper sections.
15260 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
15262 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
15263 on-chip insn memory and IMAP1 to upper 128k.
15264 (D10VCopy): Handle memory regions crossing 16k boundaries.
15265 (D10VCopy): Transfer data in 32 bit chunks.
15267 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
15269 * gdb.base/overlays.c (main): Exit normally when result is
15272 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
15273 map. Include space for printf in .text segment.
15275 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
15276 updated d10v memory VMA/LMA map.
15277 (D10VCopy): Call D10VTranslate.
15279 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
15281 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
15283 * gdb.base/bar.c (barx, bar): Change variable to small array so
15284 that it won't be put into the .sdata - small data -
15285 section. Update reference.
15286 * gdb.base/baz.c (bazx, baz): Ditto.
15287 * gdb.base/foo.c (foox, foo): Ditto.
15288 * gdb.base/grbx.c (grbxx, grbx): Ditto.
15290 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
15293 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
15295 * gdb.base/overlays.exp: fix up and get working again.
15296 Add tests for backtraces from an overlay function.
15298 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
15300 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
15301 "calling function with watchpoint enabled".
15303 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
15305 * gdb.base/break.exp (test_next_with_recursion): Remove
15306 gdb_suppress_tests for d10v-*-*.
15307 * lib/gdb.exp (gdb_suppress_tests): Disable this function
15308 pending review of whether it is useful or not.
15310 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
15312 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
15314 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
15316 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
15317 * config/dve.exp: New file to support Densan boards.
15319 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
15321 * gdb.base/interrupt.exp: Document problem of simulators, signals,
15324 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
15326 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
15329 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
15331 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
15333 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
15336 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
15337 target_sizeof_long and target_bigendian_p.
15338 (structs_by_value, structs_by_reference): Check values according
15339 to targets word size and endianess.
15341 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
15343 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
15346 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
15348 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
15349 Update test of set args help to match source change.
15351 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
15353 * gdb.base/default.exp: Expect help system output to be in
15354 alphabetical order.
15355 * gdb.base/help.exp: Ditto.
15357 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
15359 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
15360 "i*86-pc-linux-gnu*".
15361 * gdb.base/interrupt.exp: Ditto.
15362 * gdb.base/corefile.exp: Ditto.
15364 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
15365 define vxworks when building the testcase.
15367 * gdb.base/ptype.exp: Fix testnames to be unique.
15368 * gdb.base/radix.exp: Ditto.
15369 * gdb.base/term.exp: Ditto.
15370 * gdb.base/whatis.exp: Ditto.
15371 * gdb.c++/classes.exp: Ditto.
15373 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
15375 * gdb.base/callfuncs.exp: Fix indentation.
15377 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
15378 suppress_flag has been set.
15379 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
15382 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
15384 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
15387 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
15388 set_debug_traps() and breakpoint().
15389 * gdb.c++/misc.cc (main): Ditto.
15390 * gdb.c++/templates.cc (main): Ditto.
15391 * gdb.c++/virtfunc.cc (main): Ditto.
15393 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
15395 * lib/gdb.exp(gdb_step_for_stub): New function.
15396 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
15397 exists, reload the executable and do a "continue" instead of
15399 (runto_main): Use gdb_step_for_stub.
15401 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
15402 tests to have unique names.
15403 * gdb.base/callfuncs.exp: Ditto.
15404 * gdb.base/commands.exp: Ditto.
15405 * gdb.base/default.exp: Ditto.
15406 * gdb.base/help.exp: Ditto.
15407 * gdb.base/list.exp: Ditto.
15408 * gdb.base/opaque.exp: Ditto.
15409 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
15412 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
15413 * gdb.c++/cplusfuncs.cc: Ditto.
15414 * gdb.c++/virtfunc.cc: Ditto.
15416 * config/monitor.exp: Keep track of the last file we saw, rather
15417 than trying to get the info from gdb.
15419 * gdb.fortran/types.exp: Move comment to previous line.
15421 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
15423 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
15426 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
15429 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
15430 string from GDB when it connects.
15432 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
15434 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
15436 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
15437 if we can't get a debug format from GDB (we may be testing an
15438 older GDB). Use a 10 second timeout when checking for the format.
15440 * gdb.stabs/weird.exp: Fix quoting.
15442 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
15444 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
15446 * config/arm-ice.exp: New file.
15448 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
15450 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
15451 until it has been modified to work with the new testsuite.
15453 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
15454 testcase won't compile, cause all of the testcases in the file to
15457 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
15458 (gdb_clear_suppressed): New procedure.
15459 (gdb_stop_suppressing_tests): Only clear suppress_flag if
15460 it contains a positive value.
15462 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
15464 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
15466 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
15468 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
15470 * lib/gdb.exp (setup_xfail_format): New function.
15471 (get_debug_format): New function to get debug format.
15472 (debug_format): New global variable to hold last value set
15473 by get_debug_format.
15474 * gdb.base/list.exp: Call get_debug_format and expect some
15475 tests to fail for DWARF 1 and COFF formats.
15476 * gdb.c++/ptype.exp: Ditto.
15477 * gdb.c++/classes.exp: Ditto.
15478 * gdb.c++/cplusfuncs.exp: Ditto.
15479 * gdb.c++/inherit.exp: Ditto.
15480 * gdb.c++/templates.exp: Ditto.
15481 * gdb.c++/virtfunc.exp: Ditto.
15483 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
15485 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
15486 host doesn't have a currently-open connection.
15488 * config/sparclet.exp: Cleanups and fixes to make it generic for
15489 any gdb stub target. Handle cases where gdb doesn't respond when
15490 interrupted in a sane fashion.
15492 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
15493 same thing in a totally different way.
15495 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
15497 (gdb_start): We set the global gdb_prompt variable in
15498 default_gdb_init now.
15500 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
15502 * gdb.base/printcmds.exp: Fix "check for floating addition"
15503 regexp to accept results within approx +/- .01 of exact value.
15504 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
15506 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
15508 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
15510 (gdb_expect): Add optional timeout parameter, and add timeout
15511 value to various calls.
15512 (gdb_suppress_tests): Only give one warning message per group.
15514 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
15516 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
15517 global variables. Handle getting a value for $timeout more
15520 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
15522 * lib/gdb.exp: Close connection to remote host if gdb doesn't
15524 (default_gdb_init): New procedure; allow gdb_init to be overridden
15525 by a target configuration file.
15526 (gdb_expect): Pass the timeout to remote_expect.
15528 * config/monitor.exp(gdb_load): Fix typo in regexp.
15530 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
15532 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
15534 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
15536 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
15537 here. Call gdb_target_exec before rebooting the target, to make
15538 sure the connection to the target is closed.
15539 (gdb_load): Pass the name of the executable to gdb_target_monitor.
15540 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
15541 Also detect "Timeout reading from remote" error.
15543 * config/gdbserver.exp: Pass the executable being loaded to
15544 gdb_target_monitor. Don't call gdb_file_cmd here; let
15545 gdb_target_monitor do it.
15547 * gdb.disasm/hppa.exp: Don't use exec_output.
15549 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
15551 * gdb.base/list.exp: If we're debugging a non-native target,
15552 try to set the pc register to point to the start of the
15553 program before doing the first list command.
15555 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
15556 test_calls after restarting.
15558 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
15561 * gdb.base/watchpoint.exp: Fix typo.
15563 * gdb.base/setshow.exp: Check for use_gdb_stub.
15565 * gdb.base/break.exp: Fix continue until exit test for the gdb
15567 * gdb.base/langs.exp: Ditto.
15569 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
15570 gdb_load_offset. If we weren't given a file to load, figure out
15571 what the current file is and use it.
15573 * config/i386-bozo.exp: New file.
15575 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
15577 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
15580 * config/proelf.exp: New entry.
15582 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
15584 * lib/gdb.exp: Remove spurious .* patterns at the beginning
15587 * gdb.base/watchpoint.exp: Don't run the test_stepping
15588 tests if gdb can't call functions on the target.
15590 * gdb.base/setshow.exp: Don't run the set prompt tests if
15591 the board has gdb_prompt set.
15593 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
15595 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
15596 * gdb.base/commands.exp: Likewise.
15597 * gdb.base/setshow.exp: Likewise.
15599 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
15601 * config/monitor.exp(gdb_start): Look for gdb_prompt target
15604 * config/i960.exp: New file.
15606 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
15608 * gdb.base/funcargs.exp: Check for gdb,short_int target
15609 feature instead of looking for explicit target triplets.
15611 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
15613 * gdb.base/printcmds.exp: add a couple more tests a la
15614 "p 123DEADBEEF", to check parse_number.
15615 * top.c: change "to enable to enable" to "to enable" in a couple
15618 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
15620 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
15623 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
15625 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
15626 where the test executable is run with explicit args.
15627 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
15629 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
15631 * gdb.base/run.c: Use FAKEARGV to build test executable that
15632 does not require a command line arg, since most simulators
15633 don't currently support passing such an arg into the simulated
15635 * gdb.base/commands.exp: Change tests to insert the proper
15636 value as the arg to the first recursive factorial call. Change
15637 compilation line to define FAKEARGV at compile time.
15639 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
15641 * gdb.base/recurse.exp: Enable these tests for the mn10300.
15642 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
15643 function with watchpoint enabled" test.
15645 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
15647 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
15648 Don't call gdb_test when the command doesn't return to a gdb prompt.
15650 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
15651 "Tests restarted" messages.
15653 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
15655 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
15657 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
15659 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
15660 for INFO SYMBOL; add help tests for OVERLAY commands.
15661 * gdb.base/default.exp: add tests for INFO SYMBOL command;
15662 add tests for OVERLAY commands
15663 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
15664 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
15665 * gdb.base/sigall.c: add usestubs code frag
15666 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
15668 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
15670 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
15672 (gdb_stop_suppressing_tests): Note that tests have restarted.
15674 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
15676 * config/h8300.exp: New file.
15678 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
15680 * gdb.base/setshow.exp: Check for the existence of a
15681 feature, not its value.
15683 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
15685 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
15687 * gdb.base/scope.exp: It's now init0(), not init().
15689 * gdb.base/scope0.c: For now, change init() to be init0().
15691 * config/monitor.exp: Use gdb_serial in preference to serial
15694 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
15695 and it's not already set.
15697 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
15699 * gdb.base/setshow.exp: Only test the run command if the target
15700 isn't using a stub and if it supports argument passing.
15702 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
15704 * config/udi.exp(gdb_start): Make sure UDICONF is set
15705 properly before starting gdb.
15707 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
15709 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
15710 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
15711 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
15713 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
15715 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
15716 specialized code to reboot the board, use remote_reboot instead.
15718 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
15720 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
15722 * config/monitor.exp: Make sure we disconnect from the target.
15723 Also, try a reboot/reload cycle instead of failing if the
15726 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
15728 * gdb.base/default.exp: Don't set match_max.
15729 * gdb.base/help.exp: Ditto.
15730 * gdb.base/list.exp: Ditto.
15731 * gdb.base/signals.exp: Ditto.
15733 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
15734 set, use remote_ld to download the testcase instead of
15737 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
15739 * config/vr5000.exp: New file.
15741 * config/monitor.exp(gdb_target_monitor): Add pattern for
15742 "Ending remote" to detect errors in connecting.
15744 * gdb.base/setshow.exp: Add .* within auto language test.
15746 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
15749 * config/monitor.exp(gdb_load): Check for a failure when loading,
15750 and reboot the board if necessary.
15752 * gdb.base/setvar.exp(test_set): Handle multiple prints within
15753 a set of tests. Remove print.* from the patterns being checked.
15755 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
15757 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
15758 refer to gdb_spawn_id.
15760 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
15762 * config/sparclet.exp: Ditto.
15763 * config/sparclet-old.exp: Ditto.
15764 * config/slite.exp: Ditto.
15765 * config/sim.exp: Ditto.
15766 * gdb.base/funcargs.exp: Ditto.
15768 * lib/gdb.exp:Remove references to gdb_spawn_id.
15769 (gdb_expect): Move to remote.exp.
15771 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
15773 * config/monitor.exp: Detect the "Couldn't establish connection"
15776 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
15778 * gdb.base/bitfields.exp: Use runto instead of explicit
15779 gdb_run_cmd/gdb_expect sequences.
15781 * gdb.base/break.exp(text_next_with_recursion): Add match for
15784 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
15785 We also need to handle the "A program is being debugged already"
15786 prompt from gdb. Use gdb_test to set the baud rate.
15788 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
15789 to 20000. Really. I mean it.
15791 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
15793 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
15794 fails. If suppress_flag is set, skip perror message about not
15795 being able to send to GDB.
15796 (send_gdb): If suppress_flag is set, don't try to send commands to
15798 (gdb_expect): If suppress_flag is set, always fail immediately.
15799 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
15800 (gdb_init): Call gdb_stop_suppressing_tests.
15801 (default_gdb_exit): Ditto.
15802 (default_gdb_start): Ditto.
15804 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
15805 gdb_stop_suppressing_tests as appropriate.
15806 * gdb.base/break.exp: Ditto.
15807 * gdb.base/callfuncs.exp: Ditto.
15808 * gdb.base/commands.exp: Ditto.
15809 * gdb.base/exprs.exp: Ditto.
15810 * gdb.base/funcargs.exp: Ditto.
15811 * gdb.base/list.exp: Ditto.
15812 * gdb.base/recurse.exp: Ditto.
15813 * gdb.base/scope.exp: Ditto.
15814 * gdb.base/structs.exp: Ditto.
15815 * gdb.c++/inherit.exp: Ditto.
15817 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
15819 * config/vr4300.exp: New file.
15821 * gdb.*/*.exp: Call gdb_expect instead of expect.
15823 * lib/gdb.exp(gdb_expect): New function.
15825 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
15827 * lib/gdb.exp(gdb_init): New function.
15829 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
15830 for each individual variable set.
15832 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
15835 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
15837 * gdb.base/scope.exp: Use gdb_test.
15839 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
15840 aborting; the testsuite driver will do that for us (see
15841 gdb_finish). Also, use gdb_test in a few more places.
15843 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
15845 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
15847 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
15849 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
15850 and "add_tests" are not at the same address.
15852 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
15854 * gdb.base/ptype.exp: Use gdb_test.
15856 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
15858 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
15859 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
15860 left in. No longer expect them to fail.
15862 * gdb.stabs/*.mt; Deleted, no longer used.
15863 * gdb.stabs/configure.in: Remove references to target makefile
15865 * gdb.stabs/configure: Rebuilt.
15867 * gdb.disasm/*.mt: Deleted, no longer used.
15868 * gdb.disasm/configure.in: Remove references to target makefile
15869 frags. Use "sh3.s" as the unique filename for this directory.
15870 * gdb.disasm/configure: Rebuilt.
15872 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
15873 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
15874 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
15876 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
15878 * config/udi.exp: Use mondfe,name instead of remote_host.
15880 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
15882 * gdb.base/watchpoint.exp: Don't expect a failure when calling
15883 a function with a watchpoint enabled on the mn10200.
15885 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
15886 before trying to create it!
15888 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
15890 * config/vx.exp: Use hostname instead of netport.
15892 * config/vxworks.exp: New file.
15894 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
15896 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
15897 gdb before assuming everything worked. Send a ^C if a timeout
15900 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
15901 $gdb_spawn_id directly.
15902 (gdb_run_cmd): Try _start as well as start. Use the target feature
15903 gdb,start_symbol as the symbol to start from when jumping.
15905 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
15907 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
15910 * gdb.base/recurse.exp: Relax final value test for 'b' so that
15911 it doesn't lose for 16bit integer systems.
15913 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
15915 * gdb.fortran/types.exp: If the target doesn't support "double"
15916 data types, then expect "real" types to only be 4 bytes.
15918 * gdb.c++/virtfunc.exp: Expect failure for virtual function
15919 call tests if the target doesn't support inferior function calls.
15921 * gdb.base/printcmds.exp: Allow minor deviation in FP values
15924 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
15926 * gdb.base/help.exp: Disable "help set", "help show", and
15927 "help support". Simplify regexp for "help stack".
15929 * gdb.base/default.exp: Set match_max to 5000 and the timeout
15930 to 60 seconds. Temporarily set match_max to 15000 around the
15931 "info copying" test.
15933 * gdb.base/nodebug.exp: Don't try to do an inferior function
15934 call if the target doesn't support them.
15935 * gdb.base/printcmds.exp: Likewise.
15936 * gdb.base/setvar.exp: Likewise.
15937 * gdb.base/structs.exp: Likewise.
15938 * gdb.c++/templates.exp: Likewise.
15939 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
15941 * gdb.base/recurse.exp: Enable for the mn10200.
15943 * configure.in: Do configure gdb.stabs directory for *-*-elf
15945 * configure: Rebuilt.
15947 * gdb.base/break.exp: Check for gdb,noresults before testing
15948 exit status and/or results from the target.
15949 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
15950 * lib/gdb.exp: Remove old (now bogus) initialization of
15951 noinferior, noargs, noresults and nosignals.
15953 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
15955 * config/sh.exp: New file.
15957 * config/slite.exp: Try to connect multiple times to the board
15958 before rebooting. Only send a "monitor run" if need_monitor_run
15961 * gdb.base/break.exp: Don't do the "stub continue" test if
15962 the target has gdb_stub set.
15964 * gdb.base/callfuncs.exp: Increase the timeout.
15966 * gdb.base/interrupt.exp: Don't even try to compile the testcase
15967 if the target has gdb,noinferiorio set.
15969 * gdb.base/list.exp: Increase match_max to 10000 characters.
15971 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
15973 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
15976 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
15978 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
15980 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
15981 trying to delete the copy of gdb. Catch the file delete so we
15982 don't die if the delete fails; also, the file should be copied to
15983 the host, not to the build.
15985 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
15987 * lib/gdb.exp(gdb_test): Surround the result pattern with
15988 parenthesis in case it contains multiple regexps separated
15991 * gdb.base/watchpoint.exp: Use gdb_test.
15992 * gdb.base/default.exp: Ditto.
15994 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
15996 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
15998 * gdb.base/scope.exp: Use gdb_test.
15999 * gdb.c++/classes.exp: Ditto.
16000 * gdb.c++/inherit.exp: Ditto.
16002 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
16004 * gdb.base/crossload.exp: Don't use execute_anywhere, use
16005 remote_exec instead.
16006 * gdb.base/corefile.exp: Don't be ridiculous.
16007 * gdb.base/*.c: Add missing stub invocations.
16009 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
16011 * config/slite.exp: Miscellaneous fixes.
16013 * lib/gdb.exp: Fix runto.
16015 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
16018 * gdb.base/watchpoint.exp: Fix regexp.
16020 * lib/gdb.exp(default_gdb_exit): Add a catch to the
16021 close and wait commands, as the descriptor may now be
16022 invalid. Always call "remote_close host".
16024 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
16026 Major rewrite for testsuite revision.
16028 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
16029 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
16030 instead of relying on spawn_id to always contain a valid
16032 (get_compiler_info): New procedure to build the ${binfile}.ci
16033 file, instead of replicating this in N different places.
16034 (gdb_compile): New procedure.
16036 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
16037 appropriate arguments) instead of compile. Use gdb_test in a lot
16038 more places. Use send_gdb instead of send. Always run gdb_start
16039 at the start of a testcase, as this is no longer done magically.
16041 config/*-gdb.exp: Rename without the -gdb suffix.
16043 config/mips.exp: Use remote_close instead of exit_remote_shell.
16044 config/monitor.exp: Use target_info instead of looking at
16045 baud, timeout, etc.
16046 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
16048 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16050 * gdb.c++/templates.exp (test_ptype_of_templates),
16051 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
16052 Update expect patterns for destructors and assignment operators
16053 to match corresponding c-typeprint.c changes.
16054 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
16055 to destructor breakpoint test, GDB should be able to set the
16056 destructor breakpoint without specifying arguments.
16058 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
16060 * gdb.threads/pthreads.exp: Change result for failure to compile due
16061 to lack of pthreads runtime support from an error to simply an
16062 unsupported test, per dejagnu standards.
16064 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16066 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
16067 where GDB exits to reduce pattern match time.
16068 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
16070 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
16072 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
16074 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
16075 * gdb.base/default.exp: ditto.
16076 * gdb.base/nodebug.exp: ditto.
16077 * gdb.base/printcmds.exp: ditto.
16078 * gdb.base/ptype.exp: ditto.
16079 * gdb.base/setvar.exp: ditto.
16080 * gdb.base/structs.exp: ditto.
16081 * gdb.base/setshow.c: Guard against uninitialized values of argc.
16083 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
16085 * configure, */configure: Rebuild with autoconf 2.12.
16087 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
16089 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
16090 use new i*86-pc-linux*-gnu quads.
16091 * gdb.base/corefile.exp: Ditto.
16092 * gdb.base/signals.exp: Ditto.
16093 * gdb.base/sigall.exp: Ditto.
16094 * gdb.base/interrupt.exp: Ditto.
16096 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
16097 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
16100 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
16101 linux. This allows the test case to at least compile on latest
16102 linux, but still not run due to missing the threads runtime library.
16104 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16106 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
16107 directory to search gdb directory. Accept and step over conditional
16108 stack alignment code. Consume $prompt in failure cases.
16109 Reset timeout to $oldtimeout instead of some arbitrary value.
16110 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
16111 timeout problems with infinite stack backtraces.
16112 * gdb.base/ptype.exp (ptype struct link, union tu_link):
16113 Accept function parameters for linkfunc member.
16115 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
16117 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
16118 (CXXFLAGS): Remove, unreferenced.
16119 (B_OPTIONS): Add for -B options and add code to initialize with
16120 previous -B options and also add -B option to pick up cross compiled
16122 (TARGET_INCLUDES): Add for -I options and add code to initialize when
16123 doing cross compiles.
16124 (target_alias): Declare global.
16125 (xgcc): Set variable to full path of gcc in build tree. Use findfile
16126 to verify that gcc exists in build tree, and if so set CC to that
16127 gcc and to use B_OPTIONS and TARGET_INCLUDES.
16129 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
16131 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
16132 ptype test for anonymous union. Fixup testcase to match
16133 current gcc debug output.
16135 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
16137 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
16138 force argument to an unsigned long type.
16140 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
16142 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
16143 tests and anonymous union print/ptype tests.
16144 * gdb.base/list.exp (test_forward-search): Increase timeout by
16145 5 minutes for the "search extremely long line" case.
16146 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
16147 completely optional and that the pass/fail messages use the command as
16148 the message if that third arg is a null string.
16149 (gdb_test_exact): Arrange that a null string pattern means match a
16150 null string output rather than any output, which might include random
16152 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
16154 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
16155 always failing and failure is now exposed by gdb.exp changes.
16157 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
16159 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
16160 weren't being noted.
16162 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16164 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
16165 * gdb.stabs/weird.exp: Remove v_comb xfails.
16167 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
16169 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
16170 list.exp scope.exp watchpoint.exp]
16171 Make all timeout error msgs explicitly say "(timeout)".
16173 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
16175 * config/monitor.exp: Increase download timeout to 1000 seconds.
16177 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
16179 * config/m32r.exp: Increase timeout to 120 seconds.
16181 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
16183 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
16184 and accept older ordering as obsolescent gcc or gdb.
16185 * gdb.c++/templates.exp: Ditto.
16186 * gdb.c++/virtfunc.exp: Ditto.
16188 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
16190 * gdb.base/coremaker.c: Add code to mmap some data so we
16191 can check that it ends up in the core file.
16192 * gdb.base/corefile.exp: Add test to read mmapped data
16195 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
16197 * config/m32r.exp: New file.
16199 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
16201 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
16202 that cflags can contains -gstabs, and work correctly for other tests.
16204 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
16206 * gdb.base/setshow.exp: New file, tests show and set.
16207 * gdb.base/setshow.c: New file, tests show and set.
16208 * gdb.base/help.exp: Add test for help set|show annotate.
16209 * gdb.base/default.exp: Add test for set|show annotate.
16211 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
16213 * testsuite/gdb.base/break.exp: Make backtrace from factorial
16215 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
16218 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
16220 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
16221 and width commands. This is done elsewhere.
16222 * (gdb_start): Don't call gdb_start_sim here. That's already
16223 done in gdb_load. This fixes lots of failures in default.exp.
16225 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
16227 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
16228 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
16229 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
16230 in the same we we treat other failures (since it may be an expected
16231 condition), rather than as an error.
16232 * gdb.base/signals.exp (test_handle_all_print): Revert back to
16235 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
16237 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
16238 (distclean maintainer-clean realclean): No need to remove files
16239 twice. Nuke the duplicates.
16240 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
16241 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
16242 Remove config.h along with other config files.
16244 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
16246 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
16247 "p func1 ()" and note that rests of tests are skipped.
16248 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
16249 setup_xfails for "print func2::coremaker_local".
16250 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
16251 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
16252 affected by the previous run test.
16253 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
16254 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
16255 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
16256 "pass int powerset tuple" and "pass modeless int powerset tuple".
16257 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
16258 "real write 4" and "real write 8".
16259 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
16260 setup_xfails for "print vs1 after tuple assign 2",
16261 "print \$i after tuple assign 2", and
16262 "print vs2 after tuple assign 2".
16263 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
16264 meaningful error message and return -1 so the caller can
16265 suppress further tests and avoid a cascade of errors.
16267 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
16269 * gdb.base/a1-selftest.exp: Tweak tests to account for new
16270 format for printing version.
16271 * gdb.base/default.exp: Ditto.
16272 * gdb.base/interrupt.exp: Fix problem with cascade of
16273 errors if child process dies while calling a function.
16275 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
16277 * Makefile.in (VPATH): Add
16278 * Makefile.in (Makefile, config.status): Fix rules so things get
16279 remade when necessary.
16281 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
16283 * Makefile.in (just-check): Add path to sibling expect dir
16284 to environment variable specified by RPATH_ENVVAR.
16286 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
16288 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
16289 (just-check): Add shared library paths for libstdc++, tk,
16290 tcl, bfd, and opcodes to the environment variable specified
16292 * configure.in: Add support to recognize --enable-shared flag
16293 and generate correct value for RPATH_ENVVAR.
16294 * configure: Regenerated with autoconf.
16296 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
16298 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
16299 include all osf versions.
16300 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
16301 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
16302 when target is linux. When failing to build pthreads test
16303 executable, give more meaningful message.
16304 * gdb.threads/pthreads.c: Hpux also uses old definition of second
16305 arg for pthread_create.
16307 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
16309 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
16310 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
16311 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
16312 and -lpthreads (everybody else).
16313 (test_startup): Fail gracefully if threads are not supported.
16314 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
16315 "p/c array_index("abcdef",2)" when not gcc compiled.
16316 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
16317 "print func2::coremaker_local" when not gcc compiled.
16318 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
16319 "ptype on opaque struct tagname (statically)",
16320 "ptype on opaque struct tagname (dynamically) 1", and
16321 "ptype on opaque struct tagname (dynamically) 2"
16322 for not compiled with gcc.
16323 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
16324 backtrace when compiled with gcc.
16325 * lib/gdb.exp (runto_main): Return result of "runto main" rather
16326 than always return success.
16328 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
16330 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
16332 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
16334 * gdb.base/structs.exp: Undo last change.
16336 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
16338 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
16339 encapsulate all the steps/nexts done during self test, starting
16340 at main, and makes them less sensitive to optimization issues.
16341 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
16342 signal handler" test.
16343 * gdb.threads/pthreads.exp: Only run this for native configs.
16344 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
16345 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
16347 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
16348 for "runto test_calls(void)" test.
16350 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
16352 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
16353 and don't expect address info in breakpoint confirmations.
16355 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
16357 * gdb.base/list.exp (test_forward_search): Increase timeout
16358 temporarily by 60 seconds for searching extremely long line,
16359 and then reset to old value when done. Increase expect input
16362 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
16364 * gdb.base/list.exp (test_forward_search): Fix to handle very
16365 long source line without overflowing expect's input buffer.
16367 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
16369 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
16372 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
16375 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
16378 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
16381 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
16383 * configure.in (configdirs): Add gdb.threads.
16384 * configure: Regenerated with autoconf.
16385 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
16386 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
16387 * gdb.threads/configure: New, generated with autoconf.
16389 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
16391 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
16393 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
16395 * gdb.base/signals.exp (test_handle_all_print): Test separately for
16396 each signal's status in the output of "handle all print".
16397 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
16398 the \r\n sequence that immediately precedes the gdb prompt.
16399 * gdb.base/a1-selftest.exp: Save original timeout and restore
16402 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
16404 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
16407 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
16409 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
16411 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
16413 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
16414 timeout by 60 seconds.
16416 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
16418 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
16419 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
16422 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
16424 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
16425 gdb initialization, also report how long dejagnu waited. Restore
16426 old timeout before doing error return. Temporarily increase timeout
16427 by 3 minutes to allow for slow startups over heavy NFS use.
16429 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
16431 * lib/gdb.exp: Report timeout value for verbosity level 2.
16432 * config/gdbserver.exp: Ditto.
16433 * config/hppro.exp: Ditto.
16434 * config/mips-gdb.exp: Ditto.
16435 * config/monitor.exp: Ditto.
16436 * config/netware.exp: Ditto.
16437 * config/sim-gdb.exp: Ditto.
16438 * config/slite-gdb.exp: Ditto.
16439 * config/udi-gdb.exp: Ditto.
16440 * config/unix-gdb.exp: Ditto.
16441 * config/vx-gdb.exp: Ditto.
16442 * gdb.base/a1-selftest.exp: Ditto.
16443 * gdb.base/a2-run.exp: Ditto.
16444 * gdb.base/break.exp: Ditto.
16445 * gdb.base/corefile.exp: Ditto.
16446 * gdb.base/list.exp: Ditto.
16447 * gdb.base/recurse.exp: Ditto.
16448 * gdb.base/scope.exp: Ditto.
16449 * gdb.base/signals.exp: Ditto.
16451 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
16453 * gdb.threads/Makefile.in (docdir): Removed.
16455 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
16457 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
16458 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
16460 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
16461 autoconf 2.5 or higher.
16462 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
16464 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
16466 * configure: Regenerated.
16467 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
16468 avoid name clashes with SunOS headers.
16470 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
16472 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
16474 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
16476 * gdb.base/callfuncs.exp: Finish last change -- make sure the
16477 prototype information ends up in the compiler info file.
16479 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
16481 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
16482 attempting to regenerate it. Eliminate use of a temporary file
16483 and just generate the info file directly. Source it immediately,
16484 for consistency of use.
16485 * gdb.base/corefile.exp: Ditto
16486 * gdb.base/exprs.exp: Ditto.
16487 * gdb.base/funcargs.exp: Ditto.
16488 * gdb.base/langs.exp: Ditto.
16489 * gdb.base/list.exp: Ditto.
16490 * gdb.base/mips_pro.exp: Ditto.
16491 * gdb.base/nodebug.exp: Ditto.
16492 * gdb.base/opaque.exp: Ditto.
16493 * gdb.base/ptype.exp: Ditto.
16494 * gdb.base/scope.exp: Ditto.
16495 * gdb.base/setvar.exp: Ditto.
16496 * gdb.base/signals.exp: Ditto.
16497 * gdb.base/whatis.exp: Ditto.
16498 * gdb.c++/templates.exp: Ditto.
16499 * gdb.c++/virtfunc.exp: Ditto.
16500 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
16501 whether or not to add -lstdc++ to the compile command line args.
16503 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16505 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
16506 it got fixed by the recent lookup_minimal_symbol_by_pc change.
16507 Increase timeout, a lot of single stepping might be needed if the
16508 target has no hardware watchpoints.
16510 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
16512 * gdb.base/break.exp: Ignore compiler warnings when compiling
16514 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
16515 * gdb.base/default.exp: Add h8300 xfails. Handle messages
16517 * gdb.base/exprs.exp: Add h8300 xfails.
16518 * gdb.base/funcargs.exp: Likewise.
16519 * gdb.base/nodebug.exp: Likewise.
16520 * gdb.base/printcmds.exp: Likewise.
16521 * gdb.base/ptype.exp: Likewise.
16522 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
16524 * gdb.base/return.exp: Handle float/double precision problems
16526 * gdb.base/funcargs.c: Explicitly make last constant argument to
16527 call_after_alloca_subr an unsigned long type.
16528 * gdb.base/return.c: Include stdio.h.
16530 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
16532 * config/abug.exp: New file for the older Motorola Bug monitor
16533 that runs on the mvme13x series VME boards.
16534 * config/monitor.exp: Use the new config array for target settings
16537 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
16539 * sim-gdb.exp: Make the SH simulator allocate less space when
16542 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
16544 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
16547 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
16549 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
16550 "rs6000-*-*" for "list function in include file" when gcc compiled.
16551 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
16552 for "p ctable1[120]".
16553 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
16554 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
16555 Remove setup_xfail for "rs6000-*-*" for
16556 "print 'scope0.c'::filelocal before run".
16557 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
16558 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
16559 since some compilers don't allow both options to be given
16560 on the same command line. Create object file and move it.
16562 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
16564 * gdb.base/corefile.exp: Always regenerate the core file, since
16565 we always regenerate the coremaker program. Detect special case
16566 where registers cannot be read from core file.
16568 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
16570 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
16571 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
16572 * gdb.c++/templates.exp: Only match on basename of file since
16573 some formats like xcoff don't encode directory information.
16574 * gdb.stabs/weird.exp: Use the right sed script for powerpc
16575 and rs6000 AIX xcoff targets.
16576 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
16577 * configure: Regenerate.
16578 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
16579 here, rather than in distclean.
16581 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
16583 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
16584 defined, and use it to compile the test case with -O2. The
16585 native compilation still uses no optimization.
16586 * gdb.base/mips_pro.c: Remove inline assembly code since
16587 it is compiled PIC by default, which results in assembler
16588 warnings that make the testsuite think the compilation
16591 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
16593 * gdb.c++/misc.exp: Add note to message for
16594 "print s.a for foo struct" that this is a known gcc 2.7.2
16597 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
16599 * gdb.base/break.exp: Fix pattern for matching "Delete all
16600 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
16601 setup_xfail for deleting all breakpoints test. Fix various
16602 timeout messages to include "(timeout)".
16603 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
16604 for "p t_float_values2(3.14159,float_val2)".
16605 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
16606 for "continue to call2g" when gcc compiled.
16607 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
16608 "up to foo in langs.exp", "show language at foo in langs.exp",
16609 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
16610 and "show language at fsub in langs.exp".
16611 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
16612 "list line 1 in include file", "list message for lines past EOF",
16613 "list function in include file", "list list0.h:foo", and
16614 "list filename:function; nonexistant function".
16615 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
16616 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
16617 and "ptype t_char_array" to be for native cc only.
16619 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
16621 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
16622 setup_xfail for "print coremaker_bss", "print coremaker_ro",
16623 "print func2::coremaker_local", and "backtrace in corefile.exp".
16625 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
16627 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
16628 "bt in signals.exp". This problem only appears when running
16629 the testsuite, and then only intermittently.
16631 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
16633 * gdb.base/return.exp (return_tests): Differentiate between
16634 two tests of continuing.
16636 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
16638 * */Makefile.in (maintainer-clean): Remove config.log.
16639 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
16640 * gdb.c++/Makefile.in (PROGS): Add inherit.
16641 (clean): Remove *.ci.
16643 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
16645 * gdb.c++/misc.cc: Add test code from Mike Stump.
16646 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
16648 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
16650 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
16651 to "alpha-*-osf2*" and add comment.
16652 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
16653 setup_xfail for "step over execarg initialization" and
16654 "step over corearg initialization".
16655 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
16656 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
16657 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
16658 gcc compiled for "print coremaker_bss", "print coremaker_ro",
16659 "print func2::coremaker_local", and "backtrace in corefile.exp".
16660 * gdb.base/signals.exp: Build and source signals.ci.
16661 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
16662 to be for gcc only.
16663 * lib/gdb.exp: Move verbose statements outside conditionals.
16665 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16667 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
16668 Feb 3 procfs.c change.
16670 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
16672 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
16674 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
16676 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
16677 from dejagnu's apparent default of 10 seconds, which gives random
16678 results when running the tests over NFS on moderately loaded systems.
16679 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
16681 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
16683 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
16684 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
16687 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
16689 * configure.in (CY_AC_PATH_TCLH): Remove.
16690 * configure: Regenerate.
16692 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
16694 * gdb.c++/Makefile.in (clean): Add missing '{'.
16696 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
16698 * lib/gdb.exp: Provide a default value for noinferior.
16700 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
16703 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
16705 * gdb.disasm/hppa.exp: Compile directly into an executable, use
16706 the executable, not the .o to run the tests from.
16708 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
16710 * gdb.base/break.exp: Don't test for program exit or exit status
16711 if $noresults if nonzero.
16712 * gdb.base/langs.exp: Likewise.
16713 * gdb.base/watchpoint.exp: Likewise.
16715 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
16716 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
16717 trying to compile the testcase.
16719 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
16721 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
16722 * gdb.base/signals.exp (continue to handler): Likewise.
16724 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
16726 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
16728 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
16730 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
16732 * gdb.base/corefile.exp: Recognize "not found" as failure
16733 when trying to determine if a core file was generated.
16734 If no core file was generate the first time, try again without
16735 the ulimit -c to work around braindamaged shells.
16737 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
16739 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
16740 [] tests with "test" and enclose string in quotes.
16741 * gdb.stabs/configure: Rebuild
16743 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
16745 Changes in sync with expect:
16746 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
16747 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
16748 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
16749 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
16750 argument to AC_REQUIRE.
16751 * configure: Regenerated.
16753 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
16755 * gdb.base/corefile.exp: When generating a core, discard any
16756 error messages about ulimit not found and the "core dumped"
16757 message from the shell that runs the coredumper.
16759 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
16761 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
16763 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
16764 which sed script to run. Expect failure for v_comb test
16767 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
16769 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
16770 "print func2::coremaker_local" and for "backtrace in corefile.exp"
16772 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
16774 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
16775 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
16776 "sparc-sun-solaris*" xfails for "p v_comb".
16777 * lib/gdb.exp (default_gdb_start): Fix typo.
16778 * gdb.base/corefile.exp: Allow "Core was generated by ..."
16779 messages to not include the full program name that caused
16780 the core dump since some systems (such as solaris) apparently
16781 truncate this path to about 80 characters.
16782 When generating a core file first try increasing the core file
16783 size limit to unlimited since some systems may default it to
16784 zero, and it is harmless to try it. Move the test for failing
16785 to generate a core file to where it will actually get executed.
16786 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
16787 new gdb result from g++ debug info improvements and make old
16788 pattern obsolescent. Also account for size_t differences
16789 (may be int or long).
16790 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
16791 initialization before function call is placed in the delay slot
16792 and thus appears to be skipped over by commands such as "next".
16794 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
16796 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
16798 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
16800 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
16801 input source file; fix code to compile test to deal with this
16803 * gdb.c++/*.exp: Likewise.
16805 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
16807 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
16808 "bt in signals.exp".
16810 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
16812 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
16813 "step over execarg initialization" and
16814 "step over corearg initialization".
16816 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
16818 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
16819 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
16821 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
16823 From Rob Savoye (rob@poseidon.cygnus.com)
16824 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
16825 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
16826 configure.in}, gdb.disasm/{Makefile.in, configure.in},
16827 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
16828 configure.in}: Major reworking for autoconfig.
16829 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
16830 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
16832 * config/unix-gdb.exp: Make GDB global.
16833 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
16834 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
16835 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
16836 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
16837 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
16838 term.exp, twice.exp, watchpoint.exp, whatis.exp},
16839 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
16840 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
16841 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
16842 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
16843 pr-8136.exp, result.exp, string.exp, tuples.exp},
16844 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
16845 to returns as necessary, arrange for test to compile own testcase
16847 * lib/gdb.exp: Changes for testsuite to compile own test cases.
16849 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
16851 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
16852 clear_xfail at end of test which might not call either pass or fail.
16853 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
16854 "backtrace through signal handler".
16856 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16858 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
16859 continuing from a job control stop signal.
16860 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
16862 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
16864 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
16865 * gdb.base/corefile.exp: Likewise.
16866 * gdb.base/funcargs.exp: Likewise.
16868 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
16870 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
16871 * config/monitor.exp: Add support for setting baud rate.
16873 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
16875 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
16876 i*86-*-linux* xfails for "backtrace through signal handler".
16877 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
16878 "print func2::coremaker_local".
16879 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
16880 alpha-dec-osf2* xfail for
16881 "delete all breakpoints when none".
16883 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
16885 * gdb.base/break.exp: Change test that deletes all breakpoints
16886 when no user breakpoints are installed. A post 4.15 change
16887 causes gdb to no longer prompt in this case.
16889 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
16891 * gdb.base/return.exp (return_tests): Change xfail for test
16892 "correct value returned double test" to stop xfailing at
16893 Solaris 2.5. Apparently the bug has been fixed.
16895 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
16897 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
16898 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
16900 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
16902 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
16903 * gdb.disasm/hppa.s: Corresponding changes.
16905 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
16907 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
16909 * config/mt-hpux: Deleted.
16911 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
16913 * Many files: When warning about suppressed tests due to a
16914 nonexistant test binary, avoid incrementing the warning count.
16916 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
16918 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
16920 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16922 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
16923 "sparc-*-solaris2*".
16925 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16927 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
16928 Add global and local variables and initialize them.
16929 * gdb.base/corefile.exp: Test correct mapping of corefile sections
16930 by printing variables. Remove rs6000 and powerpc xfails, BFD now
16931 extracts the file name and terminating signal from the core file.
16932 * TODO: Remove note about tests for correct mapping of corefile.
16933 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
16934 from optimizing it away.
16935 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
16936 handles common blocks.
16938 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
16940 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
16941 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
16943 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
16945 * Makefile.in (maintainer-clean): New target, synonym for
16947 * gdb.base/Makefile.in (maintainer-clean): Likewise.
16948 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
16949 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
16950 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
16951 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
16952 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
16954 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
16956 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
16957 xfails when not gcc compiled for "print foo::funclocal".
16958 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
16959 "print foo::funclocal at foo",
16960 "print 'scope1.c'::foo::funclocal at foo",
16961 "print foo::funclocal_bss at foo",
16962 "print 'scope1.c'::foo::funclocal_bss at foo",
16963 "print foo::funclocal_ro at foo",
16964 "print 'scope1.c'::foo::funclocal_ro at foo",
16965 "print bar::funclocal at foo" and
16966 "print 'scope1.c'::bar::funclocal at foo".
16967 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
16968 gcc compiled for "print foo::funclocal at bar".
16969 Expand all messages to ensure that they identify that
16970 the test is at bar().
16971 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
16973 "ptype on opaque struct pointer (statically)",
16974 "ptype on opaque struct tagname (statically)",
16975 "ptype on opaque struct pointer (dynamically) 1",
16976 "ptype on opaque struct tagname (dynamically) 1",
16977 "ptype on opaque struct pointer (dynamically) 2" and
16978 "ptype on opaque struct tagname (dynamically) 2
16979 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
16982 "whatis datalocal",
16985 "whatis bsslocal", and
16987 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
16988 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
16989 when not gcc compiled.
16990 * gdb.base/funcargs.exp (float_and_integral_args): Add
16991 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
16993 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
16994 "backtrace from call6a" when not gcc compiled.
16995 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
16996 "backtrace from call7a" when not gcc compiled.
16997 * gdb.base/callfuncs.exp (do_function_calls):
16998 Add "hppa*-*-hpux*" xfail when not gcc compiled for
16999 "p t_char_array_values(char_array_val2,char_array_val1)",
17000 "p t_char_array_values(char_array_val1,char_array_val2)",
17001 "p t_char_array_values("carray 1","carray 2")",
17002 "p t_char_array_values("carray 1",char_array_val2)",
17003 "p t_char_array_values(char_array_val1,"carray 2")",
17004 "p sum_args(1,{2})",
17005 "p sum_args(2,{2,3})",
17006 "p sum_args(3,{2,3,4})",
17007 "p sum_args(4,{2,3,4,5})"
17008 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
17009 "backtrace in corefile.exp" when not gcc compiled.
17011 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17013 * gdb.base/signals.exp: Rewrite `handle all print' test as
17014 a procedure. Accept blanks or TABs as whitespace, increase
17015 timeout and expect input buffer size for the large output
17016 from the command. Remove "i*86-*-bsdi2.0" xfail.
17018 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17020 * gdb.base/setvar.exp: Add new testcases for truncation when
17021 assigning invalid values to bitfields.
17023 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
17025 * gdb.base/callfuncs.exp (do_function_calls): Remove
17026 mips-sgi-irix* xfail for
17027 "call inferior func with struct - returns char *"
17028 and fix test so that an optional (unsigned char *) cast is
17029 accepted in the result.
17031 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
17033 * gdb.base/funcargs.exp (float_and_integral_args): Remove
17034 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
17035 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
17036 * gdb.base/signals.exp: Remove duplicate "handle all print" test
17037 that accidentally got checked in.
17039 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
17041 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
17042 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
17044 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
17045 Add mips-sgi-irix5* xfail for not gcc compiled.
17046 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
17047 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
17048 "p top", "whatis top", "p middle", and "whatis middle".
17049 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
17050 "whatis signed char" for not gcc compiled.
17051 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
17052 "set variable signed char=-1 (-1)" and
17053 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
17054 * gdb.base/funcargs.exp (float_and_integral_args):
17055 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
17056 Add mips-sgi-irix* xfail when not gcc compiled for
17057 "continue to call2b".
17058 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
17059 "continue to call2g".
17060 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
17061 "backtrace from call6a"
17062 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
17063 "backtrace from call7k".
17064 Add mips-sgi-irix5* xfail when not gcc compiled for
17065 "backtrace from call7a".
17066 (localvars_after_alloca): Fix gdb_test cmds for
17067 "print * after runto ...".
17068 Remove rs6000-*-* xfails for
17069 "print i after runto localvars_after_alloca" and
17070 "print l after runto localvars_after_alloca"
17072 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
17073 when not compiled with gcc, for:
17074 "print signed char == (minus)",
17075 "print signed char != (minus)",
17076 "print signed char < (minus)",
17077 "print signed char > (minus)".
17078 * gdb.base/callfuncs.exp (do_function_calls):
17079 Add mips-sgi-irix* xfail, when compiled with native compiler, for
17080 "call inferior func with struct - returns char *".
17081 * gdb.base/return.exp (return_tests): Change xfail for
17082 "correct value returned double test" to include Solaris 2.4.
17083 * gdb.base/funcargs.exp (float_and_integral_args):
17084 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
17086 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17088 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
17089 enumeration bitfields if compiling with GNU C.
17090 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
17093 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
17095 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
17096 test for PRO targets.
17098 * gdb.base/funcargs.exp: Avoid ever setting more than 8
17099 breakpoints in the inferior at any given time by making
17100 two groups of breakpoints for call2*, call6* and call7*
17103 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17105 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
17106 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
17107 from optimizing it away.
17108 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
17109 "call inferior func with struct".
17111 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
17113 * configure.in: Only configure gdb.chill for particular targets.
17115 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
17117 * gdb.base/Makefile.in: Add action to .c.o transformation
17118 rule that generates a .ci file for each .o file and remove
17119 explicit .c.o rules except for callfuncs.o.
17120 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
17121 generates a .ci file for each .o file and remove explicit
17123 (clean): Remove *.tmp *.ci files.
17124 (EXECUTABLES): Remove templ-info.exp.
17125 * gdb.base/compiler.c: New file.
17126 * gdb.c++/compiler.cc: New file
17127 * gdb.base/scope.exp: Source gdb.base/scope.ci.
17128 Change rs6000-*-* xfail for
17129 "print 'scope0.c'::filelocal_ro" and
17130 "print 'scope1.c'::filelocal" and
17131 "print 'scope1.c'::filelocal_bss" and
17132 "print 'scope1.c'::filelocal_ro" and
17133 "print 'scope1.c'::foo::funclocal" and
17134 "print 'scope1.c'::foo::funclocal_ro" and
17135 "print 'scope1.c'::bar::funclocal" and
17136 "print 'scope0.c'::filelocal_ro" and
17137 "print 'scope1.c'::filelocal at foo" and
17138 "print 'scope1.c'::filelocal_bss at foo" and
17139 "print 'scope1.c'::filelocal_ro at foo" and
17140 "print 'scope1.c'::foo::funclocal at foo" and
17141 "print 'scope1.c'::foo::funclocal_bss at foo" and
17142 "print 'scope1.c'::foo::funclocal_ro at foo" and
17143 "print 'scope1.c'::bar::funclocal at foo" and
17144 "print 'scope0.c'::filelocal_ro" and
17145 "print 'scope1.c'::filelocal" and
17146 "print 'scope1.c'::filelocal_bss" and
17147 "print 'scope1.c'::filelocal_ro" and
17148 "print 'scope1.c'::foo::funclocal" and
17149 "print 'scope1.c'::foo::funclocal_bss" and
17150 "print 'scope1.c'::foo::funclocal_ro" and
17151 "print 'scope1.c'::bar::funclocal" and
17152 "print 'scope1.c'::bar::funclocal_bss"
17153 to only be xfail'd when not compiled with gcc.
17154 Add rs6000-*-* xfail for
17155 "print 'scope0.c'::filelocal_bss before run"
17156 when compiled with gcc.
17157 (test_at_main): Add rs6000-*-* xfail for
17158 "print filelocal_ro in test_at_main"
17159 when compiled with gcc.
17160 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
17161 Add rs6000-*-aix* xfail for
17162 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
17163 "ptype t_char_array", not compiled with gcc.
17164 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
17165 xfail for "list foo (in include file)" when gcc compiled.
17166 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
17167 (integral_args): Add rs6000-*-* xfail for
17168 "run to call0a" if not compiled with gcc.
17169 (unsigned_integral_args): Add rs6000-*-* xfail for
17170 "run to call1a" if not compiled with gcc.
17171 (float_and_integral_args): Add rs6000-*-* xfail for
17172 "run to call2a" if not compiled with gcc and for
17173 "continue to call2b" for any compiler.
17174 Add rs6000-*-* xfail to
17175 "print f1 after run to call2a" for gcc compiled.
17176 (discard_and_shuffle): Add rs6000-*-* xfail for
17178 (shuffle_round_robin): Add rs6000-*-* xfail for
17179 "backtrace from call7a" if not compiled with gcc.
17180 Add rs6000-*-* xfail for
17181 "backtrace from call7b" if compiled with gcc.
17182 (call_after_alloca): Add rs6000-*-* xfail for
17183 "print c in call_after_alloca" and
17184 "print s in call_after_alloca" and
17185 "backtrace from call_after_alloca_subr"
17186 if not compiled with gcc.
17187 (localvars_in_indirect_call): Add rs6000-*-* xfail for
17188 "print c in localvars_in_indirect_call" and
17189 "print c in localvars_in_indirect_call" and
17190 "backtrace in indirectly called function" and
17191 "stepping into indirectly called function"
17192 if not compiled with gcc.
17193 (localvars_after_alloca): Add rs6000-*-* xfail for
17194 "print c after runto localvars_after_alloca" and
17195 "print s after runto localvars_after_alloca" and
17196 "print i after runto localvars_after_alloca" and
17197 "print l after runto localvars_after_alloca"
17199 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
17200 than whatis-info.exp.
17201 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
17202 than opaque-info.exp.
17203 Setup rs6000-*-* xfail for
17204 "ptype on opaque struct pointer (statically)" and
17205 "ptype on opaque struct pointer (dynamically)" when
17206 not compiled with gcc.
17207 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
17208 rather than callf-info.exp.
17209 (do_function_calls): Add clear_xfail for rs6000-*-* for
17210 "p t_float_values2(3.14159,float_val2)". Seems to work
17211 fine there, both with xlc and gcc. Need to find out what
17212 it is doing right and fix other platforms.
17213 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
17214 "call inferior func with struct - returns int",
17215 "call inferior func with struct - returns long",
17216 "call inferior func with struct - returns float",
17217 "call inferior func with struct - returns double",
17218 "call inferior func with struct - returns char *",
17219 but only if not gcc compiled (presumes xlc compiled).
17220 Change rs6000-*-* xfails for
17221 "call inferior func with struct - returns char" and
17222 " call inferior func with struct - returns short" to only
17223 xfail if not using gcc.
17224 (clean mostlyclean): Remove *.ci and *.tmp files.
17225 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
17226 than templ-info.exp.
17227 * gdb.base/langs.exp: Source gdb.base/langs.ci.
17228 Add rs6000-*-* xfail for "up to foo in langs.exp"
17229 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
17230 when not gcc compiled.
17232 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17234 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
17235 * gdb.base/corefile.exp: Likewise.
17236 * gdb.base/list.exp: Likewise.
17237 * gdb.base/scope.exp: Likewise.
17238 * gdb.base/siganls.exp: Likewise.
17240 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
17242 * gdb.base/whatis.exp: Likewise.
17244 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
17246 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
17247 failure (opcode table has been fixed to match reality).
17249 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
17251 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
17252 "call inferior func with struct - returns char",
17253 "call inferior func with struct - returns short"
17255 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
17256 "print 'scope0.c'::filelocal at main",
17257 "print 'scope0.c'::filelocal_bss in test_at_main",
17258 "print 'scope0.c'::filelocal at foo",
17259 "print 'scope0.c'::filelocal_bss in test_at_foo",
17260 "print 'scope0.c'::filelocal at bar",
17261 "print 'scope0.c'::filelocal_bss in test_at_bar"
17263 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
17264 in source file 1". This bug seems to have been fixed with both
17265 gcc and native cc (was native assembler bug?).
17267 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
17269 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
17270 "backtrace through signal handler" to "i*86-*-sysv4*".
17271 * gdb.base/signals.exp: Add xfail for "'next' behaved as
17272 continue" case. Add "known SVR4 bug" to fail message.
17273 Add "i*86-*-bsdi2.0" xfail for "handle all print".
17274 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
17275 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
17276 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
17277 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
17278 "up to foo in langs.exp", "show language at foo in
17279 langs.exp", "up to cppsub_ in langs.exp", "show
17280 language at cppsub_ in langs.exp", "up to fsub in
17281 langs.exp", and "show language at fsub in langs.exp".
17282 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
17283 "bactrace in corefile.exp".
17284 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
17285 "call inferior function with struct - returns float" and
17286 "call inferior function with struct - returns double".
17288 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
17290 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
17291 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
17292 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
17293 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
17295 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
17297 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
17298 (or overriden) "CHILL" macro rather then bare "gcc".
17299 Also look for ../../gcc/xgcc since that is what we will
17300 actually need, not "Makefile". Remove following assignment
17301 of CHILL to CHILL_FOR_TARGET because that results in
17302 recursive definition.
17304 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
17306 * gdb.base/corefile.exp: Change xfail for backtrace in
17307 corefile.exp from linuxaout to all linux.
17308 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
17309 cases where we miss the breakpoint at the signal handler
17310 for some reason. Setup xfail for linuxoldld/linuxaout and
17311 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
17312 hitting SIGURG breakpoint.
17313 * gdb.base/signals.exp: Setup xfail for "next" acting like
17314 continue to add linuxoldld. Setup xfail for all linux for
17315 "next to handler in signals_tests_1", "backtrace in
17316 signals_tests_1", "continue to func1", "pass SIGUSR1",
17317 and continue to handler".
17319 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
17321 * Update all FSF addresses except those in COPYING* files.
17323 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
17325 * gdb.base/a2-run.exp: Change messages to be more explicit about
17326 the status of args, and quote binfile in results.
17328 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
17330 * gdb.base/callfuncs.exp: Add tests for passing structs to
17331 inferior functions and return various types.
17332 * gdb.base/callfuncs.c: Add functions to receive a struct
17333 and return a member of the struct, in various types.
17335 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17337 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
17339 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
17341 * config/vxworks29k.exp: New file, sources vxworks.exp.
17343 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17345 * config/gdbremote.exp: New file. Testing framework using
17348 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
17350 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
17351 "call function when asleep" and "send end of file".
17352 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
17353 for "backtrace in corefile.exp".
17354 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
17355 for "backtrace through signal handler".
17356 * gdb.base/corefile.exp: Make sure we actually generate a core file
17357 before trying the core tests. Some systems allow the user to suppress
17358 generation of core files and default to that (linux for example).
17359 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
17360 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
17362 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17364 * gdb.threads: New directory with some crude multi-threaded
17365 gdb tests (step.exp and step2.exp).
17366 * config/mt-lynx (STEP_EXECUTABLE): Define.
17367 (THREADFLAGS): Define.
17369 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
17371 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
17373 * gdb.base/signals.exp: Disable whole file for lynx until
17376 * gdb.base/signals.exp: xfail test where "next" acts like
17377 "continue" for lynx.
17379 * gdb.base/interrupt.exp: xfail test for calling function while
17380 inferior is asleep for lynx.
17382 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
17383 than one cr-lf after each command.
17385 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17387 * configure.in: Reinstate setting of stabsdirs variable, fix
17388 typo in setting up configdirs for native builds.
17390 * gdb.base/return.exp: Fix typo in return double test.
17391 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
17392 compiler from optimizing them away.
17394 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
17396 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
17397 sequences to be echo'd by gdb when using gdb_test.
17398 * gdb.chill/chexp.exp: Likewise.
17399 * gdb.fortran/exprs.exp: Likewise
17401 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17403 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
17404 after the inferior gdb has started.
17406 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
17407 after each command.
17408 * gdb.base/funcargs.exp: Likewise.
17409 * gdb.base/gdbvars.exp: Likewise.
17410 * gdb.base/interrupt.exp: Likewise.
17411 * gdb.base/list.exp: Likewise.
17412 * gdb.base/watchpoint.exp: Likewise.
17413 * gdb.c++/demangle.exp: Likewise.
17414 * gdb.c++/inherit.exp: Likewise.
17415 * gdb.chill/chexp.exp: Likewise.
17416 * gdb.fortran/exprs.exp: Likewise.
17418 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
17419 test if we can't handle IO to/from the inferior.
17421 * gdb.c++/misc.exp: Always check for a program already being
17422 started after sending a "run" command to gdb.
17424 * gdb.base/twice.exp: Start with a fresh gdb.
17426 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
17427 only depend on gdb's expression code, not the chill runtime.
17429 * gdb.base/return.c: Put return values into variables so we
17430 can have gdb print them rather than depending on the program
17432 * gdb.base/return.exp: Corresponding changes.
17434 * lib/gdb.exp: Provide default value for noinferiorio.
17435 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
17438 * gdb.base/break.exp: Always check for a program already being
17439 started after sending a "run" command to gdb.
17440 (text_next_with_recursion): Don't check the output from the
17441 program's printf statement. Instead just make sure the program
17444 * gdb.base/commands.exp: Protect tests which need arguments with
17445 $noargs conditionals.
17447 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17449 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
17450 of structure member arrays to match gdb/valops.c:value_addr change.
17452 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
17454 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
17457 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
17459 * configure.in (configdirs): Remove gdb.chill from default list
17460 of subdirs and then add it back in only if doing a native build.
17461 The current chill compiler does not yet work in any cross build.
17462 * Revert all signal changes from Jul 6.
17463 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
17464 for sh-hms targets, allowing these tests to link, with no other
17465 changes. Testing is suppressed by setting "nosignals" in site.exp.
17467 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
17469 * configure.in (signaldirs): Define and add to configdirs for all
17470 targets except some specific ones that are known to not support signals.
17471 Also clean up formatting.
17472 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
17473 (signals, sigall): Remove rules to build.
17474 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
17475 Moved to new gdb.signals directory.
17476 * gdb.signals: New test directory.
17477 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
17478 signals.c signals.exp}: New or moved files.
17480 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
17482 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
17484 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
17486 * gdb.base/return.exp: Xfail `return double' test failure
17487 on at least Solaris 2.3 and handle future/past versions on
17488 a case by case basis as appropriate. Also update message
17489 to include i*86 failures.
17491 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17493 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
17495 * lib/gdb.exp: Fix comment which erroneously identified
17496 gdb_file_cmd as gdb_load (the 19 May change was in fact to
17497 gdb_file_cmd not gdb_load).
17498 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
17500 * gdb.base/setvar.exp: Make test names consistent between pass and
17501 fail cases. Use gdb_test more.
17503 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17505 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
17507 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17509 * gdb.base/help.exp: Fix expected help string for `show commands'.
17511 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
17513 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
17515 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
17518 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
17520 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
17521 that loop eventually terminates. Fix Connection refused logic so
17522 that testsuite will expire nicely.
17524 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
17526 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
17527 config/rom68k.exp: New tcl glue for the appropriate monitors.
17528 These all just end up calling monitor.exp.
17529 * config/monitor.exp (gdb_target_monitor): Handle `Connection
17530 refused' by retrying. Cleanup some timeout issues.
17531 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
17532 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
17533 callers don't have to set/restore global timeout variable.
17535 * The following set of changes centralizes management of the global
17536 timeout variable. This way, it can be set in one target dependent
17537 place instead of dozens of places scattered throughout the test suite.
17538 If you need to lengthen a timeout, then you should either set timeout
17539 in one of the config/{target}.exp files, or multiply it by a factor.
17540 Setting it to an absolute value is always going to lose for some
17542 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
17543 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
17544 * gdb.base/funcargs.exp: Don't set timeout.
17545 * gdb.base/list.exp (test_forward_search): Only use local timeout.
17546 * gdb.base/printcmds.exp (test_print_string_constants
17547 test_print_array_constants): Don't set timeout.
17548 * gdb.base/ptype.exp: Don't set timeout.
17549 * gdb.base/recurse.exp: Don't set timeout.
17550 * gdb.base/return.exp: Don't set timeout.
17551 * gdb.base/watchpoint.exp: Don't set timeout.
17552 * gdb.c++/classes.exp (do_tests): Don't set timeout.
17553 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
17555 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
17557 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
17559 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17561 * lib/gdb.exp: Disable chill tests for irix5.
17563 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17565 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
17566 each test pass or fail.
17568 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17570 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
17573 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
17575 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
17577 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
17579 * config/est.exp: Fix copyright and comments. Remove dead code.
17580 Use targetname, serialport and baud variables instead of fixed
17582 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
17583 * config/cpu32bug.exp: New file to support cpu32bug monitors.
17585 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17587 * gdb.base/watchpoint.exp: Don't run
17588 test_watchpoint_triggered_in_syscall for sunos.
17590 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17592 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
17593 they don't seem to exist. Do include stdio.h.
17595 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17597 * gdb.base/a1-selftest.exp: Add alpha xfail.
17599 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17601 * gdb.base/watchpoint.c (main): Prompt before calling read().
17602 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
17603 Revise accordingly. Remove cruft about sending "123" several
17604 times, until it gets noticed. Clean up the "print buf[0]" stuff
17605 so that it passes or fails, and waits for prompts in the usual way.
17607 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17609 * gdb.base/recurse.exp: Fix comment.
17611 * TODO: Remove item about printing variables in nodebug.exp. Add
17612 item about enabling tests which are only run on some targets.
17614 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
17615 fail, make test names unique, use new gdb_test convention
17616 regarding pattern, use gdb_test more, etc.).
17618 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
17619 fail, make test names unique, etc.).
17621 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17623 * gdb.base/nodebug.c: Change return type of top and middle to
17625 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
17626 are fixed by the recent mdebugread.c changes. Allow `short ()'
17627 as type for top and middle.
17629 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17631 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
17632 nearly as I can tell, the whole thing was an accident in Stu's
17633 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
17634 to replace a send/expect pair with gdb_test, but ended up only
17635 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
17636 of 30 Mar 1995 took care of it, but left this vestigial comment
17637 which I am now nuking.
17639 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17641 * gdb.base/break.exp: Look for different line number for
17642 breakpoint at main depending on usestubs.
17644 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17646 * gdb.base/list.exp: Adjust some alternate expect patterns to
17647 match recent list0.c change. Add alternate expect pattern for
17648 output from `list default lines around main' for optimizing
17651 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17653 * lib/gdb.exp: If nosignals is not set, set it to 0.
17655 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
17657 * config/slite-gdb.exp: Responds to load symbol table prompt.
17658 * gdb.base/break.exp: Adjust line number, fix rerun.
17659 * gdb.base/langs0.c: Add #ifdef usestubs.
17661 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
17663 * gdb.base/list.exp: Adjust line contents after adding new lines in
17664 list0.c. Also fix a syntax error.
17666 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
17667 * gdb.base/break.exp: ditto.
17668 * gdb.base/list.exp: ditto.
17669 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
17670 * gdb.base/run.c: ditto.
17671 * gdb.base/list0.c: ditto.
17672 * gdb.base/funcargs.c: ditto.
17674 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
17676 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
17677 $targetname, $serialport and $baud instead of hardwired variables.
17678 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
17679 target doesn't support signals.
17681 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
17683 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
17685 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17687 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
17688 Don't rely on the value of an auto variable before it has been
17689 initialized. Use gdb_test more.
17691 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17693 * lib/gdb.exp (default_gdb_version): A version number must start
17694 with a digit, but other than that contains all characters up to
17695 the first whitespace character.
17697 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17699 * gdb.base/commands.exp (breakpoint_command_test): New tests.
17701 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17703 * gdb.c++/*.exp: Warn if executable does not exist. The original
17704 reason for skipping the warning was that configure.in sometimes
17705 intentionally skipped building the executables but the tcl code
17706 had no way of knowing. That (a) was always bogus with respect to
17707 error handling, (b) is no longer true (right now there is no way
17708 to skip C++ tests).
17710 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
17712 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17714 * gdb.base/list.exp: Add expect patterns for output from
17715 SunPRO compiled executables.
17716 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
17719 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17721 * gdb.base/break.exp (test_next_with_recursion): Accept any line
17722 number (we are already testing that the correct source line text
17725 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
17726 that is what is intended, but something needed to be done to get
17727 sunos4 native working again.
17729 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
17731 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
17732 apparently went with a (very) old xfail.
17734 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
17736 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
17737 runto_main is a proc in gdb.exp that will do 'step' for target use
17739 * gdb.base/exprs.exp: ditto.
17740 * gdb.base/interrupt.exp: ditto.
17741 * gdb.base/opaque.exp: ditto.
17742 * gdb.base/printcmds.exp: ditto.
17743 * gdb.base/ptype.exp: ditto.
17744 * gdb.base/scope.exp: ditto.
17745 * gdb.base/setvar.exp: ditto.
17746 * gdb.base/signals.exp: ditto.
17747 * gdb.base/twice.exp: ditto.
17748 * gdb.c++/classes.exp: ditto.
17749 * gdb.c++/inherit.exp: ditto.
17750 * gdb.c++/templates.exp: ditto.
17751 * gdb.base/break.exp: no run and hit main for stubs. Change line
17752 numbers for breakpoints and info breakpoint.
17753 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
17755 * gdb.base/callfuncs.c: ditto.
17756 * gdb.base/exprs: ditto.
17757 * gdb.base/interrupt.c: ditto.
17758 * gdb.base/opaque0.c: ditto.
17759 * gdb.base/printcmds.c: ditto.
17760 * gdb.base/ptype.c: ditto.
17761 * gdb.base/scope0.c: ditto.
17762 * gdb.base/setvar.c: ditto.
17763 * gdb.base/signals.c: ditto.
17764 * gdb.base/twice.c: ditto.
17765 * gdb.c++/misc.cc: ditto.
17766 * gdb.c++/templates.cc: ditto.
17768 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17770 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
17772 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
17773 somewhere between `read' and `main.c'. I'm pretty sure the
17774 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
17775 and it isn't particularly useful.
17777 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
17779 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17781 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
17783 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
17785 * config/mt-slite: add LIBS and -nostdlib.
17786 * config/slite-gdb.exp: add this new file to support sparclite target.
17788 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
17790 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
17792 * gdb.base/a2-run.exp: Change argument to istarget from
17793 "*-*-vxworks" to "*-*-vxworks*".
17794 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
17796 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
17798 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
17799 will not runto main but do a 'step' to step out of breakpoint().
17800 * config/mt-slite: add -Dusestubs.
17802 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17804 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
17807 * gdb.base/signals.exp: Add test for "handle all print".
17808 * TODO: Remove "handle all print". Also remove item about
17809 checking copyright date (I don't like the idea of a spurious FAIL
17810 based on when we run the tests).
17812 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
17813 for SunOS4 (reason for failure not investigated). Remove
17814 redundant test for $binfile.
17816 * gdb.base/nodebug.c (array_index): Call malloc.
17818 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
17820 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
17822 * gdb.base/recurse.exp: Update gdb_test invocation to use new
17823 conventions and slightly simplify the matching regexp.
17825 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17827 * gdb.base/break.exp: Update gdb_test invocation to use new
17830 * lib/gdb.exp: If noargs is not set, set it to 0.
17832 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
17835 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
17837 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17839 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
17840 one argument of type "<non-float parameter>".
17842 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
17844 * config/rom68k.exp: New file to support Motorola IDP board.
17845 * gdb.base/a2-run.exp: Skip this file if noargs is set.
17846 * gdb.base/break.c: Change things around so that this program
17847 doesn't depend upon args. This is necessary to make remote
17848 targets work (in general, they can't take args).
17849 * gdb.base/break.exp: Don't try to send args to program. Don't
17850 expect output. Also, replace lots of code with gdb_test.
17852 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17854 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
17855 printing of '\'' (which is what the comment says we are testing,
17856 even though we were not), not '''.
17857 (test_integer_literals_rejected): Test that printing ''' is an error.
17859 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17860 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
17861 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
17862 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
17863 Use gdb_test not test_print_accept.
17864 * lib/gdb.exp: Remove test_print_accept.
17866 * gdb.base/signals.exp (signal_tests_1): Make pass message
17867 consistent with fail message.
17869 * gdb.base/whatis.exp: Remove xfails for printing char vs.
17870 unsigned char; the bug (PR 1821) is fixed.
17872 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
17874 * gdb.base/scope.exp (test_at_localscopes): Call pass for
17875 successful tests--makes xfailing them work right.
17877 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17879 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
17880 only \r\n, not .*. The test can pass .* as the last thing in
17881 $pattern if that is what it wants. In addition to providing this
17882 flexibility, this change should speed up pattern matching in cases
17883 where the pattern already ended with .* (there were a number of
17884 them). This change also helps catch bad patterns--in the old
17885 scheme the typo "char \*" instead of "char \\*" would pass. Now
17887 * Many .exp files: Update callers.
17889 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
17890 clearer and does not spuriously match multiple ('s. Likewise for
17893 * gdb.base/nodebug.exp: Test ability to call a function and pass
17894 it a string (even with no debugging info).
17896 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
17897 "p '\'", which is the same as "p ''" once tcl gets done with
17898 quoting, to "p '\\'", which I suspect is what is intended (one
17899 backslash gets sent to GDB).
17901 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
17903 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17905 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
17906 1817) was fixed literally years ago.
17908 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17910 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
17911 test, it causes stepping out of call_after_alloca_subr with
17912 optimizing compilers.
17913 (localvars_in_indirect_call): Consume GDB prompt if `finish'
17916 * gdb.c++/templates.exp: Source templ-info.exp only if
17917 the templates executable exists.
17919 * gdb.c++/misc.cc (class Contains_static_instance,
17920 class Contains_nested_static_instance),
17921 gdb.c++/classes.exp (test_static_members): Test printing of
17922 a class that contains a static instance of the class.
17924 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17926 * gdb.base/langs2.c (cppsub_): Don't prototype.
17927 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
17930 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17932 * lib/gdb.exp (skip_chill_tests): New procedure.
17934 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
17936 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
17938 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
17939 each expect pattern. Cuts runtime from 12 to about 4 seconds.
17941 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17943 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
17945 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
17946 disassemble 8, not 16, instructions for part 4.
17948 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
17949 support the latter anymore.
17951 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
17953 * gdb.base/callfuncs.c: Control use of prototypes based on
17954 NO_PROTOTYPES, not __STDC__.
17955 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
17956 t_float_values2 tests if prototypes in use.
17958 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
17959 t_double_values): When checking differences against DELTA, check
17960 that difference is within the range (-DELTA,DELTA), not just
17963 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
17965 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
17966 'file' command firts, then 'target', then 'load', this is due to gdb
17968 * config/mips-gdb.exp: Fix a couple regular exp bugs.
17970 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
17972 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
17973 FP load/store variants.
17974 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
17976 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
17978 * gdb.base/term.exp: Do not give a warning if not native, it is
17979 not an abnormal condition.
17981 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
17983 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
17986 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
17988 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
17989 are getting the version number.
17991 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
17992 if not native, it is not an abnormal condition.
17994 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
17996 * lib/gdb.exp: Just use "file exists", rather than undocumented
17997 dejagnu procedure "findfile".
17999 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18001 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
18002 (LDFLAGS): Set to -Xlinker -Ur.
18004 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
18005 Removed, these values are set by lib/gdb.exp.
18007 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
18009 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18011 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
18012 of replicating gdb startup code.
18014 * config/mt-vxworks (LDFLAGS): Set to -r.
18015 (CFLAGS_FOR_TARGET): Removed.
18017 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
18018 (gdb) and gdb for vxworks uses (vxgdb).
18020 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
18021 executable is not in the tree and host != target, use sed and
18022 program_transform_name to determine the gdb name used by the
18025 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
18026 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
18028 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18030 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
18031 floats, chars, and shorts where there are ANSI-style function
18034 * gdb.base/langs.exp, gdb.base/langs*: New test.
18035 * gdb.base/Makefile.in: Build it.
18036 * TODO: Remove item about checking that C names don't get C++
18037 demangling applied; this test tests it.
18039 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18041 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
18042 went with the const70 xfail. The xfail went away a year ago.
18044 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
18046 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
18049 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
18051 * gdb.base/a1-selftest.exp: Don't run on hp300.
18053 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18055 * Makefile.in (site.exp): Set host_alias and target_alias as well
18056 as host_triplet and target_triplet.
18058 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18060 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
18062 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
18063 places as other ecoff systems).
18065 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
18068 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18070 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
18072 * gdb.base/nodebug.exp: Accept "function" in addition to "text
18073 variable and "variable" in addition to "data variable".
18074 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
18076 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
18078 * gdb.base/list1.c (long_line): Add additional statement at start
18080 * gdb.base/list.exp (test_forward_search): Update line number to
18081 reflect new statement.
18083 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18085 * gdb.base/signals.exp: Reinitialize searched source directories
18086 after gdb_start call.
18088 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
18090 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
18091 * gdb.stabs/Makefile.in: Likewise.
18093 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
18094 change. Instead split the tests into smaller pieces.
18095 * gdb.disasm/hppa.s: Corresponding changes.
18097 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18099 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
18100 Quote ^C when passing it to stty. For some shells ^ is a pipe.
18102 * gdb.base/funcargs.exp: Modify many tests so that every test
18103 either passes or fails. Make some test names unique.
18105 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18107 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
18108 Call stty to set interrupt character.
18110 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
18111 for HP assembler versus GNU assembler based on actual behavior of
18112 $(CC), rather than assuming that $(AS) is always the GNU assembler.
18114 * TODO: Suggest a few more stepping tests.
18116 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
18118 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
18119 restart GDB for h8300 after a continue.
18120 (return): Add pattern to match a29k-udi behavior.
18121 * gdb.base/nodebug.exp: Remove obsolete comment.
18122 * gdb.base/regs.exp: New file, testing of register displays.
18123 * gdb.base/return.exp: Fix typo in reference to $objdir.
18124 * gdb.base/whatis.exp: Always start with a fresh GDB.
18126 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18128 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
18129 higher, these tests generate a lot of output.
18131 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18133 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
18134 code following the catch silently ignored some errors; without the
18135 catch they should be thrown like any other tcl error. Also, the
18136 catch used "" instead of {} which meant all the callers who wanted
18137 to include one of the characters "[]$ had to quote it an extra time.
18138 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
18139 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
18140 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
18141 Remove extra quoting.
18143 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
18145 * gdb.base/commands.exp: Make test names unique; every test either
18146 passes or fails. Update some comments.
18148 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
18150 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18152 The following fixes a FAIL caused by the fact that the alpha stabs
18153 configuration didn't use the ".if alpha" code in weird.def.
18154 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
18155 bit pointer, so the 32 bit version works even on the alpha.
18156 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
18157 Remove the stuff which allowed us to have separate versions for
18158 alpha and everything else.
18160 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
18161 regexp which "info func operator\[\](" is supposed to match. Fix
18162 string to send to GDB. Note that GDB still doesn't work right. Add a
18163 new test for "info func .perator\[\](" which GDB does handle correctly.
18165 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
18167 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18169 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
18170 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
18171 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
18172 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
18173 it makes the tests harder to understand and confuses test-o-matic.
18174 The preferred style is that each test provides a PASS or a FAIL,
18175 and has a unique message (e.g. "continue #54" not just "continue")
18176 which is the same for the pass and the fail.
18177 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
18178 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
18180 * gdb.base/printcmds.exp: Use test_print_accept. Remove
18181 prt_accept which was basically the same thing. Likewise for
18182 test_print_reject and prt_reject.
18183 * lib/gdb.exp (test_print_reject): Add some more error message
18184 patterns to match from the former printcmds.exp (prt_reject).
18185 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
18186 One defect of the passcount stuff is that some of it failed to
18187 report XPASS where appropriate.
18188 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
18189 stuff before and after arg in expected pattern.
18190 (test_paddr_operator_functions): Re-do test without print_addr_of;
18191 this is the only test which seems to want extra stuff there.
18193 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18195 * gdb.base/nodebug.exp: Update new tests to reflect improved
18196 wording of gdb output.
18198 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
18199 and "ptype" work on variables in files compiled without -g.
18200 Replaces commented out "maint print msymbol" tests.
18202 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18204 * gdb.base/setvar.c (dummy): Call malloc.
18206 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
18207 losing with the irix4 sed.
18209 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
18212 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18214 * TODO: Remove items about corefile.exp testing new exec-file and
18215 backtrace; both are now done. Add items about printing enums.
18217 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18219 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
18220 "get signal $thissig" test fails.
18222 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
18224 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18226 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
18227 compiler warning with dec alpha compiler.
18229 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
18230 extra \n from gdb_test call (this explains why the prompt test
18231 that I removed yesterday was there).
18232 (user_defined_command_test): Remove extra \n and prompt test.
18234 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
18235 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
18237 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
18238 Also remove alpha workaround, which turns out to be because
18239 SIGABRT == SIGLOST.
18241 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
18243 * gdb.base/help.exp: Don't test "help show".
18245 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18247 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
18248 "set print address" is on.
18249 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
18250 pass prompt to gdb_test; gdb_test already looks for the prompt.
18252 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
18254 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
18255 was a vestige of the manual TESTSTRATEGY, and the purpose of it
18256 was to make sure that gdb can read a core file. But (a) the "read
18257 the corefile" part didn't make it to a1-selftest.exp, we just
18258 delete the corefile after creating it, and (b) we test reading
18259 corefiles in corefile.exp anyway. Also, this test left around a
18260 xgdb process on Solaris.
18262 * gdb.base/corefile.exp: Also test backtrace.
18264 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
18266 * gdb.base/commands.exp: Test a simple user defined command with
18267 arguments and if/while statements; verify the full user command is
18268 printed by "show user".
18270 * gdb.base/commands.exp: Test if/while commands as part of a
18271 breakpoint command list; verify they appear in breakpoint
18274 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18276 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
18277 than by dividing by zero.
18279 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
18281 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
18282 performing an inferior call with watchpoints enabled.
18283 * gdb.base/watchpoint.c (main): Delete second unnecessary read
18286 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18288 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
18291 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
18292 Add additional pattern for when "int operator int(void);" appears
18293 in a different order.
18295 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
18297 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
18299 * gdb.base/help.exp: Replace most of docstrings for "info signals"
18300 and "signal" with ".*".
18302 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18304 * TODO: Add note about "handle all nostop".
18306 * gdb.base/{sigall.c, sigall.exp}: New test.
18307 * gdb.base/Makefile.in: Add it.
18309 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
18311 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
18312 when invoking GDB, suppresses any windowing interface.
18314 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
18316 * config/sim-gdb: New file, simulator testing support.
18318 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
18320 * gdb.base/interrupt.exp: Test calling func1 twice.
18322 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
18324 * gdb.base/list.exp (test_forward_search): Set timeout higher
18325 when we'll be getting lots of output from gdb.
18327 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
18328 "init_malloc" to after the expect statement. Run it if that
18329 regexp is taken, but also for two others which happen if source
18332 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18334 * gdb.base/printcmds.exp: New test, for printing register before
18335 program is running.
18337 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18339 * gdb.base/list.exp: Correct some alternate expect patterns
18340 to reflect changes in list1.c.
18342 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18344 * TODO: Add item regarding large frames.
18346 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
18348 * TODO: Remove item about enabling return.exp; it
18349 is enabled. Suggest a few more "return" tests.
18351 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18353 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
18356 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18358 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
18359 and pr-5646.o, so "make" is the same as "make all", not "make
18362 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
18364 * gdb.base/list.exp: Adjust expectations to reflect changes in
18366 (test_forward_search): New test proc.
18367 * gdb.base/list1.c (long_line): New function, has long source line.
18369 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
18371 * gdb.base/a1-selftest.exp: Change initial stepping to know about
18372 additional line of code that was added.
18374 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
18376 * gdb.disasm/hppa.s: Break the large branching tests into smaller
18377 tests so as not to overflow expect's input buffers.
18378 * gdb.disasm/hppa.exp: Corresponding changes.
18380 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18382 Beginnings of template debugging tests.
18383 * gdb.c++/templ-info.cc: New file to test for template
18384 debugging capability of the compiler.
18385 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
18387 * gdb.c++/templates.cc: Add explicit template instantiations
18388 to enable compiling with -fno-implicit-templates. Add destructor
18389 and 'value' method to T5 class for template tests.
18390 * gdb.c++/templates.exp: Add testcases for printing of template
18391 types, setting breakpoints on template methods and calling a
18394 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
18396 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
18397 branch target since some assemblers (gas-2.5) may emit a
18398 relocation for the branch instead of resolving it in the
18401 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18403 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
18404 through signal handler.
18406 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18408 * configure.in (*-*-netware): Use config/mt-netware.
18410 * config/mt-netware: New file.
18411 * config/mt-i386-netware: Removed, separate configs for different
18412 netware architectures are no longer needed now that we have
18415 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18417 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
18418 by the recent changes to use ANSI C arithmetic conversions.
18420 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18422 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
18423 bug involving using inferior_pid to figure out whether to select a
18426 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
18428 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
18429 match the current disassembler output.
18431 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
18433 * gdb.fortran/exprs.exp: Expect VOID instead of void.
18434 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
18435 types, expect "int" as type of integer values (for now).
18437 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
18439 * gdb.base/commands.exp: New tests for if/while commands.
18441 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
18443 * lib/gdb.exp (runto): Replace sub-pattern for hex value
18444 by .*, since hex values have different syntax in Chill mode.
18446 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18448 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
18449 linefeed from expect pattern for repeated types with indices > 9.
18451 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
18453 First part of Fortran test suite.
18454 * gdb.fortran: New directory.
18455 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
18457 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18459 * gdb.base/default.exp: Update expect pattern for load command
18462 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18464 * configure.in: Change i386 to i[345]86.
18465 * gdb.base/configure.in: Likewise.
18466 * gdb.c++/configure.in: Likewise.
18467 * gdb.chill/configure.in: Likewise.
18469 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
18471 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
18472 patterns, since that is not a valid context for comments.
18474 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
18476 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
18477 repeated types and repeated types with indices > 9.
18479 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
18481 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
18482 2417; old bug has been fixed.
18484 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
18486 * gdb.base/interrupt.exp: When trying to wake up the inferior,
18487 send the newline ourselves instead of assuming gdb_test will do
18488 so when passed an empty input string.
18490 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
18493 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18495 * lib/gdb.exp (gdb_test): Don't send anything if the first
18496 argument is an empty string. This makes cases where we want to
18497 match output that is already in expect's buffers (for example,
18498 matching a breakpoint after gdb_run_cmd has been called) work
18501 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18503 * config/netware.exp: New file.
18505 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18507 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
18508 the -B and -L prefixes so we can find the debugging stub.
18510 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
18511 there and we are using the gcc from the tree.
18513 * gdb.base/types.c: Removed.
18515 * gdb.base/configure.in: Look for makefile fragments in ../config.
18516 Recognize i386-*-netware.
18517 * gdb.c++/configure.in: Likewise.
18519 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18521 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
18522 the correct TCL syntax.
18524 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18526 * gdb.base/opaque.exp: use runto instead of messing around with
18527 breakpoints. Simplify by using gdb_test.
18529 * gdb.base/bitfields.exp: restart between tests on netware targets
18530 because breakpoints aren't relocated after target death. Run
18531 processes to completion.
18533 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
18535 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
18537 * Makefile.in: Remove extra tabs that confuse some versions
18538 of "make". Use the newly built gdb to test with by default,
18539 rather than the first one in the tester's search path.
18541 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
18543 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
18545 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
18548 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18550 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
18552 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
18554 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
18555 * gdb.base/funcargs.exp: Likewise.
18557 * gdb.base/bitfields.exp: Simplify by using gdb_test.
18558 * gdb.base/funcargs.exp: Likewise.
18560 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
18563 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18565 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
18566 return,signals,twice}.exp: Handle non-existant binaries
18569 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
18570 * gdb.base/Makefile.in: Don't try to generate a core dump, we
18571 might testing a cross development system.
18573 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18575 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
18576 runtest script is relative to ${srcdir}, not ${rootdir}.
18578 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
18580 * gdb.base/signals.exp: Allow for optionality of breakpoint
18583 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18585 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
18587 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18589 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
18590 for size_t definition.
18591 * gdb.c++/templates.cc: Likewise
18593 * config/mt-i386-netware: New file.
18595 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
18598 * gdb.base/Makefile.in: Added support for systems that name core
18599 files by appending "core" to the program name.
18600 * gdb.base/a1-selftest.exp: Likewise.
18602 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18604 * gdb.base/return.exp: Add comment and message for `return double'
18605 test failure on Sparc Solaris.
18607 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
18609 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
18611 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18613 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
18614 from optimizing them away.
18615 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
18616 patterns to include default constructors and assignment operators,
18617 to match gcc versions beyond 2.5.8. Accept any cplus demangling
18618 character in the output of the virtual base pointer.
18620 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18622 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
18623 expression match in print_addr_of to avoid unintented matches.
18624 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
18625 versions up to 2.5.8.
18627 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18629 * gdb.base/list.exp: Tweak alternate pattern for listing of an
18630 included file to run under newer versions of expect.
18631 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
18632 consecutive >'s in templates to accomodate recent cplus-dem.c change.
18633 Remove xfail for the virtual table of BDDHookV.
18635 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
18637 * lib/gdb.exp (string_to_regexp): Set a default result.
18638 (default_gdb_start): Fix misleading message.
18640 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
18642 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
18643 Remove all CC, etc definitions.
18644 * config/mt-hpux: New file.
18645 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
18646 (CFLAGS, LDFLAGS): Define.
18647 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
18649 * Makefile.in (site.exp): Don't insert host_os, etc.
18650 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
18651 (distclean): Check existence of subdir.
18652 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
18653 * gdb.base/Makefile.in: General cleanup and simplification.
18654 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18655 to build executables. Use default rule to build .o files.
18656 (EXPECT, RUNTEST, CC): Fix relative pathname.
18657 (site.exp): Don't insert host_os, etc.
18658 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
18659 and/or SIGUSR1 defined.
18660 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
18661 * gdb.c++/Makefile.in: General cleanup and simplification.
18662 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
18664 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
18666 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
18668 * gdb.base/recurse.exp: Misc changes to get tests running again
18669 after Kung's changes to the watchpoint code.
18670 * gdb.base/watchpoint.exp: Likewise.
18672 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
18674 * lib/gdb.exp (string_to_regexp): Convert {\} also.
18676 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
18678 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
18679 * lib/gdb.exp (default_gdb_start): Define.
18680 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
18681 gdb.base/funcargs.exp, gdb.base/opaque.exp,
18682 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
18683 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
18684 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
18685 Don't call gdb_target_udi in between tests.
18687 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18689 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
18690 (which was basically just a local version of the same thing). In
18691 addition to avoiding duplication, gdb_test_exact is faster.
18692 * lib/gdb.exp (gdb_test_exact): Fix typo.
18694 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
18695 don't give an error.
18697 * gdb.base/term.exp: Call delete_breakpoints before starting.
18699 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
18700 (t10): Add comment.
18702 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
18704 Reorganization of the GDB Test Suite.
18706 * gdb.base: New directory, contains all the basic tests.
18707 * gdb.c++: New directory, tests specific to C++.
18708 * gdb.chill: New directory, tests specific to Chill.
18709 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
18710 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
18711 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
18712 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
18713 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
18715 * */gdbme.*: Rename to match appropriate expect scripts.
18716 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
18717 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
18718 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
18719 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
18720 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
18721 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
18722 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
18723 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
18724 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
18725 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
18726 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
18727 gdb.c++/virtfunc.cc: New names of C++ files.
18728 * gdb.chill/chillvars.ch: New name of Chill file.
18729 * gdb.base/configure.in, gdb.c++/configure.in,
18730 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
18731 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18732 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
18733 * configure.in (configdirs): Update to reflect directory changes.
18734 (target_abbrev): No longer define for any configuration.
18735 * Makefile.in: Cosmetic improvements to header comments.
18737 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
18739 Various changes to gdb.t31:
18741 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
18742 * gdbme.ch: Make all key-words and predefineds be upper-case.
18743 * chillvars.exp: Expect key-words and predefinds in upper-case.
18745 * chillvars.exp: Use gdb_test_exact many places.
18746 Change expected output for arrays (which now includes index labels).
18748 * pr-5020.exp, gdme.ch (module PR_5020):
18749 New test, for PR-5020.
18751 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
18753 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
18754 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
18756 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
18758 * Makefile.in: Fix bit-rot in definitions of CHILL,
18759 CHILL_FOR_TARGET and Chill_LIB.
18760 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
18761 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
18762 CHILL, and CHILL_LIB.
18764 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
18766 * Revert the previous changes. Please see Rob's directory
18767 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
18769 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
18771 * Makefile.in, configure.in, config/mips-gdb.exp,
18772 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
18773 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
18774 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
18775 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
18776 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
18777 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
18778 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
18779 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
18780 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
18781 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
18782 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
18783 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
18784 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
18785 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
18786 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
18789 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
18791 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
18792 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
18793 Rob's new testing fragments.
18795 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
18797 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
18798 lib/gdb.exp: Replace error proc calls with perror.
18800 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
18802 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
18803 version also, match on casted version strings, and match on
18804 gdb startup case where the line numbers might be messed up.
18806 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
18808 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
18809 (CFLAGS): Delete it from here.
18811 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
18813 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
18815 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
18817 * Makefile.in (RUNTEST): Default to just "runtest".
18819 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18821 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
18822 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
18823 the code has been restructured.
18825 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18827 * gdb.t00/default.exp (set write): Allow any number of \r and/or
18828 \n, not just one of each.
18830 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
18831 /bin/cc gives a warning if you do.
18833 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
18835 * gdb.t24/demangle.exp: change expect pattern of
18836 __t10ListS_link1ZUiRCUiPT0
18838 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18840 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
18841 on local variables in recursive functions.
18843 * gdb.t07/Makefile.in: Build the new test.
18845 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18847 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
18848 directly. Instead compare the return values from actual calls.
18850 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
18852 * Makefile.in (check): Set TCL_LIBRARY for runtest.
18854 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18856 * From Peter Schauer with minor modifications.
18857 * gdb.t15/return.exp (return_tests): Handle targets where "return"
18858 stops in mid-line in the caller. Add xfail for returning a float
18859 value on X86 targets.
18861 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18863 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
18864 to avoid expect lossage.
18865 (fmem_LRbug_tests): Likewise.
18866 * gdb.disasm/hppa.s: Corresponding changes.
18868 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
18869 conditions to work with latest dejagnu/expect.
18871 * gdb.t15/funcargs.exp (finish from indirect call): No longer
18872 expected to fail on the PA.
18873 (backtrace in call with trampolines): Explicitly require main
18874 to be frame #1 (no trampolines should show up in backtrace).
18876 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
18877 "continue -expect".
18878 * gdb.t06/break.exp: Likewise.
18879 * gdb.t07/watchpoint.exp: Likewise.
18880 * gdb.t13/bitfields.exp: Likewise.
18881 * gdb.t15/{funcargs,return}.exp: Likewise.
18882 * gdb.stabs/weird.exp: Likewise.
18883 * config/{mips,udi}-gdb.exp: Likewise.
18885 * hppa.sed: Enclose comments within a sed command to avoid
18886 losing with the old OSF1 sed.
18888 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18890 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
18892 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
18893 * gdb.t15/funcargs.exp: Conditionally step again to really
18894 finish from marker_call_with_trampolines. Handle the case where
18895 the first step from within call_with_trampolines already steps
18897 * gdb.t15/gdbme.c: Add comment to closing brace of
18898 call_with_trampolines for funcargs.exp.
18900 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18902 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
18905 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18907 * gdb.t07/gdbme.c: More code for watchpoint testing.
18909 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
18910 "Hardware watchpoint" throughout file.
18911 (test_watchpoint_triggered_in_syscall): New test.
18912 (test_complex_watchpoint): New test.
18914 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18916 * gdbme.c (call_with_trampolines): New function to try and step
18917 into. Tests trampoline problems on the PA.
18919 * funcargs.exp (localvars_in_indirect_call): No longer expect
18920 stepping into indirect call to fail on PAs.
18921 (test_stepping_over_trampolines): New test.
18923 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18925 * TODO: Add suggestions for static member function tests, and
18928 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18930 * TODO: Add suggestions for "p/a" tests.
18932 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
18933 (default_gdb_exit): Replace all the hair with sending "quit" to
18934 the process with a simple close.
18936 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18938 * TODO: Add suggestions for shared library tests.
18940 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18942 * TODO: Add suggestions for x/s tests.
18944 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18946 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
18947 "enable once", and "enable breakpoints once" with ".*".
18949 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18951 * TODO: Add suggestions about structure passing tests.
18953 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18955 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
18956 the primary1 test, use work around if __GNUC__ < 2.
18957 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
18958 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
18959 Test for bad output rather than waiting for timeout. Issue
18960 second continue only if first continue failed.
18962 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
18964 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
18965 operator[] test with gdb_test because the old code didn't seem to
18966 be getting the quoting right with the new dejagnu.
18968 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
18970 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
18972 * Makefile.in: Use a fresh expect if there is one, use runtest
18973 from the src tree if there is one.
18975 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
18977 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
18978 next over recursive call. Revise the tests from that point on
18979 (which had been skipped) to match GDB's actual (correct) output.
18981 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
18982 with next over a breakpoint whose condition is false.
18984 * gdb.t00/help.exp: Comment out "help set print" tests just like
18985 (and for same reason as) "help set" test.
18987 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
18989 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
18990 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
18992 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
18994 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
18995 necessary gdb_target_udi.
18997 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
18999 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
19000 1838 and 2417; they are fixed.
19002 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
19003 gdb.t03/ptype.exp (ptype structure, ptype union):
19004 Remove xfails; the test is looser than when the xfails were added.
19006 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
19007 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
19009 * gdb.t01/run.exp: Only run shell test if isnative.
19011 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
19012 since "run" automatically loads if necessary. Call gdb_target_udi
19013 after the "file" since "file" kills any execution target.
19015 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
19016 GDB. GDB doesn't work that way (not anymore at least) on UDI.
19017 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
19020 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
19022 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
19024 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
19026 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19028 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
19029 properly quoting regexps. This makes the second argument to
19030 demangle a fixed string, which matches the callers, instead of a
19031 shell-style pattern which is what the previous implementation
19032 used. Update some of the callers.
19034 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19036 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
19037 (comib_nullified_tests): Fix typo.
19038 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
19039 strings. No longer expected to fail.
19041 * gdb.disasm/hppa.s (addib_tests): Fix typo.
19042 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
19043 strings. No longer expected to fail.
19045 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
19046 string. No longer expected to fail.
19048 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19050 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
19051 No longer expected to fail.
19053 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
19054 string. No longer expected to fail.
19056 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19058 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
19059 only in the names (I probably got most of them). I was even
19060 generous with some which differed in underscores in names, and
19061 probably missed a few, and I *still* was able to remove almost a
19062 third of the file with almost no impact on testsuite coverage.
19064 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19066 * gdb.t00/default.exp: Match udi_attach error message as well as
19067 the one from child_attach.
19069 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
19071 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
19073 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
19074 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
19076 * Move test with enums and partial symbols back to
19077 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
19078 Reverts the change of 26 May 93. Per today's change to
19079 stabs.texinfo, the behavior that weird.exp was expecting was
19080 unreasonable; what is important is that the compiler+gdb get
19081 things right, which happens with a recent gcc. Also fix the test
19082 to deal with native compilers which put out the stab gdb can't
19085 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19087 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
19088 in the names. The main thing these accomplish is to slow things down.
19089 Many more such duplicates surely remain.
19091 * gdb.t00/help.exp: Comment out "help support" test just like
19092 (and for same reason as) "help set" test.
19094 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
19096 * gdb.t06/break.exp: Remove setup_xfails for
19097 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
19098 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
19099 about known bug in gcc to include up through 2.5.8.
19100 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
19102 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
19103 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
19104 with latest gcc and gdb.
19105 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
19108 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19110 * configure.in (hppa*-*-*): Also configure and build stabs-only
19113 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19115 * gdb.t10/hppa.mt: A makefile fragment for the PA.
19116 * gdb.t10/configure.in (hppa*-*-*): Use it.
19118 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19120 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
19122 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19124 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
19125 versions prior to 1.13.5.
19127 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19129 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
19130 the prompt is at the start of a line.
19132 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
19134 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
19135 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
19136 in the copr tests now.
19137 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
19138 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
19141 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
19143 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
19144 gdb.t31/chillvars.exp, lib/gdb.exp:
19145 Tweak to run under either version of expect.
19146 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
19147 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
19148 * gdb.t11/list.exp: Remove extraneous whitespace.
19150 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19152 * gdb.t16/printcmds.exp (test_print_strings): Accept
19153 "(unsigned char *) " before the string.
19155 * TODO: Add notes about printing of fancy types and GDB expressions.
19157 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
19159 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
19160 * gdb.t06/configure.in: Don't try to compile signals test program
19161 if doing mips-idt-ecoff.
19163 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
19165 * Most .exp files: Tweak to run under either version of expect.
19167 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19169 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
19170 xfails; I'm not sure why they are failing, but not because of PR 1806.
19172 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
19174 * config/unix-gdb.exp: Remove gdb_unload cause it's already
19175 defined in lib/gdb.exp.
19177 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19179 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
19180 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
19181 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
19182 have to be typeless.
19184 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19186 * TODO: Add suggestion for copyright year test.
19188 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
19190 * configure.in (*-*-lynxos*): Add stabs tests.
19192 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
19194 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
19195 so insert a tab before any assembler directive in column zero.
19197 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
19199 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
19201 (fpu_short_memory_tests): Likewise.
19203 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19205 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
19206 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
19207 .stabs directives in comments.
19209 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19211 * TODO: New file, describing tests we could write.
19212 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
19214 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19216 * gdb.t06/signals.exp: Add kludge to force re-sync.
19218 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
19219 to xgdb instead of gdb, get out of gdb.
19221 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
19223 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
19226 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
19228 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
19229 * gdb.stabs/configure.in (hppa*-*-*): Use it.
19230 * gdb.stabs/hppa.sed: New sed script for the PA.
19232 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19234 * gdb.stabs: Re-write weird.def and configuration to use sed
19235 instead of cpp. sed is portable and POSIX; cpp is neither.
19237 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19239 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
19241 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19243 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
19245 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19247 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
19249 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
19250 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
19252 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19254 * lib/gdb.exp: Comment out code which depends on non-existent
19255 `transform' procedure.
19257 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
19259 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
19260 * lib/gdb.exp: Transform tool name.
19261 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
19262 1.1's new error handling system.
19264 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19266 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
19268 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19270 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
19271 They made pattern matching so slow that timeouts happened on
19272 heavily loaded systems. Now any output from "show print" which
19273 gets us back to the GDB prompt is a PASS.
19275 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
19277 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
19279 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19281 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
19283 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
19284 It is not from PR 3220.
19286 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19288 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
19289 just started failing because they depended on the order the
19290 subcommands are presented, or exact docstring text. This kind of
19291 test is a pain and has minimal benefit.
19293 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19295 * gdb.t09/corefile.exp: At end of test, use "core" command with
19298 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
19300 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
19301 17}/Makefile.in: Make it possible to run the testsuite with Sun
19302 make and CC = cross gcc by adding explicit build rules for .o
19305 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19307 * gdb.t15/funcargs.exp: Don't put comments on same line as
19308 setup_xfail (@#$*%& tcl braindamage!).
19310 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19312 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
19314 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
19316 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
19317 * gdb.t20/inherit.exp: remove three dumplicate entries.
19319 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19321 * gdb.t06/break.exp: For "next over recursive call", fail on any
19322 incorrect output, not just on "factorial (value=2)".
19324 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19326 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
19327 working now. Add an xfail if accesing a bss variable causes
19328 a memory error if the target is not yet run.
19330 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19332 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
19333 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
19334 name of __st* demangling (2 strings). Did Kung really get the
19335 more than 95 others right without testing them?
19337 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
19339 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
19341 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
19343 * configure.in (configdirs): Add gdb.disasm
19344 * gdb.disasm: New directory for GDB disassembler tests.
19345 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
19347 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19349 * gdb.t00/help.exp: Don't test "help set".
19351 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
19352 from within expect statements. None of these happen anymore and
19353 they cause regressions to be silently unnoticed.
19355 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
19356 messages) about known failures with gcc cygnus-2.4.5-930417.
19358 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
19359 comp-info.exp so it gets built if it doesn't exist.
19361 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
19362 it is no longer used.
19363 * gdb.t13/comp-info.c: Removed.
19365 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19367 * gdb.t06/signals.exp: Add xfail for sun3.
19369 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19371 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
19372 relevant because ^C doesn't get sent but failure can be reproduced
19375 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19377 * gdb.stabs/alpha.mt: New configuration file for alpha.
19378 * gdb.stabs/configure.in: Use it.
19379 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
19380 sharing with alpha.mt, redefine long to word via preprocessor.
19381 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
19383 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
19385 * gdb.t00/teststrategy.exp: Change expect string so that we
19386 consume the `(xgdb)' from the command echo and from the gdb prompt.
19387 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
19388 gdb currently compares all values as long, so this failure probably
19389 applies to any configuration where LONGEST is bigger than a target int.
19390 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
19392 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
19393 to handle opaque pointers, gcc is.
19394 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
19395 as first argument. Include <sys/types.h> and change all operator
19396 new definitions to use size_t.
19397 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
19398 now that we use size_t.
19400 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19402 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
19403 a long or float array cast all array members to the same type.
19404 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
19406 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
19408 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
19410 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19412 * gdb.t24 (demangle.exp): Constructors of templates have names like
19413 vector<int>::vector(int) not vector<int>::vector<int>(int). See
19414 section 14.6 of the ARM.
19416 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
19417 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
19418 accomplish little and slow down the testsuite.
19420 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
19421 Accept spaces various places.
19423 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19425 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
19426 with watchpoint enabled.
19428 * Makefile.in: Remove definition of CC and remove the second
19429 definition of CXX (the "CXX = gcc" one remains). These definitions
19430 were causing backquotes to be expanded within backquotes, which
19433 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
19435 * gdb.t17/callfuncs.exp: Add "return 0" to end.
19437 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19439 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
19440 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
19441 by mips cc and contains no stabs entries.
19443 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
19445 * config/vx-gdb.exp: Use fake device to load files rather than
19447 * lib/gdb.exp: New proc to do "file" command.
19448 * config/unix-gdb.exp: Use new "file" proc.
19450 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
19452 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
19453 Rework board rebooting slightly.
19454 (gdb_exit): Don't exit from the remote shell; there isn't one.
19455 * gdb.stabs/weird.exp: If a program is being debugged already,
19457 * gdb.t04/setvar.exp: Stop and restart gdb.
19458 * gdb.t05/expr.exp: Likewise.
19459 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
19460 restart gdb and reload the program.
19461 * gdb.t08/opaque.exp: Likewise.
19462 * gdb.t12/scope.exp: Likewise.
19463 * gdb.t13/bitfields.exp: Likewise.
19464 * gdb.t15/funcargs.exp: Likewise.
19465 * gdb.t20/classes.exp: Likewise.
19466 * gdb.t03/ptype.exp: Increase timeout.
19467 * gdb.t16/printcmds.exp (test_print_string_constants,
19468 test_print_array_constants): Likewise.
19469 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
19470 * gdb.t20/classes.exp (do_tests): Likewise.
19471 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
19473 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
19475 * gdb.stabs: Renamed *wierd* to *weird*.
19477 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
19479 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
19480 for timeout. Add "known gcc 2.4.5 bug" to failure message.
19482 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
19484 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
19485 (do_tests): Remove xfail for whatis on one_var and two_var.
19487 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
19489 * Makefile.in: Made cross building work better by adding
19490 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
19492 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19494 * gdb.t15/{return.c,return.exp,Makefile.in}:
19495 New test, currently commented out.
19497 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
19499 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
19500 still running and removes the leftover named socket so GDb can do
19503 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
19505 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
19507 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
19508 cross testing works better with "make check"
19509 * config/unix-gdb: Use default procedures for exit and version.
19510 * config/vx-gdb.exp: Cleaned up and massaged back to working order
19511 with the newest VxWorks.
19513 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19515 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
19518 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
19519 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
19521 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
19523 * config/unix-gdb.exp: Remove this version of gdb_exit
19524 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
19525 Rob says he'll look at it when he gets back to testing boards.
19527 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
19529 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
19530 an expected fail for certain ptype commands.
19532 * gdb.t20/classes.exp: Update expected results of "ptype class
19533 Base1" to account for the constructor that now appears in the type.
19535 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
19537 * configure.in (configdirs): Restore gdb.t04, which mysteriously
19538 disappeared from list.
19539 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
19540 "alldone" proc with call to cleanup and exit.
19541 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
19542 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
19543 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
19544 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
19545 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
19546 "alldone" proc with simple returns that suppress remaining
19547 tests. The alldone proc went away many months ago.
19549 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19551 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
19553 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
19555 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19557 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
19558 as vax gdb will display them.
19560 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19562 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
19565 * scope.exp: Change "bad value for localval" messages so each one
19568 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
19569 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
19571 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
19573 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19575 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
19576 doesn't exist (due to optimization).
19578 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19580 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
19581 contains \r because the filename is long.
19583 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
19584 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
19586 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19588 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
19589 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
19591 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
19593 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
19595 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
19597 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
19599 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
19600 to match does not match the passing case but still matches the
19603 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19605 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
19607 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
19609 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
19610 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
19611 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
19612 Remove various versions of gdb_exit.
19613 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
19615 * config/unix-gdb.exp: gdb_exit remains here, and should override
19616 the generic version, since it's doing a lot of wierd stuff that
19617 the other versions aren't. FIXME, fold it in, or abandon this
19620 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19622 * gdb.t24/demangle.exp: Add tests for PR 3220.
19624 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19626 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
19628 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
19630 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
19631 "i386-*-*". Works for i486 as well.
19633 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
19634 bug, and expand domain of xfail to all SVR4 systems, since the
19635 actual problem is likely to be in generic SVR4 /proc support.
19637 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19639 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
19641 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
19643 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
19644 xfails for other systems. Match a missing 'Continuing.' as an
19645 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
19647 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
19648 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
19649 Only issue warning for missing executables if -all option is used.
19651 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
19652 file if -all option is used. It's like an unpredictable XFAIL.
19654 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19656 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
19657 for dynamically linked binaries.
19659 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
19661 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19663 * gdb.t20/inherit.exp: Change message for "print tagless struct"
19664 to state that this is a known bug in old versions of g++.
19666 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19668 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
19669 while waiting for `Continuing'.
19671 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
19673 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
19674 in text, data, and bss.
19675 * gdb.t10/nodebug.c: Add local and global test variables for
19676 initialized and uninitialized data.
19678 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19680 * config/unix-gdb.exp (gdb_exit): Add "wait".
19682 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19684 * gdb.t06/signals.exp: xfail the continue from the handler for all
19687 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
19688 function with watchpoints enabled, the i386 call dummy starts with
19691 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
19692 386 bsd names its corefiles.
19694 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
19696 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
19697 compilers don't grok it.
19698 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
19699 with small octal ints rather than character constants, which
19700 are signed and might not fit if first promoted to int.
19702 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
19704 * gdb.t09/Makefile.in (clean): Remove corefile.
19706 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19708 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
19710 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19711 and Jim Kingdon (kingdon@cygnus.com)
19713 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
19714 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
19715 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
19717 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19719 * gdb.t17/interrupt.exp: Add xfail for hppa.
19721 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19723 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
19724 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
19725 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
19726 to determine signed-ness of bitfields and use the result to setup
19728 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
19729 * gdb.t15/funcargs.exp: Use them to step until the second indirect
19730 call line is reached if necessary.
19732 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19734 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
19736 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19738 * gdb.t06/break.exp: Also test `clear' command.
19740 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19742 * gdb.t00/teststrategy.exp: Remove extra quote.
19744 * gdb.t07/watchpoint.exp: Change xfail for calling function with
19745 watchpoint enabled to be for all non-68k machines.
19747 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
19749 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19751 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
19752 targets use aout.mt instead of ecoff.mt as gas understands
19753 standard aout format.
19755 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
19757 * lib/gdb.exp (runto): Don't insist that function we are running to
19758 was compiled with -g.
19760 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
19762 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
19763 to get back into the read system call.
19764 Accept leading newline in case where we woke it up.
19766 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19768 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
19769 to make the stabs test work on ecoff systems using gcc and -with-stabs.
19770 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
19771 enable ecoff configuration.
19773 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19775 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
19777 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19779 * gdb.t16/printcmds.exp: Add another printf test.
19781 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
19783 * configure.in: If configured -with-stabs on any target, add
19784 stabsdirs to configdirs.
19786 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19788 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
19789 fun" so pattern does not match the command itself.
19791 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19793 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
19795 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19797 * gdb.t17/interrupt.exp: Test for more things.
19799 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19801 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
19802 compiler arranges the code and line numbers.
19804 * gdb.t17/interrupt.exp: Don't send \n after ^C.
19806 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19808 * gdb.t00/help.exp: Increase expect input buffer size.
19810 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19812 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
19814 * gdb.t07/watchpoint.exp: Add xfail for hppa.
19816 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
19818 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
19819 [0-9]*, not just [0-9].
19821 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19823 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
19825 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
19827 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19829 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
19831 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19833 * gdb.t06/signals.c: Add xfails for sun3.
19835 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
19837 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
19838 test_stepping tests.
19840 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19842 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
19844 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
19846 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
19847 rather than actually putting it through cpp twice.
19849 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
19851 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
19853 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
19856 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19858 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
19860 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
19861 C++ features prints as "struct", make it a pass, not an xfail.
19863 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19865 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
19866 Don't require VA to print as "class" rather than "struct".
19868 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
19870 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
19872 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19874 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
19876 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19878 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
19881 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19883 * gdb.t16/printcmds.exp: Add printf tests.
19885 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
19887 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
19889 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
19891 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
19892 pass counts, to counteract any existing or future setup_xfails.
19894 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19896 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
19897 {BEGIN,END}_COMMON for common block instead of STAB.
19898 * gdb.stabs/wierd.exp: Add xfail for rs6000.
19900 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
19901 intp_var should be N_GSYM not N_LSYM.
19902 wierd-aout.S: Use a label for the value of the N_SO.
19903 wierd.def: Remove all backslashes.
19904 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
19906 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19908 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
19909 get the expected next to inheritance3.
19911 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19913 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
19914 now that gcc-2.4 gets it right.
19916 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
19918 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
19920 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
19921 generating comp-info.exp which works for cross-compilation.
19923 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
19925 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
19928 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
19930 * gdb.t01/run.exp: Start with a fresh gdb.
19931 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
19934 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
19936 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
19937 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
19938 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
19939 Makefile.in (distclean, realclean): Remove gdbme.c from list of
19942 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
19944 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
19945 test cases from bug reports.
19947 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
19949 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
19950 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
19951 avoid spurious xfails.
19952 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
19953 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
19954 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
19956 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
19958 * gdb.t00/teststrategy.exp: Rework to provide more useful
19959 description of each test, fix problem with systems that define
19960 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
19961 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
19962 results for "next over recursive call" so timeouts aren't taken
19965 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
19967 * gdb.t12/scope.exp: Test printing of variables before run.
19969 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
19970 printed in wrong order due to sorting.
19972 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
19974 * gdb.t00/teststrategy.exp: Fix expected results for printing
19975 user entered string constant. Is array of char, prints with no
19978 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
19980 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
19981 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
19982 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
19983 of struct of char arrays.
19984 * gdb.t00/radix.exp: New tests for radix commands.
19986 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
19988 * gdb.t16/printcmd.exp: Print a variable before running program
19989 (with xfail for AIX).
19991 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
19993 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
19995 * gdb.t16/printcmd.exp: Don't print variables before running program.
19997 * gdb.t06/break.exp: Don't require envp argument to main.
19999 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
20001 * gdb.t02/whatis.exp, gdb.t11/list.exp:
20002 Add xfails for rs6000.
20004 * gdb.t02/whatis.exp: Change other tests not to re-test something
20007 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
20008 each type used has a variable of that type.
20010 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
20012 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
20014 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
20016 * configure.in: change srctrigger to be a file, not a directory
20018 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
20020 * configure.in (mips-idt-ecoff*): Added trailing '*'.
20022 * gdb.t11/list.exp: Fixed a couple of typos.
20024 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
20026 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
20027 is fixed and PR is closed.
20028 * gdb.t16 (gdbme.c): Add simple test string variable.
20029 * gdb.t16 (printcmds.exp): Add tests with simple test string
20030 variable, primarily for boundaries on "set print elements".
20032 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
20034 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
20035 Make leading 0's optional and don't expect a tab in the middle
20038 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
20040 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
20041 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
20042 don't end command passed to gdb_test with newline.
20044 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
20045 signed keyword away, don't expect signed bitfields to be signed.
20047 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
20048 printing with only as many 1's as are in the field as well as printing
20049 with 32 1's (see comment).
20051 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
20053 * gdb.t00/default.exp: Start with a fresh gdb.
20054 * configure.in (configdirs): Remove gdb.t31 until the chill
20055 compiler works again. It no longer is able to find chillrt0
20056 since it isn't in libchill.a anymore.
20057 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
20058 wierd.o, make more modular.
20059 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
20060 spurious newlines that caused problems.
20062 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20064 * Move test with enums and partial symbols from gdb.t03/ptype.exp
20065 to gdb.stabs/wierd.exp since GCC has worked around the bug.
20066 gdb.stabs/wierd.{exp,def}: Many new tests.
20068 * gdb.t00/default.exp: update info line for new message.
20070 * gdb.t02/{whatis.exp,gdbme.c}:
20071 Test that "char *" doesn't print as "caddr_t".
20073 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20075 * gdb.t00/help.exp: Use .* in place of some help messages which
20077 gdb.t00/default.exp: Update "info frame" test for new message.
20078 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
20081 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20083 * gdb.t03/{gdbme.c,ptype.exp}:
20084 Add tests for typedef'd struct and union without tags.
20085 Also check "whatis" on a variable of a typedef'd enum without a tag.
20087 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
20088 PRMS 1823; the bug still exists but isn't reproduced by this test
20089 anymore), and remove rs6000 XFAIL (the bug is fixed).
20091 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
20092 duplicated from whatis.exp. For those that are left, accept
20093 "long", "long int", or "int" for long variables (whatis.exp already
20094 has an XFAIL for "int", so no need to fail it here).
20096 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
20097 Deal with GCC's names for types now that GDB uses the compiler's names.
20099 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
20100 setup_xfail's for sunos4. If we #defined the signed keyword away,
20101 don't expect GDB to know that char it is signed.
20103 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
20105 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
20107 * configure.in (configdirs): Add gdb.t24 for C++ tests that
20108 should work on any system, regardless of debugging format.
20109 * gdb.t21/demangle.exp: Move to gdb.t24.
20110 * gdb.t24/demangle.exp: Move from gdb.t21.
20111 * gdb.t24/{Makefile.in, configure.in}: New files.
20113 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20115 * configure.in: Do gdb.stabs and C++ tests only for stabs.
20116 * gdb.stabs: New directory.
20118 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20120 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
20121 not just "Quit anyway?".
20123 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
20125 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
20126 that all setup_xfails are immediately followed by clear_xfails.
20128 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
20130 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
20131 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
20132 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
20133 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
20134 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
20135 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
20136 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
20137 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
20138 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
20139 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
20140 gdb.t31/chillvars.exp, lib/gdb.exp:
20141 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
20142 bug-gdb@prep.ai.mit.edu.
20144 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
20146 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
20147 with 0.0, not integer 0.
20149 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
20151 * gdb.t06/break.exp: Update for "Kill the program" message change.
20153 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
20155 * Makefile.in (GDBFLAGS): Set to -nx.
20156 * Makefile.in (site.exp): Use GDBFLAGS.
20158 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
20160 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
20162 (check): depend on just-check.
20163 (just-check): added so that tests can be run without a noop
20166 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
20168 Switch to using configure's configdirs.
20169 * Makefile.in (Makefile): add configure.in dependency.
20170 (SUBDIRS): removed redundant assignment.
20171 * configure.in: switch subdirs assignment to configdirs.
20172 * gdb.t*/configure.in: new files.
20174 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
20176 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
20179 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
20181 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
20182 in explicit rules. Apparently this is not supported by some makes.
20184 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
20186 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
20188 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20190 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
20193 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
20195 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
20197 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
20199 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
20200 watchpoint problem that is now fixed.
20201 * gdb.t30/chexp.exp: Remove setup_xfail for printing
20202 uninitialized convenience variables.
20203 * gdb.t31/chillvars.exp: Fix expected patterns for printing
20206 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20208 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
20209 which causes expect to get out of sync with gdb on long output
20211 * gdb.t09/corefile.exp: Make expected pattern for core file
20212 failing signal and frame output format less sun specific.
20214 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
20216 * gdb.t31/chillvars.exp: Add and remove initial dummy
20217 breakpoint, so that symbol table is forced in.
20218 (Needed at least on Sunos4, though it seems not SVR4.)
20219 * gdb.t31/chillvars.exp: Update for changed output format.
20221 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
20223 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
20225 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
20227 * Makefile.in: Added --srcdir when invoking runtest, removed the
20228 need for a local config file. (optional now)
20230 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
20232 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
20233 failure count used to force early termination. Add some more
20234 expected failures for gnu style demangling.
20236 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20238 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
20239 pmi variable from gdb.t20/gdbme to get optimized away.
20240 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
20241 Check for written corefile upon timeout _and_ eof.
20243 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20245 * config/unix-gdb.exp: Add missing return 0.
20247 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20249 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
20252 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
20254 * configure.in (subdirs): Put back gdb.t17 which mysteriously
20257 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
20259 * gdb.t10/crossload.exp: Disable the i860-elf test until such
20260 time as i860 support works.
20262 * gdb.t15/funcargs.exp: Fix expected outputs to include
20263 "backtrace 100\r" rather than just "backtrace\r", to match last
20266 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
20268 * config/udi-gdb.exp (gdb_exit): Remove close command.
20269 (gdb_target_udi): New procedure to set the UDI target.
20270 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
20271 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
20272 Added waits for prompts after several question responses. Added
20273 some more responses used by a29k-amd-udi-gdb.
20274 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
20275 pass different arguments, restart UDI connection after program
20277 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
20278 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
20279 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
20280 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
20281 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
20282 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
20283 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
20284 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
20285 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
20286 after program completion.
20287 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
20288 compiled with a SELECT_VECS setting.
20289 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
20290 infinite recursion.
20292 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
20293 Added checks for COFF results, and made them expected failures for
20294 all targets. It would be better to make them expected failures
20295 for COFF targets only.
20297 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
20299 * Makefile.in: add null dvi target, don't bother to recurse
20300 through test directories for info and install-info; rename
20301 $(datadir) to be dejagnu instead of deja-gnu
20303 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
20305 * gdb.t31/gdbme.ch: Re-enable code that previously caused
20306 compiler to coredump.
20307 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
20310 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
20312 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
20314 * gdb.t31/chillvars.exp: Comment out tests that depend on that
20317 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
20319 * gdb.t03/ptype.exp: tests for return code from gdb_test.
20320 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
20321 which in a shell. Deletes xgdb when done.
20322 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
20323 Tests the return from the "set height" or "set width" commands.
20324 Added a few return codes where needed.
20326 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
20328 * Makefile.in (SUBDIRS): Add gdb.t17.
20329 * configure.in (subdirs): Add gdb.t17.
20330 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
20331 files to test gdb's calling of functions in the inferior with
20332 the correct arguments and gdb's ability to retrieve any
20335 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
20337 * config/unix-gdb.exp (gdb_exit): Remove close commands that
20338 may be called after gdb goes away. Previous versions of expect
20339 needed these to avoid file descriptor leaks, but they cause
20340 errors with the current revision of expect.
20341 * gdb.t00/gdbvars.exp: Use -re on expected output after
20342 setting sevenbit-strings.
20343 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
20344 to set sevenbit-strings consistent across tests.
20345 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
20346 set sevenbit-strings consistent across tests.
20348 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
20350 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
20351 expected output to match current "expect" expectations.
20353 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
20355 * gdb.t00/default.exp: Change expected output for default "source"
20356 command, to match new gdb behavior which requires a filename to
20359 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
20361 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
20362 expected fail for i486-*-* that misses the marker2 function.
20363 * gdb.t10/crossload.exp (bfddefault): Allow successful
20364 recognition of a format to pass even if no symbols are found.
20365 Explicitly catch failures where the format is not recognized
20366 or is ambiguous, and add the reason to the fail message.
20367 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
20368 the cause is and invalid target and add reason to failure message.
20369 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
20370 elf32-i386, elf32-sparc, and elf32-i860.
20371 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
20372 Set up expected failure for 'filename'::variable scope resolution,
20373 which is now apparently broken on all targets.
20374 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
20375 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
20376 gdb.t23/templates.exp: Change failure for missing binfile into
20378 gdb.t21/demangle.exp: Change all cfront references to 'arm'
20381 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
20383 * gdb.t00/default.exp: Add expected output for default "source"
20384 command, to match new gdb behavior.
20385 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
20387 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
20389 * config/*-gdb.exp: returns an error, rather than exiting on
20392 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
20394 * gdb.t03/gdbme.c: Add pointer to struct variable.
20395 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
20396 referencing struct members.
20398 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
20400 * configure.in (mips-idt-ecoff): New target.
20401 * config/mips-gdb.exp: New file for remote board using MIPS remote
20402 debugging protocol.
20404 * Redid configuration scheme. Removed gdb.t*/configure.in.
20405 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
20406 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
20407 distclean targets. Built executables via .o files. Adjusted
20408 tests to account for source files in $(srcdir) rather than
20410 * lib/gdb.exp (runto): Don't expect () after the function name,
20411 because it may have arguments.
20413 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
20415 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
20416 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
20417 expected failures for mips-idt-* and mips-sgi-*.
20418 * gdb.t00/default.exp (attach): Kill process if requested.
20419 * gdb.t00/help.exp (help target core, help target): Accept a gdb
20420 that does not read core files.
20421 * gdb.t01/run.exp: Removed checks for exit status code.
20422 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
20424 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
20425 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
20426 appropriate, rather than doing it by hand.
20427 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
20429 * gdb.t10/crossload.exp: Kill existing program if needed.
20430 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
20431 appropriate, rather than doing it by hand. Always increase
20432 timeout for this test, not just for VxWorks.
20434 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
20436 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
20437 of Chill STRUCT types and STRUCT values.
20438 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
20440 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
20441 struct2): New struct definitions and initializations to test
20442 simple Chill STRUCT types.
20444 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
20446 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
20447 the null byte at the end of strings.
20448 * gdb.t00/default.exp: Make show version insensitive to copyright
20450 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
20451 to avoid dependencies on target char signedness.
20452 * gdb.t16/printcmds.exp: Update expected results for explicitly
20454 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
20456 * gdb.t21/demangle.exp: Add many more patterns for template
20457 demangling, most of them being expected failures.
20458 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
20459 string we are matching for, to match on the whole string.
20460 * gdb.t21/demangle.exp: Add many new test strings to demangle,
20461 and fix a whole bunch that had incorrect expected output but were
20462 passing anyway because of the bug in "proc demangle".
20463 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
20465 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
20467 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
20469 * gdb/testsuite: made modifications to testcases, etc., to allow
20470 them to work properly given the reorganization of deja-gnu and the
20471 relocation of the testcases from deja-gnu to a "tool" subdirectory.
20473 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
20475 * gdb/testsuite: Initial creation of gdb/testsuite.
20476 Migrated dejagnu testcases and support files for testing nm to
20477 gdb/testsuite from deja-gnu. These files were moved "as is"
20478 with no modifications. This migration is part of a major overhaul
20479 of dejagnu. The modifications to these testcases, etc., which
20480 will allow them to work with the new version of dejagnu will be
20481 made in a future update.
20483 For additional changes see gdb.mi/ChangeLog-1999-2003.
20485 ;; Local Variables:
20486 ;; mode: change-log
20489 ;; version-control: never
20492 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20493 2003, 2004, 2005 Free Software Foundation, Inc.
20494 Copying and distribution of this file, with or without modification,
20495 are permitted provided the copyright notice and this notice are preserved.